Home
last modified time | relevance | path

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

12

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/reference/
DBaseFieldReference.java43 int hashCode = getDefiningClass().hashCode(); in hashCode()
52 return getDefiningClass().equals(other.getDefiningClass()) && in equals()
62 int res = getDefiningClass().compareTo(o.getDefiningClass()); in compareTo()
DBaseMethodReference.java46 int hashCode = getDefiningClass().hashCode(); in hashCode()
56 return getDefiningClass().equals(other.getDefiningClass()) && in equals()
66 int res = getDefiningClass().compareTo(o.getDefiningClass()); in compareTo()
/external/smali/smali/src/test/java/org/jf/smali/
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()
81 writer.write(methodReference.getDefiningClass()); in writeMethodDescriptor()
100 sb.append(fieldReference.getDefiningClass()); in getFieldDescriptor()
124 writer.write(fieldReference.getDefiningClass()); in writeFieldDescriptor()
147 … boolean useImplicitReference = fieldReference.getDefiningClass().equals(containingClass); in getReferenceString()
152 … boolean useImplicitReference = methodReference.getDefiningClass().equals(containingClass); in getReferenceString()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DAnalyzedMethodUtil.java47 String otherPackage = TypeUtils.getPackage(virtualMethod.getDefiningClass()); in canAccess()
55 if (!TypeProtoUtils.extendsFrom(type, virtualMethod.getDefiningClass())) { in canAccess()
62 ClassDef methodClassDef = classPath.getClassDef(virtualMethod.getDefiningClass()); in canAccess()
DClassProto.java1002 defaultMethods.get(defaultMethodIndex).getDefiningClass());
1003 … if (!existingInterface.implementsInterface(interfaceMethod.getDefiningClass())) {
1025 mirandaMethods.get(mirandaMethodIndex).getDefiningClass());
1026 … if (!existingInterface.implementsInterface(interfaceMethod.getDefiningClass())) {
1129 … defaultMethods.get(defaultMethodIndex).getDefiningClass());
1130 … if (!existingInterface.implementsInterface(interfaceMethod.getDefiningClass())) {
1152 … mirandaMethods.get(mirandaMethodIndex).getDefiningClass());
1153 … if (!existingInterface.implementsInterface(interfaceMethod.getDefiningClass())) {
1230 ClassProto classProto = (ClassProto)classPath.getClass(method.getDefiningClass());
1241 ClassProto classProto = (ClassProto)classPath.getClass(method2.getDefiningClass());
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DFieldPool.java50 dexPool.typeSection.intern(field.getDefiningClass()); in intern()
56 … @Nonnull @Override public CharSequence getDefiningClass(@Nonnull FieldReference fieldReference) { in getDefiningClass() method in FieldPool
57 return fieldReference.getDefiningClass(); in getDefiningClass()
DMethodPool.java50 dexPool.typeSection.intern(method.getDefiningClass()); in intern()
60 …@Nonnull @Override public CharSequence getDefiningClass(@Nonnull MethodReference methodReference) { in getDefiningClass() method in MethodPool
61 return methodReference.getDefiningClass(); in getDefiningClass()
DPoolMethod.java62 @Override @Nonnull public String getDefiningClass() { in getDefiningClass() method in PoolMethod
63 return method.getDefiningClass(); in getDefiningClass()
/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()
DMethodReferenceRewriter.java60 @Override @Nonnull public String getDefiningClass() { in getDefiningClass() method in MethodReferenceRewriter.RewrittenMethodReference
61 return rewriters.getTypeRewriter().rewrite(methodReference.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()
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/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DBuilderMethodPool.java61 dexBuilder.typeSection.internType(methodReference.getDefiningClass()), in internMethod()
79 public BuilderTypeReference getDefiningClass(@Nonnull BuilderMethodReference key) { in getDefiningClass() method in BuilderMethodPool
136 @Nonnull @Override public String getDefiningClass() {
DBuilderFieldPool.java65 dexBuilder.typeSection.internType(fieldReference.getDefiningClass()), in internField()
73 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/
DMember.java45 @Nonnull String getDefiningClass(); in getDefiningClass() method
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/reference/
DFieldReference.java46 @Nonnull String getDefiningClass(); in getDefiningClass() method
DMethodReference.java47 @Nonnull String getDefiningClass(); in getDefiningClass() method
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DFieldSection.java40 @Nonnull TypeKey getDefiningClass(@Nonnull FieldRefKey key); in getDefiningClass() method

12