|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.cunit.instrumentors.threadCheck.PredicateAnnotationRecord
public class PredicateAnnotationRecord
Class that keeps track of an annotation and the predicate class and method linked to it.
| Field Summary | |
|---|---|
AAnnotationsAttributeInfo.Annotation |
annotation
The annotation on the method or class. |
java.util.HashMap<java.lang.String,java.util.ArrayList<PredicateAnnotationRecord>> |
combinedPredicates
Hashmap from member name to a list of other predicates that should be combined. |
Combine.Mode |
combineMode
Combine mode, or null if @Combine was not specified. |
java.util.ArrayList<java.lang.String> |
paramNames
The parameter names in the order they appear in the predicate method, ignoring the first Object. |
java.util.HashMap<java.lang.String,java.lang.String> |
paramTypes
Hashmap with the parameter name as the key and the parameter descriptors as value, ignoring the first Object. |
boolean |
passArguments
Whether method arguments should be passed. |
java.lang.String |
predicateClass
Name of the predicate class, or null if @PredicateLink was not specified. |
MethodInfo |
predicateMI
Name of the predicate method, or null if @PredicateLink was not specified. |
java.util.ArrayList<AAnnotationsAttributeInfo.Annotation.AMemberValue> |
valueList
The values from the annotation, including default values if a value was not specified at the usage site and a default value was defined, in the order of the parameters in the predicate method. |
| Constructor Summary | |
|---|---|
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)
|
|
PredicateAnnotationRecord(PredicateAnnotationRecord otherPAR)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public AAnnotationsAttributeInfo.Annotation annotation
public java.util.HashMap<java.lang.String,java.lang.String> paramTypes
public java.lang.String predicateClass
public MethodInfo predicateMI
public java.util.ArrayList<java.lang.String> paramNames
public java.util.ArrayList<AAnnotationsAttributeInfo.Annotation.AMemberValue> valueList
public boolean passArguments
public Combine.Mode combineMode
public java.util.HashMap<java.lang.String,java.util.ArrayList<PredicateAnnotationRecord>> combinedPredicates
| Constructor Detail |
|---|
public 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)
public PredicateAnnotationRecord(PredicateAnnotationRecord otherPAR)
| Method Detail |
|---|
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||