Home
last modified time | relevance | path

Searched refs:fieldReference (Results 1 – 20 of 20) sorted by relevance

/external/smali/smalidea/src/test/java/org/jf/smalidea/
DFieldReferenceTest.java55 … SmaliFieldReference fieldReference = (SmaliFieldReference)configureByFileText(text, "blah.smali"); in testJavaReferenceFromSmali() local
57 Assert.assertNotNull(fieldReference); in testJavaReferenceFromSmali()
58 Assert.assertEquals("out", fieldReference.getName()); in testJavaReferenceFromSmali()
59 Assert.assertNotNull(fieldReference.getFieldType()); in testJavaReferenceFromSmali()
60 …Assert.assertEquals("java.io.PrintStream", fieldReference.getFieldType().getType().getCanonicalTex… in testJavaReferenceFromSmali()
62 PsiField resolvedField = fieldReference.resolve(); in testJavaReferenceFromSmali()
85 … SmaliFieldReference fieldReference = (SmaliFieldReference)configureByFileText(text, "blah.smali"); in testSmaliReferenceFromSmali() local
87 Assert.assertNotNull(fieldReference); in testSmaliReferenceFromSmali()
88 Assert.assertEquals("blort", fieldReference.getName()); in testSmaliReferenceFromSmali()
89 Assert.assertNotNull(fieldReference.getFieldType()); in testSmaliReferenceFromSmali()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DReferenceUtil.java82 public static String getFieldDescriptor(FieldReference fieldReference) { in getFieldDescriptor() argument
83 return getFieldDescriptor(fieldReference, false); in getFieldDescriptor()
86 …public static String getFieldDescriptor(FieldReference fieldReference, boolean useImplicitReferenc… in getFieldDescriptor() argument
89 sb.append(fieldReference.getDefiningClass()); in getFieldDescriptor()
92 sb.append(fieldReference.getName()); in getFieldDescriptor()
94 sb.append(fieldReference.getType()); in getFieldDescriptor()
98 public static String getShortFieldDescriptor(FieldReference fieldReference) { in getShortFieldDescriptor() argument
100 sb.append(fieldReference.getName()); in getShortFieldDescriptor()
102 sb.append(fieldReference.getType()); in getShortFieldDescriptor()
106 …public static void writeFieldDescriptor(Writer writer, FieldReference fieldReference) throws IOExc… in writeFieldDescriptor() argument
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/
DFieldReferenceRewriter.java46 @Nonnull @Override public FieldReference rewrite(@Nonnull FieldReference fieldReference) { in rewrite() argument
47 return new RewrittenFieldReference(fieldReference); in rewrite()
51 @Nonnull protected FieldReference fieldReference; field in FieldReferenceRewriter.RewrittenFieldReference
53 public RewrittenFieldReference(@Nonnull FieldReference fieldReference) { in RewrittenFieldReference() argument
54 this.fieldReference = fieldReference; in RewrittenFieldReference()
58 return rewriters.getTypeRewriter().rewrite(fieldReference.getDefiningClass()); in getDefiningClass()
62 return fieldReference.getName(); in getName()
66 return rewriters.getTypeRewriter().rewrite(fieldReference.getType()); in getType()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DBuilderField.java42 @Nonnull final BuilderFieldReference fieldReference; field in BuilderField
47 BuilderField(@Nonnull BuilderFieldReference fieldReference, in BuilderField() argument
51 this.fieldReference = fieldReference; in BuilderField()
70 return fieldReference.definingClass.getType(); in getDefiningClass()
74 return fieldReference.name.getString(); in getName()
78 return fieldReference.fieldType.getType(); in getType()
DBuilderFieldPool.java55 … ImmutableFieldReference fieldReference = new ImmutableFieldReference(definingClass, name, type); in internField() local
56 return internField(fieldReference); in internField()
59 @Nonnull public BuilderFieldReference internField(@Nonnull FieldReference fieldReference) { in internField() argument
60 BuilderFieldReference ret = internedItems.get(fieldReference); in internField()
66 context.typePool.internType(fieldReference.getDefiningClass()), in internField()
67 context.stringPool.internString(fieldReference.getName()), in internField()
68 context.typePool.internType(fieldReference.getType())); in internField()
87 return builderField.fieldReference.getIndex(); in getFieldIndex()
DBuilderEncodedValues.java158 @Nonnull final BuilderFieldReference fieldReference; field in BuilderEncodedValues.BuilderFieldEncodedValue
160 BuilderFieldEncodedValue(@Nonnull BuilderFieldReference fieldReference) { in BuilderFieldEncodedValue() argument
161 this.fieldReference = fieldReference; in BuilderFieldEncodedValue()
165 return fieldReference; in getValue()
DDexBuilder.java242 writer.writeField(((BuilderFieldEncodedValue)encodedValue).fieldReference);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/reference/
DImmutableFieldReference.java53 public static ImmutableFieldReference of(@Nonnull FieldReference fieldReference) { in of() argument
54 if (fieldReference instanceof ImmutableFieldReference) { in of()
55 return (ImmutableFieldReference)fieldReference; in of()
58 fieldReference.getDefiningClass(), in of()
59 fieldReference.getName(), in of()
60 fieldReference.getType()); in of()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DFieldPool.java59 … @Nonnull @Override public CharSequence getDefiningClass(@Nonnull FieldReference fieldReference) { in getDefiningClass() argument
60 return fieldReference.getDefiningClass(); in getDefiningClass()
63 @Nonnull @Override public CharSequence getFieldType(@Nonnull FieldReference fieldReference) { in getFieldType() argument
64 return fieldReference.getType(); in getFieldType()
67 @Nonnull @Override public CharSequence getName(@Nonnull FieldReference fieldReference) { in getName() argument
68 return fieldReference.getName(); in getName()
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/instruction/
DSmalideaInstruction.java205 SmaliFieldReference fieldReference = psiInstruction.getFieldReference(); in getReference() local
206 assert fieldReference != null; in getReference()
207 containingClass = fieldReference.getContainingType().getText(); in getReference()
209 fieldReference.getName(), in getReference()
210 fieldReference.getFieldType().getText()); in getReference()
/external/smali/smali/src/main/antlr/
DsmaliTreeWalker.g517 field_reference returns[ImmutableFieldReference fieldReference]
526 $fieldReference = new ImmutableFieldReference(type, $SIMPLE_NAME.text,
721 $reference = $field_reference.fieldReference;
856 ImmutableFieldReference fieldReference = $field_reference.fieldReference;
859 dexBuilder.internFieldReference(fieldReference)));
976 ImmutableFieldReference fieldReference = $field_reference.fieldReference;
979 dexBuilder.internFieldReference(fieldReference)));
1349 $value = $field_reference.fieldReference;
1361 $value = $field_reference.fieldReference;
/external/smali/smali/src/main/java/org/jf/smali/
DsmaliTreeWalker.java2516 ImmutableFieldReference fieldReference = null; in field_reference() local
2558fieldReference = new ImmutableFieldReference(type, (SIMPLE_NAME81!=null?SIMPLE_NAME81.getText():nu… in field_reference()
2571 return fieldReference; in field_reference()
4948 ImmutableFieldReference fieldReference = field_reference121; in insn_format21c_field() local
4951 dexBuilder.internFieldReference(fieldReference))); in insn_format21c_field()
5400 ImmutableFieldReference fieldReference = field_reference148; in insn_format22c_field() local
5403 dexBuilder.internFieldReference(fieldReference))); in insn_format22c_field()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDexWriter.java214 for (Entry<? extends FieldRefKey, Integer> fieldReference: fieldSection.getItems()) {
215 fieldReferences.add(ReferenceUtil.getFieldDescriptor(fieldReference.getKey()));
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DMethodAnalyzer.java1324 FieldReference fieldReference = (FieldReference)referenceInstruction.getReference();
1326 RegisterType fieldType = RegisterType.getRegisterType(classPath, fieldReference.getType());
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.apache.jasper_5.5.17.v201004212143.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.pde.api.tools_1.0.202.v20100820_r361.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/guice/extensions/struts2/lib/
Dcore-3.1.1.jarMETA-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse ...
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.jdt.core_3.11.0.v20150602-1242.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...