forked from JavaTX/JavaCompilerCore
Unnötige Datein in bin löschen
This commit is contained in:
parent
6a4cb673bf
commit
7606aee9c3
@ -1,24 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
|
||||
|
||||
<log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/'>
|
||||
|
||||
<appender name="CONSOLE" class="de.dhbwstuttgart.logger.ConsoleAppender">
|
||||
<param name="Target" value="System.out"/>
|
||||
|
||||
<layout class="de.dhbwstuttgart.logger.PatternLayout">
|
||||
<param name="ConversionPattern" value="%-15C{1} %-5p [%-9c] %m%n"/>
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
<logger name="trtest">
|
||||
<level value="DEBUG"/>
|
||||
<appender-ref ref="CONSOLE"/>
|
||||
</logger>
|
||||
|
||||
<logger name="funcTest">
|
||||
<level value="DEBUG"/>
|
||||
<appender-ref ref="CONSOLE"/>
|
||||
</logger>
|
||||
|
||||
</log4j:configuration>
|
@ -1,3 +0,0 @@
|
||||
class Matrix{
|
||||
<A extends B, C extends B> String op = "String";
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
class FieldInitializationTest{
|
||||
String var = "hallo";
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
class Test{
|
||||
<A> A var;
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
import java.util.*;
|
||||
|
||||
class ImportTest{
|
||||
}
|
@ -59,8 +59,6 @@ import java.io.*;
|
||||
* Stellt jede Art von Klasse dar. Auch abstrakte Klassen und Interfaces
|
||||
*/
|
||||
public class Class extends GTVDeclarationContext implements IItemWithOffset, Generic, GenericTypeInsertable
|
||||
// ino.end
|
||||
// ino.class.Class.23010.body
|
||||
{
|
||||
/**
|
||||
* Log4j - Loggerinstanzen
|
||||
|
@ -1,59 +0,0 @@
|
||||
// ino.module.ClassHelper.8555.package
|
||||
package de.dhbwstuttgart.syntaxtree;
|
||||
// ino.end
|
||||
|
||||
// ino.module.ClassHelper.8555.import
|
||||
import de.dhbwstuttgart.typeinference.Menge;
|
||||
|
||||
import de.dhbwstuttgart.syntaxtree.type.GenericTypeVar;
|
||||
import de.dhbwstuttgart.syntaxtree.type.RefType;
|
||||
import de.dhbwstuttgart.syntaxtree.type.Type;
|
||||
|
||||
// ino.class.ClassHelper.23206.declaration
|
||||
public class ClassHelper
|
||||
// ino.end
|
||||
// ino.class.ClassHelper.23206.body
|
||||
{
|
||||
// ino.method.findGenericType.23209.defdescription type=javadoc
|
||||
/**
|
||||
* HOTI
|
||||
* Diese Methode sucht in der Klassendefinition nach einen GTV, die
|
||||
* so heiÃt wie die im RefType definierte Variable. Wenn sie diese gefunden
|
||||
* hat, wird sie zurückgeben. Wenn dies nicht der Fall war, schaut sie, falls
|
||||
* angegeben in den Methodenparametern nach. Findet sie dort auch nichts, liefert
|
||||
* die Methode <b>null</b>.
|
||||
* @param type
|
||||
* @return
|
||||
*/
|
||||
// ino.end
|
||||
// ino.method.findGenericType.23209.definition
|
||||
@Deprecated
|
||||
public static GenericTypeVar findGenericType(Type type, Menge<Type> paralist, Menge<GenericTypeVar> methodParaList)
|
||||
// ino.end
|
||||
// ino.method.findGenericType.23209.body
|
||||
{
|
||||
if(!(type instanceof RefType)){
|
||||
return null;
|
||||
}
|
||||
for(int i=0;i<paralist.size();i++){
|
||||
if(paralist.get(i) instanceof GenericTypeVar){
|
||||
GenericTypeVar gtv=(GenericTypeVar)paralist.get(i);
|
||||
if(gtv.getName().equals(type.getName())){
|
||||
return gtv;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(methodParaList!=null){
|
||||
for(int i=0;i<methodParaList.size();i++){
|
||||
GenericTypeVar gtv=methodParaList.elementAt(i);
|
||||
if(gtv.getName().equals(type.getName())){
|
||||
return gtv;
|
||||
}
|
||||
}
|
||||
}
|
||||
return(null);
|
||||
}
|
||||
// ino.end
|
||||
|
||||
}
|
||||
// ino.end
|
@ -65,15 +65,9 @@ public class Constructor extends Method {
|
||||
DHBWConstantPoolGen _cp = cg.getConstantPool();
|
||||
InstructionList il = new InstructionList(); //sollte nicht new sein sondern aus Block kommen
|
||||
|
||||
<<<<<<< HEAD
|
||||
MethodGenerator method = new MethodGenerator(Constants.ACC_PUBLIC, this.getType().getBytecodeType(cg, null),
|
||||
this.parameterlist.getBytecodeTypeList(cg,null) , this.parameterlist.getParameterNameArray(),
|
||||
"<init>", cg.getClassName(), il, _cp);
|
||||
=======
|
||||
MethodGenerator method = new MethodGenerator(Constants.ACC_PUBLIC,
|
||||
this.getType().getBytecodeType(cg, null), this.parameterlist.getBytecodeTypeList(cg,null),
|
||||
this.parameterlist.getParameterNameArray(), "<init>", parentClass.name.toString(), il, _cp);
|
||||
>>>>>>> refactoring
|
||||
|
||||
//FieldInitializations an Block anfügen
|
||||
Block block = this.get_Block();
|
||||
|
Loading…
Reference in New Issue
Block a user