Class AbstractCodeUnit
java.lang.Object
com.pnfsoftware.jeb.core.events.JebEventSource
com.pnfsoftware.jeb.core.units.AbstractUnit
com.pnfsoftware.jeb.core.units.AbstractBinaryUnit
com.pnfsoftware.jeb.core.units.AbstractInteractiveBinaryUnit
com.pnfsoftware.jeb.core.units.code.AbstractCodeUnit
- All Implemented Interfaces:
IUnitCreator,IUserDataSupport,ICodeUnit,IAddressableUnit,IBinaryUnit,IInteractiveUnit,IUnit,IEventSource
@Ser
public abstract class AbstractCodeUnit
extends AbstractInteractiveBinaryUnit
implements ICodeUnit
Skeleton of a code unit.
-
Field Summary
Fields inherited from class com.pnfsoftware.jeb.core.events.JebEventSource
onEventCallCount -
Constructor Summary
ConstructorsConstructorDescriptionAbstractCodeUnit(String name, String formatType, IInput input, IUnitProcessor unitProcessor, IUnitCreator parent, IPropertyDefinitionManager pdm) Create a code unit. -
Method Summary
Modifier and TypeMethodDescriptionThe skeleton implementation returns en empty list.List<? extends ICodeClass> The skeleton implementation returns an empty list.The skeleton implementation returns null.List<? extends ICodeField> The skeleton implementation returns an empty list.The skeleton implementation returns null.List<? extends ICodeMethod> The skeleton implementation returns an empty list.List<? extends ICodePackage> The skeleton implementation returns an empty list.List<? extends ICodeString> The skeleton implementation returns an empty list.getTypes()The skeleton implementation returns an empty list.Methods inherited from class com.pnfsoftware.jeb.core.units.AbstractInteractiveBinaryUnit
canExecuteAction, executeAction, executeAction, getAddressActions, getAddressOfItem, getGlobalActions, getItemActions, getItemAtAddress, getItemObject, getMetadataManager, getRelatedItems, isValidAddress, prepareExecutionMethods inherited from class com.pnfsoftware.jeb.core.units.AbstractBinaryUnit
getInput, getMimeType, setInput, setMimeTypeMethods inherited from class com.pnfsoftware.jeb.core.units.AbstractUnit
addChild, addChild, addChild, addNotification, canBePersisted, clearAllData, dispose, finalize, generateQuickState, getAllData, getChildren, getContributions, getCreationTimestamp, getData, getDescription, getFormatter, getFormatType, getIconData, getInterpreters, getLock, getName, getNotes, getNotificationManager, getParent, getPropertyDefinitionManager, getPropertyManager, getRealName, getStatus, getUid, getUnitProcessor, hasChildren, initializePropertyObjects, internalSwapChildren, isDeserialized, isDisposed, isProcessed, isStale, isTransientChild, logError, logException, logInfo, logTrace, logWarn, onPropertyChange, postDeserialization, process, processInternal, removeChild, removeChild, setChild, setChild, setData, setName, setNotes, setParent, setProcessed, setProcessed, setRealName, setStatus, setStatus, setUnitProcessor, toStringMethods inherited from class com.pnfsoftware.jeb.core.events.JebEventSource
addListener, countListeners, getListeners, getParentSource, insertListener, notifyListeners, notifyListeners, notifyListeners, removeListener, setParentSourceMethods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.pnfsoftware.jeb.core.units.IAddressableUnit
getAddressLabel, getAddressLabels, getAddressOfItem, getCanonicalAddress, getItemAtAddress, getItemObject, getRelatedItems, getWellKnownAddresses, isValidAddressMethods inherited from interface com.pnfsoftware.jeb.core.units.code.ICodeUnit
getAddressFromCodeCoordinates, getCodeCoordinatesFromAddress, getCodeItemByAddress, getCommentManager, getDisassembly, getDisassemblyDocument, getHierarchy, getPackageMethods inherited from interface com.pnfsoftware.jeb.util.events.IEventSource
addListener, countListeners, getListeners, getParentSource, insertListener, notifyListeners, removeListener, setParentSourceMethods inherited from interface com.pnfsoftware.jeb.core.units.IInteractiveUnit
addressToLocation, canExecuteAction, executeAction, executeAction, getAddressActions, getFullComment, getFullComments, getGlobalActions, getInlineComment, getInlineComments, getItemActions, getMetadataManager, locationToAddress, prepareExecution, setInlineCommentMethods inherited from interface com.pnfsoftware.jeb.core.units.IUnit
addChild, addChild, canBePersisted, dispose, execprvfunc, generateQuickState, getChildren, getContributions, getCreationTimestamp, getDescription, getExtraInputs, getFormatter, getFormatType, getIconData, 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, setUnitProcessorMethods inherited from interface com.pnfsoftware.jeb.core.IUserDataSupport
clearAllData, getAllData, getData, setData
-
Constructor Details
-
AbstractCodeUnit
public AbstractCodeUnit(String name, String formatType, IInput input, IUnitProcessor unitProcessor, IUnitCreator parent, IPropertyDefinitionManager pdm) Create a code unit.- Parameters:
name- unit nameformatType- format typeinput- input objectunitProcessor- unit processorparent- parent unit creatorpdm- property definition manager
-
-
Method Details
-
getStrings
The skeleton implementation returns an empty list.- Specified by:
getStringsin interfaceICodeUnit- Returns:
- code strings
-
getPackages
The skeleton implementation returns an empty list.- Specified by:
getPackagesin interfaceICodeUnit- Returns:
- code packages
-
getTypes
The skeleton implementation returns an empty list. -
getClasses
The skeleton implementation returns an empty list.- Specified by:
getClassesin interfaceICodeUnit- Returns:
- code classes
-
getFields
The skeleton implementation returns an empty list. -
getMethods
The skeleton implementation returns an empty list.- Specified by:
getMethodsin interfaceICodeUnit- Returns:
- code methods
-
getClass
The skeleton implementation returns en empty list. -
getField
The skeleton implementation returns null. -
getMethod
The skeleton implementation returns null.
-