Interface ICodeClass
- All Superinterfaces:
ICodeItem
- All Known Subinterfaces:
IDexClass
,INativeClassItem
A class object.
-
Field Summary
Fields inherited from interface com.pnfsoftware.jeb.core.units.code.ICodeItem
FLAG_ABSTRACT, FLAG_ANNOTATION, FLAG_ANONYMOUS, FLAG_ARTIFICIAL, FLAG_BRIDGE, FLAG_CONSTRUCTOR, FLAG_DECLARED_SYNCHRONIZED, FLAG_DESTRUCTOR, FLAG_ENUM, FLAG_FINAL, FLAG_INNER, FLAG_INTERFACE, FLAG_INTERNAL, FLAG_NATIVE, FLAG_PRIVATE, FLAG_PROTECTED, FLAG_PUBLIC, FLAG_STATIC, FLAG_STRICT, FLAG_SYNCHRONIZED, FLAG_SYNTHETIC, FLAG_TRANSIENT, FLAG_VARARGS, FLAG_VIRTUAL, FLAG_VOLATILE
-
Method Summary
Modifier and TypeMethodDescriptionGet the optional type implemented by this class item.List<? extends ICodeField>
Get the list of fields that are defined in this class (super fields are not returned).Get the list of implemented interface types for this class.List<? extends ICodeMethod>
Get the list of methods that are defined in this class (super methods are not returned).Get the package that contains this class.Get the list of super types for this class.Methods inherited from interface com.pnfsoftware.jeb.core.units.code.ICodeItem
getAddress, getAddress, getGenericFlags, getIndex, getItemId, getName, getName, getSignature, getSignature, getSignature, isArtificial, isInternal
-
Method Details
-
getPackage
ICodePackage getPackage()Get the package that contains this class.- Returns:
- the package, possibly null if the class is not located in a package
-
getClassType
ICodeType getClassType()Get the optional type implemented by this class item.- Returns:
-
getSupertypes
Get the list of super types for this class.- Returns:
-
getImplementedInterfaces
Get the list of implemented interface types for this class.- Returns:
-
getMethods
List<? extends ICodeMethod> getMethods()Get the list of methods that are defined in this class (super methods are not returned).- Returns:
- a list of methods, possibly empty if this class has no implementation
-
getFields
List<? extends ICodeField> getFields()Get the list of fields that are defined in this class (super fields are not returned).- Returns:
- a list of fields, possibly empty if this class has no implementation
-