| Modifier and Type | Class and Description |
|---|---|
static class |
ClassDefinition.Builder |
| Constructor and Description |
|---|
ClassDefinition() |
| 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() |
static ClassDefinition.Builder |
builder() |
abstract IdentifierNode |
classIdentifier() |
abstract TypeNode |
extendsType() |
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 boolean |
isAbstract() |
abstract boolean |
isFinal() |
abstract boolean |
isNested() |
abstract boolean |
isStatic() |
abstract com.google.common.collect.ImmutableList<MethodDefinition> |
methods() |
abstract com.google.common.collect.ImmutableList<ClassDefinition> |
nestedClasses() |
abstract String |
packageString() |
abstract RegionTag |
regionTag() |
abstract ScopeNode |
scope() |
abstract com.google.common.collect.ImmutableList<Statement> |
statements() |
abstract ClassDefinition.Builder |
toBuilder() |
public abstract com.google.common.collect.ImmutableList<CommentStatement> fileHeader()
public abstract ScopeNode scope()
public abstract IdentifierNode classIdentifier()
public abstract boolean isNested()
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> implementsTypes()
public abstract boolean isStatic()
public abstract boolean isFinal()
public abstract boolean isAbstract()
public abstract com.google.common.collect.ImmutableList<Statement> statements()
public abstract com.google.common.collect.ImmutableList<MethodDefinition> methods()
public abstract com.google.common.collect.ImmutableList<ClassDefinition> nestedClasses()
public void accept(AstNodeVisitor visitor)
AstNodepublic static ClassDefinition.Builder builder()
public abstract ClassDefinition.Builder toBuilder()
Copyright © 2022 Google LLC. All rights reserved.