| Modifier and Type | Class and Description |
|---|---|
static class |
AnnotationNode.Builder |
| Modifier and Type | Field and Description |
|---|---|
static AnnotationNode |
DEPRECATED |
static AnnotationNode |
OVERRIDE |
| Constructor and Description |
|---|
AnnotationNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AstNodeVisitor visitor)
Writes the syntatically-correct Java code representation of this node.
|
static AnnotationNode.Builder |
builder() |
abstract List<Expr> |
descriptionExprs() |
abstract TypeNode |
type() |
static AnnotationNode |
withSuppressWarnings(String description) |
static AnnotationNode |
withType(TypeNode type) |
static AnnotationNode |
withTypeAndDescription(TypeNode type,
List<Expr> exprList) |
static AnnotationNode |
withTypeAndDescription(TypeNode type,
String description) |
public static AnnotationNode OVERRIDE
public static AnnotationNode DEPRECATED
public abstract TypeNode type()
public void accept(AstNodeVisitor visitor)
AstNodepublic static AnnotationNode withTypeAndDescription(TypeNode type, String description)
public static AnnotationNode withTypeAndDescription(TypeNode type, List<Expr> exprList)
public static AnnotationNode withSuppressWarnings(String description)
public static AnnotationNode withType(TypeNode type)
public static AnnotationNode.Builder builder()
Copyright © 2022 Google LLC. All rights reserved.