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

java.lang.Object
  extended by com.android.tools.lint.client.api.JavaParser.TypeDescriptor
Direct Known Subclasses:
JavaParser.DefaultTypeDescriptor
Enclosing class:
JavaParser

public abstract static class JavaParser.TypeDescriptor
extends java.lang.Object

A description of a type, such as a primitive int or the android.app.Activity class


Constructor Summary
JavaParser.TypeDescriptor()
           
 
Method Summary
abstract  java.lang.String getName()
          Returns the fully qualified name of the type, such as "int" or "android.app.Activity"
 lombok.ast.TypeReference getNode()
           
abstract  java.lang.String getSignature()
          Returns the full signature of the type, which is normally the same as getName() but for arrays can include []'s, for generic methods can include generics parameters etc
abstract  boolean matchesName(java.lang.String name)
           
abstract  boolean matchesSignature(java.lang.String signature)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaParser.TypeDescriptor

public JavaParser.TypeDescriptor()
Method Detail

getName

@NonNull
public abstract java.lang.String getName()
Returns the fully qualified name of the type, such as "int" or "android.app.Activity"


getSignature

@NonNull
public abstract java.lang.String getSignature()
Returns the full signature of the type, which is normally the same as getName() but for arrays can include []'s, for generic methods can include generics parameters etc


matchesName

public abstract boolean matchesName(@NonNull
                                    java.lang.String name)

matchesSignature

public abstract boolean matchesSignature(@NonNull
                                         java.lang.String signature)

getNode

@NonNull
public lombok.ast.TypeReference getNode()