Class AnnotationNode
- java.lang.Object
-
- com.google.api.generator.engine.ast.AnnotationNode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAnnotationNode.Builder
-
Field Summary
Fields Modifier and Type Field Description static AnnotationNodeDEPRECATEDstatic AnnotationNodeOVERRIDE
-
Constructor Summary
Constructors Constructor Description AnnotationNode()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaccept(AstNodeVisitor visitor)Writes the syntatically-correct Java code representation of this node.static AnnotationNode.Builderbuilder()abstract List<Expr>descriptionExprs()abstract TypeNodetype()static AnnotationNodewithSuppressWarnings(String description)static AnnotationNodewithType(TypeNode type)static AnnotationNodewithTypeAndDescription(TypeNode type, String description)static AnnotationNodewithTypeAndDescription(TypeNode type, List<Expr> exprList)
-
-
-
Field Detail
-
OVERRIDE
public static AnnotationNode OVERRIDE
-
DEPRECATED
public static AnnotationNode DEPRECATED
-
-
Method Detail
-
type
public abstract TypeNode type()
-
accept
public void accept(AstNodeVisitor visitor)
Description copied from interface:AstNodeWrites the syntatically-correct Java code representation of this node.
-
withTypeAndDescription
public static AnnotationNode withTypeAndDescription(TypeNode type, String description)
-
withTypeAndDescription
public static AnnotationNode withTypeAndDescription(TypeNode type, List<Expr> exprList)
-
withSuppressWarnings
public static AnnotationNode withSuppressWarnings(String description)
-
withType
public static AnnotationNode withType(TypeNode type)
-
builder
public static AnnotationNode.Builder builder()
-
-