/external/proguard/src/proguard/classfile/editor/ |
D | ElementValuesEditor.java | 75 public void addElementValue(ElementValue elementValue) in addElementValue() 147 ElementValue[] elementValues, in replaceElementValue() 148 ElementValue elementValue) in replaceElementValue() 169 private ElementValue[] addElementValue(int elementValuesCount, in addElementValue() 170 ElementValue[] elementValues, in addElementValue() 171 ElementValue elementValue) in addElementValue() 177 ElementValue[] newElementValues = new ElementValue[elementValuesCount + 1]; in addElementValue() 196 ElementValue[] elementValues, in deleteElementValue() 225 ElementValue[] elementValues, in findElementValue()
|
D | AnnotationAdder.java | 39 private static final ElementValue[] EMPTY_ELEMENT_VALUES = new ElementValue[0]; 106 new ElementValue[annotation.u2elementValuesCount] : in visitAnnotation() 138 new ElementValue[annotation.u2elementValuesCount] : in visitAnnotation()
|
D | ElementValueAdder.java | 36 private static final ElementValue[] EMPTY_ELEMENT_VALUES = new ElementValue[0]; 184 new ElementValue[arrayElementValue.u2elementValuesCount] : in visitArrayElementValue() 203 private void addElementValue(ElementValue newElementValue) in addElementValue()
|
/external/turbine/java/com/google/turbine/bytecode/ |
D | ClassFile.java | 22 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue; 236 private final AnnotationInfo.@Nullable ElementValue defaultValue; 248 @Nullable ElementValue defaultValue, in MethodInfo() 292 public AnnotationInfo.@Nullable ElementValue defaultValue() { in defaultValue() 343 private final Map<String, ElementValue> elementValuePairs; 346 String typeName, boolean runtimeVisible, Map<String, ElementValue> elementValuePairs) { in AnnotationInfo() 363 public Map<String, ElementValue> elementValuePairs() { in elementValuePairs() 368 public interface ElementValue { interface in ClassFile.AnnotationInfo 371 ElementValue.Kind kind(); in kind() 383 class EnumConstValue implements ElementValue { [all …]
|
D | AnnotationWriter.java | 22 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue; 23 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ArrayValue; 24 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ConstTurbineAnnotationValu… 25 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ConstTurbineClassValue; 26 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ConstValue; 27 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.EnumConstValue; 53 for (Entry<String, ElementValue> entry : annotation.elementValuePairs().entrySet()) { in writeAnnotation() 59 void writeElementValue(ElementValue value) { in writeElementValue() 132 for (ElementValue elementValue : value.elements()) { in writeArrayElementValue()
|
D | ClassReader.java | 24 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue; 25 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ConstTurbineAnnotationValu… 26 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ConstTurbineClassValue; 27 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ConstValue; 28 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.EnumConstValue; 313 ImmutableMap.Builder<String, ElementValue> values = ImmutableMap.builder(); in readAnnotation() 317 ElementValue value = readElementValue(constantPool); in readAnnotation() 328 private ElementValue readElementValue(ConstantPoolReader constantPool) { in readElementValue() 368 ImmutableList.Builder<ElementValue> elements = ImmutableList.builder(); in readElementValue() 372 return new ElementValue.ArrayValue(elements.build()); in readElementValue() [all …]
|
D | Attribute.java | 164 private final AnnotationInfo.ElementValue value; 166 public AnnotationDefault(AnnotationInfo.ElementValue value) { in AnnotationDefault() 175 public AnnotationInfo.ElementValue value() { in value()
|
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/ |
D | ArrayElementValueGen.java | 26 import org.apache.bcel.classfile.ElementValue; 43 public ArrayElementValueGen(final int type, final ElementValue[] datums, in ArrayElementValueGen() 52 for (final ElementValue datum : datums) { in ArrayElementValueGen() 61 public ElementValue getElementValue() in getElementValue() 63 final ElementValue[] immutableData = new ElementValue[evalues.size()]; in getElementValue() 82 final ElementValue[] in = value.getElementValuesArray(); in ArrayElementValueGen() 83 for (final ElementValue element : in) { in ArrayElementValueGen()
|
D | ElementValueGen.java | 28 import org.apache.bcel.classfile.ElementValue; 58 public abstract ElementValue getElementValue(); in getElementValue() 141 final ElementValue[] evalues = new ElementValue[numArrayVals]; in readElementValue() 144 evalues[j] = ElementValue.readElementValue(dis, cpGen in readElementValue() 162 public static ElementValueGen copy(final ElementValue value, in copy()
|
D | AnnotationElementValueGen.java | 24 import org.apache.bcel.classfile.ElementValue; 75 public ElementValue getElementValue() in getElementValue()
|
D | ClassElementValueGen.java | 25 import org.apache.bcel.classfile.ElementValue; 54 public ElementValue getElementValue() in getElementValue()
|
D | ElementValuePairGen.java | 24 import org.apache.bcel.classfile.ElementValue; 66 final ElementValue immutableValue = value.getElementValue(); in getElementNameValuePair()
|
D | EnumElementValueGen.java | 24 import org.apache.bcel.classfile.ElementValue; 58 public ElementValue getElementValue() in getElementValue()
|
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/ |
D | AnnotationDefault.java | 34 private ElementValue default_value; 43 this(name_index, length, (ElementValue) null, constant_pool); in AnnotationDefault() 44 default_value = ElementValue.readElementValue(input, constant_pool); in AnnotationDefault() 53 …public AnnotationDefault(final int name_index, final int length, final ElementValue defaultValue, … in AnnotationDefault() 73 public final void setDefaultValue(final ElementValue defaultValue) { in setDefaultValue() 80 public final ElementValue getDefaultValue() { in getDefaultValue()
|
D | ElementValue.java | 28 public abstract class ElementValue class 48 protected ElementValue(final int type, final ConstantPool cpool) in ElementValue() method in ElementValue 77 …public static ElementValue readElementValue(final DataInput input, final ConstantPool cpool) throw… in readElementValue() 105 final ElementValue[] evalues = new ElementValue[numArrayVals]; in readElementValue() 108 evalues[j] = ElementValue.readElementValue(input, cpool); in readElementValue()
|
D | ArrayElementValue.java | 26 public class ArrayElementValue extends ElementValue 29 private final ElementValue[] evalues; 47 public ArrayElementValue(final int type, final ElementValue[] datums, final ConstantPool cpool) in ArrayElementValue() 62 for (final ElementValue evalue : evalues) { in dump() 83 public ElementValue[] getElementValuesArray() in getElementValuesArray()
|
D | ElementValuePair.java | 33 private final ElementValue elementValue; 39 public ElementValuePair(final int elementNameIndex, final ElementValue elementValue, in ElementValuePair() 54 public final ElementValue getValue() in getValue()
|
/external/turbine/java/com/google/turbine/binder/bytecode/ |
D | BytecodeBinder.java | 30 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue; 31 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ArrayValue; 32 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ConstTurbineClassValue; 33 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ConstValue; 34 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.EnumConstValue; 110 public static Const bindValue(ElementValue value) { in bindValue() 126 return bindAnnotationValue(((ElementValue.ConstTurbineAnnotationValue) value).annotation()); in bindValue() 134 for (Map.Entry<String, ElementValue> e : value.elementValuePairs().entrySet()) { in bindAnnotationValue() 163 for (ElementValue element : value.elements()) { in bindArrayValue()
|
D | BytecodeBoundClass.java | 39 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue; 40 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ArrayValue; 41 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ConstTurbineClassValue; 42 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.EnumConstValue; 43 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.Kind; 512 ElementValue val = annotation.elementValuePairs().get("value"); in bindRetention() 525 ElementValue val = annotation.elementValuePairs().get("value"); in bindTarget() 528 for (ElementValue element : ((ArrayValue) val).elements()) { in bindTarget() 551 ElementValue val = annotation.elementValuePairs().get("value"); in bindRepeatable()
|
/external/proguard/src/proguard/classfile/attribute/annotation/ |
D | ArrayElementValue.java | 31 public class ArrayElementValue extends ElementValue 34 public ElementValue[] elementValues; 50 ElementValue[] elementValues) in ArrayElementValue()
|
D | ElementValue.java | 34 public abstract class ElementValue implements VisitorAccepter class 65 protected ElementValue() in ElementValue() method in ElementValue 73 protected ElementValue(int u2elementNameIndex) in ElementValue() method in ElementValue
|
D | AnnotationDefaultAttribute.java | 35 public ElementValue defaultValue; 50 ElementValue defaultValue) in AnnotationDefaultAttribute()
|
D | Annotation.java | 36 public ElementValue[] elementValues; 66 ElementValue[] elementValues) in Annotation()
|
/external/apache-commons-bcel/src/test/java/org/apache/bcel/ |
D | AnnotationDefaultAttributeTestCase.java | 22 import org.apache.bcel.classfile.ElementValue; 42 .getElementValueType() == ElementValue.STRING); in testMethodAnnotations()
|
/external/turbine/java/com/google/turbine/lower/ |
D | Lower.java | 50 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue; 302 ElementValue defaultValue = m.defaultValue() != null ? annotationValue(m.defaultValue()) : null; in lowerMethod() 531 private ImmutableMap<String, ElementValue> annotationValues(ImmutableMap<String, Const> values) { in annotationValues() 532 ImmutableMap.Builder<String, ElementValue> result = ImmutableMap.builder(); in annotationValues() 539 private ElementValue annotationValue(Const value) { in annotationValue() 544 return new ElementValue.ConstTurbineClassValue( in annotationValue() 550 return new ElementValue.EnumConstValue( in annotationValue() 556 List<ElementValue> values = new ArrayList<>(); in annotationValue() 560 return new ElementValue.ArrayValue(values); in annotationValue() 569 return new ElementValue.ConstTurbineAnnotationValue( in annotationValue() [all …]
|