|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.android.tools.lint.client.api.JavaParser.TypeDescriptor
public abstract static class JavaParser.TypeDescriptor
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 JavaParser.ResolvedClass |
getTypeClass()
If the type is not primitive, returns the class of the type if known |
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 |
|---|
public JavaParser.TypeDescriptor()
| Method Detail |
|---|
@NonNull public abstract java.lang.String getName()
@NonNull public abstract java.lang.String getSignature()
getName()
but for arrays can include []'s, for generic methods can include generics parameters
etc
public abstract boolean matchesName(@NonNull
java.lang.String name)
public abstract boolean matchesSignature(@NonNull
java.lang.String signature)
@NonNull public lombok.ast.TypeReference getNode()
@Nullable public abstract JavaParser.ResolvedClass getTypeClass()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||