public class FieldDescriptor extends FieldOrMethodDescriptor implements ComparableField
Constructor and Description |
---|
FieldDescriptor(java.lang.String className,
java.lang.String fieldName,
java.lang.String fieldSignature,
boolean isStatic)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ComparableField o) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
toString() |
compareTo, compareTo, getClassDescriptor, getName, getNameSigHashCode, getNameSigHashCode, getSignature, getSlashedClassName, hashCode, haveEqualFields, isStatic
public FieldDescriptor(@SlashedClassName java.lang.String className, java.lang.String fieldName, java.lang.String fieldSignature, boolean isStatic)
className
- the name of the class the field belongs tofieldName
- the name of the fieldfieldSignature
- the field signature (type)isStatic
- true if field is static, false if notpublic java.lang.String toString()
toString
in class FieldOrMethodDescriptor
public int compareTo(ComparableField o)
compareTo
in interface java.lang.Comparable<ComparableField>
public final boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.