void (GrMember member) { member.accept(new GrClassMemberReferenceVisitor(getClazz()) { @Override protected void visitClassMemberReferenceElement(GrMember classMember, GrReferenceElement ref) { if (!existsInSuperClass(classMember)) { myCollection.add(classMember); } } }); }