forked from JavaTX/JavaCompilerCore
Kleiner Formfehler korrigiert
This commit is contained in:
parent
57350e2095
commit
a94d7326b1
@ -78,7 +78,7 @@ public class Class extends GTVDeclarationContext implements AClassOrInterface, I
|
||||
ByteArrayOutputStream out = new ByteArrayOutputStream();
|
||||
|
||||
InstructionList il = new InstructionList();
|
||||
MethodGen method = new MethodGen(Constants.ACC_PUBLIC, org.apache.bcel.generic.Type.VOID, org.apache.bcel.generic.Type.NO_ARGS, new String[] { }, "<init>", "bceltesting.leer", il, _cp);
|
||||
MethodGen method = new MethodGen(Constants.ACC_PUBLIC, org.apache.bcel.generic.Type.VOID, org.apache.bcel.generic.Type.NO_ARGS, new String[] { }, "<init>", pkgName.get_Name() + "." + name, il, _cp);
|
||||
|
||||
InstructionHandle ih_0 = il.append(_factory.createLoad(org.apache.bcel.generic.Type.OBJECT, 0)); //creates Constructor
|
||||
il.append(_factory.createInvoke("java.lang.Object", "<init>", org.apache.bcel.generic.Type.VOID, org.apache.bcel.generic.Type.NO_ARGS, Constants.INVOKESPECIAL));
|
||||
|
Loading…
Reference in New Issue
Block a user