public class FieldLocation extends ClassLocation
Constructor and Description |
---|
FieldLocation(String packageName,
String className,
String memberName)
Creates a new FieldLocation with the supplied package, class and member names.
|
Modifier and Type | Method and Description |
---|---|
String |
getMemberName()
Retrieves the name of the member (i.e. method or field), potentially holding JavaDoc.
|
int |
hashCode() |
String |
toString() |
getClassName
compareTo, equals, getPackageName, getPath, isEqualToPath
public FieldLocation(String packageName, String className, String memberName)
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.memberName
- The name of a (method or) field. Cannot be null or empty.public String getMemberName()
public String toString()
toString
in class ClassLocation
public int hashCode()
hashCode
in class ClassLocation
Copyright © 2005–2015 MojoHaus. All rights reserved.