protected AnnotationValue(ConstPool constPool, String name) { this.name = name; if (name != null) { this.nameIndex = constPool.addUtf8Entry(name); } else { this.nameIndex = -1; } }
public StringAnnotationValue(ConstPool constPool, String name, String value) { super(constPool, name); this.value = value; this.valueIndex = constPool.addUtf8Entry(value); }
protected AnnotationValue(ConstPool constPool, String name) { this.name = name; if (name != null) { this.nameIndex = constPool.addUtf8Entry(name); } else { this.nameIndex = -1; } }
public EnumAnnotationValue(ConstPool constPool, String name, String enumType, String enumValue) { super(constPool, name); this.valueIndex = constPool.addUtf8Entry(enumValue); this.typeIndex = constPool.addUtf8Entry(enumType); }
public SignatureAttribute(final ConstPool constPool, String signature) { super(NAME, constPool); this.signature = signature; this.signatureIndex = constPool.addUtf8Entry(signature); }
public StringAnnotationValue(ConstPool constPool, String name, String value) { super(constPool, name); this.value = value; this.valueIndex = constPool.addUtf8Entry(value); }
public SignatureAttribute(final ConstPool constPool, String signature) { super(NAME, constPool); this.signature = signature; this.signatureIndex = constPool.addUtf8Entry(signature); }
public Attribute(String name, final ConstPool constPool) { this.name = name; this.nameIndex = constPool.addUtf8Entry(name); this.constPool = constPool; }
public StringAnnotationValue(ConstPool constPool, String name, String value) { super(constPool, name); this.value = value; this.valueIndex = constPool.addUtf8Entry(value); }
public SignatureAttribute(final ConstPool constPool, String signature) { super(NAME, constPool); this.signature = signature; this.signatureIndex = constPool.addUtf8Entry(signature); }
public StringAnnotationValue(ConstPool constPool, String name, String value) { super(constPool, name); this.value = value; this.valueIndex = constPool.addUtf8Entry(value); }
public EnumAnnotationValue(ConstPool constPool, String name, Enum<?> value) { super(constPool, name); this.valueIndex = constPool.addUtf8Entry(value.name()); this.typeIndex = constPool.addUtf8Entry(value.getDeclaringClass().getName()); }
public EnumAnnotationValue(ConstPool constPool, String name, Enum<?> value) { super(constPool, name); this.valueIndex = constPool.addUtf8Entry(value.name()); this.typeIndex = constPool.addUtf8Entry(value.getDeclaringClass().getName()); }
public EnumAnnotationValue(ConstPool constPool, String name, Enum<?> value) { super(constPool, name); this.valueIndex = constPool.addUtf8Entry(value.name()); this.typeIndex = constPool.addUtf8Entry(value.getDeclaringClass().getName()); }
public ClassAnnotation(ConstPool constPool, String type, List<AnnotationValue> annotationValues) { this.type = type; this.typeIndex = constPool.addUtf8Entry("L" + type.replace(".","/") + ";"); this.annotationValues = new ArrayList<AnnotationValue>(annotationValues); }
public ClassAnnotation(ConstPool constPool, String type, List<AnnotationValue> annotationValues) { this.type = type; this.typeIndex = constPool.addUtf8Entry("L" + type.replace('.','/') + ";"); this.annotationValues = new ArrayList<AnnotationValue>(annotationValues); }
public ClassAnnotation(ConstPool constPool, String type, List<AnnotationValue> annotationValues) { this.type = type; this.typeIndex = constPool.addUtf8Entry("L" + type.replace('.','/') + ";"); this.annotationValues = new ArrayList<AnnotationValue>(annotationValues); }
public ClassAnnotation(ConstPool constPool, String type, List<AnnotationValue> annotationValues) { this.type = type; this.typeIndex = constPool.addUtf8Entry("L" + type.replace('.','/') + ";"); this.annotationValues = new ArrayList<AnnotationValue>(annotationValues); }
ClassField(short accessFlags, String name, String descriptor, ClassFile classFile, ConstPool constPool) { this.accessFlags = accessFlags; this.name = name; this.descriptor = descriptor; this.classFile = classFile; this.nameIndex = constPool.addUtf8Entry(name); this.descriptorIndex = constPool.addUtf8Entry(descriptor); runtimeVisibleAnnotationsAttribute = new AnnotationsAttribute(AnnotationsAttribute.Type.RUNTIME_VISIBLE, constPool); this.attributes.add(runtimeVisibleAnnotationsAttribute); }
ClassField(int accessFlags, String name, String descriptor, ClassFile classFile, ConstPool constPool) { this.accessFlags = accessFlags; this.name = name; this.descriptor = descriptor; this.classFile = classFile; this.nameIndex = constPool.addUtf8Entry(name); this.descriptorIndex = constPool.addUtf8Entry(descriptor); runtimeVisibleAnnotationsAttribute = new AnnotationsAttribute(AnnotationsAttribute.Type.RUNTIME_VISIBLE, constPool); this.attributes.add(runtimeVisibleAnnotationsAttribute); }