File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
sources/net.sf.j2s.core/src/net/sf/j2s/core/astvisitors Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -277,18 +277,23 @@ public boolean visit(AnonymousClassDeclaration node) {
277277 //}
278278 // there are no static members/methods in the inner type
279279 // but there are static final members
280- // } else if (element instanceof Initializer) {
281- // continue;
280+ } else if (element instanceof Initializer ) {
281+ System .out .println (element );
282+ continue ;
282283 } else if (element instanceof FieldDeclaration
283284 /*&& isFieldNeedPreparation((FieldDeclaration) element)*/ ) {
284285// continue;
285286 FieldDeclaration fieldDeclaration = (FieldDeclaration ) element ;
286287 if (isFieldNeedPreparation (fieldDeclaration )) {
287- visitWith (fieldDeclaration , true );
288+ visitWith (fieldDeclaration , true );
288289 continue ;
289290 }
290291 }
292+
293+ //buffer.append("//Testing " + element + "\n");
291294 element .accept (this );
295+ //buffer.append("//Testing after " + element.getClass().getName() + "\n");
296+
292297// element.accept(this);
293298 }
294299
You can’t perform that action at this time.
0 commit comments