| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | AnnotationExpr(TokenRange tokenRange, Name name)
This constructor is used by the parser and is considered private. |
| Modifier and Type | Method and Description |
|---|---|
| public AnnotationExpr | |
| public AnnotationExpr | clone()
Creates and returns a copy of this object.
|
| public AnnotationExprMetaModel | |
| public Name | |
| public void | |
| public boolean | |
| public boolean | |
| public boolean | replace(Node node, Node replacementNode)
Overrides com. |
| public ResolvedAnnotationDeclaration | Returns: aResolvedAnnotationDeclaration representing the declaration of the annotation expression.Implements com. |
| public AnnotationExpr | |
| public Optional |
| name | back to summary |
|---|---|
| protected Name name | |
| AnnotationExpr | back to summary |
|---|---|
| public AnnotationExpr() | |
| AnnotationExpr | back to summary |
|---|---|
public AnnotationExpr(Name name)
| |
| AnnotationExpr | back to summary |
|---|---|
| public AnnotationExpr(TokenRange tokenRange, Name name) This constructor is used by the parser and is considered private.
| |
| asAnnotationExpr | back to summary |
|---|---|
| public AnnotationExpr asAnnotationExpr() Overrides com.
| |
| clone | back to summary |
|---|---|
| public AnnotationExpr clone() Overrides com. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| getMetaModel | back to summary |
|---|---|
| public AnnotationExprMetaModel getMetaModel() Overrides com.
| |
| getName | back to summary |
|---|---|
| public Name getName() Implements com.
| |
| ifAnnotationExpr | back to summary |
|---|---|
| public void ifAnnotationExpr(Consumer<AnnotationExpr> action) Overrides com.
| |
| isAnnotationExpr | back to summary |
|---|---|
| public boolean isAnnotationExpr() Overrides com.
| |
| remove | back to summary |
|---|---|
| public boolean remove(Node node) Overrides com.
| |
| replace | back to summary |
|---|---|
| public boolean replace(Node node, Node replacementNode) Overrides com.
| |
| resolve | back to summary |
|---|---|
| public ResolvedAnnotationDeclaration resolve() Implements com. Attempts to resolve the declaration corresponding to the annotation expression. If successful, a
| |
| setName | back to summary |
|---|---|
| public AnnotationExpr setName(final Name name) Implements com.
| |
| toAnnotationExpr | back to summary |
|---|---|
| public Optional Overrides com.
| |