com.android.tools.lint.client.api
Class JavaParser.ResolvedField

java.lang.Object
  extended by com.android.tools.lint.client.api.JavaParser.ResolvedNode
      extended by com.android.tools.lint.client.api.JavaParser.ResolvedField
Enclosing class:
JavaParser

public abstract static class JavaParser.ResolvedField
extends JavaParser.ResolvedNode

A field declaration


Constructor Summary
JavaParser.ResolvedField()
           
 
Method Summary
abstract  java.lang.Iterable<JavaParser.ResolvedAnnotation> getAnnotations()
          Returns any annotations defined on this field
abstract  JavaParser.ResolvedClass getContainingClass()
           
abstract  java.lang.String getName()
           
abstract  JavaParser.TypeDescriptor getType()
           
abstract  java.lang.Object getValue()
           
abstract  boolean matches(java.lang.String name)
          Returns whether this field name matches the given name
 
Methods inherited from class com.android.tools.lint.client.api.JavaParser.ResolvedNode
getModifiers, getSignature, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaParser.ResolvedField

public JavaParser.ResolvedField()
Method Detail

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