Searched defs:field (Results 1 - 21 of 21) sorted by relevance

/dalvik/dx/tests/115-merge/testdata/
H A DBasic.java5 String field = "this is a field"; field in class:Basic
H A DAnnotated.java11 @Annotated.Marker(a="on field")
12 public String field; field in class:Annotated
/dalvik/dexgen/src/com/android/dexgen/rop/
H A DStdFieldList.java41 * Sets the field at the given index.
43 * @param n {@code >= 0, < size();} which field
44 * @param field {@code null-ok;} the field object
46 public void set(int n, Field field) { argument
47 set0(n, field);
H A DStdField.java43 * Constructs an instance having Java field as its pattern.
45 * @param field {@code non-null;} pattern for dex field
47 public StdField(java.lang.reflect.Field field) { argument
48 this(CstType.intern(field.getDeclaringClass()),
49 field.getModifiers(),
50 new CstNat(new CstUtf8(field.getName()),
51 CstType.intern(field.getType()).getDescriptor()),
56 * Constructs an instance taking field description as user-friendly arguments.
58 * @param declaringClass {@code non-null;} the class field belong
[all...]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DFieldIdItem.java22 * Representation of a field reference inside a Dalvik file.
28 * @param field {@code non-null;} the constant for the field
30 public FieldIdItem(CstFieldRef field) { argument
31 super(field);
50 * Gets the field constant.
H A DFieldAnnotationStruct.java26 * Association of a field and its annotations.
30 /** {@code non-null;} the field in question */
31 private final CstFieldRef field; field in class:FieldAnnotationStruct
39 * @param field {@code non-null;} the field in question
42 public FieldAnnotationStruct(CstFieldRef field, argument
44 if (field == null) {
45 throw new NullPointerException("field == null");
52 this.field = field;
[all...]
H A DFieldIdsSection.java32 * {@code non-null;} map from field constants to {@link
95 * @param field {@code non-null;} the reference to intern
98 public FieldIdItem intern(CstFieldRef field) { argument
99 if (field == null) {
100 throw new NullPointerException("field == null");
105 FieldIdItem result = fieldIds.get(field);
108 result = new FieldIdItem(field);
109 fieldIds.put(field, result);
H A DEncodedField.java29 * Representation of a field of a class, of any sort.
33 /** {@code non-null;} constant for the field */
34 private final CstFieldRef field; field in class:EncodedField
39 * @param field {@code non-null;} constant for the field
42 public EncodedField(CstFieldRef field, int accessFlags) { argument
45 if (field == null) {
46 throw new NullPointerException("field == null");
54 this.field = field;
[all...]
H A DAnnotationsDirectoryItem.java151 * Adds a field annotations item to this instance.
153 * @param field {@code non-null;} field in question
156 public void addFieldAnnotations(CstFieldRef field, argument
162 fieldAnnotations.add(new FieldAnnotationStruct(field,
365 out.println(" field annotations:");
H A DClassDataItem.java118 * Adds a static field.
120 * @param field {@code non-null;} the field to add
121 * @param value {@code null-ok;} initial value for the field, if any
123 public void addStaticField(EncodedField field, Constant value) { argument
124 if (field == null) {
125 throw new NullPointerException("field == null");
133 staticFields.add(field);
134 staticValues.put(field, value);
138 * Adds an instance field
142 addInstanceField(EncodedField field) argument
[all...]
H A DClassDefItem.java274 * Adds a static field.
276 * @param field {@code non-null;} the field to add
277 * @param value {@code null-ok;} initial value for the field, if any
279 public void addStaticField(EncodedField field, Constant value) { argument
280 classData.addStaticField(field, value);
284 * Adds an instance field.
286 * @param field {@code non-null;} the field to add
288 public void addInstanceField(EncodedField field) { argument
338 addFieldAnnotations(CstFieldRef field, Annotations annotations) argument
[all...]
/dalvik/dx/src/com/android/dx/cf/iface/
H A DStdFieldList.java42 * Sets the field at the given index.
44 * @param n {@code >= 0, < size();} which field
45 * @param field {@code null-ok;} the field object
47 public void set(int n, Field field) { argument
48 set0(n, field);
/dalvik/dx/src/com/android/dx/dex/file/
H A DFieldIdItem.java22 * Representation of a field reference inside a Dalvik file.
28 * @param field {@code non-null;} the constant for the field
30 public FieldIdItem(CstFieldRef field) { argument
31 super(field);
50 * Gets the field constant.
H A DFieldAnnotationStruct.java26 * Association of a field and its annotations.
30 /** {@code non-null;} the field in question */
31 private final CstFieldRef field; field in class:FieldAnnotationStruct
39 * @param field {@code non-null;} the field in question
42 public FieldAnnotationStruct(CstFieldRef field, argument
44 if (field == null) {
45 throw new NullPointerException("field == null");
52 this.field = field;
[all...]
H A DFieldIdsSection.java31 * {@code non-null;} map from field constants to {@link
94 * @param field {@code non-null;} the reference to intern
97 public synchronized FieldIdItem intern(CstFieldRef field) { argument
98 if (field == null) {
99 throw new NullPointerException("field == null");
104 FieldIdItem result = fieldIds.get(field);
107 result = new FieldIdItem(field);
108 fieldIds.put(field, result);
H A DEncodedField.java28 * Representation of a field of a class, of any sort.
32 /** {@code non-null;} constant for the field */
33 private final CstFieldRef field; field in class:EncodedField
38 * @param field {@code non-null;} constant for the field
41 public EncodedField(CstFieldRef field, int accessFlags) { argument
44 if (field == null) {
45 throw new NullPointerException("field == null");
53 this.field = field;
[all...]
H A DAnnotationsDirectoryItem.java151 * Adds a field annotations item to this instance.
153 * @param field {@code non-null;} field in question
157 public void addFieldAnnotations(CstFieldRef field, argument
163 fieldAnnotations.add(new FieldAnnotationStruct(field,
369 out.println(" field annotations:");
H A DClassDataItem.java114 * Adds a static field.
116 * @param field {@code non-null;} the field to add
117 * @param value {@code null-ok;} initial value for the field, if any
119 public void addStaticField(EncodedField field, Constant value) { argument
120 if (field == null) {
121 throw new NullPointerException("field == null");
129 staticFields.add(field);
130 staticValues.put(field, value);
134 * Adds an instance field
138 addInstanceField(EncodedField field) argument
[all...]
H A DClassDefItem.java271 * Adds a static field.
273 * @param field {@code non-null;} the field to add
274 * @param value {@code null-ok;} initial value for the field, if any
276 public void addStaticField(EncodedField field, Constant value) { argument
277 classData.addStaticField(field, value);
281 * Adds an instance field.
283 * @param field {@code non-null;} the field to add
285 public void addInstanceField(EncodedField field) { argument
337 addFieldAnnotations(CstFieldRef field, Annotations annotations, DexFile dexFile) argument
[all...]
/dalvik/libdex/
H A DDexSwapVerify.cpp150 * Swap a field that is known to hold an absolute DEX file offset. Note:
211 const DexFieldId* field = dexGetFieldId(state->pDexFile, fieldIdx); local
212 return field->classIdx == definingClass;
1081 ALOGE("Method handle has invalid field id: %u\n", item->fieldOrMethodIdx);
1101 * annotation_directory_item's field elements. */
1248 * field elements. */
1316 const DexFieldId* field = local
1318 return field->classIdx;
1512 DexField* field = &fields[i]; local
1513 u4 accessFlags = field
1650 const DexFieldId* field = dexGetFieldId(state->pDexFile, fieldIdx); local
1656 const DexFieldId* field = dexGetFieldId(state->pDexFile, fieldIdx); local
1685 const DexField* field = &classData->staticFields[i]; local
1691 const DexField* field = &classData->instanceFields[i]; local
[all...]
/dalvik/dx/etc/
H A Djasmin.jar ... type private jas.Annotation parent private jas.AnnotationElement field private boolean is_default public static final void ParserError () throws jas ...

Completed in 183 milliseconds