Package ghidra.program.database.symbol
Class ClassSymbol
- java.lang.Object
-
- ghidra.program.database.DatabaseObject
-
- ghidra.program.database.symbol.SymbolDB
-
- ghidra.program.database.symbol.ClassSymbol
-
-
Constructor Summary
Constructors Constructor Description ClassSymbol(SymbolManager symbolMgr, DBObjectCache<SymbolDB> cache, Address address, Record record)
Construct a new Class Symbol
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getObject()
ProgramLocation
getProgramLocation()
SymbolType
getSymbolType()
Returns the symbol typeboolean
isExternal()
Returns true if this an external symbol.boolean
isPrimary()
boolean
isValidParent(Namespace parent)
Returns whether the given parent is valid for this Symbol.-
Methods inherited from class ghidra.program.database.symbol.SymbolDB
delete, doIsPinned, doSetPinned, equals, getAddress, getID, getName, getName, getParentNamespace, getParentSymbol, getPath, getProgram, getReferenceCount, getReferences, getReferences, getSource, getSymbolData1, getSymbolData2, getSymbolData3, getSymbolsDynamicallyRenamedByMyRename, hashCode, hasMultipleReferences, hasReferences, isDeleting, isDescendant, isDynamic, isExternalEntryPoint, isGlobal, isPinned, move, refresh, refresh, removeAllReferencesTo, setAddress, setName, setNameAndNamespace, setNamespace, setPinned, setPrimary, setSource, setSymbolData1, setSymbolData2, setSymbolData3, toString, validateNameSource
-
Methods inherited from class ghidra.program.database.DatabaseObject
checkDeleted, checkIsValid, checkIsValid, getKey, isDeleted, isInvalid, keyChanged, setInvalid, validate
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ghidra.program.model.symbol.Symbol
checkIsValid
-
-
-
-
Constructor Detail
-
ClassSymbol
public ClassSymbol(SymbolManager symbolMgr, DBObjectCache<SymbolDB> cache, Address address, Record record)
Construct a new Class Symbol- Parameters:
symbolMgr
- the symbol managercache
- symbol object cacheaddress
- the address to associate with the symbolrecord
- the record associated with the symbol.
-
-
Method Detail
-
getSymbolType
public SymbolType getSymbolType()
Description copied from interface:Symbol
Returns the symbol type- See Also:
Symbol.getSymbolType()
-
getObject
public java.lang.Object getObject()
- See Also:
Symbol.getObject()
-
isPrimary
public boolean isPrimary()
- Specified by:
isPrimary
in interfaceSymbol
- Specified by:
isPrimary
in classSymbolDB
- See Also:
Symbol.isPrimary()
-
isExternal
public boolean isExternal()
Description copied from interface:Symbol
Returns true if this an external symbol.- Returns:
- true if this an external symbol.
- See Also:
Address.isExternalAddress()
-
getProgramLocation
public ProgramLocation getProgramLocation()
- See Also:
Symbol.getProgramLocation()
-
isValidParent
public boolean isValidParent(Namespace parent)
Description copied from interface:Symbol
Returns whether the given parent is valid for this Symbol.- Specified by:
isValidParent
in interfaceSymbol
- Specified by:
isValidParent
in classSymbolDB
- See Also:
Symbol.isValidParent(ghidra.program.model.symbol.Namespace)
-
-