Home
last modified time | relevance | path

Searched refs:ElementValue (Results 1 – 25 of 51) sorted by relevance

123

/external/proguard/src/proguard/classfile/editor/
DElementValuesEditor.java75 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()
DAnnotationAdder.java39 private static final ElementValue[] EMPTY_ELEMENT_VALUES = new ElementValue[0];
106 new ElementValue[annotation.u2elementValuesCount] : in visitAnnotation()
138 new ElementValue[annotation.u2elementValuesCount] : in visitAnnotation()
DElementValueAdder.java36 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/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DArrayElementValueGen.java26 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()
DElementValueGen.java28 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()
DAnnotationElementValueGen.java24 import org.apache.bcel.classfile.ElementValue;
75 public ElementValue getElementValue() in getElementValue()
DClassElementValueGen.java25 import org.apache.bcel.classfile.ElementValue;
54 public ElementValue getElementValue() in getElementValue()
DElementValuePairGen.java24 import org.apache.bcel.classfile.ElementValue;
66 final ElementValue immutableValue = value.getElementValue(); in getElementNameValuePair()
DEnumElementValueGen.java24 import org.apache.bcel.classfile.ElementValue;
58 public ElementValue getElementValue() in getElementValue()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DAnnotationDefault.java34 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()
DElementValue.java28 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()
DArrayElementValue.java26 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()
DElementValuePair.java33 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/bytecode/
DAnnotationWriter.java22 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue;
23 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.AnnotationValue;
24 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ArrayValue;
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()
134 for (ElementValue elementValue : value.elements()) { in writeArrayElementValue()
DClassFile.java22 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue;
237 @Nullable private final AnnotationInfo.ElementValue defaultValue;
249 @Nullable ElementValue defaultValue, in MethodInfo()
294 public AnnotationInfo.ElementValue defaultValue() { in defaultValue()
345 private final Map<String, ElementValue> elementValuePairs;
348 String typeName, boolean runtimeVisible, Map<String, ElementValue> elementValuePairs) { in AnnotationInfo()
365 public Map<String, ElementValue> elementValuePairs() { in elementValuePairs()
370 public interface ElementValue { interface in ClassFile.AnnotationInfo
385 class EnumConstValue implements ElementValue {
412 class ConstValue implements ElementValue {
[all …]
DClassReader.java23 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue;
24 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.AnnotationValue;
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;
305 ImmutableMap.Builder<String, ElementValue> values = ImmutableMap.builder(); in readAnnotation()
309 ElementValue value = readElementValue(constantPool); in readAnnotation()
320 private ElementValue readElementValue(ConstantPoolReader constantPool) { in readElementValue()
355 ImmutableList.Builder<ElementValue> elements = ImmutableList.builder(); in readElementValue()
359 return new ElementValue.ArrayValue(elements.build()); in readElementValue()
[all …]
DAttribute.java164 private final AnnotationInfo.ElementValue value;
166 public AnnotationDefault(AnnotationInfo.ElementValue value) { in AnnotationDefault()
175 public AnnotationInfo.ElementValue value() { in value()
/external/turbine/java/com/google/turbine/binder/bytecode/
DBytecodeBinder.java30 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;
112 public static Const bindValue(Type type, ElementValue value) { in bindValue()
128 return bindAnnotationValue(type, ((ElementValue.AnnotationValue) value).annotation()); in bindValue()
136 for (Map.Entry<String, ElementValue> e : value.elementValuePairs().entrySet()) { in bindAnnotationValue()
157 for (ElementValue element : value.elements()) { in bindArrayValue()
DBytecodeBoundClass.java38 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue;
39 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ArrayValue;
40 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.ConstTurbineClassValue;
41 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.EnumConstValue;
42 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue.Kind;
491 ElementValue val = annotation.elementValuePairs().get("value"); in bindRetention()
504 ElementValue val = annotation.elementValuePairs().get("value"); in bindTarget()
507 for (ElementValue element : ((ArrayValue) val).elements()) { in bindTarget()
530 ElementValue val = annotation.elementValuePairs().get("value"); in bindRepeatable()
/external/proguard/src/proguard/classfile/attribute/annotation/
DArrayElementValue.java31 public class ArrayElementValue extends ElementValue
34 public ElementValue[] elementValues;
50 ElementValue[] elementValues) in ArrayElementValue()
DElementValue.java34 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
DAnnotationDefaultAttribute.java35 public ElementValue defaultValue;
50 ElementValue defaultValue) in AnnotationDefaultAttribute()
DAnnotation.java36 public ElementValue[] elementValues;
66 ElementValue[] elementValues) in Annotation()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/
DAnnotationDefaultAttributeTestCase.java22 import org.apache.bcel.classfile.ElementValue;
42 .getElementValueType() == ElementValue.STRING); in testMethodAnnotations()
/external/turbine/java/com/google/turbine/lower/
DLower.java51 import com.google.turbine.bytecode.ClassFile.AnnotationInfo.ElementValue;
303 ElementValue defaultValue = m.defaultValue() != null ? annotationValue(m.defaultValue()) : null; in lowerMethod()
533 private ImmutableMap<String, ElementValue> annotationValues(ImmutableMap<String, Const> values) { in annotationValues()
534 ImmutableMap.Builder<String, ElementValue> result = ImmutableMap.builder(); in annotationValues()
541 private ElementValue annotationValue(Const value) { in annotationValue()
546 return new ElementValue.ConstTurbineClassValue( in annotationValue()
552 return new ElementValue.EnumConstValue( in annotationValue()
558 List<ElementValue> values = new ArrayList<>(); in annotationValue()
562 return new ElementValue.ArrayValue(values); in annotationValue()
571 return new ElementValue.AnnotationValue( in annotationValue()
[all …]

123