Uses of Class
edu.rice.cs.cunit.classFile.MethodInfo

Packages that use MethodInfo
edu.rice.cs.cunit.classFile   
edu.rice.cs.cunit.instrumentors   
edu.rice.cs.cunit.instrumentors.delay   
edu.rice.cs.cunit.instrumentors.record   
edu.rice.cs.cunit.instrumentors.threadCheck   
edu.rice.cs.cunit.instrumentors.util   
 

Uses of MethodInfo in edu.rice.cs.cunit.classFile
 

Fields in edu.rice.cs.cunit.classFile with type parameters of type MethodInfo
private  java.util.ArrayList<MethodInfo> ClassFile._methods
          Methods in the class.
 

Methods in edu.rice.cs.cunit.classFile that return types with arguments of type MethodInfo
 java.util.ArrayList<MethodInfo> ClassFile.getMethods()
          Accessor for the methods list.
 

Uses of MethodInfo in edu.rice.cs.cunit.instrumentors
 

Fields in edu.rice.cs.cunit.instrumentors with type parameters of type MethodInfo
protected  java.util.ArrayList<MethodInfo> SynchronizedMethodToBlockStrategy._newMethods
          Methods to add.
 

Methods in edu.rice.cs.cunit.instrumentors with parameters of type MethodInfo
protected  void SynchronizedMethodToBlockStrategy.instrumentSynchronizedMethod(ClassFile cf, MethodInfo mi, byte[] loadLockCode, int reqdStackSize)
          Instrument a synchronized method's code blocks.
protected  void AssignThreadIDStrategy.processCtor(ClassFile cf, MethodInfo mi, int threadID, int nextThreadID, int oldThread)
          Process this constructor.
 

Uses of MethodInfo in edu.rice.cs.cunit.instrumentors.delay
 

