OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:programMethod
(Results
1 - 15
of
15
) sorted by null
/external/proguard/src/proguard/classfile/visitor/
MethodImplementationTraveler.java
73
public void visitProgramMethod(ProgramClass programClass,
ProgramMethod
programMethod
)
77
programMethod
.accept(programClass, memberVisitor);
80
if (!isSpecial(programClass,
programMethod
))
86
new NamedMethodVisitor(
programMethod
.getName(programClass),
87
programMethod
.getDescriptor(programClass),
SimpleClassPrinter.java
116
public void visitProgramMethod(ProgramClass programClass,
ProgramMethod
programMethod
)
127
programMethod
.getAccessFlags() :
129
programMethod
.getName(programClass),
130
programMethod
.getDescriptor(programClass)));
/external/proguard/src/proguard/classfile/editor/
MemberAdder.java
156
public void visitProgramMethod(ProgramClass programClass,
ProgramMethod
programMethod
)
158
String name =
programMethod
.getName(programClass);
159
String descriptor =
programMethod
.getDescriptor(programClass);
160
int accessFlags =
programMethod
.getAccessFlags();
163
ProgramMethod
targetMethod = (
ProgramMethod
)targetClass.findMethod(name, descriptor);
172
System.out.println("MemberAdder: skipping abstract method ["+programClass.getName()+"."+
programMethod
.getName(programClass)+
programMethod
.getDescriptor(programClass)+"] into ["+targetClass.getName()+"]");
187
System.out.println("MemberAdder: updating method ["+programClass.getName()+"."+
programMethod
.getName(programClass)+programMethod.getDescriptor(programClass)+"] into ["+targetClass.getName()+" (…)
[
all
...]
ClassReferenceFixer.java
126
public void visitProgramMethod(ProgramClass programClass,
ProgramMethod
programMethod
)
129
String descriptor =
programMethod
.getDescriptor(programClass);
131
programMethod
.referencedClasses);
139
programMethod
.u2descriptorIndex =
145
String name =
programMethod
.getName(programClass);
147
programMethod
.u2nameIndex =
153
programMethod
.attributesAccept(programClass, this);
/external/proguard/src/proguard/optimize/info/
SideEffectMethodMarker.java
80
public void visitProgramMethod(ProgramClass programClass,
ProgramMethod
programMethod
)
82
if (!hasSideEffects(
programMethod
) &&
83
!NoSideEffectMethodMarker.hasNoSideEffects(
programMethod
))
87
(
programMethod
.getAccessFlags() &
95
programMethod
.attributesAccept(programClass, this);
101
markSideEffects(
programMethod
);
ParameterUsageMarker.java
80
public void visitProgramMethod(ProgramClass programClass,
ProgramMethod
programMethod
)
83
ClassUtil.internalMethodParameterSize(
programMethod
.getDescriptor(programClass),
84
programMethod
.getAccessFlags());
88
int accessFlags =
programMethod
.getAccessFlags();
95
markParameterUsed(
programMethod
, 0);
102
markUsedParameters(
programMethod
,
111
markUsedParameters(
programMethod
, -1L);
118
markParameterUsed(
programMethod
, 0);
128
programClass.mayHaveImplementations(
programMethod
) ||
[
all
...]
/external/proguard/src/proguard/optimize/
DuplicateInitializerFixer.java
77
public void visitProgramMethod(ProgramClass programClass,
ProgramMethod
programMethod
)
80
String name =
programMethod
.getName(programClass);
84
String descriptor =
programMethod
.getDescriptor(programClass);
86
if (!
programMethod
.equals(similarMethod))
89
if (!KeepMarker.isKept(
programMethod
))
92
programMethod
= (
ProgramMethod
)similarMethod;
115
programMethod
.u2descriptorIndex =
121
programMethod
.attributesAccept(programClass
[
all
...]
MethodDescriptorShrinker.java
75
public void visitProgramMethod(ProgramClass programClass,
ProgramMethod
programMethod
)
78
String descriptor =
programMethod
.getDescriptor(programClass);
79
String newDescriptor = shrinkDescriptor(
programMethod
, descriptor);
84
programMethod
.attributesAccept(programClass, this);
86
String name =
programMethod
.getName(programClass);
111
programMethod
.u2nameIndex =
116
programMethod
.referencedClasses =
117
shrinkReferencedClasses(
programMethod
,
119
programMethod
.referencedClasses)
[
all
...]
/external/proguard/src/proguard/preverify/
CodePreverifier.java
103
ProgramMethod
programMethod
= (
ProgramMethod
)method;
121
programMethod
,
129
programMethod
,
146
programMethod
,
187
new ClassPrinter().visitProgramMethod(programClass,
programMethod
);
199
new AttributesEditor(programClass,
programMethod
, codeAttribute, true).deleteAttribute(stackMapAttributeName);
230
new AttributesEditor(programClass,
programMethod
, codeAttribute, true).addAttribute(stackMapAttribute);
234
System.out.println("Preverifier ["+programClass.getName()+"."+
programMethod
.getName(programClass)+"]:")
[
all
...]
/external/proguard/src/proguard/shrink/
UsageMarker.java
216
public void visitProgramMethod(ProgramClass programClass,
ProgramMethod
programMethod
)
219
if (isPossiblyUsed(
programMethod
))
221
markAsUsed(
programMethod
);
224
markProgramMethodBody(programClass,
programMethod
);
259
public void visitProgramMethod(ProgramClass programClass,
ProgramMethod
programMethod
)
261
if (shouldBeMarkedAsUsed(
programMethod
))
266
markAsUsed(
programMethod
);
269
markProgramMethodBody(programClass,
programMethod
);
[
all
...]
/external/proguard/src/proguard/optimize/peephole/
MethodInliner.java
74
private
ProgramMethod
targetMethod;
148
targetMethod = (
ProgramMethod
)method;
453
public void visitProgramMethod(ProgramClass programClass,
ProgramMethod
programMethod
)
455
int accessFlags =
programMethod
.getAccessFlags();
470
// (!
programMethod
.getName(programClass).equals(ClassConstants.INTERNAL_METHOD_NAME_INIT) ||
473
!
programMethod
.getName(programClass).equals(ClassConstants.INTERNAL_METHOD_NAME_INIT) &&
476
(!
programMethod
.equals(targetMethod) ||
480
!inliningMethods.contains(
programMethod
) &&
489
(!SuperInvocationMarker.invokesSuperMethods(
programMethod
) ||
[
all
...]
TargetClassChanger.java
135
public void visitProgramMethod(ProgramClass programClass,
ProgramMethod
programMethod
)
138
updateReferencedClasses(
programMethod
.referencedClasses);
141
programMethod
.attributesAccept(programClass, this);
/external/proguard/src/proguard/classfile/util/
ClassReferenceInitializer.java
129
public void visitProgramMethod(ProgramClass programClass,
ProgramMethod
programMethod
)
131
programMethod
.referencedClasses =
133
programMethod
.getDescriptor(programClass));
136
programMethod
.attributesAccept(programClass, this);
/external/proguard/src/proguard/classfile/io/
ProgramClassReader.java
137
programClass.methods = new
ProgramMethod
[programClass.u2methodsCount];
140
ProgramMethod
programMethod
= new
ProgramMethod
();
141
this.visitProgramMethod(programClass,
programMethod
);
142
programClass.methods[index] =
programMethod
;
185
public void visitProgramMethod(ProgramClass programClass,
ProgramMethod
programMethod
)
188
programMethod
.u2accessFlags = dataInput.readUnsignedShort();
189
programMethod
.u2nameIndex = dataInput.readUnsignedShort()
[
all
...]
ProgramClassWriter.java
135
public void visitProgramMethod(ProgramClass programClass,
ProgramMethod
programMethod
)
138
dataOutput.writeShort(
programMethod
.u2accessFlags);
139
dataOutput.writeShort(
programMethod
.u2nameIndex);
140
dataOutput.writeShort(
programMethod
.u2descriptorIndex);
143
dataOutput.writeShort(
programMethod
.u2attributesCount);
145
programMethod
.attributesAccept(programClass, this);
Completed in 3967 milliseconds