Detector.JavaPsiScanner APIs instead@Deprecated public static class JavaParser.DefaultTypeDescriptor extends JavaParser.TypeDescriptor
JavaParser.TypeDescriptor| Constructor and Description |
|---|
DefaultTypeDescriptor(java.lang.String name)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Deprecated.
|
java.lang.String |
getName()
Deprecated.
Returns the fully qualified name of the type, such as "int" or "android.app.Activity"
|
java.lang.String |
getSignature()
Deprecated.
Returns the full signature of the type, which is normally the same as
JavaParser.TypeDescriptor.getName()
but for arrays can include []'s, for generic methods can include generics parameters
etc |
JavaParser.ResolvedClass |
getTypeClass()
Deprecated.
If the type is not primitive, returns the class of the type if known
|
int |
hashCode()
Deprecated.
|
boolean |
isArray()
Deprecated.
Returns true if the given TypeDescriptor represents an array
|
boolean |
isPrimitive()
Deprecated.
Returns true if the given TypeDescriptor represents a primitive
|
boolean |
matchesName(java.lang.String name)
Deprecated.
|
boolean |
matchesSignature(java.lang.String signature)
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
getInternalName, getNode, getSimpleNamepublic DefaultTypeDescriptor(java.lang.String name)
@NonNull public java.lang.String getName()
JavaParser.TypeDescriptorgetName in class JavaParser.TypeDescriptor@NonNull public java.lang.String getSignature()
JavaParser.TypeDescriptorJavaParser.TypeDescriptor.getName()
but for arrays can include []'s, for generic methods can include generics parameters
etcgetSignature in class JavaParser.TypeDescriptorpublic boolean matchesName(@NonNull
java.lang.String name)
matchesName in class JavaParser.TypeDescriptorpublic boolean isArray()
JavaParser.TypeDescriptorisArray in class JavaParser.TypeDescriptorpublic boolean isPrimitive()
JavaParser.TypeDescriptorisPrimitive in class JavaParser.TypeDescriptorpublic boolean matchesSignature(@NonNull
java.lang.String signature)
matchesSignature in class JavaParser.TypeDescriptorpublic java.lang.String toString()
toString in class JavaParser.TypeDescriptor@Nullable public JavaParser.ResolvedClass getTypeClass()
JavaParser.TypeDescriptorgetTypeClass in class JavaParser.TypeDescriptorpublic boolean equals(java.lang.Object o)
equals in class JavaParser.TypeDescriptorpublic int hashCode()
hashCode in class java.lang.Object