Class MethodDefinition
java.lang.Object
com.google.api.generator.engine.ast.MethodDefinition
- All Implemented Interfaces:
AstNode
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(AstNodeVisitor visitor) Writes the syntatically-correct Java code representation of this node.abstract com.google.common.collect.ImmutableList<AnnotationNode>abstract com.google.common.collect.ImmutableList<VariableExpr>abstract com.google.common.collect.ImmutableList<Statement>body()static MethodDefinition.Builderbuilder()static MethodDefinition.Builderabstract com.google.common.collect.ImmutableList<CommentStatement>abstract booleanabstract booleanabstract booleanisFinal()abstract booleanisStatic()abstract IdentifierNodeabstract ReturnExprabstract com.google.common.collect.ImmutableList<IdentifierNode>abstract TypeNodeabstract ScopeNodescope()abstract com.google.common.collect.ImmutableList<IdentifierNode>abstract com.google.common.collect.ImmutableList<TypeNode>abstract MethodDefinition.Builder
-
Constructor Details
-
MethodDefinition
public MethodDefinition()
-
-
Method Details
-
scope
-
returnType
-
methodIdentifier
-
headerCommentStatements
-
annotations
-
throwsExceptions
-
arguments
-
isStatic
public abstract boolean isStatic() -
isFinal
public abstract boolean isFinal() -
isAbstract
public abstract boolean isAbstract() -
isConstructor
public abstract boolean isConstructor() -
body
-
templateIdentifiers
-
returnTemplateIdentifiers
-
returnExpr
-
accept
Description copied from interface:AstNodeWrites the syntatically-correct Java code representation of this node. -
toBuilder
-
builder
-
constructorBuilder
-