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:
parent
6e91e5c683
commit
5a00b70ea8
@ -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
|
||||
|
@ -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<>();
|
||||
|
||||
|
@ -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";
|
||||
|
@ -9,10 +9,10 @@ public class FieldTphConsMeth {
|
||||
return b;
|
||||
}
|
||||
|
||||
/*setA(x) {
|
||||
setA(x) {
|
||||
a = x;
|
||||
return a;
|
||||
}*/
|
||||
}
|
||||
|
||||
m(x,y) {
|
||||
x = id(y);
|
||||
|
Loading…
Reference in New Issue
Block a user