public final class AndroidModelClass extends SyntheticClass
com.ibm.wala.dalvik.ipa.callgraph.impl.FakeRootClass
Modifier and Type | Field and Description |
---|---|
static TypeReference |
ANDROID_MODEL_CLASS |
Modifier and Type | Method and Description |
---|---|
void |
addMethod(IMethod method) |
boolean |
containsMethod(Selector selector) |
Collection<IField> |
getAllFields()
This class does not contain any fields.
|
Collection<IClass> |
getAllImplementedInterfaces()
This class does not impement any interfaces.
|
Collection<IField> |
getAllInstanceFields()
This class does not contain any fields.
|
Collection<IMethod> |
getAllMethods()
Compute the methods declared by this class or any of its superclasses.
|
Collection<IField> |
getAllStaticFields()
This class does not contain any fields.
|
IMethod |
getClassInitializer() |
Collection<IField> |
getDeclaredInstanceFields()
This class does not contain any fields.
|
Collection<IMethod> |
getDeclaredMethods() |
Collection<IField> |
getDeclaredStaticFields()
This class does not contain any fields.
|
Collection<IClass> |
getDirectInterfaces() |
IField |
getField(Atom name)
Finds a field.
|
static AndroidModelClass |
getInstance(IClassHierarchy cha) |
IMethod |
getMethod(Selector selector)
Finds method matching signature.
|
int |
getModifiers()
This is a public final class.
|
IClass |
getSuperclass()
This is a subclass of the root class.
|
boolean |
isAbstract() |
boolean |
isArrayClass() |
boolean |
isInterface()
Is this class a Java interface?
|
boolean |
isPrivate() |
boolean |
isPublic() |
boolean |
isReferenceType()
Does 'this' refer to a reference type? If not, then it refers to a primitive type.
|
void |
putField(Atom name,
TypeReference type) |
equals, getAnnotations, getClassHierarchy, getClassLoader, getField, getName, getReference, getSource, getSourceFileName, hashCode
public static final TypeReference ANDROID_MODEL_CLASS
public static AndroidModelClass getInstance(IClassHierarchy cha)
public boolean containsMethod(Selector selector)
public IMethod getMethod(Selector selector)
IClass
selector
- a method signaturepublic Collection<IMethod> getDeclaredMethods()
public Collection<IMethod> getAllMethods()
IClass
public void addMethod(IMethod method)
public IMethod getClassInitializer()
public void putField(Atom name, TypeReference type)
public Collection<IField> getAllFields()
public Collection<IField> getDeclaredStaticFields()
public Collection<IField> getAllStaticFields()
public Collection<IField> getDeclaredInstanceFields() throws UnsupportedOperationException
UnsupportedOperationException
public Collection<IField> getAllInstanceFields()
public int getModifiers()
public boolean isPublic()
public boolean isPrivate()
public boolean isInterface()
IClass
isInterface
in interface IClass
isInterface
in class SyntheticClass
public boolean isAbstract()
isAbstract
in interface IClass
isAbstract
in class SyntheticClass
public boolean isArrayClass()
isArrayClass
in interface IClass
isArrayClass
in class SyntheticClass
public IClass getSuperclass() throws UnsupportedOperationException
UnsupportedOperationException
public Collection<IClass> getAllImplementedInterfaces()
public Collection<IClass> getDirectInterfaces()
public boolean isReferenceType()
IClass