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
ConstructorDescriptionExportEntry
(String name, long address, long flags, long other, String importName) Creates an instance of aExportEntry
record class. -
Method Summary
Modifier and TypeMethodDescriptionlong
address()
Returns the value of theaddress
record component.final boolean
Indicates whether some other object is "equal to" this one.long
flags()
Returns the value of theflags
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of theimportName
record component.boolean
Check to see if the export is a "re-export"name()
Returns the value of thename
record component.long
other()
Returns the value of theother
record component.toString()
Returns a string representation of this record class.
-
Constructor Details
-
ExportEntry
Creates an instance of aExportEntry
record class.- Parameters:
name
- the value for thename
record componentaddress
- the value for theaddress
record componentflags
- the value for theflags
record componentother
- the value for theother
record componentimportName
- the value for theimportName
record 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 thename
record component.- Returns:
- the value of the
name
record component
-
address
public long address()Returns the value of theaddress
record component.- Returns:
- the value of the
address
record component
-
flags
public long flags()Returns the value of theflags
record component.- Returns:
- the value of the
flags
record component
-
other
public long other()Returns the value of theother
record component.- Returns:
- the value of the
other
record component
-
importName
Returns the value of theimportName
record component.- Returns:
- the value of the
importName
record component
-