|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.cunit.instrumentors.threadCheck.ThreadCheckAnnotationRecord
public class ThreadCheckAnnotationRecord
Class that keeps track of what thread names/ids/groups are allowed and denied for a method.
| Field Summary | |
|---|---|
OnlyRunBy.EVENT_THREAD |
allowEventThread
|
java.util.HashSet<java.lang.String> |
allowThreadGroups
|
java.util.HashSet<java.lang.Long> |
allowThreadIds
|
java.util.HashSet<java.lang.String> |
allowThreadNames
|
java.util.HashSet<java.lang.String> |
denyThreadGroups
|
java.util.HashSet<java.lang.Long> |
denyThreadIds
|
java.util.HashSet<java.lang.String> |
denyThreadNames
|
java.util.ArrayList<PredicateAnnotationRecord> |
predicateAnnotations
|
boolean |
suppressSubtypingWarning
|
long |
timeStamp
Timestamp of the last modification. |
| Constructor Summary | |
|---|---|
ThreadCheckAnnotationRecord()
Create a new empty annotation record. |
|
ThreadCheckAnnotationRecord(ThreadCheckAnnotationRecord firstAR,
ThreadCheckAnnotationRecord secondAR)
Create a new annotation record by merging the two specified records |
|
| Method Summary | |
|---|---|
void |
add(ThreadCheckAnnotationRecord otherAR)
Adds the annotations in the other annotation record to this one |
boolean |
empty()
Return true if there is nothing specified in this annotation record. |
boolean |
equals(java.lang.Object o)
Returns true if the two ThreadCheckAnnotationRecords are equal. |
int |
hashCode()
Returns a hashcode for this ThreadCheckAnnotationRecord. |
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.util.HashSet<java.lang.String> denyThreadNames
public java.util.HashSet<java.lang.Long> denyThreadIds
public java.util.HashSet<java.lang.String> denyThreadGroups
public java.util.HashSet<java.lang.String> allowThreadNames
public java.util.HashSet<java.lang.Long> allowThreadIds
public java.util.HashSet<java.lang.String> allowThreadGroups
public OnlyRunBy.EVENT_THREAD allowEventThread
public java.util.ArrayList<PredicateAnnotationRecord> predicateAnnotations
public boolean suppressSubtypingWarning
public long timeStamp
| Constructor Detail |
|---|
public ThreadCheckAnnotationRecord()
public ThreadCheckAnnotationRecord(ThreadCheckAnnotationRecord firstAR,
ThreadCheckAnnotationRecord secondAR)
firstAR - first record to mergesecondAR - second record to merge| Method Detail |
|---|
public void add(ThreadCheckAnnotationRecord otherAR)
otherAR - other recordpublic boolean empty()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - other object
public 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 | |||||||||