Interface IClassType
- All Superinterfaces:
ICodeItem
,ICodeType
,INativeItem
,INativeItemListenable
,INativeType
,IStructureType
Interface to represent native class types.
-
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 TypeMethodDescriptionboolean
collectVirtualMethodOverrides
(int tableIndex, int methodIndex, Collection<VirtualMethodCoordinates> overUp, Collection<VirtualMethodCoordinates> overDown) Gather the overrides and reverse-overrides of a virtual method.List<? extends IStructureTypeField>
Collection<? extends IClassType>
Collection<? extends IClassType>
List<? extends IVirtualTableDefinition>
boolean
renameVirtualMethod
(int tableIndex, int methodIndex, String name) Rename a virtual method consistently.Methods inherited from interface com.pnfsoftware.jeb.core.units.code.ICodeItem
getAddress, getAddress, getGenericFlags, getIndex, getItemId, getName, getName, getSignature, getSignature, getSignature, isArtificial, isInternal
Methods inherited from interface com.pnfsoftware.jeb.core.units.code.ICodeType
getImplementingClass
Methods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.items.INativeItem
addFlags, dispose, getAttribute, getAttributes, hasAttribute, hasFlag, hasTrueAttribute, isAutoGenerated, isDisposed, isRenamed, removeAttribute, removeFlags, setAttribute, setAutoGenerated, setFlags, setName
Methods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.items.INativeItemListenable
addListener, removeListener
Methods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.type.INativeType
getBitsize, getReference, getSize, getTypeManager
Methods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.type.IStructureType
getAlignment, getField, getFieldAfter, getFieldAt, getFieldAt, getFieldByName, getFieldOver, getFields, getFieldsCount, getFieldsWithGaps, getIndexOfField, getPadding, isCircular, isStructure, isUnion
-
Method Details
-
getClassItem
INativeClassItem getClassItem()- Returns:
-
getSupertypes
Collection<? extends IClassType> getSupertypes()- Returns:
-
getSubtypes
Collection<? extends IClassType> getSubtypes()- Returns:
-
getInstanceFields
List<? extends IStructureTypeField> getInstanceFields()- Returns:
-
getVirtualTables
List<? extends IVirtualTableDefinition> getVirtualTables()- Returns:
-
renameVirtualMethod
Rename a virtual method consistently. Other relevant methods of the class hierarchy will be renamed as well.- Parameters:
tableIndex
- virtual table indexmethodIndex
- method index within the virtual tablename
- new name for the method- Returns:
- success indicator
-
collectVirtualMethodOverrides
boolean collectVirtualMethodOverrides(int tableIndex, int methodIndex, Collection<VirtualMethodCoordinates> overUp, Collection<VirtualMethodCoordinates> overDown) Gather the overrides and reverse-overrides of a virtual method.- Parameters:
tableIndex
- virtual table indexmethodIndex
- method index within the virtual tableoverUp
- optional output sink; if non-null, will contain all ascending reverse-overrides (the current method is included, and will be the first element in the collection)overDown
- optional output sink; if non-null, will contain all descending overrides (the current method is not included)- Returns:
- success indicator (false means the provided method was not a virtual method of this class)
-