Detector.JavaPsiScanner APIs instead@Deprecated public abstract static class JavaParser.ResolvedAnnotation extends JavaParser.ResolvedNode
getClassType() to
find the declaration for the annotation.| Modifier and Type | Class and Description |
|---|---|
static class |
JavaParser.ResolvedAnnotation.Value
Deprecated.
|
| Constructor and Description |
|---|
ResolvedAnnotation()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Iterable<JavaParser.ResolvedAnnotation> |
getAnnotations()
Deprecated.
Returns any annotations defined on this node
|
abstract JavaParser.ResolvedClass |
getClassType()
Deprecated.
Returns the
JavaParser.ResolvedClass which defines the annotation |
abstract java.lang.String |
getName()
Deprecated.
|
abstract JavaParser.TypeDescriptor |
getType()
Deprecated.
|
java.lang.Object |
getValue()
Deprecated.
|
java.lang.Object |
getValue(java.lang.String name)
Deprecated.
|
abstract java.util.List<JavaParser.ResolvedAnnotation.Value> |
getValues()
Deprecated.
|
abstract boolean |
matches(java.lang.String name)
Deprecated.
Returns whether this field name matches the given name
|
findAstNode, getAnnotation, getModifiers, getSignature, isInPackage, toString@NonNull public abstract java.lang.String getName()
getName in class JavaParser.ResolvedNodepublic abstract boolean matches(@NonNull
java.lang.String name)
@NonNull public abstract JavaParser.TypeDescriptor getType()
@Nullable public abstract JavaParser.ResolvedClass getClassType()
JavaParser.ResolvedClass which defines the annotation@NonNull public abstract java.util.List<JavaParser.ResolvedAnnotation.Value> getValues()
@Nullable
public java.lang.Object getValue(@NonNull
java.lang.String name)
@Nullable public java.lang.Object getValue()
@NonNull public java.lang.Iterable<JavaParser.ResolvedAnnotation> getAnnotations()
JavaParser.ResolvedNodegetAnnotations in class JavaParser.ResolvedNode