Interface IReferenceType
- All Superinterfaces:
ICodeItem,ICodeType,INativeItem,INativeItemListenable,INativeType
The reference type, or pointer type.
-
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 main type.Get the pointed type.intGet the reference count.default INativeTypeGet the referenced type.Methods inherited from interface com.pnfsoftware.jeb.core.units.code.ICodeItem
getAddress, getAddress, getGenericFlags, getIndex, getItemId, getName, getName, getSignature, getSignature, getSignature, isArtificial, isInternalMethods inherited from interface com.pnfsoftware.jeb.core.units.code.ICodeType
getImplementingClassMethods 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, setNameMethods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.items.INativeItemListenable
addListener, removeListenerMethods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.type.INativeType
getBitsize, getReference, getSize, getTypeManager
-
Method Details
-
getMainType
INativeType getMainType()Get the main type.Example: If this reference is a
int**(pointer to pointer to int), then the main type isint.- Returns:
-
getReferenceCount
int getReferenceCount()Get the reference count.Example: If this reference is a
int**(pointer to pointer to int), then the reference count is 2.- Returns:
-
getReferencedType
Get the referenced type. Example: If this reference is aint**(pointer to pointer to int), then the referenced type isint*(pointer to int).- Returns:
-
getPointedType
INativeType getPointedType()Get the pointed type. Same asgetReferencedType().- Returns:
-