Class Methods.MthDescCheckedBuilderR<CR,CN extends Methods.CkNext>

java.lang.Object
ghidra.pcode.emu.jit.gen.util.Methods.MthDescCheckedBuilderR<CR,CN>
Type Parameters:
CR - the return type to be specified later with checking
CN - the parameter types to be specified later with checking
Enclosing interface:
Methods

public static class Methods.MthDescCheckedBuilderR<CR,CN extends Methods.CkNext> extends Object
A checked builder (stage 1) of a method descriptor

Only Methods.MthDesc.returns(BType) or similar may be used on this stage 1 builder.

  • Method Details

    • check

      public <R, A1> R check(BiFunction<? super Methods.MthDescCheckedBuilderR<CR,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