langtools/test/tools/javac/lib/DPrinter.java
changeset 27857 7e913a535736
parent 25443 9187d77f2c64
child 29842 826ac2519523
equal deleted inserted replaced
27856:d4711a6931e2 27857:7e913a535736
   396                     indent();
   396                     indent();
   397                 out.print(i + ":" + entryToString(table[i], table, false));
   397                 out.print(i + ":" + entryToString(table[i], table, false));
   398             }
   398             }
   399             out.println();
   399             out.println();
   400         } else if (FILTER_SCOPE_CLASS.equals(scope.getClass().getName())) {
   400         } else if (FILTER_SCOPE_CLASS.equals(scope.getClass().getName())) {
   401             printScope("delegate",
   401             printScope("origin",
   402                     (Scope) getField(scope, scope.getClass(), "delegate"), Details.FULL);
   402                     (Scope) getField(scope, scope.getClass(), "origin"), Details.FULL);
   403         } else if (scope instanceof CompoundScope) {
   403         } else if (scope instanceof CompoundScope) {
   404             printList("delegates", (List<?>) getField(scope, CompoundScope.class, "subScopes"));
   404             printList("delegates", (List<?>) getField(scope, CompoundScope.class, "subScopes"));
   405         } else {
   405         } else {
   406             for (Symbol sym : scope.getSymbols()) {
   406             for (Symbol sym : scope.getSymbols()) {
   407                 printSymbol(sym.name.toString(), sym, Details.SUMMARY);
   407                 printSymbol(sym.name.toString(), sym, Details.SUMMARY);