ERROR [main] - Error processing the analysis of [.../src/main/java/de/walkmod/typedsubclass/SubSubClass.java]
Error processing the analysis of [.../src/main/java/de/walkmod/typedsubclass/SubSubClass.java] - [528:-1]
at org.walkmod.javalang.compiler.types.TypeVisitorAdapter.visit(TypeVisitorAdapter.java:528)
at org.walkmod.javalang.compiler.types.TypeVisitorAdapter.visit(TypeVisitorAdapter.java:115)
at org.walkmod.javalang.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:138)
at org.walkmod.javalang.compiler.symbols.SymbolVisitorAdapter.visit(SymbolVisitorAdapter.java:723)
at org.walkmod.javalang.compiler.symbols.SymbolVisitorAdapter.visit(SymbolVisitorAdapter.java:92)
at org.walkmod.javalang.ast.stmt.ExpressionStmt.accept(ExpressionStmt.java:79)
at org.walkmod.javalang.visitors.VoidVisitorAdapter.visit(VoidVisitorAdapter.java:203)
at org.walkmod.javalang.compiler.symbols.SymbolVisitorAdapter.visit(SymbolVisitorAdapter.java:522)
at org.walkmod.javalang.compiler.symbols.SymbolVisitorAdapter.visit(SymbolVisitorAdapter.java:92)
at org.walkmod.javalang.ast.stmt.BlockStmt.accept(BlockStmt.java:89)
at org.walkmod.javalang.visitors.VoidVisitorAdapter.visit(VoidVisitorAdapter.java:564)
at org.walkmod.javalang.compiler.symbols.SymbolVisitorAdapter.visit(SymbolVisitorAdapter.java:550)
at org.walkmod.javalang.compiler.symbols.SymbolVisitorAdapter.visit(SymbolVisitorAdapter.java:92)
at org.walkmod.javalang.ast.body.MethodDeclaration.accept(MethodDeclaration.java:207)
at org.walkmod.javalang.compiler.symbols.SymbolVisitorAdapter.visit(SymbolVisitorAdapter.java:445)
at org.walkmod.javalang.compiler.symbols.SymbolVisitorAdapter.visit(SymbolVisitorAdapter.java:92)
at org.walkmod.javalang.ast.body.ClassOrInterfaceDeclaration.accept(ClassOrInterfaceDeclaration.java:136)
at org.walkmod.javalang.compiler.symbols.SymbolVisitorAdapter.visit(SymbolVisitorAdapter.java:174)
at org.walkmod.javalang.walkers.DefaultJavaWalker.visit(DefaultJavaWalker.java:198)
at org.walkmod.javalang.walkers.DefaultJavaWalker.accept(DefaultJavaWalker.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.walkmod.walkers.AbstractWalker.walk(AbstractWalker.java:261)
at org.walkmod.walkers.AbstractWalker.execute(AbstractWalker.java:276)
at org.walkmod.javalang.walkers.DefaultJavaWalker.execute(DefaultJavaWalker.java:160)
at org.walkmod.impl.DefaultChainWalkerInvocation.invoke(DefaultChainWalkerInvocation.java:41)
at org.walkmod.impl.DefaultChainInvocation.invoke(DefaultChainInvocation.java:38)
at org.walkmod.impl.DefaultChainAdapter.execute(DefaultChainAdapter.java:165)
at org.walkmod.WalkModFacade.executeAllChains(WalkModFacade.java:911)
at org.walkmod.WalkModFacade.apply(WalkModFacade.java:376)
at org.walkmod.commands.ApplyCommand.execute(ApplyCommand.java:40)
at org.walkmod.WalkModDispatcher.execute(WalkModDispatcher.java:171)
at org.walkmod.WalkModDispatcher.main(WalkModDispatcher.java:196)
Caused by: org.walkmod.javalang.exceptions.NoSuchExpressionTypeException: java.lang.Exception: Ops! The method call arg.doSub(i1, null) is not resolved. The scope is [de.walkmod.typedsubclass.SuperArg] , and the args are : [ int, null]
... 35 more
Caused by: java.lang.Exception: Ops! The method call arg.doSub(i1, null) is not resolved. The scope is [de.walkmod.typedsubclass.SuperArg] , and the args are : [ int, null]
at org.walkmod.javalang.compiler.reflection.SymbolDataOfMethodReferenceBuilder.build(SymbolDataOfMethodReferenceBuilder.java:75)
at org.walkmod.javalang.compiler.types.TypeVisitorAdapter.visit(TypeVisitorAdapter.java:517)
... 34 more
for
==> src/main/java/de/walkmod/typedsubclass/SubArg.java <==
package de.walkmod.typedsubclass;
public class SubArg extends SuperArg {
public void doSub(int i1, Object o) {}
}
==> src/main/java/de/walkmod/typedsubclass/SubSubClass.java <==
package de.walkmod.typedsubclass;
public class SubSubClass extends TypedSubClass {
public void itsJava(int i1, int i2) {
arg.doSub(i1, null);
}
}
==> src/main/java/de/walkmod/typedsubclass/SuperArg.java <==
package de.walkmod.typedsubclass;
public class SuperArg {
public void doSuper(){}
}
==> src/main/java/de/walkmod/typedsubclass/SuperClass.java <==
package de.walkmod.typedsubclass;
public class SuperClass<T extends SuperArg> {
protected T arg;
}
==> src/main/java/de/walkmod/typedsubclass/TypedSubClass.java <==
package de.walkmod.typedsubclass;
public class TypedSubClass extends SuperClass<SubArg> {
}
for