modified: ../../../../main/java/de/dhbwstuttgart/bytecode/TPHExtractor.java

modified:   ../../../../main/java/de/dhbwstuttgart/bytecode/genericsGenerator/GeneratedGenericsFinder.java
	modified:   ../../../java/AllgemeinTest.java
	modified:   ../../bytecode/javFiles/FieldTphConsMeth.jav
This commit is contained in:
pl@gohorb.ba-horb.de 2020-10-16 14:54:36 +02:00
parent 6e91e5c683
commit 5a00b70ea8
4 changed files with 6 additions and 5 deletions

View File

@ -196,7 +196,7 @@ public class TPHExtractor extends AbstractASTWalker {
cons.getParameterList().accept(this);
if(cons.block != null)
cons.block.accept(this);
inMethod = true;
inMethod = true;
}
@Override

View File

@ -71,7 +71,7 @@ public class GeneratedGenericsFinder implements ASTVisitor {
private Collection<ResultSet> listOfResultSets;
private SourceFile sf;
private List<String> tphsClass;
private GenericGenratorResultForSourceFile generatedGenericsForSF;
private GenericGenratorResultForSourceFile generatedGenericsForSF;//Ergebnis des GGenerics
private ResultSet resultSet;
private final List<String> methodNameAndParamsT = new ArrayList<>();

View File

@ -39,7 +39,8 @@ public class AllgemeinTest {
//String className = "Pair";
//String className = "FCTest3";
//String className = "Var";
String className = "Put";
//String className = "Put";
String className = "Twice";
//PL 2019-10-24: genutzt fuer unterschiedliche Tests
path = System.getProperty("user.dir")+"/src/test/resources/AllgemeinTest/" + className + ".jav";
//path = System.getProperty("user.dir")+"/src/test/resources/AllgemeinTest/Overloading_Generics.jav";

View File

@ -9,10 +9,10 @@ public class FieldTphConsMeth {
return b;
}
/*setA(x) {
setA(x) {
a = x;
return a;
}*/
}
m(x,y) {
x = id(y);