| Modifier and Type | Class and Description |
|---|---|
static class |
MethodDefinition.Builder |
| Constructor and Description |
|---|
MethodDefinition() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AstNodeVisitor visitor)
Writes the syntatically-correct Java code representation of this node.
|
abstract com.google.common.collect.ImmutableList<AnnotationNode> |
annotations() |
abstract com.google.common.collect.ImmutableList<VariableExpr> |
arguments() |
abstract com.google.common.collect.ImmutableList<Statement> |
body() |
static MethodDefinition.Builder |
builder() |
static MethodDefinition.Builder |
constructorBuilder() |
abstract com.google.common.collect.ImmutableList<CommentStatement> |
headerCommentStatements() |
abstract boolean |
isAbstract() |
abstract boolean |
isConstructor() |
abstract boolean |
isFinal() |
abstract boolean |
isStatic() |
abstract IdentifierNode |
methodIdentifier() |
abstract ReturnExpr |
returnExpr() |
abstract com.google.common.collect.ImmutableList<IdentifierNode> |
returnTemplateIdentifiers() |
abstract TypeNode |
returnType() |
abstract ScopeNode |
scope() |
abstract com.google.common.collect.ImmutableList<IdentifierNode> |
templateIdentifiers() |
abstract com.google.common.collect.ImmutableList<TypeNode> |
throwsExceptions() |
abstract MethodDefinition.Builder |
toBuilder() |
public abstract ScopeNode scope()
public abstract TypeNode returnType()
public abstract IdentifierNode methodIdentifier()
public abstract com.google.common.collect.ImmutableList<CommentStatement> headerCommentStatements()
public abstract com.google.common.collect.ImmutableList<AnnotationNode> annotations()
public abstract com.google.common.collect.ImmutableList<TypeNode> throwsExceptions()
public abstract com.google.common.collect.ImmutableList<VariableExpr> arguments()
public abstract boolean isStatic()
public abstract boolean isFinal()
public abstract boolean isAbstract()
public abstract boolean isConstructor()
public abstract com.google.common.collect.ImmutableList<Statement> body()
public abstract com.google.common.collect.ImmutableList<IdentifierNode> templateIdentifiers()
public abstract com.google.common.collect.ImmutableList<IdentifierNode> returnTemplateIdentifiers()
@Nullable public abstract ReturnExpr returnExpr()
public void accept(AstNodeVisitor visitor)
AstNodepublic abstract MethodDefinition.Builder toBuilder()
public static MethodDefinition.Builder builder()
public static MethodDefinition.Builder constructorBuilder()
Copyright © 2022 Google LLC. All rights reserved.