langtools/src/share/classes/com/sun/tools/javap/AttributeWriter.java
changeset 3141 79c119fae7fb
parent 735 372aa565a221
child 3149 0cd06d598d6f
equal deleted inserted replaced
3140:15a274b13051 3141:79c119fae7fb
    72  *  deletion without notice.</b>
    72  *  deletion without notice.</b>
    73  */
    73  */
    74 public class AttributeWriter extends BasicWriter
    74 public class AttributeWriter extends BasicWriter
    75         implements Attribute.Visitor<Void,Void>
    75         implements Attribute.Visitor<Void,Void>
    76 {
    76 {
    77     static AttributeWriter instance(Context context) {
    77     public static AttributeWriter instance(Context context) {
    78         AttributeWriter instance = context.get(AttributeWriter.class);
    78         AttributeWriter instance = context.get(AttributeWriter.class);
    79         if (instance == null)
    79         if (instance == null)
    80             instance = new AttributeWriter(context);
    80             instance = new AttributeWriter(context);
    81         return instance;
    81         return instance;
    82     }
    82     }