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

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

public abstract static class JavaParser.ResolvedAnnotation
extends JavaParser.ResolvedNode

An annotation reference


Nested Class Summary
static class JavaParser.ResolvedAnnotation.Value
           
 
Constructor Summary
JavaParser.ResolvedAnnotation()
           
 
Method Summary
abstract  java.lang.String getName()
           
abstract  JavaParser.TypeDescriptor getType()
           
abstract  java.lang.Object getValue(java.lang.String name)
           
abstract  java.util.List<JavaParser.ResolvedAnnotation.Value> getValues()
           
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.ResolvedAnnotation

public JavaParser.ResolvedAnnotation()
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()

getValues

@NonNull
public abstract java.util.List<JavaParser.ResolvedAnnotation.Value> getValues()

getValue

@Nullable
public abstract java.lang.Object getValue(@NonNull
                                                   java.lang.String name)