/external/proguard/src/proguard/classfile/editor/ |
D | MemberAdder.java | 184 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 186 String name = programMethod.getName(programClass); in visitProgramMethod() 187 String descriptor = programMethod.getDescriptor(programClass); in visitProgramMethod() 188 int accessFlags = programMethod.getAccessFlags(); in visitProgramMethod() 200 …pping abstract method ["+programClass.getName()+"."+programMethod.getName(programClass)+programMet… in visitProgramMethod() 215 …dder: updating method ["+programClass.getName()+"."+programMethod.getName(programClass)+programMet… in visitProgramMethod() 223 programMethod.attributesAccept(programClass, in visitProgramMethod() 247 …Adder: copying method ["+programClass.getName()+"."+programMethod.getName(programClass)+programMet… in visitProgramMethod() 253 constantAdder.addConstant(programClass, programMethod.u2nameIndex), in visitProgramMethod() 254 … constantAdder.addConstant(programClass, programMethod.u2descriptorIndex), in visitProgramMethod() [all …]
|
D | AccessFixer.java | 74 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 77 super.visitProgramMember(programClass, programMethod); in visitProgramMethod() 81 if ((programMethod.getAccessFlags() & (ClassConstants.ACC_PRIVATE | in visitProgramMethod() 83 !ClassUtil.isInitializer(programMethod.getName(programClass))) in visitProgramMethod() 86 new NamedMethodVisitor(programMethod.getName(programClass), in visitProgramMethod() 87 programMethod.getDescriptor(programClass), in visitProgramMethod()
|
/external/proguard/src/proguard/optimize/info/ |
D | ParameterUsageMarker.java | 80 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 83 ClassUtil.internalMethodParameterSize(programMethod.getDescriptor(programClass), in visitProgramMethod() 84 programMethod.getAccessFlags()); in visitProgramMethod() 88 int accessFlags = programMethod.getAccessFlags(); in visitProgramMethod() 95 markParameterUsed(programMethod, 0); in visitProgramMethod() 102 markUsedParameters(programMethod, in visitProgramMethod() 111 markUsedParameters(programMethod, -1L); in visitProgramMethod() 118 markParameterUsed(programMethod, 0); in visitProgramMethod() 128 programClass.mayHaveImplementations(programMethod) || in visitProgramMethod() 129 programMethod.getName(programClass).equals(ClassConstants.METHOD_NAME_INIT))) in visitProgramMethod() [all …]
|
D | SideEffectMethodMarker.java | 81 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 83 if (!hasSideEffects(programMethod) && in visitProgramMethod() 84 !NoSideEffectMethodMarker.hasNoSideEffects(programMethod)) in visitProgramMethod() 88 (programMethod.getAccessFlags() & in visitProgramMethod() 96 programMethod.attributesAccept(programClass, this); in visitProgramMethod() 102 markSideEffects(programMethod); in visitProgramMethod()
|
D | MemberOptimizationInfoSetter.java | 51 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 53 if (!KeepMarker.isKept(programMethod)) in visitProgramMethod() 56 programMethod); in visitProgramMethod()
|
D | SideEffectMethodFilter.java | 57 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 59 if (SideEffectMethodMarker.hasSideEffects(programMethod)) in visitProgramMethod() 61 memberVisitor.visitProgramMethod(programClass, programMethod); in visitProgramMethod()
|
/external/proguard/src/proguard/optimize/ |
D | MemberDescriptorSpecializer.java | 97 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 102 (programMethod.getAccessFlags() & ClassConstants.ACC_STATIC) != 0 ? in visitProgramMethod() 106 ClassUtil.internalMethodParameterCount(programMethod.getDescriptor(programClass)); in visitProgramMethod() 113 …Value parameterValue = StoringInvocationUnit.getMethodParameterValue(programMethod, parameterIndex… in visitProgramMethod() 117 if (programMethod.referencedClasses[classIndex] != referencedClass) in visitProgramMethod() 121 …DescriptorSpecializer: "+programClass.getName()+"."+programMethod.getName(programClass)+programMet… in visitProgramMethod() 122 …System.out.println(" "+programMethod.referencedClasses[classIndex].getName()+" -> "+referencedCla… in visitProgramMethod() 125 programMethod.referencedClasses[classIndex] = referencedClass; in visitProgramMethod() 130 … extraParameterMemberVisitor.visitProgramMethod(programClass, programMethod); in visitProgramMethod()
|
D | MethodDescriptorShrinker.java | 77 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 81 …odDescriptorShrinker: ["+programClass.getName()+"."+programMethod.getName(programClass)+programMet… in visitProgramMethod() 85 String descriptor = programMethod.getDescriptor(programClass); in visitProgramMethod() 86 String newDescriptor = shrinkDescriptor(programMethod, descriptor); in visitProgramMethod() 90 String name = programMethod.getName(programClass); in visitProgramMethod() 105 programMethod.u2nameIndex = in visitProgramMethod() 110 programMethod.referencedClasses = in visitProgramMethod() 111 shrinkReferencedClasses(programMethod, in visitProgramMethod() 113 programMethod.referencedClasses); in visitProgramMethod() 116 programMethod.u2descriptorIndex = in visitProgramMethod() [all …]
|
D | DuplicateInitializerFixer.java | 77 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 80 String name = programMethod.getName(programClass); in visitProgramMethod() 84 String descriptor = programMethod.getDescriptor(programClass); in visitProgramMethod() 86 if (!programMethod.equals(similarMethod)) in visitProgramMethod() 89 if (KeepMarker.isKept(programMethod)) in visitProgramMethod() 92 programMethod = (ProgramMethod)similarMethod; in visitProgramMethod() 122 …etName()+"."+name+descriptor+"] ("+ClassUtil.externalClassAccessFlags(programMethod.getAccessFlags… in visitProgramMethod() 126 programMethod.u2descriptorIndex = in visitProgramMethod() 132 programMethod.attributesAccept(programClass, in visitProgramMethod() 138 … extraFixedInitializerVisitor.visitProgramMethod(programClass, programMethod); in visitProgramMethod()
|
D | MethodStaticizer.java | 70 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 73 if (!ParameterUsageMarker.isParameterUsed(programMethod, 0)) in visitProgramMethod() 76 programMethod.u2accessFlags = in visitProgramMethod() 77 (programMethod.getAccessFlags() & ~ClassConstants.ACC_FINAL) | in visitProgramMethod() 83 extraStaticMemberVisitor.visitProgramMethod(programClass, programMethod); in visitProgramMethod()
|
D | ConstantParameterFilter.java | 57 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 62 (programMethod.getAccessFlags() & ClassConstants.ACC_STATIC) != 0 ? in visitProgramMethod() 66 ClassUtil.internalMethodParameterCount(programMethod.getDescriptor(programClass)); in visitProgramMethod() 70 Value value = StoringInvocationUnit.getMethodParameterValue(programMethod, index); in visitProgramMethod() 74 constantParameterVisitor.visitProgramMethod(programClass, programMethod); in visitProgramMethod()
|
D | DuplicateInitializerInvocationFixer.java | 151 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 154 programMethod.getDescriptor(programClass).length() - descriptor.length(); in visitProgramMethod() 161 …ame()+"."+programMethod.getName(programClass)+programMethod.getDescriptor(programClass)+"] ("+Clas… in visitProgramMethod()
|
/external/proguard/src/proguard/optimize/peephole/ |
D | MethodFinalizer.java | 65 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 67 String name = programMethod.getName(programClass); in visitProgramMethod() 74 if ((programMethod.u2accessFlags & (ClassConstants.ACC_PRIVATE | in visitProgramMethod() 80 (!KeepMarker.isKept(programMethod) && in visitProgramMethod() 82 !memberFinder.isOverriden(programClass, programMethod))))) in visitProgramMethod() 84 programMethod.u2accessFlags |= ClassConstants.ACC_FINAL; in visitProgramMethod() 89 extraMemberVisitor.visitProgramMethod(programClass, programMethod); in visitProgramMethod()
|
D | MethodInliner.java | 487 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 489 int accessFlags = programMethod.getAccessFlags(); in visitProgramMethod() 492 !KeepMarker.isKept(programMethod) && in visitProgramMethod() 511 !programMethod.getName(programClass).equals(ClassConstants.METHOD_NAME_INIT) && in visitProgramMethod() 514 (!programMethod.equals(targetMethod) || in visitProgramMethod() 518 !inliningMethods.contains(programMethod) && in visitProgramMethod() 527 (!SuperInvocationMarker.invokesSuperMethods(programMethod) && in visitProgramMethod() 528 !DynamicInvocationMarker.invokesDynamically(programMethod) || in visitProgramMethod() 533 (!BackwardBranchMarker.branchesBackward(programMethod) || in visitProgramMethod() 538 ((!AccessMethodMarker.accessesPrivateCode(programMethod) || in visitProgramMethod() [all …]
|
D | MemberPrivatizer.java | 86 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 89 if (NonPrivateMemberMarker.canBeMadePrivate(programMethod)) in visitProgramMethod() 92 programMethod.u2accessFlags = in visitProgramMethod() 93 AccessUtil.replaceAccessFlags(programMethod.u2accessFlags, in visitProgramMethod() 99 extraMemberVisitor.visitProgramMethod(programClass, programMethod); in visitProgramMethod()
|
/external/proguard/src/proguard/obfuscate/ |
D | MappingPrinter.java | 104 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 108 String name = programMethod.getName(programClass); in visitProgramMethod() 114 String newName = MemberObfuscator.newMemberName(programMethod); in visitProgramMethod() 118 programMethod.attributesAccept(programClass, this); in visitProgramMethod() 122 programMethod.getName(programClass), in visitProgramMethod() 123 programMethod.getDescriptor(programClass)) + in visitProgramMethod()
|
/external/proguard/src/proguard/shrink/ |
D | UsagePrinter.java | 135 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 137 if (usageMarker.isUsed(programMethod) ^ printUnusedItems) in visitProgramMethod() 142 programMethod.attributesAccept(programClass, this); in visitProgramMethod() 145 programMethod.getAccessFlags(), in visitProgramMethod() 146 programMethod.getName(programClass), in visitProgramMethod() 147 programMethod.getDescriptor(programClass))); in visitProgramMethod()
|
D | UsageMarker.java | 213 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 216 if (isPossiblyUsed(programMethod)) in visitProgramMethod() 218 markAsUsed(programMethod); in visitProgramMethod() 221 markProgramMethodBody(programClass, programMethod); in visitProgramMethod() 278 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 280 if (shouldBeMarkedAsUsed(programMethod)) in visitProgramMethod() 285 markAsUsed(programMethod); in visitProgramMethod() 288 markProgramMethodBody(programClass, programMethod); in visitProgramMethod() 291 markMethodHierarchy(programClass, programMethod); in visitProgramMethod() 295 else if (shouldBeMarkedAsPossiblyUsed(programMethod)) in visitProgramMethod() [all …]
|
D | ShortestUsageMarker.java | 82 protected void markProgramMethodBody(ProgramClass programClass, ProgramMethod programMethod) in markProgramMethodBody() argument 86 currentUsageMark = new ShortestUsageMark(getShortestUsageMark(programMethod), in markProgramMethodBody() 90 programMethod); in markProgramMethodBody() 92 super.markProgramMethodBody(programClass, programMethod); in markProgramMethodBody() 239 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 241 checkCause(programMethod); in visitProgramMethod()
|
D | ShortestUsagePrinter.java | 131 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 134 String name = programMethod.getName(programClass); in visitProgramMethod() 135 String type = programMethod.getDescriptor(programClass); in visitProgramMethod() 141 programMethod.attributesAccept(programClass, this); in visitProgramMethod() 145 printReason(programMethod); in visitProgramMethod()
|
/external/proguard/src/proguard/preverify/ |
D | CodePreverifier.java | 103 ProgramMethod programMethod = (ProgramMethod)method; in visitCodeAttribute0() local 130 programMethod, in visitCodeAttribute0() 138 programMethod, in visitCodeAttribute0() 155 programMethod, in visitCodeAttribute0() 196 new ClassPrinter().visitProgramMethod(programClass, programMethod); in visitCodeAttribute0() 208 …new AttributesEditor(programClass, programMethod, codeAttribute, true).deleteAttribute(stackMapAtt… in visitCodeAttribute0() 239 …new AttributesEditor(programClass, programMethod, codeAttribute, true).addAttribute(stackMapAttrib… in visitCodeAttribute0() 243 …System.out.println("Preverifier ["+programClass.getName()+"."+programMethod.getName(programClass)+… in visitCodeAttribute0() 244 … stackMapAttribute.accept(programClass, programMethod, codeAttribute, new ClassPrinter()); in visitCodeAttribute0() 261 ProgramMethod programMethod, in correspondingVerificationTypes() argument [all …]
|
/external/proguard/src/proguard/classfile/visitor/ |
D | MethodImplementationTraveler.java | 73 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 77 programMethod.accept(programClass, memberVisitor); in visitProgramMethod() 80 if (!isSpecial(programClass, programMethod)) in visitProgramMethod() 86 new NamedMethodVisitor(programMethod.getName(programClass), in visitProgramMethod() 87 … programMethod.getDescriptor(programClass), in visitProgramMethod()
|
D | MethodImplementationFilter.java | 54 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 56 if (programClass.mayHaveImplementations(programMethod)) in visitProgramMethod() 58 memberVisitor.visitProgramMethod(programClass, programMethod); in visitProgramMethod()
|
D | SimpleClassPrinter.java | 116 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 127 programMethod.getAccessFlags() : in visitProgramMethod() 129 programMethod.getName(programClass), in visitProgramMethod() 130 programMethod.getDescriptor(programClass))); in visitProgramMethod()
|
/external/proguard/src/proguard/ |
D | DescriptorKeepChecker.java | 108 public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) in visitProgramMethod() argument 111 referencingMember = programMethod; in visitProgramMethod() 118 Clazz[] referencedClasses = programMethod.referencedClasses; in visitProgramMethod() 125 if (ClassUtil.isInternalClassType(programMethod.getDescriptor(programClass))) in visitProgramMethod()
|