Package org.allspice.bytecode.instructions

Examples of org.allspice.bytecode.instructions.InvokeStatic


  public static void createCall(EvaluationContext context, Expr decl, final Collection<Expr> args,InstList l) throws CompilerException, UndefinedMethod {
    MethodInvocation fd = createMethDef(context,args,decl) ;
    MethodRef mref = createMethodRef(fd.stub) ;
    if (fd.stub.isStatic) {
      createStaticCall(context,args,mref.parameters,new InvokeStatic(mref),l) ;
    }
    else {
      if (fd.stub.isPrivate || fd.isSuper || mref.name.equals("<init>")) {
        createInstanceCall(context,decl,mref.name,args,mref.parameters,new InvokeSpecial(mref),l) ;
      }
View Full Code Here

TOP

Related Classes of org.allspice.bytecode.instructions.InvokeStatic

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.