modified: ../../../../../../../../../main/java/de/dhbwstuttgart/syntaxtree/factory/ASTFactory.java
Bug 182 fixed modified: ../../../mathStrucVector.jav modified: ../../../vectorAdd.jav kleine Aenderungen
This commit is contained in:
parent
19989bfe11
commit
0c9c8ef321
@ -70,7 +70,7 @@ public class ASTFactory {
|
||||
}
|
||||
|
||||
private static Field createField(java.lang.reflect.Field field, JavaClassName jreClass) {
|
||||
return new Field(field.getName(), createType(field.getType()), field.getModifiers(), new NullToken());
|
||||
return new Field(field.getName(), createType(field.getGenericType()), field.getModifiers(), new NullToken());
|
||||
}
|
||||
|
||||
//private static RefType createType(Class classType) {
|
||||
|
@ -8,9 +8,9 @@ import de.test.mathStruc;
|
||||
import de.test.vectorAdd;
|
||||
|
||||
|
||||
class mathStrucVector {
|
||||
public class mathStrucVector {
|
||||
|
||||
main() {
|
||||
public main() {
|
||||
Vector<Integer> v1 = new Vector<Integer>();
|
||||
v1.addElement(2);
|
||||
v1.addElement(2);
|
||||
@ -25,9 +25,9 @@ class mathStrucVector {
|
||||
var ms2;
|
||||
ms2 = new mathStruc<>(v2);
|
||||
var ms3;
|
||||
/*
|
||||
|
||||
ms3 = ms.innerOp.apply(va.add).apply(ms2);
|
||||
return ms3;
|
||||
*/
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ import java.lang.Integer;
|
||||
import java.lang.Boolean;
|
||||
|
||||
|
||||
class vectorAdd {
|
||||
public class vectorAdd {
|
||||
|
||||
public add = (v1, v2) -> {
|
||||
var ret = new Vector<Integer>();
|
||||
|
Loading…
Reference in New Issue
Block a user