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 type
N - the actual parameter types specified so far, encoded as in Emitter.
CN - the boxed parameter types remaining to be specified, encoded similarly to Emitter, but using Methods.CkNext and 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 Details

    • check

      public <R> R check(Function<? super Methods.MthDescCheckedBuilderP<MR,N,CN>,R> func)
      A syntactic workaround for static method chaining
      Type Parameters:
      R - the return type of func
      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 of func
      A1 - the first argument type of func
      Parameters:
      func - the method to invoke
      arg1 - the first argument to func
      Returns:
      the return value from func