Class ClassDefinition
- java.lang.Object
-
- com.google.api.generator.engine.ast.ClassDefinition
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClassDefinition.Builder
-
Constructor Summary
Constructors Constructor Description ClassDefinition()
-
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.abstract com.google.common.collect.ImmutableList<AnnotationNode>annotations()static ClassDefinition.Builderbuilder()abstract IdentifierNodeclassIdentifier()abstract TypeNodeextendsType()abstract com.google.common.collect.ImmutableList<CommentStatement>fileHeader()abstract com.google.common.collect.ImmutableList<CommentStatement>headerCommentStatements()abstract com.google.common.collect.ImmutableList<TypeNode>implementsTypes()abstract booleanisAbstract()abstract booleanisFinal()abstract booleanisNested()abstract booleanisStatic()abstract com.google.common.collect.ImmutableList<MethodDefinition>methods()abstract com.google.common.collect.ImmutableList<ClassDefinition>nestedClasses()abstract StringpackageString()abstract RegionTagregionTag()abstract ScopeNodescope()abstract com.google.common.collect.ImmutableList<Statement>statements()abstract ClassDefinition.BuildertoBuilder()
-
-
-
Method Detail
-
fileHeader
public abstract com.google.common.collect.ImmutableList<CommentStatement> fileHeader()
-
scope
public abstract ScopeNode scope()
-
classIdentifier
public abstract IdentifierNode classIdentifier()
-
isNested
public abstract boolean isNested()
-
headerCommentStatements
public abstract com.google.common.collect.ImmutableList<CommentStatement> headerCommentStatements()
-
annotations
public abstract com.google.common.collect.ImmutableList<AnnotationNode> annotations()
-
implementsTypes
public abstract com.google.common.collect.ImmutableList<TypeNode> implementsTypes()
-
isStatic
public abstract boolean isStatic()
-
isFinal
public abstract boolean isFinal()
-
isAbstract
public abstract boolean isAbstract()
-
statements
public abstract com.google.common.collect.ImmutableList<Statement> statements()
-
methods
public abstract com.google.common.collect.ImmutableList<MethodDefinition> methods()
-
nestedClasses
public abstract com.google.common.collect.ImmutableList<ClassDefinition> nestedClasses()
-
accept
public void accept(AstNodeVisitor visitor)
Description copied from interface:AstNodeWrites the syntatically-correct Java code representation of this node.
-
builder
public static ClassDefinition.Builder builder()
-
toBuilder
public abstract ClassDefinition.Builder toBuilder()
-
-