langtools/src/share/classes/com/sun/tools/javap/ClassWriter.java
changeset 16291 d4249734ecd8
parent 15036 b60e18ab9dd7
child 20618 313dc106ebca
equal deleted inserted replaced
16290:b0b4f52de7ea 16291:d4249734ecd8
   377         print(";");
   377         print(";");
   378         println();
   378         println();
   379 
   379 
   380         indent(+1);
   380         indent(+1);
   381 
   381 
   382         if (options.showInternalSignatures)
   382         if (options.showDescriptors)
   383             println("Signature: " + getValue(f.descriptor));
   383             println("descriptor: " + getValue(f.descriptor));
   384 
   384 
   385         if (options.verbose && !options.compat)
   385         if (options.verbose && !options.compat)
   386             writeList("flags: ", flags.getFieldFlags(), "\n");
   386             writeList("flags: ", flags.getFieldFlags(), "\n");
   387 
   387 
   388         if (options.showAllAttrs) {
   388         if (options.showAllAttrs) {
   473 
   473 
   474         println(";");
   474         println(";");
   475 
   475 
   476         indent(+1);
   476         indent(+1);
   477 
   477 
   478         if (options.showInternalSignatures) {
   478         if (options.showDescriptors) {
   479             println("Signature: " + getValue(m.descriptor));
   479             println("descriptor: " + getValue(m.descriptor));
   480         }
   480         }
   481 
   481 
   482         if (options.verbose && !options.compat) {
   482         if (options.verbose && !options.compat) {
   483             writeList("flags: ", flags.getMethodFlags(), "\n");
   483             writeList("flags: ", flags.getMethodFlags(), "\n");
   484         }
   484         }
   518         // set pendingNewline to write a newline before the next method (if any)
   518         // set pendingNewline to write a newline before the next method (if any)
   519         // if a separator is desired
   519         // if a separator is desired
   520         setPendingNewline(
   520         setPendingNewline(
   521                 options.showDisassembled ||
   521                 options.showDisassembled ||
   522                 options.showAllAttrs ||
   522                 options.showAllAttrs ||
   523                 options.showInternalSignatures ||
   523                 options.showDescriptors ||
   524                 options.showLineAndLocalVariableTables ||
   524                 options.showLineAndLocalVariableTables ||
   525                 options.verbose);
   525                 options.verbose);
   526     }
   526     }
   527 
   527 
   528     void writeModifiers(Collection<String> items) {
   528     void writeModifiers(Collection<String> items) {