Package org.apache.xalan.xsltc.compiler.util

Examples of org.apache.xalan.xsltc.compiler.util.NamedMethodGenerator


  for (int i = 4; i < 4 + numParams; i++) {
      types[i] = Util.getJCRefType(OBJECT_SIG);
      names[i] = "param" + String.valueOf(i-4);
  }
 
  NamedMethodGenerator methodGen =
          new NamedMethodGenerator(ACC_PUBLIC,
             org.apache.bcel.generic.Type.VOID,
             types, names, methodName,
             getClassName(), il, cpg);     

  il.append(template.compile(classGen, methodGen));
  il.append(RETURN);
 
  methodGen.stripAttributes(true);
  methodGen.setMaxLocals();
  methodGen.setMaxStack();
  methodGen.removeNOPs();
  classGen.addMethod(methodGen.getMethod());
    }
View Full Code Here


  for (int i = 4; i < 4 + numParams; i++) {
      types[i] = Util.getJCRefType(OBJECT_SIG);
      names[i] = "param" + String.valueOf(i-4);
  }
 
  NamedMethodGenerator methodGen =
          new NamedMethodGenerator(ACC_PUBLIC,
             org.apache.bcel.generic.Type.VOID,
             types, names, methodName,
             getClassName(), il, cpg);     

  il.append(template.compile(classGen, methodGen));
View Full Code Here

TOP

Related Classes of org.apache.xalan.xsltc.compiler.util.NamedMethodGenerator

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.