Contents
Class DexIClass
- All Implemented Interfaces:
IClass
,IClassHierarchyDweller
-
Field Summary
Fields inherited from class com.ibm.wala.classLoader.BytecodeClass
allInterfaces, cha, hashCode, inheritCache, instanceFields, interfaceNames, loader, methodMap, staticFields, superClass, superclassComputed, superName, typeReference
-
Constructor Summary
ConstructorsConstructorDescriptionDexIClass
(IClassLoader loader, IClassHierarchy cha, DexModuleEntry dexEntry) -
Method Summary
Modifier and TypeMethodDescriptionprotected IMethod[]
boolean
get annotations, if anygetAnnotations
(boolean runtimeInvisible) org.jf.dexlib2.iface.ClassDef
int
Return the integer that encodes the class's modifiers, as defined by the JVM specificationint
hashCode()
boolean
boolean
Is this class a Java interface?boolean
boolean
isPublic()
boolean
Methods inherited from class com.ibm.wala.classLoader.BytecodeClass
addFieldToList, computeAllInterfacesAsCollection, computeMethodMapIfNeeded, findDeclaredField, getAllFields, getAllImplementedInterfaces, getAllInstanceFields, getAllMethods, getAllStaticFields, getClassHierarchy, getClassLoader, getDeclaredInstanceFields, getDeclaredMethods, getDeclaredStaticFields, getDirectInterfaces, getField, getField, getMethod, getName, getReference, getSource, getSourceFileName, getSuperclass, getSuperName, isArrayClass, isReferenceType, toString
-
Constructor Details
-
Method Details
-
getClassDefItem
public org.jf.dexlib2.iface.ClassDef getClassDefItem()- Returns:
- The classDef Item associated with this class.
-
isPublic
public boolean isPublic()- Returns:
- true iff this class is public
-
isPrivate
public boolean isPrivate()- Returns:
- true iff this class is private
-
isInterface
public boolean isInterface()Description copied from interface:IClass
Is this class a Java interface? -
isAbstract
public boolean isAbstract()- Returns:
- true iff this class is abstract
- See Also:
-
isSynthetic
public boolean isSynthetic()- Returns:
- true iff this class is synthetic, i.e., compiler-generated
- See Also:
-
getModifiers
Description copied from interface:IClass
Return the integer that encodes the class's modifiers, as defined by the JVM specification- Returns:
- the integer that encodes the class's modifiers, as defined by the JVM specification
- Throws:
UnsupportedOperationException
-
equals
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBytecodeClass<IClassLoader>
-
getAnnotations
Description copied from interface:IClass
get annotations, if any -
getAnnotations
- Specified by:
getAnnotations
in classBytecodeClass<IClassLoader>
-
computeDeclaredMethods
- Specified by:
computeDeclaredMethods
in classBytecodeClass<IClassLoader>
-
getClassInitializer
- Returns:
- the method that is this class's initializer, or null if none
-
getContainer
- Specified by:
getContainer
in classBytecodeClass<IClassLoader>
-