< prev index next >

src/jdk.jdeps/share/classes/com/sun/tools/javap/AttributeWriter.java

Print this page
*** 46,10 ***
--- 46,11 ---
  import com.sun.tools.classfile.Descriptor.InvalidDescriptor;
  import com.sun.tools.classfile.EnclosingMethod_attribute;
  import com.sun.tools.classfile.Exceptions_attribute;
  import com.sun.tools.classfile.InnerClasses_attribute;
  import com.sun.tools.classfile.InnerClasses_attribute.Info;
+ import com.sun.tools.classfile.JavaFlags_attribute;
  import com.sun.tools.classfile.LineNumberTable_attribute;
  import com.sun.tools.classfile.LocalVariableTable_attribute;
  import com.sun.tools.classfile.LocalVariableTypeTable_attribute;
  import com.sun.tools.classfile.MethodParameters_attribute;
  import com.sun.tools.classfile.Module_attribute;

*** 352,10 ***
--- 353,20 ---
          if (!first)
              indent(-1);
          return null;
      }
  
+     @Override
+     public Void visitJavaFlags(JavaFlags_attribute attr, Void unused) {
+         println("Extended Flags:");
+         indent(+1);
+         if ((attr.extendedFlags & ACC_REF_DEFAULT) != 0)
+             println("ACC_REF_DEFAULT");
+         indent(-1);
+         return null;
+     }
+ 
      String getInnerName(ConstantPool constant_pool, InnerClasses_attribute.Info info) {
          try {
              return info.getInnerName(constant_pool);
          } catch (ConstantPoolException e) {
              return report(e);
< prev index next >