File tree Expand file tree Collapse file tree
src/main/java/act/inject/genie Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,18 +98,20 @@ public void visit(ClassNode classNode) throws Osgl.Break {
9898 list .add (c );
9999 }
100100 };
101- root .visitTree ($ .guardedVisitor (new $ .Predicate <ClassNode >() {
102- @ Override
103- public boolean test (ClassNode classNode ) {
104- if (!loadNonPublic && !classNode .isPublic ()) {
105- return false ;
106- }
107- if (!loadAbstract && classNode .isAbstract ()) {
108- return false ;
101+ for (ClassNode node : root .annotatedClasses ()) {
102+ $ .guardedVisitor (new $ .Predicate <ClassNode >() {
103+ @ Override
104+ public boolean test (ClassNode classNode ) {
105+ if (!loadNonPublic && !classNode .isPublic ()) {
106+ return false ;
107+ }
108+ if (!loadAbstract && classNode .isAbstract ()) {
109+ return false ;
110+ }
111+ return true ;
109112 }
110- return true ;
111- }
112- }, visitor ));
113+ }, visitor ).visit (node );
114+ }
113115 return list ;
114116 }
115117 };
You can’t perform that action at this time.
0 commit comments