Class ValuesFilter

All Implemented Interfaces:
Inlineable, Named

public class ValuesFilter extends MethodProc implements Inlineable
  • Field Details

    • forwardFilter

      public static final ValuesFilter forwardFilter
    • reverseFilter

      public static final ValuesFilter reverseFilter
    • exprFilter

      public static final ValuesFilter exprFilter
    • typeValuesFilter

      public static final ClassType typeValuesFilter
    • matchesMethod

      public static final Method matchesMethod
  • Constructor Details

    • ValuesFilter

      public ValuesFilter(char kind)
  • Method Details

    • get

      public static ValuesFilter get(char kind)
    • numArgs

      public int numArgs()
      Description copied from class: Procedure
      Return minArgs()|(maxArgs<<12). We use a single virtual function to reduce the number of methods in the system, as well as the number of virtual method table entries. We shift by 12 so the number can normally be represented using a sipush instruction, without requiring a constant pool entry.
      Overrides:
      numArgs in class Procedure
    • matches

      public static boolean matches(Object result, long count)
    • applyToConsumer

      public static Object applyToConsumer(Procedure proc, CallContext ctx) throws Throwable
      Throws:
      Throwable
    • compile

      public void compile(ApplyExp exp, Compilation comp, Target target)
      Specified by:
      compile in interface Inlineable
    • getReturnType

      public Type getReturnType(Expression[] args)
      Description copied from class: Procedure
      Semi-deprecated - instead should be set at Inline time. FIXME
      Overrides:
      getReturnType in class Procedure