|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.rice.cs.cunit.instrumentors.threadCheck.SubtypingWarning
public class SubtypingWarning
Storage class for subtyping warnings.
Field Summary | |
---|---|
java.lang.String |
annotationName
Name of the annotation. |
java.lang.String |
methodDescriptor
Descriptor of the method. |
java.lang.String |
methodName
Name of the method. |
java.lang.String |
subClassName
Name of the subclass that contained the annotation. |
java.lang.String |
superClassName
Name of the superclass that did not contain the annotation. |
Constructor Summary | |
---|---|
SubtypingWarning(java.lang.String subClassName,
java.lang.String superClassName,
java.lang.String methodName,
java.lang.String methodDescriptor,
java.lang.String annotationName)
Create a new subtyping warning |
Method Summary | |
---|---|
int |
compareTo(SubtypingWarning o)
Compares this object with the specified object for order. |
boolean |
equals(java.lang.Object o)
Return true if this object is equal to the other object. |
java.lang.String |
getPropertyName()
Return the name of the property that was scanned for. |
int |
hashCode()
Return a hash code for this object. |
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 final java.lang.String subClassName
public final java.lang.String superClassName
public final java.lang.String methodName
public final java.lang.String methodDescriptor
public final java.lang.String annotationName
Constructor Detail |
---|
public SubtypingWarning(java.lang.String subClassName, java.lang.String superClassName, java.lang.String methodName, java.lang.String methodDescriptor, java.lang.String annotationName)
subClassName
- name of the subclass that contained the annotationsuperClassName
- name of the superclass that did not contain the annotationmethodName
- name of the method, or null if on class levelmethodDescriptor
- descriptor of the method, or null if on class levelannotationName
- name of the annotationMethod Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- other object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(SubtypingWarning o)
compareTo
in interface java.lang.Comparable<SubtypingWarning>
o
- the Object to be compared.
java.lang.ClassCastException
- if the specified object's type prevents it from being compared to this Object.public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getPropertyName()
getPropertyName
in interface IScannerStrategy.IScanResult
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |