Class AndroidModelClass
java.lang.Object
com.ibm.wala.classLoader.SyntheticClass
com.ibm.wala.dalvik.ipa.callgraph.androidModel.AndroidModelClass
- All Implemented Interfaces:
IClass, IClassHierarchyDweller
Encapsulates synthetic methods for modeling Androids lifecycle.
In the generated code this class may be found as "Lcom/ibm/wala/AndroidModelClass"
- Author:
- Tobias Blaschke <code@tobiasblaschke.de> TODO: Move this class into an other loader? Currently: Primordial
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleancontainsMethod(Selector selector) This class does not contain any fields.This class does not implement any interfaces.This class does not contain any fields.Compute the methods declared by this class or any of its superclasses.This class does not contain any fields.This class does not contain any fields.This class does not contain any fields.Finds a field.static AndroidModelClassFinds method matching signature.intThis is a public final class.This is a subclass of the root class.booleanbooleanisPublic()booleanDoes 'this' refer to a reference type? If not, then it refers to a primitive type.voidputField(Atom name, TypeReference type) Methods inherited from class SyntheticClass
equals, getAnnotations, getClassHierarchy, getClassLoader, getField, getName, getReference, getSource, getSourceFileName, hashCode, isAbstract, isArrayClass, isInterface, isSynthetic
-
Field Details
-
ANDROID_MODEL_CLASS
-
-
Method Details
-
getInstance
-
containsMethod
-
getMethod
Description copied from interface:IClassFinds method matching signature. Delegates to superclass if not found.- Parameters:
selector- a method signature- Returns:
- IMethod from this class matching the signature; null if not found in this class or any superclass.
-
getDeclaredMethods
- Returns:
- an Iterator of the IMethods declared by this class.
-
getAllMethods
Description copied from interface:IClassCompute the methods declared by this class or any of its superclasses. -
addMethod
-
getClassInitializer
- Returns:
- the method that is this class's initializer, or null if none
-
getField
-
putField
-
getAllFields
This class does not contain any fields. -
getDeclaredStaticFields
This class does not contain any fields.- Returns:
- Collection of IField
-
getAllStaticFields
This class does not contain any fields. -
getDeclaredInstanceFields
This class does not contain any fields.- Returns:
- Collection of IFields
- Throws:
UnsupportedOperationException
-
getAllInstanceFields
This class does not contain any fields. -
getModifiers
public int getModifiers()This is a public final class.- Returns:
- the integer that encodes the class's modifiers, as defined by the JVM specification
-
isPublic
public boolean isPublic()- Returns:
- true iff this class is public
-
isPrivate
public boolean isPrivate()- Returns:
- true iff this class is private
-
getSuperclass
This is a subclass of the root class.- Returns:
- the superclass, or null if java.lang.Object
- Throws:
UnsupportedOperationException
-
getAllImplementedInterfaces
This class does not implement any interfaces.- Returns:
- Collection of (IClass) interfaces this class implements, including all ancestors of interfaces immediately implemented. If this class is an interface, it returns all super-interfaces.
-
getDirectInterfaces
- Returns:
- Collection of (IClass) interfaces this class directly implements. If this class is an interface, returns the interfaces it immediately extends.
-
isReferenceType
public boolean isReferenceType()Description copied from interface:IClassDoes 'this' refer to a reference type? If not, then it refers to a primitive type.
-