Package ghidra.pcode.emu.jit.gen.util
Class Methods.MthDescCheckedBuilderP<MR extends Types.BType,N extends Emitter.Next,CN extends Methods.CkNext>
java.lang.Object
ghidra.pcode.emu.jit.gen.util.Methods.MthDescCheckedBuilderP<MR,N,CN>
- Type Parameters:
MR- the method return typeN- the actual parameter types specified so far, encoded as inEmitter.CN- the boxed parameter types remaining to be specified, encoded similarly toEmitter, but usingMethods.CkNextand in reverse order.
- Enclosing interface:
Methods
public static class Methods.MthDescCheckedBuilderP<MR extends Types.BType,N extends Emitter.Next,CN extends Methods.CkNext>
extends Object
A checked builder (stage 2) of a method descriptor
Only Methods.MthDesc.param(MthDescCheckedBuilderP, TRef) or similar and
Methods.MthDesc.build(MthDescCheckedBuilderP) may be used on this stage 2 builder.
-
Method Summary
Modifier and TypeMethodDescription<R,A1> R check(BiFunction<? super Methods.MthDescCheckedBuilderP<MR, N, CN>, A1, R> func, A1 arg1) A syntactic workaround for static method chaining<R> RA syntactic workaround for static method chaining
-
Method Details
-
check
A syntactic workaround for static method chaining- Type Parameters:
R- the return type offunc- Parameters:
func- the method to invoke- Returns:
- the return value from
func
-
check
public <R,A1> R check(BiFunction<? super Methods.MthDescCheckedBuilderP<MR, N, CN>, A1, R> func, A1 arg1) A syntactic workaround for static method chaining- Type Parameters:
R- the return type offuncA1- the first argument type offunc- Parameters:
func- the method to invokearg1- the first argument tofunc- Returns:
- the return value from
func
-