Home
last modified time | relevance | path

Searched refs:getDefiningClass (Results 1 – 25 of 54) sorted by relevance

123

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/reference/
DBaseFieldReference.java42 int hashCode = getDefiningClass().hashCode(); in hashCode()
51 return getDefiningClass().equals(other.getDefiningClass()) && in equals()
61 int res = getDefiningClass().compareTo(o.getDefiningClass()); in compareTo()
DBaseMethodReference.java45 int hashCode = getDefiningClass().hashCode(); in hashCode()
55 return getDefiningClass().equals(other.getDefiningClass()) && in equals()
65 int res = getDefiningClass().compareTo(o.getDefiningClass()); in compareTo()
/external/smali/smali/src/test/java/
DImplicitReferenceTest.java91 Assert.assertEquals(classDef.getType(), method.getDefiningClass()); in testImplicitMethodReference()
98 Assert.assertEquals(classDef.getType(), method.getDefiningClass()); in testImplicitMethodReference()
105 Assert.assertEquals(classDef.getType(), method.getDefiningClass()); in testImplicitMethodReference()
129 Assert.assertEquals(classDef.getType(), methodEncodedValue.getValue().getDefiningClass()); in testImplicitMethodLiteral()
137 Assert.assertEquals(classDef.getType(), methodEncodedValue.getValue().getDefiningClass()); in testImplicitMethodLiteral()
145 Assert.assertEquals(classDef.getType(), methodEncodedValue.getValue().getDefiningClass()); in testImplicitMethodLiteral()
186 Assert.assertEquals(classDef.getType(), field.getDefiningClass()); in testImplicitFieldReference()
193 Assert.assertEquals(classDef.getType(), field.getDefiningClass()); in testImplicitFieldReference()
200 Assert.assertEquals(classDef.getType(), field.getDefiningClass()); in testImplicitFieldReference()
223 Assert.assertEquals(classDef.getType(), fieldEncodedValue.getValue().getDefiningClass()); in testImplicitFieldLiteral()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DReferenceUtil.java50 sb.append(methodReference.getDefiningClass()); in getMethodDescriptor()
70 writer.write(methodReference.getDefiningClass()); in writeMethodDescriptor()
89 sb.append(fieldReference.getDefiningClass()); in getFieldDescriptor()
113 writer.write(fieldReference.getDefiningClass()); in writeFieldDescriptor()
136 … boolean useImplicitReference = fieldReference.getDefiningClass().equals(containingClass); in getReferenceString()
141 … boolean useImplicitReference = methodReference.getDefiningClass().equals(containingClass); in getReferenceString()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DFieldPool.java53 typePool.intern(field.getDefiningClass()); in intern()
59 … @Nonnull @Override public CharSequence getDefiningClass(@Nonnull FieldReference fieldReference) { in getDefiningClass() method in FieldPool
60 return fieldReference.getDefiningClass(); in getDefiningClass()
DMethodPool.java55 typePool.intern(method.getDefiningClass()); in intern()
61 …@Nonnull @Override public CharSequence getDefiningClass(@Nonnull MethodReference methodReference) { in getDefiningClass() method in MethodPool
62 return methodReference.getDefiningClass(); in getDefiningClass()
DPoolMethod.java62 @Override @Nonnull public String getDefiningClass() { in getDefiningClass() method in PoolMethod
63 return method.getDefiningClass(); in getDefiningClass()
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
DCstEnumRef.java53 return getDefiningClass().getClassType(); in getType()
63 fieldRef = new CstFieldRef(getDefiningClass(), getNat()); in getFieldRef()
DCstInterfaceMethodRef.java55 methodRef = new CstMethodRef(getDefiningClass(), getNat()); in toMethodRef()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/EncodedValue/
DEncodedValueAdaptor.java68 if (enumEncodedValue.getValue().getDefiningClass().equals(containingClass)) { in writeTo()
77 if (fieldEncodedValue.getValue().getDefiningClass().equals(containingClass)) { in writeTo()
94 if (methodEncodedValue.getValue().getDefiningClass().equals(containingClass)) { in writeTo()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/
DFieldReferenceRewriter.java57 @Override @Nonnull public String getDefiningClass() { in getDefiningClass() method in FieldReferenceRewriter.RewrittenFieldReference
58 return rewriters.getTypeRewriter().rewrite(fieldReference.getDefiningClass()); in getDefiningClass()
DFieldRewriter.java61 @Override @Nonnull public String getDefiningClass() { in getDefiningClass() method in FieldRewriter.RewrittenField
62 return rewriters.getFieldReferenceRewriter().rewrite(field).getDefiningClass(); in getDefiningClass()
DMethodReferenceRewriter.java60 @Override @Nonnull public String getDefiningClass() { in getDefiningClass() method in MethodReferenceRewriter.RewrittenMethodReference
61 return rewriters.getTypeRewriter().rewrite(methodReference.getDefiningClass()); in getDefiningClass()
DMethodRewriter.java63 @Override @Nonnull public String getDefiningClass() { in getDefiningClass() method in MethodRewriter.RewrittenMethod
64 return rewriters.getMethodReferenceRewriter().rewrite(method).getDefiningClass(); in getDefiningClass()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/reference/
DImmutableFieldReference.java58 fieldReference.getDefiningClass(), in of()
63 @Nonnull public String getDefiningClass() { return definingClass; } in getDefiningClass() method in ImmutableFieldReference
DImmutableMethodReference.java75 methodReference.getDefiningClass(), in of()
81 @Nonnull @Override public String getDefiningClass() { return definingClass; } in getDefiningClass() method in ImmutableMethodReference
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DTypeIdItem.java53 file.getStringIds().intern(getDefiningClass().getDescriptor()); in addContents()
59 CstType type = getDefiningClass(); in writeTo()
DMemberIdItem.java39 super(cst.getDefiningClass()); in MemberIdItem()
65 int classIdx = typeIds.indexOf(getDefiningClass()); in writeTo()
DIdItem.java58 public final CstType getDefiningClass() { in getDefiningClass() method in IdItem
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DBuilderMethodPool.java62 context.typePool.internType(methodReference.getDefiningClass()), in internMethod()
76 public BuilderTypeReference getDefiningClass(@Nonnull BuilderMethodReference key) { in getDefiningClass() method in BuilderMethodPool
129 @Nonnull @Override public String getDefiningClass() {
DBuilderFieldPool.java66 context.typePool.internType(fieldReference.getDefiningClass()), in internField()
74 public BuilderTypeReference getDefiningClass(@Nonnull BuilderFieldReference key) { in getDefiningClass() method in BuilderFieldPool
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DFieldDefinition.java72 containingClass = field.getDefiningClass(); in writeTo()
86 containingClass = field.getDefiningClass(); in writeTo()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableField.java91 field.getDefiningClass(), in of()
99 @Nonnull @Override public String getDefiningClass() { return definingClass; } in getDefiningClass() method in ImmutableField
DImmutableMethod.java96 method.getDefiningClass(), in of()
105 @Override @Nonnull public String getDefiningClass() { return definingClass; } in getDefiningClass() method in ImmutableMethod
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/reference/
DFieldReference.java46 @Nonnull String getDefiningClass(); in getDefiningClass() method

123