Package ghidra.pcode.emu.jit.gen.util
Record Class Methods.MthDesc<MR extends Types.BType,N extends Emitter.Next>
java.lang.Object
java.lang.Record
ghidra.pcode.emu.jit.gen.util.Methods.MthDesc<MR,N>
- Type Parameters:
MR- the (machine) type returned by the methodN- the parameter types encoded as inEmitterwhere the top corresponds to the right-most parameter.- Record Components:
desc- the descriptor as a string, as inMethodVisitor.visitMethodInsn(int, String, String, String, boolean).
- Enclosing interface:
Methods
public static record Methods.MthDesc<MR extends Types.BType,N extends Emitter.Next> (String desc)
extends Record
A method descriptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <MR extends Types.BType,N extends Emitter.Next>
Methods.MthDesc<MR, N> build(Methods.MthDescCheckedBuilderP<MR, N, Methods.CkBot> builder) Finish building the method descriptor (checked)static <A0,A1, A2>
Methods.MthDescCheckedBuilderR<Void, Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkBot, A2>, A1>, A0>> derive(Emitter.A3Consumer<A0, A1, A2> func) Begin building a method descriptor derived from the given method referencestatic <R,A0, A1, A2>
Methods.MthDescCheckedBuilderR<R, Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkBot, A2>, A1>, A0>> derive(Emitter.A3Function<A0, A1, A2, R> func) Begin building a method descriptor derived from the given method referencestatic <A0,A1, A2, A3>
Methods.MthDescCheckedBuilderR<Void, Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkBot, A3>, A2>, A1>, A0>> derive(Emitter.A4Consumer<A0, A1, A2, A3> func) Begin building a method descriptor derived from the given method referencestatic <R,A0, A1, A2, A3>
Methods.MthDescCheckedBuilderR<R, Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkBot, A3>, A2>, A1>, A0>> derive(Emitter.A4Function<A0, A1, A2, A3, R> func) Begin building a method descriptor derived from the given method referencestatic <R,A0, A1, A2, A3, A4>
Methods.MthDescCheckedBuilderR<R, Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkBot, A4>, A3>, A2>, A1>, A0>> derive(Emitter.A5Function<A0, A1, A2, A3, A4, R> func) Begin building a method descriptor derived from the given method referencestatic <R,A0, A1, A2, A3, A4, A5, A6>
Methods.MthDescCheckedBuilderR<R, Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkBot, A6>, A5>, A4>, A3>, A2>, A1>, A0>> derive(Emitter.A7Function<A0, A1, A2, A3, A4, A5, A6, R> func) Begin building a method descriptor derived from the given method referencestatic <R,A0, A1>
Methods.MthDescCheckedBuilderR<R, Methods.CkEnt<Methods.CkEnt<Methods.CkBot, A1>, A0>> derive(BiFunction<A0, A1, R> func) Begin building a method descriptor derived from the given method referencestatic <R,A0> Methods.MthDescCheckedBuilderR <R, Methods.CkEnt<Methods.CkBot, A0>> Begin building a method descriptor derived from the given method referencestatic <A0,A1, A2>
Methods.MthDescCheckedBuilderR<Void, Methods.CkEnt<Methods.CkEnt<Methods.CkBot, A2>, A1>> deriveInst(Emitter.A3Consumer<A0, A1, A2> func) Begin building a method descriptor derived from the given method referencestatic <A0,A1, A2, A3>
Methods.MthDescCheckedBuilderR<Void, Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkBot, A3>, A2>, A1>> deriveInst(Emitter.A4Consumer<A0, A1, A2, A3> func) Begin building an instance method descriptor derived from the given method referencestatic <R,A0, A1>
Methods.MthDescCheckedBuilderR<R, Methods.CkEnt<Methods.CkBot, A1>> deriveInst(BiFunction<A0, A1, R> func) Begin building an instance method descriptor derived from the given method referencedesc()Returns the value of thedescrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static <MR extends Types.BType,N extends Emitter.Next, CN1 extends Methods.CkNext, CN0 extends Methods.CkEnt<CN1, Integer>>
Methods.MthDescCheckedBuilderP<MR, Emitter.Ent<N, Types.TInt>, CN1> param(Methods.MthDescCheckedBuilderP<MR, N, CN0> builder, Types.TBool paramType) Specify a boolean parameter typestatic <MR extends Types.BType,N extends Emitter.Next, CN1 extends Methods.CkNext, CN0 extends Methods.CkEnt<CN1, Integer>>
Methods.MthDescCheckedBuilderP<MR, Emitter.Ent<N, Types.TInt>, CN1> param(Methods.MthDescCheckedBuilderP<MR, N, CN0> builder, Types.TByte paramType) Specify a byte parameter typestatic <MR extends Types.BType,N extends Emitter.Next, CN1 extends Methods.CkNext, CN0 extends Methods.CkEnt<CN1, Integer>>
Methods.MthDescCheckedBuilderP<MR, Emitter.Ent<N, Types.TInt>, CN1> param(Methods.MthDescCheckedBuilderP<MR, N, CN0> builder, Types.TChar paramType) Specify a char parameter typestatic <MR extends Types.BType,N extends Emitter.Next, CN1 extends Methods.CkNext, CN0 extends Methods.CkEnt<CN1, Double>>
Methods.MthDescCheckedBuilderP<MR, Emitter.Ent<N, Types.TDouble>, CN1> param(Methods.MthDescCheckedBuilderP<MR, N, CN0> builder, Types.TDouble paramType) Specify a double parameter typestatic <MR extends Types.BType,N extends Emitter.Next, CN1 extends Methods.CkNext, CN0 extends Methods.CkEnt<CN1, Float>>
Methods.MthDescCheckedBuilderP<MR, Emitter.Ent<N, Types.TFloat>, CN1> param(Methods.MthDescCheckedBuilderP<MR, N, CN0> builder, Types.TFloat paramType) Specify a float parameter typestatic <MR extends Types.BType,N extends Emitter.Next, CN1 extends Methods.CkNext, CN0 extends Methods.CkEnt<CN1, Integer>>
Methods.MthDescCheckedBuilderP<MR, Emitter.Ent<N, Types.TInt>, CN1> param(Methods.MthDescCheckedBuilderP<MR, N, CN0> builder, Types.TInt paramType) Specify an int parameter typestatic <MR extends Types.BType,N extends Emitter.Next, CN1 extends Methods.CkNext, CN0 extends Methods.CkEnt<CN1, Long>>
Methods.MthDescCheckedBuilderP<MR, Emitter.Ent<N, Types.TLong>, CN1> param(Methods.MthDescCheckedBuilderP<MR, N, CN0> builder, Types.TLong paramType) Specify a long parameter typestatic <MR extends Types.BType,N extends Emitter.Next, P, CN1 extends Methods.CkNext, CN0 extends Methods.CkEnt<CN1, P>>
Methods.MthDescCheckedBuilderP<MR, Emitter.Ent<N, Types.TRef<P>>, CN1> param(Methods.MthDescCheckedBuilderP<MR, N, CN0> builder, Types.TRef<P> paramType) Specify a reference parameter typestatic <MR extends Types.BType,N extends Emitter.Next, CN1 extends Methods.CkNext, CN0 extends Methods.CkEnt<CN1, Integer>>
Methods.MthDescCheckedBuilderP<MR, Emitter.Ent<N, Types.TInt>, CN1> param(Methods.MthDescCheckedBuilderP<MR, N, CN0> builder, Types.TShort paramType) Specify a short parameter typestatic Methods.MthDesc<?, ?> Obtain a method descriptor for a reflected method of unknown or unspecified typestatic <CN extends Methods.CkNext>
Methods.MthDescCheckedBuilderP<Types.TInt, Emitter.Bot, CN> returns(Methods.MthDescCheckedBuilderR<Boolean, CN> builder, Types.TBool retType) Specify a boolean return type for a checked builderstatic <CN extends Methods.CkNext>
Methods.MthDescCheckedBuilderP<Types.TInt, Emitter.Bot, CN> returns(Methods.MthDescCheckedBuilderR<Boolean, CN> builder, Types.TByte retType) Specify a byte return type for a checked builderstatic <CN extends Methods.CkNext>
Methods.MthDescCheckedBuilderP<Types.TInt, Emitter.Bot, CN> returns(Methods.MthDescCheckedBuilderR<Boolean, CN> builder, Types.TChar retType) Specify a char return type for a checked builderstatic <CN extends Methods.CkNext>
Methods.MthDescCheckedBuilderP<Types.TInt, Emitter.Bot, CN> returns(Methods.MthDescCheckedBuilderR<Boolean, CN> builder, Types.TShort retType) Specify a short return type for a checked builderstatic <CN extends Methods.CkNext>
Methods.MthDescCheckedBuilderP<Types.TFloat, Emitter.Bot, CN> returns(Methods.MthDescCheckedBuilderR<Integer, CN> builder, Types.TFloat retType) Specify a float return type for a checked builderstatic <CN extends Methods.CkNext>
Methods.MthDescCheckedBuilderP<Types.TInt, Emitter.Bot, CN> returns(Methods.MthDescCheckedBuilderR<Integer, CN> builder, Types.TInt retType) Specify an int return type for a checked builderstatic <CN extends Methods.CkNext>
Methods.MthDescCheckedBuilderP<Types.TDouble, Emitter.Bot, CN> returns(Methods.MthDescCheckedBuilderR<Long, CN> builder, Types.TDouble retType) Specify a double return type for a checked builderstatic <CN extends Methods.CkNext>
Methods.MthDescCheckedBuilderP<Types.TLong, Emitter.Bot, CN> returns(Methods.MthDescCheckedBuilderR<Long, CN> builder, Types.TLong retType) Specify a long return type for a checked builderstatic <CN extends Methods.CkNext>
Methods.MthDescCheckedBuilderP<Types.TVoid, Emitter.Bot, CN> returns(Methods.MthDescCheckedBuilderR<Void, CN> builder, Types.TVoid retType) Specify a void return type for a checked builderstatic <R,CN extends Methods.CkNext>
Methods.MthDescCheckedBuilderP<Types.TRef<R>, Emitter.Bot, CN> returns(Methods.MthDescCheckedBuilderR<R, CN> builder, Types.TRef<R> retType) Specify the return type of a checked builderreturns(Types.SType retType) Begin building a method descriptor that returns the given (source) typestatic <MR extends Types.BType>
Methods.MthDescBuilder<MR, Emitter.Bot> returns(MR retType) Begin building a method descriptor that returns the given (machine) typefinal StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MthDesc
Creates an instance of aMthDescrecord class.- Parameters:
desc- the value for thedescrecord component
-
-
Method Details
-
returns
Begin building a method descriptor that returns the given (machine) type- Type Parameters:
MR- the return type- Parameters:
retType- the return type- Returns:
- the builder
-
returns
Begin building a method descriptor that returns the given (source) type- Parameters:
retType- the return type- Returns:
- the builder
-
reflect
Obtain a method descriptor for a reflected method of unknown or unspecified typeAll bets are off for static type checking, but this at least obtains the descriptor as a string at runtime.
- Parameters:
method- the method- Returns:
- the untyped descriptor
-
derive
public static <R,A0> Methods.MthDescCheckedBuilderR<R,Methods.CkEnt<Methods.CkBot, deriveA0>> (Function<A0, R> func) Begin building a method descriptor derived from the given method referenceNOTE: This is imperfect because method refs allow
? superfor the return type and? extendsfor each parameter. Furthermore, primitives must be boxed, and so we can't distinguish primitive parameters from their boxed types. Still, this is better than nothing. For an example of this, seeMethodsorEmitter.- Type Parameters:
R- the return type, boxedA0- the first argument type, boxed- Parameters:
func- the method reference- Returns:
- the checked builder
-
derive
public static <R,A0, Methods.MthDescCheckedBuilderR<R,A1> Methods.CkEnt<Methods.CkEnt<Methods.CkBot, deriveA1>, A0>> (BiFunction<A0, A1, R> func) Begin building a method descriptor derived from the given method reference- Type Parameters:
R- the return type, boxedA0- the first argument type, boxedA1- another argument type, boxed- Parameters:
func- the method reference- Returns:
- the checked builder
- See Also:
-
deriveInst
public static <R,A0, Methods.MthDescCheckedBuilderR<R,A1> Methods.CkEnt<Methods.CkBot, deriveInstA1>> (BiFunction<A0, A1, R> func) Begin building an instance method descriptor derived from the given method referenceThis implicitly drops the object reference that is normally included in static references to instance methods.
- Type Parameters:
R- the return type, boxedA0- the object reference type, droppedA1- another argument type, boxed- Parameters:
func- the method reference- Returns:
- the checked builder
- See Also:
-
derive
public static <R,A0, Methods.MthDescCheckedBuilderR<R,A1, A2> Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkBot, deriveA2>, A1>, A0>> (Emitter.A3Function<A0, A1, A2, R> func) Begin building a method descriptor derived from the given method reference- Type Parameters:
R- the return type, boxedA0- the first argument type, boxedA1- another argument type, boxedA2- another argument type, boxed- Parameters:
func- the method reference- Returns:
- the checked builder
- See Also:
-
derive
public static <A0,A1, Methods.MthDescCheckedBuilderR<Void,A2> Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkBot, deriveA2>, A1>, A0>> (Emitter.A3Consumer<A0, A1, A2> func) Begin building a method descriptor derived from the given method reference- Type Parameters:
A0- the first argument type, boxedA1- another argument type, boxedA2- another argument type, boxed- Parameters:
func- the method reference- Returns:
- the checked builder
- See Also:
-
deriveInst
public static <A0,A1, Methods.MthDescCheckedBuilderR<Void,A2> Methods.CkEnt<Methods.CkEnt<Methods.CkBot, deriveInstA2>, A1>> (Emitter.A3Consumer<A0, A1, A2> func) Begin building a method descriptor derived from the given method reference- Type Parameters:
A0- the object type, droppedA1- another argument type, boxedA2- another argument type, boxed- Parameters:
func- the method reference- Returns:
- the checked builder
- See Also:
-
derive
public static <R,A0, Methods.MthDescCheckedBuilderR<R,A1, A2, A3> Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkBot, deriveA3>, A2>, A1>, A0>> (Emitter.A4Function<A0, A1, A2, A3, R> func) Begin building a method descriptor derived from the given method reference- Type Parameters:
R- the return type, boxedA0- the first argument type, boxedA1- another argument type, boxedA2- another argument type, boxedA3- another argument type, boxed- Parameters:
func- the method reference- Returns:
- the checked builder
- See Also:
-
derive
public static <A0,A1, Methods.MthDescCheckedBuilderR<Void,A2, A3> Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkBot, deriveA3>, A2>, A1>, A0>> (Emitter.A4Consumer<A0, A1, A2, A3> func) Begin building a method descriptor derived from the given method reference- Type Parameters:
A0- the first argument type, boxedA1- another argument type, boxedA2- another argument type, boxedA3- another argument type, boxed- Parameters:
func- the method reference- Returns:
- the checked builder
- See Also:
-
deriveInst
public static <A0,A1, Methods.MthDescCheckedBuilderR<Void,A2, A3> Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkBot, deriveInstA3>, A2>, A1>> (Emitter.A4Consumer<A0, A1, A2, A3> func) Begin building an instance method descriptor derived from the given method reference- Type Parameters:
A0- the object referenceA1- another argument type, boxedA2- another argument type, boxedA3- another argument type, boxed- Parameters:
func- the method reference- Returns:
- the checked builder
- See Also:
-
derive
public static <R,A0, Methods.MthDescCheckedBuilderR<R,A1, A2, A3, A4> Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkBot, deriveA4>, A3>, A2>, A1>, A0>> (Emitter.A5Function<A0, A1, A2, A3, A4, R> func) Begin building a method descriptor derived from the given method reference- Type Parameters:
R- the return type, boxedA0- the first argument type, boxedA1- another argument type, boxedA2- another argument type, boxedA3- another argument type, boxed- Parameters:
func- the method reference- Returns:
- the checked builder
- See Also:
-
derive
public static <R,A0, Methods.MthDescCheckedBuilderR<R,A1, A2, A3, A4, A5, A6> Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkEnt<Methods.CkBot, deriveA6>, A5>, A4>, A3>, A2>, A1>, A0>> (Emitter.A7Function<A0, A1, A2, A3, A4, A5, A6, R> func) Begin building a method descriptor derived from the given method reference- Type Parameters:
R- the return type, boxedA0- the first argument type, boxedA1- another argument type, boxedA2- another argument type, boxedA3- another argument type, boxed- Parameters:
func- the method reference- Returns:
- the checked builder
- See Also:
-
returns
public static <R,CN extends Methods.CkNext> Methods.MthDescCheckedBuilderP<Types.TRef<R>,Emitter.Bot, returnsCN> (Methods.MthDescCheckedBuilderR<R, CN> builder, Types.TRef<R> retType) Specify the return type of a checked builderThis may not be used for primitive types, but can be used if the method genuinely returns the boxed type.
- Type Parameters:
R- the (perhaps boxed) return typeCN- the boxed parameter types for later checking- Parameters:
builder- the (stage 1) builderretType- the return type- Returns:
- the (stage 2) builder
-
returns
public static <CN extends Methods.CkNext> Methods.MthDescCheckedBuilderP<Types.TVoid,Emitter.Bot, returnsCN> (Methods.MthDescCheckedBuilderR<Void, CN> builder, Types.TVoid retType) Specify a void return type for a checked builder- Type Parameters:
CN- the boxed parameter types for later checking- Parameters:
builder- the (stage 1) builderretType- the return type- Returns:
- the (stage 2) builder
-
returns
public static <CN extends Methods.CkNext> Methods.MthDescCheckedBuilderP<Types.TInt,Emitter.Bot, returnsCN> (Methods.MthDescCheckedBuilderR<Boolean, CN> builder, Types.TBool retType) Specify a boolean return type for a checked builder- Type Parameters:
CN- the boxed parameter types for later checking- Parameters:
builder- the (stage 1) builderretType- the return type- Returns:
- the (stage 2) builder
-
returns
public static <CN extends Methods.CkNext> Methods.MthDescCheckedBuilderP<Types.TInt,Emitter.Bot, returnsCN> (Methods.MthDescCheckedBuilderR<Boolean, CN> builder, Types.TByte retType) Specify a byte return type for a checked builder- Type Parameters:
CN- the boxed parameter types for later checking- Parameters:
builder- the (stage 1) builderretType- the return type- Returns:
- the (stage 2) builder
-
returns
public static <CN extends Methods.CkNext> Methods.MthDescCheckedBuilderP<Types.TInt,Emitter.Bot, returnsCN> (Methods.MthDescCheckedBuilderR<Boolean, CN> builder, Types.TChar retType) Specify a char return type for a checked builder- Type Parameters:
CN- the boxed parameter types for later checking- Parameters:
builder- the (stage 1) builderretType- the return type- Returns:
- the (stage 2) builder
-
returns
public static <CN extends Methods.CkNext> Methods.MthDescCheckedBuilderP<Types.TInt,Emitter.Bot, returnsCN> (Methods.MthDescCheckedBuilderR<Boolean, CN> builder, Types.TShort retType) Specify a short return type for a checked builder- Type Parameters:
CN- the boxed parameter types for later checking- Parameters:
builder- the (stage 1) builderretType- the return type- Returns:
- the (stage 2) builder
-
returns
public static <CN extends Methods.CkNext> Methods.MthDescCheckedBuilderP<Types.TInt,Emitter.Bot, returnsCN> (Methods.MthDescCheckedBuilderR<Integer, CN> builder, Types.TInt retType) Specify an int return type for a checked builder- Type Parameters:
CN- the boxed parameter types for later checking- Parameters:
builder- the (stage 1) builderretType- the return type- Returns:
- the (stage 2) builder
-
returns
public static <CN extends Methods.CkNext> Methods.MthDescCheckedBuilderP<Types.TLong,Emitter.Bot, returnsCN> (Methods.MthDescCheckedBuilderR<Long, CN> builder, Types.TLong retType) Specify a long return type for a checked builder- Type Parameters:
CN- the boxed parameter types for later checking- Parameters:
builder- the (stage 1) builderretType- the return type- Returns:
- the (stage 2) builder
-
returns
public static <CN extends Methods.CkNext> Methods.MthDescCheckedBuilderP<Types.TFloat,Emitter.Bot, returnsCN> (Methods.MthDescCheckedBuilderR<Integer, CN> builder, Types.TFloat retType) Specify a float return type for a checked builder- Type Parameters:
CN- the boxed parameter types for later checking- Parameters:
builder- the (stage 1) builderretType- the return type- Returns:
- the (stage 2) builder
-
returns
public static <CN extends Methods.CkNext> Methods.MthDescCheckedBuilderP<Types.TDouble,Emitter.Bot, returnsCN> (Methods.MthDescCheckedBuilderR<Long, CN> builder, Types.TDouble retType) Specify a double return type for a checked builder- Type Parameters:
CN- the boxed parameter types for later checking- Parameters:
builder- the (stage 1) builderretType- the return type- Returns:
- the (stage 2) builder
-
param
public static <MR extends Types.BType,N extends Emitter.Next, Methods.MthDescCheckedBuilderP<MR,P, CN1 extends Methods.CkNext, CN0 extends Methods.CkEnt<CN1, P>> Emitter.Ent<N, paramTypes.TRef<P>>, CN1> (Methods.MthDescCheckedBuilderP<MR, N, CN0> builder, Types.TRef<P> paramType) Specify a reference parameter type- Type Parameters:
MR- the method return typeN- the actual parameter types specified so farP- the parameter typeCN1- the boxed parameter types remainingCN0- the boxed type for the parameter whose type is being specified- Parameters:
builder- the builderparamType- the specified parameter type- Returns:
- the builder
-
param
public static <MR extends Types.BType,N extends Emitter.Next, Methods.MthDescCheckedBuilderP<MR,CN1 extends Methods.CkNext, CN0 extends Methods.CkEnt<CN1, Integer>> Emitter.Ent<N, paramTypes.TInt>, CN1> (Methods.MthDescCheckedBuilderP<MR, N, CN0> builder, Types.TBool paramType) Specify a boolean parameter type- Type Parameters:
MR- the method return typeN- the actual parameter types specified so farCN1- the boxed parameter types remainingCN0- the boxed type for the parameter whose type is being specified- Parameters:
builder- the builderparamType- the specified parameter type- Returns:
- the builder
-
param
public static <MR extends Types.BType,N extends Emitter.Next, Methods.MthDescCheckedBuilderP<MR,CN1 extends Methods.CkNext, CN0 extends Methods.CkEnt<CN1, Integer>> Emitter.Ent<N, paramTypes.TInt>, CN1> (Methods.MthDescCheckedBuilderP<MR, N, CN0> builder, Types.TByte paramType) Specify a byte parameter type- Type Parameters:
MR- the method return typeN- the actual parameter types specified so farCN1- the boxed parameter types remainingCN0- the boxed type for the parameter whose type is being specified- Parameters:
builder- the builderparamType- the specified parameter type- Returns:
- the builder
-
param
public static <MR extends Types.BType,N extends Emitter.Next, Methods.MthDescCheckedBuilderP<MR,CN1 extends Methods.CkNext, CN0 extends Methods.CkEnt<CN1, Integer>> Emitter.Ent<N, paramTypes.TInt>, CN1> (Methods.MthDescCheckedBuilderP<MR, N, CN0> builder, Types.TChar paramType) Specify a char parameter type- Type Parameters:
MR- the method return typeN- the actual parameter types specified so farCN1- the boxed parameter types remainingCN0- the boxed type for the parameter whose type is being specified- Parameters:
builder- the builderparamType- the specified parameter type- Returns:
- the builder
-
param
public static <MR extends Types.BType,N extends Emitter.Next, Methods.MthDescCheckedBuilderP<MR,CN1 extends Methods.CkNext, CN0 extends Methods.CkEnt<CN1, Integer>> Emitter.Ent<N, paramTypes.TInt>, CN1> (Methods.MthDescCheckedBuilderP<MR, N, CN0> builder, Types.TShort paramType) Specify a short parameter type- Type Parameters:
MR- the method return typeN- the actual parameter types specified so farCN1- the boxed parameter types remainingCN0- the boxed type for the parameter whose type is being specified- Parameters:
builder- the builderparamType- the specified parameter type- Returns:
- the builder
-
param
public static <MR extends Types.BType,N extends Emitter.Next, Methods.MthDescCheckedBuilderP<MR,CN1 extends Methods.CkNext, CN0 extends Methods.CkEnt<CN1, Integer>> Emitter.Ent<N, paramTypes.TInt>, CN1> (Methods.MthDescCheckedBuilderP<MR, N, CN0> builder, Types.TInt paramType) Specify an int parameter type- Type Parameters:
MR- the method return typeN- the actual parameter types specified so farCN1- the boxed parameter types remainingCN0- the boxed type for the parameter whose type is being specified- Parameters:
builder- the builderparamType- the specified parameter type- Returns:
- the builder
-
param
public static <MR extends Types.BType,N extends Emitter.Next, Methods.MthDescCheckedBuilderP<MR,CN1 extends Methods.CkNext, CN0 extends Methods.CkEnt<CN1, Long>> Emitter.Ent<N, paramTypes.TLong>, CN1> (Methods.MthDescCheckedBuilderP<MR, N, CN0> builder, Types.TLong paramType) Specify a long parameter type- Type Parameters:
MR- the method return typeN- the actual parameter types specified so farCN1- the boxed parameter types remainingCN0- the boxed type for the parameter whose type is being specified- Parameters:
builder- the builderparamType- the specified parameter type- Returns:
- the builder
-
param
public static <MR extends Types.BType,N extends Emitter.Next, Methods.MthDescCheckedBuilderP<MR,CN1 extends Methods.CkNext, CN0 extends Methods.CkEnt<CN1, Float>> Emitter.Ent<N, paramTypes.TFloat>, CN1> (Methods.MthDescCheckedBuilderP<MR, N, CN0> builder, Types.TFloat paramType) Specify a float parameter type- Type Parameters:
MR- the method return typeN- the actual parameter types specified so farCN1- the boxed parameter types remainingCN0- the boxed type for the parameter whose type is being specified- Parameters:
builder- the builderparamType- the specified parameter type- Returns:
- the builder
-
param
public static <MR extends Types.BType,N extends Emitter.Next, Methods.MthDescCheckedBuilderP<MR,CN1 extends Methods.CkNext, CN0 extends Methods.CkEnt<CN1, Double>> Emitter.Ent<N, paramTypes.TDouble>, CN1> (Methods.MthDescCheckedBuilderP<MR, N, CN0> builder, Types.TDouble paramType) Specify a double parameter type- Type Parameters:
MR- the method return typeN- the actual parameter types specified so farCN1- the boxed parameter types remainingCN0- the boxed type for the parameter whose type is being specified- Parameters:
builder- the builderparamType- the specified parameter type- Returns:
- the builder
-
build
public static <MR extends Types.BType,N extends Emitter.Next> Methods.MthDesc<MR,N> build(Methods.MthDescCheckedBuilderP<MR, N, Methods.CkBot> builder) Finish building the method descriptor (checked)This cannot be invoked until the (boxed) parameter types remaining is empty
- Type Parameters:
MR- the method return typeN- the actual parameter types, all specified- Parameters:
builder- the builder with no remaining boxed (unspecified) parameter types- Returns:
- the method descriptor
-
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). -
desc
Returns the value of thedescrecord component.- Returns:
- the value of the
descrecord component
-