Methods in edu.rice.cs.cunit.instrumentors.delay with parameters of type MethodInfo
 boolean CallOnObjectNotifyStrategy.insertEndOfMethod(ClassFile cf, MethodInfo mi, InstructionList il, boolean insertBefore, boolean insertAfter)
          Insert instructions at the end of the method.
 boolean CallOnObjectWaitStrategy.insertEndOfMethod(ClassFile cf, MethodInfo mi, InstructionList il, boolean insertBefore, boolean insertAfter)
          Insert instructions at the end of the method.
 boolean CallOnSynchronizedBlockStrategy.insertEndOfMethod(ClassFile cf, MethodInfo mi, InstructionList il, boolean insertBefore, boolean insertAfter)
          Insert instructions at the end of the method.
 boolean CallOnThreadExitStrategy.insertEndOfMethod(ClassFile cf, MethodInfo mi, InstructionList il, boolean insertBefore, boolean insertAfter)
          Insert instructions at the end of the method.
 boolean CallOnThreadJoinStrategy.insertEndOfMethod(ClassFile cf, MethodInfo mi, InstructionList il, boolean insertBefore, boolean insertAfter)
          Insert instructions at the end of the method.
 boolean CallOnThreadRunStrategy.insertEndOfMethod(ClassFile cf, MethodInfo mi, InstructionList il, boolean insertBefore, boolean insertAfter)
          Insert instructions at the end of the method.
 boolean CallOnThreadStartStrategy.insertEndOfMethod(ClassFile cf, MethodInfo mi, InstructionList il, boolean insertBefore, boolean insertAfter)
          Insert instructions at the end of the method.
 void CallOnObjectNotifyStrategy.insertInstructionsAfter(ClassFile cf, MethodInfo mi, InstructionList il)
          Add instructions to call SyncPointBuffer.randomDelay after calls to Object.notify and Object.notifyAll.
 void CallOnObjectWaitStrategy.insertInstructionsAfter(ClassFile cf, MethodInfo mi, InstructionList il)
          Add instructions to call SyncPointBuffer.randomDelay after calls to Object.wait.
 void CallOnSynchronizedBlockStrategy.insertInstructionsAfter(ClassFile cf, MethodInfo mi, InstructionList il)
          Add instructions to call SyncPointBuffer.randomDelay after a monitorenter.
 void CallOnThreadExitStrategy.insertInstructionsAfter(ClassFile cf, MethodInfo mi, InstructionList il)
          Insert instructions after.
 void CallOnThreadJoinStrategy.insertInstructionsAfter(ClassFile cf, MethodInfo mi, InstructionList il)
          Insert instructions after.
 void CallOnThreadRunStrategy.insertInstructionsAfter(ClassFile cf, MethodInfo mi, InstructionList il)
          Insert instructions after.
 void CallOnThreadStartStrategy.insertInstructionsAfter(ClassFile cf, MethodInfo mi, InstructionList il)
          Insert instructions after.
 void CallOnObjectNotifyStrategy.insertInstructionsBefore(ClassFile cf, MethodInfo mi, InstructionList il)
          Add instructions to call SyncPointBuffer.randomDelay before calls to Object.notify and Object.notifyAll.
 void CallOnObjectWaitStrategy.insertInstructionsBefore(ClassFile cf, MethodInfo mi, InstructionList il)
          Add instructions to call SyncPointBuffer.randomDelay before calls to Object.wait.
 void CallOnSynchronizedBlockStrategy.insertInstructionsBefore(ClassFile cf, MethodInfo mi, InstructionList il)
          Add instructions to call SyncPointBuffer.randomDelay before a monitorenter.
 void CallOnThreadExitStrategy.insertInstructionsBefore(ClassFile cf, MethodInfo mi, InstructionList il)
          Add instructions to call SyncPointBuffer.delayThreadExit.
 void CallOnThreadJoinStrategy.insertInstructionsBefore(ClassFile cf, MethodInfo mi, InstructionList il)
          Add instructions to call SyncPointBuffer.delayThreadExit.
 void CallOnThreadRunStrategy.insertInstructionsBefore(ClassFile cf, MethodInfo mi, InstructionList il)
          Add instructions to call SyncPointBuffer.delayThreadExit.
 void CallOnThreadStartStrategy.insertInstructionsBefore(ClassFile cf, MethodInfo mi, InstructionList il)
          Add instructions to call SyncPointBuffer.delayThreadStart.
 void CallOnObjectNotifyStrategy.modifyStackAndLocals(ClassFile cf, MethodInfo mi, InstructionList il, boolean insertBefore, boolean insertAfter, boolean insertEndOfMethod)
          Modify the stack size and number of local variables so that the added instructions can execute.
 void CallOnObjectWaitStrategy.modifyStackAndLocals(ClassFile cf, MethodInfo mi, InstructionList il, boolean insertBefore, boolean insertAfter, boolean insertEndOfMethod)
          Modify the stack size and number of local variables so that the added instructions can execute.
 void CallOnSynchronizedBlockStrategy.modifyStackAndLocals(ClassFile cf, MethodInfo mi, InstructionList il, boolean insertBefore, boolean insertAfter, boolean insertEndOfMethod)
          Modify the stack size and number of local variables so that the added instructions can execute.
 void CallOnThreadExitStrategy.modifyStackAndLocals(ClassFile cf, MethodInfo mi, InstructionList il, boolean insertBefore, boolean insertAfter, boolean insertEndOfMethod)
          Modify the stack size and number of local variables so that the added instructions can execute.
 void CallOnThreadJoinStrategy.modifyStackAndLocals(ClassFile cf, MethodInfo mi, InstructionList il, boolean insertBefore, boolean insertAfter, boolean insertEndOfMethod)
          Modify the stack size and number of local variables so that the added instructions can execute.
 void CallOnThreadRunStrategy.modifyStackAndLocals(ClassFile cf, MethodInfo mi, InstructionList il, boolean insertBefore, boolean insertAfter, boolean insertEndOfMethod)
          Modify the stack size and number of local variables so that the added instructions can execute.
 void CallOnThreadStartStrategy.modifyStackAndLocals(ClassFile cf, MethodInfo mi, InstructionList il, boolean insertBefore, boolean insertAfter, boolean insertEndOfMethod)
          Modify the stack size and number of local variables so that the added instructions can execute.
 

