Home
last modified time | relevance | path

Searched refs:usageMarker (Results 1 – 11 of 11) sorted by relevance

/external/proguard/src/proguard/shrink/
DShrinker.java66 UsageMarker usageMarker = configuration.whyAreYouKeeping == null ? in execute() local
75 usageMarker, in execute()
78 usageMarker) in execute()
84 usageMarker, in execute()
91 libraryClassPool.classesAccept(usageMarker); in execute()
94 programClassPool.classesAccept(new InterfaceUsageMarker(usageMarker)); in execute()
98 new UsedClassFilter(usageMarker, in execute()
102 new InnerUsageMarker(usageMarker), in execute()
103 new AnnotationUsageMarker(usageMarker), in execute()
104 new LocalVariableTypeUsageMarker(usageMarker) in execute()
[all …]
DInterfaceUsageMarker.java43 private final UsageMarker usageMarker; field in InterfaceUsageMarker
55 public InterfaceUsageMarker(UsageMarker usageMarker) in InterfaceUsageMarker() argument
57 this.usageMarker = usageMarker; in InterfaceUsageMarker()
65 boolean classUsed = usageMarker.isUsed(programClass); in visitProgramClass()
66 boolean classPossiblyUsed = usageMarker.isPossiblyUsed(programClass); in visitProgramClass()
87 usageMarker.markAsUsed(programClass); in visitProgramClass()
98 usageMarker.markAsUnused(programClass); in visitProgramClass()
120 boolean classUsed = usageMarker.isUsed(classConstant); in visitClassConstant()
133 usageMarker.markAsUsed(classConstant); in visitClassConstant()
147 if (!usageMarker.isUsed(utf8Constant)) in visitUtf8Constant()
[all …]
DAnnotationUsageMarker.java50 private final UsageMarker usageMarker; field in AnnotationUsageMarker
64 public AnnotationUsageMarker(UsageMarker usageMarker) in AnnotationUsageMarker() argument
66 this.usageMarker = usageMarker; in AnnotationUsageMarker()
85 usageMarker.markAsUsed(annotationsAttribute); in visitAnyAnnotationsAttribute()
102 usageMarker.markAsUsed(parameterAnnotationsAttribute); in visitAnyParameterAnnotationsAttribute()
115 usageMarker.markAsUsed(annotationDefaultAttribute); in visitAnnotationDefaultAttribute()
128 usageMarker.markAsUsed(annotation); in visitAnnotation()
149 usageMarker.markAsUsed(constantElementValue); in visitConstantElementValue()
168 usageMarker.markAsUsed(enumConstantElementValue); in visitEnumConstantElementValue()
183 usageMarker.markAsUsed(classElementValue); in visitClassElementValue()
[all …]
DInnerUsageMarker.java46 private final UsageMarker usageMarker; field in InnerUsageMarker
58 public InnerUsageMarker(UsageMarker usageMarker) in InnerUsageMarker() argument
60 this.usageMarker = usageMarker; in InnerUsageMarker()
79 usageMarker.markAsUsed(innerClassesAttribute); in visitInnerClassesAttribute()
90 boolean innerClassesInfoUsed = usageMarker.isUsed(innerClassesInfo); in visitInnerClassesInfo()
108 usageMarker.markAsUsed(innerClassesInfo); in visitInnerClassesInfo()
123 classUsed = usageMarker.isUsed(classConstant); in visitClassConstant()
136 usageMarker.markAsUsed(classConstant); in visitClassConstant()
146 usageMarker.markAsUsed(utf8Constant); in visitUtf8Constant()
154 classUsed = usageMarker.isUsed(programClass); in visitProgramClass()
DUsedMemberFilter.java37 private final UsageMarker usageMarker; field in UsedMemberFilter
48 public UsedMemberFilter(UsageMarker usageMarker, in UsedMemberFilter() argument
51 this.usageMarker = usageMarker; in UsedMemberFilter()
61 if (usageMarker.isUsed(programField)) in visitProgramField()
70 if (usageMarker.isUsed(programMethod)) in visitProgramMethod()
79 if (usageMarker.isUsed(libraryField)) in visitLibraryField()
88 if (usageMarker.isUsed(libraryMethod)) in visitLibraryMethod()
DLocalVariableTypeUsageMarker.java48 private final UsageMarker usageMarker; field in LocalVariableTypeUsageMarker
60 public LocalVariableTypeUsageMarker(UsageMarker usageMarker) in LocalVariableTypeUsageMarker() argument
62 this.usageMarker = usageMarker; in LocalVariableTypeUsageMarker()
80 usageMarker.markAsUsed(localVariableTableAttribute); in visitLocalVariableTableAttribute()
96 usageMarker.markAsUsed(localVariableTypeTableAttribute); in visitLocalVariableTypeTableAttribute()
114 usageMarker.markAsUsed(localVariableInfo); in visitLocalVariableInfo()
135 usageMarker.markAsUsed(localVariableTypeInfo); in visitLocalVariableTypeInfo()
153 if (!usageMarker.isUsed(programClass)) in visitProgramClass()
164 usageMarker.markAsUsed(constant); in visitAnyConstant()
DUsagePrinter.java46 private final UsageMarker usageMarker; field in UsagePrinter
62 public UsagePrinter(UsageMarker usageMarker, in UsagePrinter() argument
65 this(usageMarker, printUnusedItems, System.out); in UsagePrinter()
78 public UsagePrinter(UsageMarker usageMarker, in UsagePrinter() argument
82 this.usageMarker = usageMarker; in UsagePrinter()
92 if (usageMarker.isUsed(programClass)) in visitProgramClass()
122 if (usageMarker.isUsed(programField) ^ printUnusedItems) in visitProgramField()
137 if (usageMarker.isUsed(programMethod) ^ printUnusedItems) in visitProgramMethod()
DUsedClassFilter.java37 private final UsageMarker usageMarker; field in UsedClassFilter
48 public UsedClassFilter(UsageMarker usageMarker, in UsedClassFilter() argument
51 this.usageMarker = usageMarker; in UsedClassFilter()
60 if (usageMarker.isUsed(programClass)) in visitProgramClass()
69 if (usageMarker.isUsed(libraryClass)) in visitLibraryClass()
DSignatureUsageMarker.java46 private final UsageMarker usageMarker; field in SignatureUsageMarker
57 public SignatureUsageMarker(UsageMarker usageMarker) in SignatureUsageMarker() argument
59 this.usageMarker = usageMarker; in SignatureUsageMarker()
77 usageMarker.markAsUsed(signatureAttribute); in visitSignatureAttribute()
96 if (usageMarker.isUsed(programClass)) in visitProgramClass()
107 usageMarker.markAsUsed(constant); in visitAnyConstant()
DClassShrinker.java51 private final UsageMarker usageMarker; field in ClassShrinker
64 public ClassShrinker(UsageMarker usageMarker) in ClassShrinker() argument
66 this.usageMarker = usageMarker; in ClassShrinker()
194 !usageMarker.isUsed(enclosingMethodAttribute.referencedMethod)) in visitEnclosingMethodAttribute()
311 !usageMarker.isUsed(referencedClass)) in visitSignatureAttribute()
384 isUsed = usageMarker.isUsed(constant); in shrinkConstantPool()
421 if (!usageMarker.isUsed(constantPool[array[index]])) in shrinkFlags()
443 if (usageMarker.isUsed(constantPool[array[index]])) in shrinkConstantIndexArray()
510 if (usageMarker.isUsed(bootstrapMethod)) in shrinkBootstrapMethodArray()
546 if (usageMarker.isUsed(visitorAccepter)) in shrinkArray()
/external/proguard/lib/
Dproguard.jarMETA-INF/ META-INF/MANIFEST.MF proguard/optimize/WriteOnlyFieldFilter.class WriteOnlyFieldFilter ...