Package edu.umd.cs.findbugs.classfile
Class FieldDescriptor
- java.lang.Object
-
- edu.umd.cs.findbugs.classfile.FieldOrMethodDescriptor
-
- edu.umd.cs.findbugs.classfile.FieldDescriptor
-
- All Implemented Interfaces:
FieldOrMethodName
,java.lang.Comparable
- Direct Known Subclasses:
FieldInfo
public class FieldDescriptor extends FieldOrMethodDescriptor
Descriptor uniquely identifying a field in a class.- Author:
- David Hovemeyer
-
-
Constructor Summary
Constructors Constructor Description FieldDescriptor(java.lang.String className, java.lang.String fieldName, java.lang.String fieldSignature, boolean isStatic)
Constructor.
-
Method Summary
-
Methods inherited from class edu.umd.cs.findbugs.classfile.FieldOrMethodDescriptor
compareTo, compareTo, equals, getClassDescriptor, getName, getNameSigHashCode, getNameSigHashCode, getSignature, getSlashedClassName, hashCode, isStatic, toString
-
-
-
-
Constructor Detail
-
FieldDescriptor
public FieldDescriptor(@SlashedClassName java.lang.String className, java.lang.String fieldName, java.lang.String fieldSignature, boolean isStatic)
Constructor.- Parameters:
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 not
-
-