Generierung von Generic Klasse auskommentiert

This commit is contained in:
Enrico Schrödter 2015-10-20 14:07:57 +02:00
parent 50dda3041f
commit bafffe26ad

View File

@ -1038,20 +1038,20 @@ public class Class extends GTVDeclarationContext implements AClassOrInterface, I
//Super Klasse
String name = getType().getCombinedType(_cg);
Class superClass = new Class("java/util/Vector",-1);
Type superClassType = superClass.getType();
//Class superClass = new Class("java/util/Vector",-1);
//Type superClassType = superClass.getType();
//_cg = new ClassGenerator(name, superClassType, name + ".java", Constants.ACC_PUBLIC , new String[] { }, new TypeinferenceResultSet(null, null, null));
Class generatedClass = new Class(name, 0);
//Class generatedClass = new Class(name, 0);
Block konstruktorBlock = new Block();
konstruktorBlock.statements.add(new SuperCall(konstruktorBlock));
Constructor standardKonstruktor = new Constructor(Method.createEmptyMethod(konstruktorBlock, name, superClass), superClass);
//Block konstruktorBlock = new Block();
//konstruktorBlock.statements.add(new SuperCall(konstruktorBlock));
//Constructor standardKonstruktor = new Constructor(Method.createEmptyMethod(konstruktorBlock, name, superClass), superClass);
generatedClass.addField(standardKonstruktor);
//generatedClass.addField(standardKonstruktor);
results.addAll(generatedClass.genByteCode(new TypeinferenceResultSet(generatedClass, new Menge<>(), new ResultSet())));
//results.addAll(generatedClass.genByteCode(new TypeinferenceResultSet(generatedClass, new Menge<>(), new ResultSet())));
/*