Uses of MethodInfo in edu.rice.cs.cunit.instrumentors.record
 

Methods in edu.rice.cs.cunit.instrumentors.record with parameters of type MethodInfo
 boolean CompactRecordBufferCodeStrategy.insertEndOfMethod(ClassFile cf, MethodInfo mi, InstructionList il, boolean insertBefore, boolean insertAfter)
          Insert instructions at the end of the method.
 boolean CompactRecordThreadExitStrategy.insertEndOfMethod(ClassFile cf, MethodInfo mi, InstructionList il, boolean insertBefore, boolean insertAfter)
          Insert instructions at the end of the method.
 void CompactRecordBufferCodeStrategy.insertInstructionsAfter(ClassFile cf, MethodInfo mi, InstructionList il)
          Insert instructions after.
 void CompactRecordBufferCodeStrategy.insertInstructionsBefore(ClassFile cf, MethodInfo mi, InstructionList il)
          Add instructions to call SyncPointBuffer.
 void CompactRecordBufferCodeStrategy.modifyStackAndLocals(ClassFile cf, MethodInfo mi, InstructionList il, boolean insertBefore, boolean insertAfter, boolean insertEndOfMethod)
          Modify the stack size and number of local variables so that the added instructions can execute.
 

Constructor parameters in edu.rice.cs.cunit.instrumentors.record with type arguments of type MethodInfo
CompactRecordBufferCodeStrategy(IPredicate<ClassFile> classPredicate, IPredicate.Binary<ClassFile,MethodInfo> methodPredicate, IPredicate.Ternary<ClassFile,MethodInfo,InstructionList> opcodePredicate, long code)
          Create a new strategy with the specified predicates.
CompactRecordBufferCodeStrategy(IPredicate<ClassFile> classPredicate, IPredicate.Binary<ClassFile,MethodInfo> methodPredicate, IPredicate.Ternary<ClassFile,MethodInfo,InstructionList> opcodePredicate, long code)
          Create a new strategy with the specified predicates.
 

Uses of MethodInfo in edu.rice.cs.cunit.instrumentors.threadCheck
 

Fields in edu.rice.cs.cunit.instrumentors.threadCheck declared as MethodInfo
 MethodInfo PredicateAnnotationRecord.predicateMI
          Name of the predicate method, or null if @PredicateLink was not specified.
 

Methods in edu.rice.cs.cunit.instrumentors.threadCheck with parameters of type MethodInfo
protected  void AAddThreadCheckStrategy.checkForSubtypingClassWarnings(ClassFile cf, MethodInfo mi, ClassFile scf, ThreadCheckAnnotationRecord classAR, ThreadCheckAnnotationRecord superClassAR)
          Check for subtyping warnings.
protected  ThreadCheckAnnotationRecord AAddThreadCheckStrategy.getMethodAnnotations(ClassFile cf, MethodInfo mi)
          Get the annotations for the specified method in the specified class file.
protected  void AAddThreadCheckStrategy.insertCtorCall(ClassFile cf, MethodInfo mi, InstructionList il, java.lang.String className, java.lang.String ctorSig, AInstruction loadValue)
          Inserts a constructor call to the class specified for the value placed on the top of the stack.
protected  int AddPredicateThreadCheckStrategy.insertPredicateCall(ClassFile cf, MethodInfo mi, InstructionList il, PredicateAnnotationRecord par)
          Insert a call to the predicate sp
private  int AddPredicateThreadCheckStrategy.loadAndTransferMemberValue(AAnnotationsAttributeInfo.Annotation.AMemberValue value, java.lang.String paramType, ClassFile cf, MethodInfo mi, InstructionList il)
          Transfer the annotation member value to the class file.
private  void AddPredicateThreadCheckStrategy.loadArguments(ClassFile cf, MethodInfo mi, InstructionList il)
           
protected  void AddPredicateThreadCheckStrategy.transferAnnotation(AAnnotationsAttributeInfo.Annotation a, ClassFile cf, MethodInfo mi)
          Transfer the annotation to the class file.
 

