Home
last modified time | relevance | path

Searched refs:referencedClass (Results 1 – 25 of 63) sorted by relevance

123

/external/proguard/src/proguard/classfile/editor/
DMemberReferenceFixer.java101 Clazz referencedClass = stringConstant.referencedClass; in visitStringConstant() local
104 String newName = referencedMember.getName(referencedClass); in visitStringConstant()
110 debug(clazz, stringConstant, referencedClass, referencedMember); in visitStringConstant()
127 Clazz referencedClass = fieldrefConstant.referencedClass; in visitFieldrefConstant() local
130 String newName = referencedMember.getName(referencedClass); in visitFieldrefConstant()
131 String newType = referencedMember.getDescriptor(referencedClass); in visitFieldrefConstant()
138 debug(clazz, fieldrefConstant, referencedClass, referencedMember); in visitFieldrefConstant()
155 Clazz referencedClass = interfaceMethodrefConstant.referencedClass; in visitInterfaceMethodrefConstant() local
158 String newName = referencedMember.getName(referencedClass); in visitInterfaceMethodrefConstant()
159 String newType = referencedMember.getDescriptor(referencedClass); in visitInterfaceMethodrefConstant()
[all …]
DConstantPoolEditor.java173 Clazz referencedClass, in addStringConstant() argument
196 referencedClass, in addStringConstant()
293 public int addFieldrefConstant(Clazz referencedClass, in addFieldrefConstant() argument
296 return addFieldrefConstant(referencedClass.getName(), in addFieldrefConstant()
297 referencedMember.getName(referencedClass), in addFieldrefConstant()
298 referencedMember.getDescriptor(referencedClass), in addFieldrefConstant()
299 referencedClass, in addFieldrefConstant()
312 Clazz referencedClass, in addFieldrefConstant() argument
317 referencedClass, in addFieldrefConstant()
329 Clazz referencedClass, in addFieldrefConstant() argument
[all …]
DMethodInvocationFixer.java50 private Clazz referencedClass; field in MethodInvocationFixer
88 if (referencedClass != null && in visitConstantInstruction()
136 else if ((referencedClass.getAccessFlags() & ClassConstants.ACC_INTERFACE) != 0) in visitConstantInstruction()
169 clazz.equals(referencedClass) || in visitConstantInstruction()
170 !clazz.extends_(referencedClass))) in visitConstantInstruction()
203 referencedClass = refConstant.referencedClass; in visitAnyMethodrefConstant()
211 referencedMethodClass = refConstant.referencedClass; in visitAnyMethodrefConstant()
219 referencedClass = classConstant.referencedClass; in visitClassConstant()
235 System.out.println(" -> Class = "+referencedClass); in debug()
237 if ((referencedClass.getAccessFlags() & ClassConstants.ACC_INTERFACE) != 0) in debug()
DElementValueAdder.java109 newConstantElementValue.referencedClass = constantElementValue.referencedClass; in visitConstantElementValue()
126 newEnumConstantElementValue.referencedClass = enumConstantElementValue.referencedClass; in visitEnumConstantElementValue()
145 newClassElementValue.referencedClass = classElementValue.referencedClass; in visitClassElementValue()
164 newAnnotationElementValue.referencedClass = annotationElementValue.referencedClass; in visitAnnotationElementValue()
187 newArrayElementValue.referencedClass = arrayElementValue.referencedClass; in visitArrayElementValue()
DClassReferenceFixer.java100 programField.referencedClass); in visitProgramField()
162 libraryField.referencedClass); in visitLibraryField()
192 Clazz referencedClass = stringConstant.referencedClass; in visitStringConstant() local
194 if (referencedClass != null && in visitStringConstant()
201 referencedClass); in visitStringConstant()
242 Clazz referencedClass = classConstant.referencedClass; in visitClassConstant() local
243 if (referencedClass != null) in visitClassConstant()
247 String newClassName = newClassName(className, referencedClass); in visitClassConstant()
372 localVariableInfo.referencedClass); in visitLocalVariableInfo()
476 Clazz referencedClass) in newDescriptor() argument
[all …]
/external/proguard/src/proguard/optimize/peephole/
DTargetClassChanger.java151 programField.referencedClass = in visitProgramField()
152 updateReferencedClass(programField.referencedClass); in visitProgramField()
172 libraryField.referencedClass = in visitLibraryField()
173 updateReferencedClass(libraryField.referencedClass); in visitLibraryField()
192 Clazz referencedClass = stringConstant.referencedClass; in visitStringConstant() local
193 Clazz newReferencedClass = updateReferencedClass(referencedClass); in visitStringConstant()
194 if (referencedClass != newReferencedClass) in visitStringConstant()
197 stringConstant.referencedClass = newReferencedClass; in visitStringConstant()
211 Clazz referencedClass = refConstant.referencedClass; in visitAnyRefConstant() local
212 Clazz newReferencedClass = updateReferencedClass(referencedClass); in visitAnyRefConstant()
[all …]
/external/proguard/src/proguard/optimize/evaluation/
DSimpleEnumDescriptorSimplifier.java87 Clazz referencedClass = stringConstant.referencedClass; in visitStringConstant() local
88 if (isSimpleEnum(referencedClass)) in visitStringConstant()
98 String newName = simplifyDescriptor(name, referencedClass); in visitStringConstant()
104 stringConstant.referencedClass = null; in visitStringConstant()
136 Clazz referencedClass = classConstant.referencedClass; in visitClassConstant() local
137 if (isSimpleEnum(referencedClass)) in visitClassConstant()
147 String newName = simplifyDescriptor(name, referencedClass); in visitClassConstant()
153 classConstant.referencedClass = null; in visitClassConstant()
165 String newDescriptor = simplifyDescriptor(descriptor, programField.referencedClass); in visitProgramField()
189 programField.referencedClass = null; in visitProgramField()
[all …]
/external/proguard/src/proguard/optimize/
DMemberDescriptorSpecializer.java76 Clazz referencedClass = parameterValue.referenceValue().getReferencedClass(); in visitProgramField() local
77 if (programField.referencedClass != referencedClass) in visitProgramField()
82 … System.out.println(" "+programField.referencedClass.getName()+" -> "+referencedClass.getName()); in visitProgramField()
85 programField.referencedClass = referencedClass; in visitProgramField()
116 Clazz referencedClass = parameterValue.referenceValue().getReferencedClass(); in visitProgramMethod() local
117 if (programMethod.referencedClasses[classIndex] != referencedClass) in visitProgramMethod()
122 …intln(" "+programMethod.referencedClasses[classIndex].getName()+" -> "+referencedClass.getName()); in visitProgramMethod()
125 programMethod.referencedClasses[classIndex] = referencedClass; in visitProgramMethod()
/external/proguard/src/proguard/classfile/util/
DStringSharer.java98 Clazz referencedClass = stringConstant.referencedClass; in visitStringConstant() local
101 name = referencedMember.getName(referencedClass); in visitStringConstant()
112 Clazz referencedClass = refConstant.referencedClass; in visitAnyRefConstant() local
116 name = referencedMember.getName(referencedClass); in visitAnyRefConstant()
117 type = referencedMember.getDescriptor(referencedClass); in visitAnyRefConstant()
138 Clazz referencedClass = classConstant.referencedClass; in visitClassConstant() local
139 if (referencedClass != null) in visitClassConstant()
142 name = referencedClass.getName(); in visitClassConstant()
DClassReferenceInitializer.java123 programField.referencedClass = in visitProgramField()
145 libraryField.referencedClass = in visitLibraryField()
201 Clazz referencedClass = findClass(clazz.getName(), className); in visitAnyRefConstant() local
203 if (referencedClass != null) in visitAnyRefConstant()
213 referencedClass, in visitAnyRefConstant()
217 refConstant.referencedClass = memberFinder.correspondingClass(); in visitAnyRefConstant()
222 boolean isProgramClass = referencedClass instanceof ProgramClass; in visitAnyRefConstant()
252 classConstant.referencedClass = in visitClassConstant()
284 enclosingMethodAttribute.referencedClass = in visitEnclosingMethodAttribute()
287 if (enclosingMethodAttribute.referencedClass != null) in visitEnclosingMethodAttribute()
[all …]
DAllParameterVisitor.java55 programField.referencedClass); in visitProgramField()
63 libraryField.referencedClass); in visitLibraryField()
90 Clazz referencedClass) in visitFieldType() argument
100 referencedClass); in visitFieldType()
177 Clazz referencedClass = null; in visitParameters() local
199 referencedClass = referencedClasses == null ? null : in visitParameters()
213 referencedClass = referencedClasses == null ? null : in visitParameters()
232 referencedClass); in visitParameters()
/external/proguard/src/proguard/optimize/info/
DFieldOptimizationInfo.java47 private ReferenceValue referencedClass; field in FieldOptimizationInfo
67 this.referencedClass = FieldOptimizationInfo.referencedClass; in FieldOptimizationInfo()
108 public void generalizeReferencedClass(ReferenceValue referencedClass) in generalizeReferencedClass() argument
110 this.referencedClass = this.referencedClass != null ? in generalizeReferencedClass()
111 this.referencedClass.generalize(referencedClass) : in generalizeReferencedClass()
112 referencedClass; in generalizeReferencedClass()
118 return referencedClass; in getReferencedClass()
/external/proguard/src/proguard/classfile/constant/
DStringConstant.java46 public Clazz referencedClass; field in StringConstant
81 Clazz referencedClass, in StringConstant() argument
85 this.referencedClass = referencedClass; in StringConstant()
117 if (referencedClass != null && in referencedClassAccept()
120 referencedClass.accept(classVisitor); in referencedClassAccept()
132 referencedMember.accept(referencedClass, memberVisitor); in referencedMemberAccept()
DClassConstant.java41 public Clazz referencedClass; field in ClassConstant
66 Clazz referencedClass) in ClassConstant() argument
69 this.referencedClass = referencedClass; in ClassConstant()
100 if (referencedClass != null) in referencedClassAccept()
102 referencedClass.accept(classVisitor); in referencedClassAccept()
DRefConstant.java42 public Clazz referencedClass; field in RefConstant
112 if (referencedClass != null) in referencedClassAccept()
114 referencedClass.accept(classVisitor); in referencedClassAccept()
126 referencedMember.accept(referencedClass, in referencedMemberAccept()
/external/proguard/src/proguard/classfile/
DProgramField.java40 public Clazz referencedClass; field in ProgramField
59 Clazz referencedClass) in ProgramField() argument
63 this.referencedClass = referencedClass; in ProgramField()
88 if (referencedClass != null) in referencedClassesAccept()
90 referencedClass.accept(classVisitor); in referencedClassesAccept()
DLibraryField.java38 public Clazz referencedClass; field in LibraryField
72 if (referencedClass != null) in referencedClassesAccept()
74 referencedClass.accept(classVisitor); in referencedClassesAccept()
/external/proguard/src/proguard/classfile/attribute/annotation/
DAnnotation.java92 Clazz referencedClass = referencedClasses[0]; in referencedClassAccept() local
93 if (referencedClass != null) in referencedClassAccept()
95 referencedClass.accept(classVisitor); in referencedClassAccept()
110 Clazz referencedClass = referencedClasses[index]; in referencedClassesAccept() local
111 if (referencedClass != null) in referencedClassesAccept()
113 referencedClass.accept(classVisitor); in referencedClassesAccept()
/external/proguard/src/proguard/evaluation/value/
DValueFactory.java49 public Value createValue(String type, Clazz referencedClass, boolean mayBeNull) in createValue() argument
65 referencedClass, in createValue()
153 Clazz referencedClass, in createReferenceValue() argument
157 …ClassConstants.NAME_JAVA_LANG_OBJECT) ? new TypedReferenceValue(type, referencedClass, mayBeNull) : in createReferenceValue()
169 Clazz referencedClass, in createArrayReferenceValue() argument
173 referencedClass, in createArrayReferenceValue()
DTypedReferenceValue.java43 protected final Clazz referencedClass; field in TypedReferenceValue
51 Clazz referencedClass, in TypedReferenceValue() argument
55 this.referencedClass = referencedClass; in TypedReferenceValue()
70 return referencedClass; in getReferencedClass()
170 return referencedClass != null && in instanceOf()
172 referencedClass.extendsOrImplements(otherReferencedClass) ? in instanceOf()
182 new TypedReferenceValue(type, referencedClass, true); in generalizeMayBeNull()
192 referencedClass, in referenceArrayLoad()
259 Clazz thisReferencedClass = this.referencedClass; in generalize()
260 Clazz otherReferencedClass = other.referencedClass; in generalize()
[all …]
DArrayReferenceValue.java41 Clazz referencedClass, in ArrayReferenceValue() argument
44 super(type, referencedClass, false); in ArrayReferenceValue()
96 this.referencedClass == other.referencedClass ? new ArrayReferenceValue(this.type, in generalize()
97 … this.referencedClass, in generalize()
DIdentifiedValueFactory.java67 Clazz referencedClass, in createReferenceValue() argument
73 referencedClass, in createReferenceValue()
81 Clazz referencedClass, in createArrayReferenceValue() argument
87 referencedClass, in createArrayReferenceValue()
/external/proguard/src/proguard/classfile/visitor/
DImplementedClassConstantFilter.java62 Clazz referencedClass = classConstant.referencedClass; in visitClassConstant() local
63 if (referencedClass == null || in visitClassConstant()
64 !referencedClass.extendsOrImplements(implementedClass)) in visitClassConstant()
DImplementingClassConstantFilter.java63 Clazz referencedClass = classConstant.referencedClass; in visitClassConstant() local
64 if (referencedClass == null || in visitClassConstant()
65 !implementingClass.extendsOrImplements(referencedClass)) in visitClassConstant()
/external/proguard/src/proguard/classfile/attribute/
DEnclosingMethodAttribute.java43 public Clazz referencedClass; field in EnclosingMethodAttribute
106 if (referencedClass != null) in referencedClassAccept()
108 referencedClass.accept(classVisitor); in referencedClassAccept()
120 referencedMethod.accept(referencedClass, in referencedMethodAccept()

123