All Implemented Interfaces:
Comparable<SortableLocation>, SortableLocation
Direct Known Subclasses:
MethodLocation

public class FieldLocation extends ClassLocation
Comparable path structure to locate a particular field within compilation unit.
Since:
2.0
  • Field Details

    • memberName

      private String memberName
    • memberXmlName

      private String memberXmlName
  • Constructor Details

    • FieldLocation

      public FieldLocation(String packageName, String className, String classXmlName, String memberName, String memberXmlName)
      Creates a new FieldLocation with the supplied package, class and member names.
      Parameters:
      packageName - The name of the package for a class potentially holding JavaDoc. Cannot be null.
      className - The (simple) name of a class. Cannot be null or empty.
      classXmlName - The name given as the XmlType.name() value of an annotation placed on the Class, or null if none is provided.
      memberName - The name of a (method or) field. Cannot be null or empty.
      memberXmlName - The name given as the XmlElement.name() or XmlAttribute.name() value of an annotation placed on this Field, or null if none is provided.
  • Method Details