Record Class GoRttiMapper.FuncDefResult
java.lang.Object
java.lang.Record
ghidra.app.util.bin.format.golang.rtti.GoRttiMapper.FuncDefResult
- Enclosing class:
GoRttiMapper
public static record GoRttiMapper.FuncDefResult(FunctionDefinition funcDef, GoType recvType, Set<GoRttiMapper.FuncDefFlags> flags, String funcDefStr, GoSymbolName symbolName)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionFuncDefResult(FunctionDefinition funcDef, GoType recvType, Set<GoRttiMapper.FuncDefFlags> flags, String funcDefStr, GoSymbolName symbolName) Creates an instance of aFuncDefResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.flags()Returns the value of theflagsrecord component.funcDef()Returns the value of thefuncDefrecord component.Returns the value of thefuncDefStrrecord component.final inthashCode()Returns a hash code value for this object.recvType()Returns the value of therecvTyperecord component.Returns the value of thesymbolNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FuncDefResult
public FuncDefResult(FunctionDefinition funcDef, GoType recvType, Set<GoRttiMapper.FuncDefFlags> flags, String funcDefStr, GoSymbolName symbolName) Creates an instance of aFuncDefResultrecord class.- Parameters:
funcDef- the value for thefuncDefrecord componentrecvType- the value for therecvTyperecord componentflags- the value for theflagsrecord componentfuncDefStr- the value for thefuncDefStrrecord componentsymbolName- the value for thesymbolNamerecord component
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
funcDef
Returns the value of thefuncDefrecord component.- Returns:
- the value of the
funcDefrecord component
-
recvType
Returns the value of therecvTyperecord component.- Returns:
- the value of the
recvTyperecord component
-
flags
Returns the value of theflagsrecord component.- Returns:
- the value of the
flagsrecord component
-
funcDefStr
Returns the value of thefuncDefStrrecord component.- Returns:
- the value of the
funcDefStrrecord component
-
symbolName
Returns the value of thesymbolNamerecord component.- Returns:
- the value of the
symbolNamerecord component
-