Class InvokeNewExpr

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class InvokeNewExpr
    extends InvokeExpr
    Represents an IR instructor equivalent to Java bytecode: `new X, invoke-special X.`

    It's possible to construct an InvokeNewExpr with either just the owner or with an owner and a class name.

    It's possible that these are different:

    new Foo <-- className invokespecial java/lang/Object <-- owner

    • Constructor Detail

      • InvokeNewExpr

        public InvokeNewExpr​(Value.VT type,
                             Value[] args,
                             java.lang.String ownerType,
                             java.lang.String methodName,
                             java.lang.String[] argumentTypes,
                             java.lang.String owner)
      • InvokeNewExpr

        public InvokeNewExpr​(Value.VT type,
                             Value[] args,
                             java.lang.String ownerType,
                             java.lang.String methodName,
                             java.lang.String[] argumentTypes,
                             java.lang.String owner,
                             java.lang.String className)