|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.android.tools.lint.client.api.JavaParser.ResolvedNode com.android.tools.lint.client.api.JavaParser.ResolvedClass
public abstract static class JavaParser.ResolvedClass
A resolved class declaration (class, interface, enumeration or annotation)
Constructor Summary | |
---|---|
JavaParser.ResolvedClass()
|
Method Summary | |
---|---|
abstract java.lang.Iterable<JavaParser.ResolvedMethod> |
getConstructors()
|
abstract JavaParser.ResolvedClass |
getContainingClass()
|
abstract JavaParser.ResolvedField |
getField(java.lang.String name,
boolean includeInherited)
Returns the named field defined in this class, or optionally inherited from a superclass |
abstract java.lang.Iterable<JavaParser.ResolvedMethod> |
getMethods(boolean includeInherited)
Returns the methods defined in this class, and optionally any methods inherited from any superclasses as well |
abstract java.lang.Iterable<JavaParser.ResolvedMethod> |
getMethods(java.lang.String name,
boolean includeInherited)
Returns the methods of a given name defined in this class, and optionally any methods inherited from any superclasses as well |
abstract java.lang.String |
getName()
Returns the fully qualified name of this class |
java.lang.String |
getPackageName()
Returns the package name of this class |
abstract java.lang.String |
getSimpleName()
Returns the simple of this class |
abstract JavaParser.ResolvedClass |
getSuperClass()
|
JavaParser.TypeDescriptor |
getType()
|
abstract boolean |
isSubclassOf(java.lang.String name,
boolean strict)
Determines whether this class extends the given name. |
abstract boolean |
matches(java.lang.String name)
Returns whether this class' fully qualified name matches the given name |
Methods inherited from class com.android.tools.lint.client.api.JavaParser.ResolvedNode |
---|
getAnnotation, getAnnotations, getModifiers, getSignature, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JavaParser.ResolvedClass()
Method Detail |
---|
@NonNull public abstract java.lang.String getName()
getName
in class JavaParser.ResolvedNode
@NonNull public abstract java.lang.String getSimpleName()
@NonNull public java.lang.String getPackageName()
public abstract boolean matches(@NonNull java.lang.String name)
@Nullable public abstract JavaParser.ResolvedClass getSuperClass()
@Nullable public abstract JavaParser.ResolvedClass getContainingClass()
public JavaParser.TypeDescriptor getType()
public abstract boolean isSubclassOf(@NonNull java.lang.String name, boolean strict)
name
- the fully qualified class namestrict
- if true, do not consider a class to be extending itself
@NonNull public abstract java.lang.Iterable<JavaParser.ResolvedMethod> getConstructors()
@NonNull public abstract java.lang.Iterable<JavaParser.ResolvedMethod> getMethods(boolean includeInherited)
@NonNull public abstract java.lang.Iterable<JavaParser.ResolvedMethod> getMethods(@NonNull java.lang.String name, boolean includeInherited)
@Nullable public abstract JavaParser.ResolvedField getField(@NonNull java.lang.String name, boolean includeInherited)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |