com.android.tools.lint.client.api
Class JavaParser.ResolvedField
java.lang.Object
com.android.tools.lint.client.api.JavaParser.ResolvedNode
com.android.tools.lint.client.api.JavaParser.ResolvedField
- Enclosing class:
- JavaParser
public abstract static class JavaParser.ResolvedField
- extends JavaParser.ResolvedNode
A field declaration
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JavaParser.ResolvedField
public JavaParser.ResolvedField()
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()
getContainingClass
@NonNull
public abstract JavaParser.ResolvedClass getContainingClass()
getValue
@Nullable
public abstract java.lang.Object getValue()
getAnnotations
@NonNull
public abstract java.lang.Iterable<JavaParser.ResolvedAnnotation> getAnnotations()
- Returns any annotations defined on this field