public abstract class FieldOrMethodDescriptor extends java.lang.Object implements FieldOrMethodName
Constructor and Description |
---|
FieldOrMethodDescriptor(java.lang.String slashedClassName,
java.lang.String name,
java.lang.String signature,
boolean isStatic) |
Modifier and Type | Method and Description |
---|---|
static int |
compareTo(FieldOrMethodDescriptor thas,
FieldOrMethodDescriptor that) |
protected int |
compareTo(FieldOrMethodName o) |
ClassDescriptor |
getClassDescriptor() |
java.lang.String |
getName() |
int |
getNameSigHashCode() |
static int |
getNameSigHashCode(java.lang.String name,
java.lang.String signature) |
java.lang.String |
getSignature() |
java.lang.String |
getSlashedClassName() |
int |
hashCode() |
protected boolean |
haveEqualFields(FieldOrMethodDescriptor other) |
boolean |
isStatic() |
java.lang.String |
toString() |
public FieldOrMethodDescriptor(@SlashedClassName java.lang.String slashedClassName, java.lang.String name, java.lang.String signature, boolean isStatic)
public static int getNameSigHashCode(java.lang.String name, java.lang.String signature)
public int getNameSigHashCode()
@SlashedClassName public java.lang.String getSlashedClassName()
public ClassDescriptor getClassDescriptor()
getClassDescriptor
in interface FieldOrMethodName
public java.lang.String getName()
getName
in interface FieldOrMethodName
public java.lang.String getSignature()
getSignature
in interface FieldOrMethodName
public boolean isStatic()
isStatic
in interface FieldOrMethodName
protected int compareTo(FieldOrMethodName o)
protected boolean haveEqualFields(FieldOrMethodDescriptor other)
public final int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static int compareTo(FieldOrMethodDescriptor thas, FieldOrMethodDescriptor that)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.