Package ghidra.pcode.emu.jit.gen.util
Record Class Types.TRef<T>
java.lang.Object
java.lang.Record
ghidra.pcode.emu.jit.gen.util.Types.TRef<T>
- Type Parameters:
T- the type- Record Components:
cls- the class for the type. For generated types, this may be a super type.type- the ASM type
- All Implemented Interfaces:
Types.BNonVoid,Types.BType,Types.SNonVoid,Types.SType,Types.TCat1
- Enclosing interface:
Types
public static record Types.TRef<T>(Class<? super T> cls, org.objectweb.asm.Type type)
extends Record
implements Types.TCat1
Reference types
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncls()Returns the value of theclsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.org.objectweb.asm.Typetype()Returns the value of thetyperecord component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ghidra.pcode.emu.jit.gen.util.Types.BType
internalNameMethods inherited from interface ghidra.pcode.emu.jit.gen.util.Types.TCat1
slots
-
Constructor Details
-
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). -
cls
Returns the value of theclsrecord component.- Specified by:
clsin interfaceTypes.SType- Returns:
- the value of the
clsrecord component
-
type
public org.objectweb.asm.Type type()Returns the value of thetyperecord component.- Specified by:
typein interfaceTypes.BType- Specified by:
typein interfaceTypes.SType- Returns:
- the value of the
typerecord component
-