1 6 7 package com.yworks.yguard.obf.classfile; 8 9 13 public class AnnotationDefaultAttrInfo extends AttrInfo 14 { 15 protected ElementValueInfo elementValue; 16 17 18 public AnnotationDefaultAttrInfo(ClassFile cf, int attrNameIndex, int attrLength) 19 { 20 super(cf, attrNameIndex, attrLength); 21 } 22 23 protected String getAttrName() 24 { 25 return ClassConstants.ATTR_AnnotationDefault; 26 } 27 28 public void writeInfo(java.io.DataOutput dout) throws java.io.IOException 29 { 30 elementValue.write(dout); 31 } 32 33 34 35 protected void readInfo(java.io.DataInput din) throws java.io.IOException 36 { 37 elementValue = ElementValueInfo.create(din); 38 } 39 40 protected void markUtf8RefsInInfo(ConstantPool pool) 41 { 42 elementValue.markUtf8RefsInInfo(pool); 43 } 44 } 45 | Popular Tags |