forked from JavaTX/JavaCompilerCore
modified: ../../../../main/java/de/dhbwstuttgart/bytecode/BytecodeGenMethod.java
Typen der Methoden der Oder-Constraiunts benutzen wieder rueckgaenig gemacht modified: ../../../../main/java/de/dhbwstuttgart/typeinference/unify/TypeUnifyTask.java wieder alle grArg im a <. theta' benutzen modified: ../../bytecode/javFiles/MatrixOP.jav
This commit is contained in:
parent
b38340fc60
commit
d63c27579c
@ -754,8 +754,7 @@ public class BytecodeGenMethod implements StatementVisitor {
|
||||
public void visit(MethodCall methodCall) {
|
||||
boolean parentBinary = isParentBinary;
|
||||
System.out.println("In MethodCall = " + methodCall.name);
|
||||
//String receiverName = resolver.getResolvedType(methodCall.receiver.getType());
|
||||
String receiverName = resolver.getResolvedType(methodCall.receiverType);
|
||||
String receiverName = resolver.getResolvedType(methodCall.receiver.getType());
|
||||
System.out.println("Methods of " + receiverName + " ");
|
||||
java.lang.reflect.Method methodRefl = null;
|
||||
String clazz = receiverName.replace("/", ".");
|
||||
@ -769,8 +768,7 @@ public class BytecodeGenMethod implements StatementVisitor {
|
||||
ClassLoader cLoader2;
|
||||
|
||||
String methCallType = resultSet.resolveType(methodCall.getType()).resolvedType.acceptTV(new TypeToDescriptor());
|
||||
//String[] typesOfParams = getTypes(methodCall.arglist.getArguments());
|
||||
String[] typesOfParams = getTypes(methodCall.argTypes);
|
||||
String[] typesOfParams = getTypes(methodCall.arglist.getArguments());
|
||||
try {
|
||||
clazz = getRawClassName(receiverName, clazz);
|
||||
|
||||
@ -920,10 +918,10 @@ public class BytecodeGenMethod implements StatementVisitor {
|
||||
return clazz;
|
||||
}
|
||||
|
||||
private String[] getTypes(List<RefTypeOrTPHOrWildcardOrGeneric> arguments) {
|
||||
private String[] getTypes(List<Expression> arguments) {
|
||||
String[] types = new String[arguments.size()];
|
||||
for(int i = 0; i<arguments.size(); ++i) {
|
||||
String t = resolver.getResolvedType(arguments.get(i));
|
||||
String t = resolver.getResolvedType(arguments.get(i).getType());
|
||||
types[i] = t;
|
||||
}
|
||||
return types;
|
||||
|
@ -2178,8 +2178,6 @@ public class TypeUnifyTask extends RecursiveTask<Set<Set<UnifyPair>>> {
|
||||
//writeLog("MAX: " + oup.max(resultPrime.iterator()).toString());
|
||||
}
|
||||
}
|
||||
break;//Wenn ein unifier gefunden ist reicht es aus PL 2020-03-07
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import java.util.Vector;
|
||||
import java.lang.Integer;
|
||||
import java.lang.Byte;
|
||||
//import java.lang.Byte;
|
||||
import java.lang.Boolean;
|
||||
|
||||
public class MatrixOP extends Vector<Vector<Integer>> {
|
||||
|
Loading…
Reference in New Issue
Block a user