Interface IJavaSourceUnit
- All Superinterfaces:
IAddressableUnit
,IEventSource
,IInteractiveUnit
,ISourceUnit
,IUnit
,IUnitCreator
,IUserDataSupport
Definition of a source unit representing a Java class or Java method in the form of an Abstract
Syntax Tree (AST).
-
Method Summary
Modifier and TypeMethodDescriptionGet a reference to the Java class or method defined in this unit.Get the decompiler unit (possibly the parent, possibly null) that generated this unit.void
recordIdentifierPositions
(long objectId, ICodeCoordinates coordinates) Reserved for internal use.Methods inherited from interface com.pnfsoftware.jeb.core.units.IAddressableUnit
getAddressLabel, getAddressLabels, getAddressOfItem, getCanonicalAddress, getItemAtAddress, getItemObject, getRelatedItems, getWellKnownAddresses, isValidAddress
Methods inherited from interface com.pnfsoftware.jeb.util.events.IEventSource
addListener, countListeners, getListeners, getParentSource, insertListener, notifyListeners, removeListener, setParentSource
Methods inherited from interface com.pnfsoftware.jeb.core.units.IInteractiveUnit
addressToLocation, canExecuteAction, executeAction, executeAction, getAddressActions, getCommentManager, getFullComment, getFullComments, getGlobalActions, getInlineComment, getInlineComments, getItemActions, getMetadataManager, locationToAddress, prepareExecution, setInlineComment
Methods inherited from interface com.pnfsoftware.jeb.core.units.code.ISourceUnit
getFileExtension, getFullyQualifiedName, getSource, getSourceDocument
Methods inherited from interface com.pnfsoftware.jeb.core.units.IUnit
addChild, addChild, canBePersisted, dispose, generateQuickState, getChildren, getContributions, getCreationTimestamp, getDescription, getExtraInputs, getFormatter, getFormatType, getIconData, getInput, getInterpreters, getLock, getName, getNotes, getNotificationManager, getParent, getParentArtifact, getParentProject, getPropertyDefinitionManager, getPropertyManager, getRealName, getStatus, getUid, getUnitProcessor, initializePropertyObjects, isDisposed, isProcessed, isStale, isTransientChild, notifyGenericChange, postDeserialization, process, removeChild, setName, setNotes, setParent, setRealName, setUnitProcessor
Methods inherited from interface com.pnfsoftware.jeb.core.IUserDataSupport
clearAllData, getAllData, getData, setData
-
Method Details
-
getDecompiler
IDexDecompilerUnit getDecompiler()Description copied from interface:ISourceUnit
Get the decompiler unit (possibly the parent, possibly null) that generated this unit.- Specified by:
getDecompiler
in interfaceISourceUnit
- Returns:
- a decompiler unit, possibly null
-
getDexItem
IDexItem getDexItem()- Returns:
-
getASTElement
IJavaElement getASTElement()Get a reference to the Java class or method defined in this unit. -
recordIdentifierPositions
Reserved for internal use.- Parameters:
objectId
-coordinates
-
-