public class SomeClass { GenericGenericMemberClass member; public void someMethod() { // commenting the following line will remove compilation errors (and mask the problem) member.test(); } }