com.android.tools.lint.client.api
Class JavaParser.ResolvedAnnotation
java.lang.Object
com.android.tools.lint.client.api.JavaParser.ResolvedNode
com.android.tools.lint.client.api.JavaParser.ResolvedAnnotation
- Enclosing class:
- JavaParser
public abstract static class JavaParser.ResolvedAnnotation
- extends JavaParser.ResolvedNode
An annotation reference
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JavaParser.ResolvedAnnotation
public JavaParser.ResolvedAnnotation()
getName
@NonNull
public abstract java.lang.String getName()
- Specified by:
getName
in class JavaParser.ResolvedNode
matches
public abstract boolean matches(@NonNull
java.lang.String name)
- Returns whether this field name matches the given name
getType
@NonNull
public abstract JavaParser.TypeDescriptor getType()
getValues
@NonNull
public abstract java.util.List<JavaParser.ResolvedAnnotation.Value> getValues()
getValue
@Nullable
public abstract java.lang.Object getValue(@NonNull
java.lang.String name)