1 21 package proguard.classfile.attribute.annotation; 22 23 import proguard.classfile.*; 24 import proguard.classfile.attribute.annotation.visitor.ElementValueVisitor; 25 26 import java.io.*; 27 28 33 public class ConstantElementValue extends ElementValue 34 { 35 public int u1tag; 36 public int u2constantValueIndex; 37 38 39 42 public ConstantElementValue(int u1tag) 43 { 44 this.u1tag = u1tag; 45 } 46 47 48 50 public int getTag() 51 { 52 return u1tag; 53 } 54 55 public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor) 56 { 57 elementValueVisitor.visitConstantElementValue(clazz, annotation, this); 58 } 59 } 60 | Popular Tags |