Constructors in edu.rice.cs.cunit.instrumentors.threadCheck with parameters of type MethodInfo
PredicateAnnotationRecord(AAnnotationsAttributeInfo.Annotation annotation, java.lang.String predicateClass, MethodInfo predicateMI, java.util.List<java.lang.String> paramNames, java.util.HashMap<java.lang.String,java.lang.String> paramTypes, java.util.ArrayList<AAnnotationsAttributeInfo.Annotation.AMemberValue> valueList, boolean passArguments, Combine.Mode combineMode, java.util.HashMap<java.lang.String,java.util.ArrayList<PredicateAnnotationRecord>> combinedPredicates)
           
 

Uses of MethodInfo in edu.rice.cs.cunit.instrumentors.util
 

Fields in edu.rice.cs.cunit.instrumentors.util with type parameters of type MethodInfo
protected  IPredicate.Ternary<ClassFile,MethodInfo,InstructionList> AInsertAtOpcodeStrategy._afterOpcodePredicate
          Predicate that decides if code should be inserted AFTER this opcode.
protected  IPredicate.Ternary<ClassFile,MethodInfo,InstructionList> AInsertAtOpcodeStrategy._beforeOpcodePredicate
          Predicate that decides if code should be inserted BEFORE this opcode.
protected  IPredicate.Binary<ClassFile,MethodInfo> AInsertAtOpcodeStrategy._methodPredicate
          Predicate that decides if this method should be instrumented.
protected static IPredicate.Ternary<ClassFile,MethodInfo,InstructionList> AInsertAtOpcodeStrategy.OPCODE_NEVER
          A predicate that always returns false, i.e.
 

Methods in edu.rice.cs.cunit.instrumentors.util with parameters of type MethodInfo
abstract  boolean AInsertAtOpcodeStrategy.insertEndOfMethod(ClassFile cf, MethodInfo mi, InstructionList il, boolean insertBefore, boolean insertAfter)
          Insert instructions at the end of the method.
abstract  void AInsertAtOpcodeStrategy.insertInstructionsAfter(ClassFile cf, MethodInfo mi, InstructionList il)
          Insert instructions after and advance past the instruction.
abstract  void AInsertAtOpcodeStrategy.insertInstructionsBefore(ClassFile cf, MethodInfo mi, InstructionList il)
          Insert instructions before.
abstract  void AInsertAtOpcodeStrategy.modifyStackAndLocals(ClassFile cf, MethodInfo mi, InstructionList il, boolean insertBefore, boolean insertAfter, boolean insertEndOfMethod)
          Modify the stack size and number of local variables so that the added instructions can execute.
 

Constructor parameters in edu.rice.cs.cunit.instrumentors.util with type arguments of type MethodInfo
AInsertAtOpcodeStrategy(IPredicate<ClassFile> classPredicate, IPredicate.Binary<ClassFile,MethodInfo> methodPredicate, IPredicate.Ternary<ClassFile,MethodInfo,InstructionList> beforeOpcodePredicate, IPredicate.Ternary<ClassFile,MethodInfo,InstructionList> afterOpcodePredicate)
          Create a new strategy with the specified predicates.
AInsertAtOpcodeStrategy(IPredicate<ClassFile> classPredicate, IPredicate.Binary<ClassFile,MethodInfo> methodPredicate, IPredicate.Ternary<ClassFile,MethodInfo,InstructionList> beforeOpcodePredicate, IPredicate.Ternary<ClassFile,MethodInfo,InstructionList> afterOpcodePredicate)
          Create a new strategy with the specified predicates.
AInsertAtOpcodeStrategy(IPredicate<ClassFile> classPredicate, IPredicate.Binary<ClassFile,MethodInfo> methodPredicate, IPredicate.Ternary<ClassFile,MethodInfo,InstructionList> beforeOpcodePredicate, IPredicate.Ternary<ClassFile,MethodInfo,InstructionList> afterOpcodePredicate)
          Create a new strategy with the specified predicates.