feenkcom / jdt2famix

Jdt2Famix takes Java sources and produces MSE files that can be imported into Glamorous Toolkit.
https://gtoolkit.com
Eclipse Public License 1.0
37 stars 22 forks source link

Accesses in methods of innerclasses are not all in the model and point to nil #32

Open VincentBlondeau opened 7 years ago

VincentBlondeau commented 7 years ago

It seems that the accesses from the methods in innerclasses are not fully created and the one created has its "to" link pointing to nil.

Method example in a class:

public class ComplexClassWithInnerClassMethod {

public static InnerClassTemplate withTests(Set<Class> argUpperMetho) {
    return new InnerClassTemplate() {
        @Override
        public Set<Class> methodOfInnerClass(Collection<String> arg) {
            // Set<Class> testsToRun = new HashSet<Class>();
            // for (Class<?> each : argUpperMetho) {
            // System.out.println(each);
            // }
            return argUpperMetho;
        }
    };
}

}

Test to come in PR