Home | History | Annotate | Download | only in evaluation

Lines Matching full:clazz

86     public void visitAnyAttribute(Clazz clazz, Attribute attribute) {}
89 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
92 // clazz.getName().equals("abc/Def") &&
93 // method.getName(clazz).equals("abc");
100 visitCodeAttribute0(clazz, method, codeAttribute);
105 System.err.println(" Class = ["+clazz.getName()+"]");
106 System.err.println(" Method = ["+method.getName(clazz)+method.getDescriptor(clazz)+"]");
112 method.accept(clazz, new ClassPrinter());
120 public void visitCodeAttribute0(Clazz clazz, Method method, CodeAttribute codeAttribute)
125 System.out.println("Class "+ClassUtil.externalClassName(clazz.getName()));
126 System.out.println("Method "+ClassUtil.externalFullMethodDescription(clazz.getName(),
128 method.getName(clazz),
129 method.getDescriptor(clazz)));
133 partialEvaluator.visitCodeAttribute(clazz, method, codeAttribute);
148 instruction.accept(clazz, method, codeAttribute, offset, this);
153 codeAttributeEditor.visitCodeAttribute(clazz, method, codeAttribute);
159 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction)
185 replaceIntegerPushInstruction(clazz, offset, simpleInstruction);
204 replaceLongPushInstruction(clazz, offset, simpleInstruction);
217 replaceFloatPushInstruction(clazz, offset, simpleInstruction);
230 replaceDoublePushInstruction(clazz, offset, simpleInstruction);
234 replaceReferencePushInstruction(clazz, offset, simpleInstruction);
240 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction)
251 replaceIntegerPushInstruction(clazz, offset, variableInstruction, variableIndex);
259 replaceLongPushInstruction(clazz, offset, variableInstruction, variableIndex);
267 replaceFloatPushInstruction(clazz, offset, variableInstruction, variableIndex);
275 replaceDoublePushInstruction(clazz, offset, variableInstruction, variableIndex);
283 replaceReferencePushInstruction(clazz, offset, variableInstruction);
291 deleteReferencePopInstruction(clazz, offset, variableInstruction);
295 replaceBranchInstruction(clazz, offset, variableInstruction);
301 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
307 replaceAnyPushInstruction(clazz, offset, constantInstruction);
314 if (constantInstruction.stackPushCount(clazz) > 0 &&
315 !sideEffectInstructionChecker.hasSideEffects(clazz,
321 replaceAnyPushInstruction(clazz, offset, constantInstruction);
327 replaceReferencePushInstruction(clazz, offset, constantInstruction);
333 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
344 replaceJsrInstruction(clazz, offset, branchInstruction);
348 replaceBranchInstruction(clazz, offset, branchInstruction);
354 public void visitAnySwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SwitchInstruction switchInstruction)
357 replaceBranchInstruction(clazz, offset, switchInstruction);
362 replaceSwitchInstruction(clazz, offset, switchInstruction);
373 private void replaceAnyPushInstruction(Clazz clazz,
383 replaceIntegerPushInstruction(clazz, offset, instruction);
386 replaceLongPushInstruction(clazz, offset, instruction);
389 replaceFloatPushInstruction(clazz, offset, instruction);
392 replaceDoublePushInstruction(clazz, offset, instruction);
395 replaceReferencePushInstruction(clazz, offset, instruction);
406 private void replaceIntegerPushInstruction(Clazz clazz,
410 replaceIntegerPushInstruction(clazz,
421 private void replaceIntegerPushInstruction(Clazz clazz,
432 replaceConstantPushInstruction(clazz,
441 new ConstantPoolEditor((ProgramClass)clazz);
447 replaceInstruction(clazz, offset, instruction, replacementInstruction);
457 replaceVariablePushInstruction(clazz,
472 private void replaceLongPushInstruction(Clazz clazz,
476 replaceLongPushInstruction(clazz,
487 private void replaceLongPushInstruction(Clazz clazz,
499 replaceConstantPushInstruction(clazz,
508 new ConstantPoolEditor((ProgramClass)clazz);
514 replaceInstruction(clazz, offset, instruction, replacementInstruction);
524 replaceVariablePushInstruction(clazz,
539 private void replaceFloatPushInstruction(Clazz clazz,
543 replaceFloatPushInstruction(clazz,
554 private void replaceFloatPushInstruction(Clazz clazz,
567 replaceConstantPushInstruction(clazz,
576 new ConstantPoolEditor((ProgramClass)clazz);
582 replaceInstruction(clazz, offset, instruction, replacementInstruction);
592 replaceVariablePushInstruction(clazz,
607 private void replaceDoublePushInstruction(Clazz clazz,
611 replaceDoublePushInstruction(clazz,
622 private void replaceDoublePushInstruction(Clazz clazz,
634 replaceConstantPushInstruction(clazz,
643 new ConstantPoolEditor((ProgramClass)clazz);
649 replaceInstruction(clazz, offset, instruction, replacementInstruction);
659 replaceVariablePushInstruction(clazz,
674 private void replaceReferencePushInstruction(Clazz clazz,
682 replaceConstantPushInstruction(clazz,
695 private void replaceConstantPushInstruction(Clazz clazz,
704 replaceInstruction(clazz, offset, instruction, replacementInstruction);
712 private void replaceVariablePushInstruction(Clazz clazz,
721 replaceInstruction(clazz, offset, instruction, replacementInstruction);
730 private void replaceJsrInstruction(Clazz clazz,
741 replaceBranchInstruction(clazz, offset, branchInstruction);
747 replaceByInfiniteLoop(clazz, offset + branchInstruction.length(offset), branchInstruction);
757 private void deleteReferencePopInstruction(Clazz clazz,
777 private void replaceBranchInstruction(Clazz clazz,
800 replaceInstruction(clazz, offset, instruction, replacementInstruction);
809 private void replaceSwitchInstruction(Clazz clazz,
849 replaceInstruction(clazz, offset, switchInstruction, replacementInstruction);
857 private void replaceByInfiniteLoop(Clazz clazz,
874 instruction.accept(clazz, null, null, offset, extraInstructionVisitor);
882 private void replaceInstruction(Clazz clazz,
889 instruction.stackPopCount(clazz) -
890 replacementInstruction.stackPopCount(clazz);
903 instruction.accept(clazz, null, null, offset, extraInstructionVisitor);