Record Class Methods.ObjDef<MR,OT,N>
java.lang.Object
java.lang.Record
ghidra.pcode.emu.jit.gen.util.Methods.ObjDef<MR,OT,N>
- Type Parameters:
MR- the return typeOT- the owning typeN- the parameter types, encoded as inEmitter- Record Components:
em- the emitter to be given once method definition moves into bytecode generationparams- the defined parameters so far
- Enclosing interface:
Methods
public static record Methods.ObjDef<MR,OT,N> (Emitter<Emitter.Bot> em, List<Methods.MthParam<?>> params)
extends Record
An instance method definition (builder)
-
Constructor Summary
ConstructorsConstructorDescriptionObjDef(Emitter<Emitter.Bot> em, List<Methods.MthParam<?>> params) Creates an instance of aObjDefrecord class. -
Method Summary
Modifier and TypeMethodDescriptionem()Returns the value of theemrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.<R, T1 extends Types.BNonVoid>
Rparam(Methods.Def.ParamFunction<? super Methods.ObjDef<MR, OT, N>, T1, R> func, T1 type, String name, Consumer<Local<T1>> receiver) A syntactic workaround for static method chaining<R> Rparam(Methods.Def.ThisFunction<? super Methods.ObjDef<MR, OT, N>, OT, R> func, Types.TRef<OT> type, Consumer<Local<Types.TRef<OT>>> receiver) A syntactic workaround for static method chainingList<Methods.MthParam<?>> params()Returns the value of theparamsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
param
public <R, T1 extends Types.BNonVoid> R param(Methods.Def.ParamFunction<? super Methods.ObjDef<MR, OT, N>, T1, R> func, T1 type, String name, Consumer<Local<T1>> receiver) A syntactic workaround for static method chaining- Type Parameters:
R- the return type offuncT1- the parameter type- Parameters:
func- the static method reference that actually processes the parametertype- the parameter typename- the namereceiver- the receiver- Returns:
- the return value from
func
-
param
public <R> R param(Methods.Def.ThisFunction<? super Methods.ObjDef<MR, OT, N>, OT, R> func, Types.TRef<OT> type, Consumer<Local<Types.TRef<OT>>> receiver) A syntactic workaround for static method chaining- Type Parameters:
R- the return type offunc- Parameters:
func- the static method reference that actually processes the parametertype- thethistypereceiver- the receiver- Returns:
- the return value from
func
-
toString
-
hashCode
-
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). -
em
-
params
-