Home
last modified time | relevance | path

Searched refs:programField (Results 1 – 25 of 53) sorted by relevance

123

/external/proguard/src/proguard/classfile/editor/
DMemberAdder.java97 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
101 int accessFlags = programField.getAccessFlags(); in visitProgramField()
150 …ln("MemberAdder: copying field ["+programClass+"."+programField.getName(programClass)+" "+programF… in visitProgramField()
156 constantAdder.addConstant(programClass, programField.u2nameIndex), in visitProgramField()
157 … constantAdder.addConstant(programClass, programField.u2descriptorIndex), in visitProgramField()
159 programField.u2attributesCount > 0 ? in visitProgramField()
160 new Attribute[programField.u2attributesCount] : in visitProgramField()
162 programField.referencedClass); in visitProgramField()
165 newProgramField.setVisitorInfo(programField); in visitProgramField()
168 programField.attributesAccept(programClass, in visitProgramField()
/external/proguard/src/proguard/optimize/
DMemberDescriptorSpecializer.java71 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
73 Value parameterValue = StoringInvocationUnit.getFieldValue(programField); in visitProgramField()
77 if (programField.referencedClass != referencedClass) in visitProgramField()
81 …escriptorSpecializer: "+programClass.getName()+"."+programField.getName(programClass)+" "+programF… in visitProgramField()
82 … System.out.println(" "+programField.referencedClass.getName()+" -> "+referencedClass.getName()); in visitProgramField()
85 programField.referencedClass = referencedClass; in visitProgramField()
90 extraParameterMemberVisitor.visitProgramField(programClass, programField); in visitProgramField()
DWriteOnlyFieldFilter.java56 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
59 if (ReadWriteFieldMarker.isWritten(programField) && in visitProgramField()
60 !ReadWriteFieldMarker.isRead(programField)) in visitProgramField()
62 writeOnlyFieldVisitor.visitProgramField(programClass, programField); in visitProgramField()
DKeptMemberFilter.java53 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
55 if (KeepMarker.isKept(programField)) in visitProgramField()
57 memberVisitor.visitProgramField(programClass, programField); in visitProgramField()
DConstantMemberFilter.java57 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
59 Value value = StoringInvocationUnit.getFieldValue(programField); in visitProgramField()
63 constantMemberVisitor.visitProgramField(programClass, programField); in visitProgramField()
DOptimizationInfoMemberFilter.java56 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
59 if (FieldOptimizationInfo.getFieldOptimizationInfo(programField) != null) in visitProgramField()
61 memberVisitor.visitProgramField(programClass, programField); in visitProgramField()
/external/proguard/src/proguard/optimize/peephole/
DMemberPrivatizer.java67 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
70 if (NonPrivateMemberMarker.canBeMadePrivate(programField)) in visitProgramField()
73 programField.u2accessFlags = in visitProgramField()
74 AccessUtil.replaceAccessFlags(programField.u2accessFlags, in visitProgramField()
80 extraMemberVisitor.visitProgramField(programClass, programField); in visitProgramField()
/external/proguard/src/proguard/shrink/
DUsageMarker.java193 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
196 if (isPossiblyUsed(programField)) in visitProgramField()
198 markAsUsed(programField); in visitProgramField()
201 markConstant(programClass, programField.u2nameIndex); in visitProgramField()
202 markConstant(programClass, programField.u2descriptorIndex); in visitProgramField()
205 programField.attributesAccept(programClass, UsageMarker.this); in visitProgramField()
208 programField.referencedClassesAccept(UsageMarker.this); in visitProgramField()
254 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
256 if (shouldBeMarkedAsUsed(programField)) in visitProgramField()
261 markAsUsed(programField); in visitProgramField()
[all …]
DUsagePrinter.java120 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
122 if (usageMarker.isUsed(programField) ^ printUnusedItems) in visitProgramField()
128 programField.getAccessFlags(), in visitProgramField()
129 programField.getName(programClass), in visitProgramField()
130 programField.getDescriptor(programClass))); in visitProgramField()
DShortestUsageMarker.java66 protected void markProgramFieldBody(ProgramClass programClass, ProgramField programField) in markProgramFieldBody() argument
70 currentUsageMark = new ShortestUsageMark(getShortestUsageMark(programField), in markProgramFieldBody()
74 programField); in markProgramFieldBody()
76 super.markProgramFieldBody(programClass, programField); in markProgramFieldBody()
233 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
235 checkCause(programField); in visitProgramField()
DUsedMemberFilter.java59 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
61 if (usageMarker.isUsed(programField)) in visitProgramField()
63 memberVisitor.visitProgramField(programClass, programField); in visitProgramField()
DShortestUsagePrinter.java115 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
118 String name = programField.getName(programClass); in visitProgramField()
119 String type = programField.getDescriptor(programClass); in visitProgramField()
127 printReason(programField); in visitProgramField()
/external/proguard/src/proguard/optimize/info/
DMemberOptimizationInfoSetter.java41 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
43 if (!KeepMarker.isKept(programField)) in visitProgramField()
46 programField); in visitProgramField()
DReadWriteFieldMarker.java111 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
116 markAsRead(programField); in visitProgramField()
122 markAsWritten(programField); in visitProgramField()
/external/proguard/src/proguard/classfile/visitor/
DSimpleClassPrinter.java99 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
109 programField.getAccessFlags() : in visitProgramField()
111 programField.getName(programClass), in visitProgramField()
112 programField.getDescriptor(programClass))); in visitProgramField()
DMemberNameFilter.java72 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
74 if (accepted(programField.getName(programClass))) in visitProgramField()
76 memberVisitor.visitProgramField(programClass, programField); in visitProgramField()
DMemberAccessFilter.java77 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
79 if (accepted(programField.getAccessFlags())) in visitProgramField()
81 memberVisitor.visitProgramField(programClass, programField); in visitProgramField()
DMemberDescriptorFilter.java71 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
73 if (accepted(programField.getDescriptor(programClass))) in visitProgramField()
75 memberVisitor.visitProgramField(programClass, programField); in visitProgramField()
DMemberClassAccessFilter.java56 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
58 if (accepted(programClass, programField.getAccessFlags())) in visitProgramField()
60 memberVisitor.visitProgramField(programClass, programField); in visitProgramField()
DSimilarMemberVisitor.java79 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
85 new NamedFieldVisitor(programField.getName(programClass), in visitProgramField()
86 programField.getDescriptor(programClass), in visitProgramField()
DProgramMemberFilter.java51 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
53 memberVisitor.visitProgramField(programClass, programField); in visitProgramField()
/external/proguard/src/proguard/obfuscate/
DMappingPrinter.java88 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
90 String newName = MemberObfuscator.newMemberName(programField); in visitProgramField()
96 programField.getName(programClass), in visitProgramField()
97 programField.getDescriptor(programClass)) + in visitProgramField()
DMemberSpecialNameFilter.java55 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
57 if (hasSpecialName(programField)) in visitProgramField()
59 memberVisitor.visitProgramField(programClass, programField); in visitProgramField()
DMemberNameFilter.java54 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
56 if (hasName(programField)) in visitProgramField()
58 memberVisitor.visitProgramField(programClass, programField); in visitProgramField()
/external/proguard/src/proguard/optimize/evaluation/
DSimpleEnumDescriptorSimplifier.java161 public void visitProgramField(ProgramClass programClass, ProgramField programField) in visitProgramField() argument
164 String descriptor = programField.getDescriptor(programClass); in visitProgramField()
165 String newDescriptor = simplifyDescriptor(descriptor, programField.referencedClass); in visitProgramField()
169 String name = programField.getName(programClass); in visitProgramField()
181 programField.u2nameIndex = in visitProgramField()
185 programField.u2descriptorIndex = in visitProgramField()
189 programField.referencedClass = null; in visitProgramField()
193 FieldOptimizationInfo.getFieldOptimizationInfo(programField); in visitProgramField()
196 fieldOptimizationInfo.resetValue(programClass, programField); in visitProgramField()
200 programField.attributesAccept(programClass, this); in visitProgramField()

123