Home
last modified time | relevance | path

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

/external/proguard/src/proguard/classfile/editor/
DMemberReferenceFixer.java294 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
296 Member referencedMember = enclosingMethodAttribute.referencedMethod; in visitEnclosingMethodAttribute()
299 Clazz referencedClass = enclosingMethodAttribute.referencedClass; in visitEnclosingMethodAttribute()
302 if (!enclosingMethodAttribute.getClassName(clazz).equals(referencedClass.getName())) in visitEnclosingMethodAttribute()
305 enclosingMethodAttribute.u2classIndex = in visitEnclosingMethodAttribute()
310 … if (!enclosingMethodAttribute.getName(clazz).equals(referencedMember.getName(referencedClass)) || in visitEnclosingMethodAttribute()
311 … !enclosingMethodAttribute.getType(clazz).equals(referencedMember.getDescriptor(referencedClass))) in visitEnclosingMethodAttribute()
314 enclosingMethodAttribute.u2nameAndTypeIndex = in visitEnclosingMethodAttribute()
DAttributeAdder.java154 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
158 …new EnclosingMethodAttribute(constantAdder.addConstant(clazz, enclosingMethodAttribute.u2attribute… in visitEnclosingMethodAttribute()
159 … constantAdder.addConstant(clazz, enclosingMethodAttribute.u2classIndex), in visitEnclosingMethodAttribute()
160 enclosingMethodAttribute.u2nameAndTypeIndex == 0 ? 0 : in visitEnclosingMethodAttribute()
161 … constantAdder.addConstant(clazz, enclosingMethodAttribute.u2nameAndTypeIndex)); in visitEnclosingMethodAttribute()
163 newEnclosingMethodAttribute.referencedClass = enclosingMethodAttribute.referencedClass; in visitEnclosingMethodAttribute()
164 newEnclosingMethodAttribute.referencedMethod = enclosingMethodAttribute.referencedMethod; in visitEnclosingMethodAttribute()
DConstantPoolRemapper.java261 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
263 enclosingMethodAttribute.u2attributeNameIndex = in visitEnclosingMethodAttribute()
264 remapConstantIndex(enclosingMethodAttribute.u2attributeNameIndex); in visitEnclosingMethodAttribute()
265 enclosingMethodAttribute.u2classIndex = in visitEnclosingMethodAttribute()
266 remapConstantIndex(enclosingMethodAttribute.u2classIndex); in visitEnclosingMethodAttribute()
267 enclosingMethodAttribute.u2nameAndTypeIndex = in visitEnclosingMethodAttribute()
268 remapConstantIndex(enclosingMethodAttribute.u2nameAndTypeIndex); in visitEnclosingMethodAttribute()
/external/proguard/src/proguard/classfile/util/
DClassReferenceInitializer.java232 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
235 String enclosingClassName = enclosingMethodAttribute.getClassName(clazz); in visitEnclosingMethodAttribute()
253 if (enclosingMethodAttribute.u2nameAndTypeIndex == 0) in visitEnclosingMethodAttribute()
258 String name = enclosingMethodAttribute.getName(clazz); in visitEnclosingMethodAttribute()
259 String type = enclosingMethodAttribute.getType(clazz); in visitEnclosingMethodAttribute()
279 enclosingMethodAttribute.referencedClass = referencedClass; in visitEnclosingMethodAttribute()
280 enclosingMethodAttribute.referencedMethod = referencedMethod; in visitEnclosingMethodAttribute()
DSimplifiedVisitor.java243 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
245 visitAnyAttribute(clazz, enclosingMethodAttribute); in visitEnclosingMethodAttribute()
/external/proguard/src/proguard/obfuscate/
DNameAndTypeUsageMarker.java97 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
99 if (enclosingMethodAttribute.u2nameAndTypeIndex != 0) in visitEnclosingMethodAttribute()
101 markNameAndTypeConstant(clazz, enclosingMethodAttribute.u2nameAndTypeIndex); in visitEnclosingMethodAttribute()
DClassObfuscator.java179 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
182 enclosingMethodAttribute.referencedClassAccept(this); in visitEnclosingMethodAttribute()
185 String outerClassName = clazz.getClassName(enclosingMethodAttribute.u2classIndex); in visitEnclosingMethodAttribute()
DUtf8UsageMarker.java145 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
147 markCpUtf8Entry(clazz, enclosingMethodAttribute.u2attributeNameIndex); in visitEnclosingMethodAttribute()
/external/proguard/src/proguard/shrink/
DClassShrinker.java152 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
160 if (enclosingMethodAttribute.referencedMethod != null && in visitEnclosingMethodAttribute()
161 !usageMarker.isUsed(enclosingMethodAttribute.referencedMethod)) in visitEnclosingMethodAttribute()
163 enclosingMethodAttribute.u2nameAndTypeIndex = 0; in visitEnclosingMethodAttribute()
165 enclosingMethodAttribute.referencedMethod = null; in visitEnclosingMethodAttribute()
DUsageMarker.java509 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
511 markAsUsed(enclosingMethodAttribute); in visitEnclosingMethodAttribute()
513 markConstant(clazz, enclosingMethodAttribute.u2attributeNameIndex); in visitEnclosingMethodAttribute()
514 markConstant(clazz, enclosingMethodAttribute.u2classIndex); in visitEnclosingMethodAttribute()
516 if (enclosingMethodAttribute.u2nameAndTypeIndex != 0) in visitEnclosingMethodAttribute()
518 markConstant(clazz, enclosingMethodAttribute.u2nameAndTypeIndex); in visitEnclosingMethodAttribute()
/external/proguard/src/proguard/optimize/peephole/
DRetargetedInnerClassAttributeRemover.java98 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
104 checkTarget(enclosingMethodAttribute.referencedClass); in visitEnclosingMethodAttribute()
/external/proguard/src/proguard/classfile/attribute/visitor/
DAttributeNameFilter.java96 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
98 if (accepted(clazz, enclosingMethodAttribute)) in visitEnclosingMethodAttribute()
100 enclosingMethodAttribute.accept(clazz, attributeVisitor); in visitEnclosingMethodAttribute()
DRequiredAttributeFilter.java110 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
114 enclosingMethodAttribute.accept(clazz, optionalAttributeVisitor); in visitEnclosingMethodAttribute()
DMultiAttributeVisitor.java115 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
119 attributeVisitors[index].visitEnclosingMethodAttribute(clazz, enclosingMethodAttribute); in visitEnclosingMethodAttribute()
DAttributeVisitor.java42 …hodAttribute( Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute); in visitEnclosingMethodAttribute() argument
/external/proguard/src/proguard/classfile/visitor/
DReferencedClassVisitor.java138 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
141 enclosingMethodAttribute.referencedClassAccept(classVisitor); in visitEnclosingMethodAttribute()
DClassPrinter.java397 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
399 println(visitorInfo(enclosingMethodAttribute) + in visitEnclosingMethodAttribute()
403 clazz.constantPoolEntryAccept(enclosingMethodAttribute.u2classIndex, this); in visitEnclosingMethodAttribute()
405 if (enclosingMethodAttribute.u2nameAndTypeIndex != 0) in visitEnclosingMethodAttribute()
407 clazz.constantPoolEntryAccept(enclosingMethodAttribute.u2nameAndTypeIndex, this); in visitEnclosingMethodAttribute()
/external/proguard/src/proguard/optimize/
DChangedCodePrinter.java75 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
77 attributeVisitor.visitEnclosingMethodAttribute(clazz, enclosingMethodAttribute); in visitEnclosingMethodAttribute()
/external/proguard/src/proguard/classfile/io/
DProgramClassWriter.java306 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
308 dataOutput.writeShort(enclosingMethodAttribute.u2classIndex); in visitEnclosingMethodAttribute()
309 dataOutput.writeShort(enclosingMethodAttribute.u2nameAndTypeIndex); in visitEnclosingMethodAttribute()
DProgramClassReader.java311 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
313 enclosingMethodAttribute.u2classIndex = dataInput.readUnsignedShort(); in visitEnclosingMethodAttribute()
314 enclosingMethodAttribute.u2nameAndTypeIndex = dataInput.readUnsignedShort(); in visitEnclosingMethodAttribute()