Home
last modified time | relevance | path

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

/external/proguard/src/proguard/classfile/util/
DClassReferenceInitializer.java278 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
281 String enclosingClassName = enclosingMethodAttribute.getClassName(clazz); in visitEnclosingMethodAttribute()
284 enclosingMethodAttribute.referencedClass = in visitEnclosingMethodAttribute()
287 if (enclosingMethodAttribute.referencedClass != null) in visitEnclosingMethodAttribute()
291 if (enclosingMethodAttribute.u2nameAndTypeIndex != 0) in visitEnclosingMethodAttribute()
293 String name = enclosingMethodAttribute.getName(clazz); in visitEnclosingMethodAttribute()
294 String type = enclosingMethodAttribute.getType(clazz); in visitEnclosingMethodAttribute()
297 enclosingMethodAttribute.referencedMethod = in visitEnclosingMethodAttribute()
298 enclosingMethodAttribute.referencedClass.findMethod(name, type); in visitEnclosingMethodAttribute()
300 if (enclosingMethodAttribute.referencedMethod == null) in visitEnclosingMethodAttribute()
DSimplifiedVisitor.java268 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
270 visitAnyAttribute(clazz, enclosingMethodAttribute); in visitEnclosingMethodAttribute()
/external/proguard/src/proguard/classfile/editor/
DAttributeAdder.java156 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
160 …new EnclosingMethodAttribute(constantAdder.addConstant(clazz, enclosingMethodAttribute.u2attribute… in visitEnclosingMethodAttribute()
161 … constantAdder.addConstant(clazz, enclosingMethodAttribute.u2classIndex), in visitEnclosingMethodAttribute()
162 enclosingMethodAttribute.u2nameAndTypeIndex == 0 ? 0 : in visitEnclosingMethodAttribute()
163 … constantAdder.addConstant(clazz, enclosingMethodAttribute.u2nameAndTypeIndex)); in visitEnclosingMethodAttribute()
165 newEnclosingMethodAttribute.referencedClass = enclosingMethodAttribute.referencedClass; in visitEnclosingMethodAttribute()
166 newEnclosingMethodAttribute.referencedMethod = enclosingMethodAttribute.referencedMethod; in visitEnclosingMethodAttribute()
DNameAndTypeShrinker.java105 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
107 if (enclosingMethodAttribute.u2nameAndTypeIndex != 0) in visitEnclosingMethodAttribute()
109 markNameAndTypeConstant(clazz, enclosingMethodAttribute.u2nameAndTypeIndex); in visitEnclosingMethodAttribute()
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()
305 if (!enclosingMethodAttribute.getName(clazz).equals(newName) || in visitEnclosingMethodAttribute()
306 !enclosingMethodAttribute.getType(clazz).equals(newType)) in visitEnclosingMethodAttribute()
309 enclosingMethodAttribute.u2nameAndTypeIndex = in visitEnclosingMethodAttribute()
DConstantPoolRemapper.java294 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
296 enclosingMethodAttribute.u2attributeNameIndex = in visitEnclosingMethodAttribute()
297 remapConstantIndex(enclosingMethodAttribute.u2attributeNameIndex); in visitEnclosingMethodAttribute()
298 enclosingMethodAttribute.u2classIndex = in visitEnclosingMethodAttribute()
299 remapConstantIndex(enclosingMethodAttribute.u2classIndex); in visitEnclosingMethodAttribute()
300 enclosingMethodAttribute.u2nameAndTypeIndex = in visitEnclosingMethodAttribute()
301 remapConstantIndex(enclosingMethodAttribute.u2nameAndTypeIndex); in visitEnclosingMethodAttribute()
DConstantPoolShrinker.java229 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
231 markConstant(clazz, enclosingMethodAttribute.u2attributeNameIndex); in visitEnclosingMethodAttribute()
232 markConstant(clazz, enclosingMethodAttribute.u2classIndex); in visitEnclosingMethodAttribute()
234 if (enclosingMethodAttribute.u2nameAndTypeIndex != 0) in visitEnclosingMethodAttribute()
236 markConstant(clazz, enclosingMethodAttribute.u2nameAndTypeIndex); in visitEnclosingMethodAttribute()
DUtf8Shrinker.java165 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
167 markCpUtf8Entry(clazz, enclosingMethodAttribute.u2attributeNameIndex); in visitEnclosingMethodAttribute()
/external/proguard/src/proguard/shrink/
DClassShrinker.java185 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
193 if (enclosingMethodAttribute.referencedMethod != null && in visitEnclosingMethodAttribute()
194 !usageMarker.isUsed(enclosingMethodAttribute.referencedMethod)) in visitEnclosingMethodAttribute()
196 enclosingMethodAttribute.u2nameAndTypeIndex = 0; in visitEnclosingMethodAttribute()
198 enclosingMethodAttribute.referencedMethod = null; in visitEnclosingMethodAttribute()
DUsageMarker.java636 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
638 markAsUsed(enclosingMethodAttribute); in visitEnclosingMethodAttribute()
640 markConstant(clazz, enclosingMethodAttribute.u2attributeNameIndex); in visitEnclosingMethodAttribute()
641 markConstant(clazz, enclosingMethodAttribute.u2classIndex); in visitEnclosingMethodAttribute()
643 if (enclosingMethodAttribute.u2nameAndTypeIndex != 0) in visitEnclosingMethodAttribute()
645 markConstant(clazz, enclosingMethodAttribute.u2nameAndTypeIndex); in visitEnclosingMethodAttribute()
/external/proguard/src/proguard/optimize/peephole/
DRetargetedInnerClassAttributeRemover.java128 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
134 checkTarget(enclosingMethodAttribute.referencedClass); in visitEnclosingMethodAttribute()
/external/proguard/src/proguard/obfuscate/
DClassObfuscator.java187 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
190 enclosingMethodAttribute.referencedClassAccept(this); in visitEnclosingMethodAttribute()
193 String outerClassName = clazz.getClassName(enclosingMethodAttribute.u2classIndex); in visitEnclosingMethodAttribute()
/external/proguard/src/proguard/classfile/visitor/
DReferencedClassVisitor.java152 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
155 enclosingMethodAttribute.referencedClassAccept(classVisitor); in visitEnclosingMethodAttribute()
DClassPrinter.java445 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
447 println(visitorInfo(enclosingMethodAttribute) + in visitEnclosingMethodAttribute()
451 clazz.constantPoolEntryAccept(enclosingMethodAttribute.u2classIndex, this); in visitEnclosingMethodAttribute()
453 if (enclosingMethodAttribute.u2nameAndTypeIndex != 0) in visitEnclosingMethodAttribute()
455 clazz.constantPoolEntryAccept(enclosingMethodAttribute.u2nameAndTypeIndex, this); in visitEnclosingMethodAttribute()
/external/proguard/src/proguard/classfile/attribute/visitor/
DAttributeNameFilter.java137 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
139 if (accepted(clazz, enclosingMethodAttribute)) in visitEnclosingMethodAttribute()
141 attributeVisitor.visitEnclosingMethodAttribute(clazz, enclosingMethodAttribute); in visitEnclosingMethodAttribute()
DRequiredAttributeFilter.java121 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
125 optionalAttributeVisitor.visitEnclosingMethodAttribute(clazz, enclosingMethodAttribute); in visitEnclosingMethodAttribute()
DNonEmptyAttributeFilter.java90 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
92 attributeVisitor.visitEnclosingMethodAttribute(clazz, enclosingMethodAttribute); in visitEnclosingMethodAttribute()
DMultiAttributeVisitor.java124 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
128 attributeVisitors[index].visitEnclosingMethodAttribute(clazz, enclosingMethodAttribute); in visitEnclosingMethodAttribute()
DAttributeVisitor.java43 …odAttribute( Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute); in visitEnclosingMethodAttribute() argument
/external/proguard/src/proguard/optimize/
DChangedCodePrinter.java80 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
82 attributeVisitor.visitEnclosingMethodAttribute(clazz, enclosingMethodAttribute); in visitEnclosingMethodAttribute()
/external/proguard/src/proguard/classfile/io/
DProgramClassWriter.java343 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
345 dataOutput.writeShort(enclosingMethodAttribute.u2classIndex); in visitEnclosingMethodAttribute()
346 dataOutput.writeShort(enclosingMethodAttribute.u2nameAndTypeIndex); in visitEnclosingMethodAttribute()
DProgramClassReader.java354 … void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) in visitEnclosingMethodAttribute() argument
356 enclosingMethodAttribute.u2classIndex = dataInput.readUnsignedShort(); in visitEnclosingMethodAttribute()
357 enclosingMethodAttribute.u2nameAndTypeIndex = dataInput.readUnsignedShort(); in visitEnclosingMethodAttribute()