Record Class ExportTrie.ExportEntry
java.lang.Object
java.lang.Record
ghidra.app.util.bin.format.macho.commands.ExportTrie.ExportEntry
- Record Components:
name- The export nameaddress- The export addressflags- The export flagsother- The export "other" infoimportName- The export import name (could be null if not a re-export)
- Enclosing class:
ExportTrie
public static record ExportTrie.ExportEntry(String name, long address, long flags, long other, String importName)
extends Record
Creates a new
ExportTrie.ExportEntry-
Constructor Summary
ConstructorsConstructorDescriptionExportEntry(String name, long address, long flags, long other, String importName) Creates an instance of aExportEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongaddress()Returns the value of theaddressrecord component.final booleanIndicates whether some other object is "equal to" this one.longflags()Returns the value of theflagsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theimportNamerecord component.booleanCheck to see if the export is a "re-export"name()Returns the value of thenamerecord component.longother()Returns the value of theotherrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
ExportEntry
Creates an instance of aExportEntryrecord class.- Parameters:
name- the value for thenamerecord componentaddress- the value for theaddressrecord componentflags- the value for theflagsrecord componentother- the value for theotherrecord componentimportName- the value for theimportNamerecord component
-
-
Method Details
-
isReExport
public boolean isReExport()Check to see if the export is a "re-export"- Returns:
- True if re-export; otherwise, false
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
address
public long address()Returns the value of theaddressrecord component.- Returns:
- the value of the
addressrecord component
-
flags
public long flags()Returns the value of theflagsrecord component.- Returns:
- the value of the
flagsrecord component
-
other
public long other()Returns the value of theotherrecord component.- Returns:
- the value of the
otherrecord component
-
importName
Returns the value of theimportNamerecord component.- Returns:
- the value of the
importNamerecord component
-