OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:instructionvisitor
(Results
1 - 25
of
76
) sorted by null
1
2
3
4
/external/proguard/src/proguard/classfile/instruction/visitor/
AllInstructionVisitor.java
29
* This AttributeVisitor lets a given
InstructionVisitor
visit all Instruction
38
private final
InstructionVisitor
instructionVisitor
;
41
public AllInstructionVisitor(
InstructionVisitor
instructionVisitor
)
43
this.
instructionVisitor
=
instructionVisitor
;
54
codeAttribute.instructionsAccept(clazz, method,
instructionVisitor
);
MultiInstructionVisitor.java
29
* This
InstructionVisitor
delegates all visits to each
InstructionVisitor
34
public class MultiInstructionVisitor implements
InstructionVisitor
39
private
InstructionVisitor
[] instructionVisitors;
48
public MultiInstructionVisitor(
InstructionVisitor
[] instructionVisitors)
55
public void addInstructionVisitor(
InstructionVisitor
instructionVisitor
)
59
instructionVisitors[instructionVisitorCount++] =
instructionVisitor
;
67
instructionVisitors = new
InstructionVisitor
[ARRAY_SIZE_INCREMENT];
71
InstructionVisitor
[] newInstructionVisitors
[
all
...]
InstructionCounter.java
29
* This
InstructionVisitor
counts the number of instructions that has been visited.
35
implements
InstructionVisitor
49
// Implementations for
InstructionVisitor
.
InstructionConstantVisitor.java
28
import proguard.classfile.instruction.visitor.
InstructionVisitor
;
39
implements
InstructionVisitor
55
// Implementations for
InstructionVisitor
.
/external/proguard/src/proguard/optimize/peephole/
PeepholeOptimizer.java
27
import proguard.classfile.instruction.visitor.
InstructionVisitor
;
43
private final
InstructionVisitor
instructionVisitor
;
50
* @param
instructionVisitor
the instruction visitor that performs
55
InstructionVisitor
instructionVisitor
)
57
this(null, codeAttributeEditor,
instructionVisitor
);
67
* @param
instructionVisitor
the instruction visitor that performs
73
InstructionVisitor
instructionVisitor
)
[
all
...]
NopRemover.java
27
import proguard.classfile.instruction.visitor.
InstructionVisitor
;
31
* This
InstructionVisitor
removes all nop instructions that it encounters.
37
implements
InstructionVisitor
40
private final
InstructionVisitor
extraInstructionVisitor;
62
InstructionVisitor
extraInstructionVisitor)
69
// Implementations for
InstructionVisitor
.
GotoGotoReplacer.java
27
import proguard.classfile.instruction.visitor.
InstructionVisitor
;
31
* This
InstructionVisitor
simplifies unconditional branches to other
38
implements
InstructionVisitor
41
private final
InstructionVisitor
extraInstructionVisitor;
63
InstructionVisitor
extraInstructionVisitor)
70
// Implementations for
InstructionVisitor
.
GotoReturnReplacer.java
27
import proguard.classfile.instruction.visitor.
InstructionVisitor
;
31
* This
InstructionVisitor
replaces unconditional branches to return instructions
38
implements
InstructionVisitor
41
private final
InstructionVisitor
extraInstructionVisitor;
63
InstructionVisitor
extraInstructionVisitor)
70
// Implementations for
InstructionVisitor
.
InstructionSequencesReplacer.java
29
* This
InstructionVisitor
replaces multiple instruction sequences at once.
36
implements
InstructionVisitor
89
InstructionVisitor
extraInstructionVisitor)
115
private static
InstructionVisitor
[] createInstructionSequenceReplacers(Constant[] patternConstants,
119
InstructionVisitor
extraInstructionVisitor)
121
InstructionVisitor
[] instructionSequenceReplacers =
UnreachableCodeRemover.java
28
import proguard.classfile.instruction.visitor.
InstructionVisitor
;
32
* This
InstructionVisitor
deletes blocks of code that can never be reached by
40
InstructionVisitor
48
private final
InstructionVisitor
extraInstructionVisitor;
68
public UnreachableCodeRemover(
InstructionVisitor
extraInstructionVisitor)
121
// Implementations for
InstructionVisitor
.
/external/proguard/src/proguard/classfile/editor/
InstructionAdder.java
25
import proguard.classfile.instruction.visitor.
InstructionVisitor
;
30
* This
InstructionVisitor
adds all instructions that it visits to the given
37
implements
InstructionVisitor
55
// Implementations for
InstructionVisitor
.
/external/proguard/src/proguard/classfile/attribute/
CodeAttribute.java
26
import proguard.classfile.instruction.visitor.
InstructionVisitor
;
108
public void instructionsAccept(Clazz clazz, Method method,
InstructionVisitor
instructionVisitor
)
110
instructionsAccept(clazz, method, 0, u4codeLength,
instructionVisitor
);
118
public void instructionAccept(Clazz clazz, Method method, int offset,
InstructionVisitor
instructionVisitor
)
121
instruction.accept(clazz, method, this, offset,
instructionVisitor
);
129
public void instructionsAccept(Clazz clazz, Method method, int startOffset, int endOffset,
InstructionVisitor
instructionVisitor
)
138
instruction.accept(clazz, method, this, offset,
instructionVisitor
);
[
all
...]
/external/proguard/src/proguard/classfile/visitor/
DotClassClassVisitor.java
28
import proguard.classfile.instruction.visitor.
InstructionVisitor
;
33
* This
InstructionVisitor
lets a given <code>ClassVisitor</code> visit all
43
implements
InstructionVisitor
,
60
// Implementations for
InstructionVisitor
.
/external/proguard/src/proguard/optimize/info/
BackwardBranchMarker.java
26
import proguard.classfile.instruction.visitor.
InstructionVisitor
;
30
* This
InstructionVisitor
marks all methods that branch backward in any of the
37
implements
InstructionVisitor
39
// Implementations for
InstructionVisitor
.
DotClassMarker.java
28
import proguard.classfile.instruction.visitor.
InstructionVisitor
;
33
* This
InstructionVisitor
marks all classes that are used in a .class
40
implements
InstructionVisitor
,
44
// Implementations for
InstructionVisitor
.
InstanceofClassMarker.java
28
import proguard.classfile.instruction.visitor.
InstructionVisitor
;
33
* This
InstructionVisitor
marks all classes that are used in an 'instanceof'
40
implements
InstructionVisitor
,
44
// Implementations for
InstructionVisitor
.
InstantiationClassMarker.java
28
import proguard.classfile.instruction.visitor.
InstructionVisitor
;
33
* This
InstructionVisitor
marks all classes that are instantiated by any of
40
implements
InstructionVisitor
,
44
// Implementations for
InstructionVisitor
.
MethodInvocationMarker.java
28
import proguard.classfile.instruction.visitor.
InstructionVisitor
;
33
* This
InstructionVisitor
counts the number of times methods are invoked from
40
implements
InstructionVisitor
,
44
// Implementations for
InstructionVisitor
.
SuperInvocationMarker.java
28
import proguard.classfile.instruction.visitor.
InstructionVisitor
;
32
* This
InstructionVisitor
marks all methods that invoke super methods (other
39
implements
InstructionVisitor
,
45
// Implementations for
InstructionVisitor
.
VariableUsageMarker.java
27
import proguard.classfile.instruction.visitor.
InstructionVisitor
;
41
InstructionVisitor
80
// Implementations for
InstructionVisitor
.
ReadWriteFieldMarker.java
28
import proguard.classfile.instruction.visitor.
InstructionVisitor
;
33
* This
InstructionVisitor
marks all fields that are write-only.
39
implements
InstructionVisitor
,
48
// Implementations for
InstructionVisitor
.
/external/proguard/src/proguard/optimize/
DuplicateInitializerInvocationFixer.java
30
import proguard.classfile.instruction.visitor.
InstructionVisitor
;
41
InstructionVisitor
,
47
private final
InstructionVisitor
extraAddedInstructionVisitor;
69
public DuplicateInitializerInvocationFixer(
InstructionVisitor
extraAddedInstructionVisitor)
96
// Implementations for
InstructionVisitor
.
/external/proguard/src/proguard/classfile/instruction/
BranchInstruction.java
25
import proguard.classfile.instruction.visitor.
InstructionVisitor
;
138
public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset,
InstructionVisitor
instructionVisitor
)
140
instructionVisitor
.visitBranchInstruction(clazz, method, codeAttribute, offset, this);
LookUpSwitchInstruction.java
25
import proguard.classfile.instruction.visitor.
InstructionVisitor
;
131
public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset,
InstructionVisitor
instructionVisitor
)
133
instructionVisitor
.visitLookUpSwitchInstruction(clazz, method, codeAttribute, offset, this);
TableSwitchInstruction.java
25
import proguard.classfile.instruction.visitor.
InstructionVisitor
;
135
public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset,
InstructionVisitor
instructionVisitor
)
137
instructionVisitor
.visitTableSwitchInstruction(clazz, method, codeAttribute, offset, this);
Completed in 338 milliseconds
1
2
3
4