Class JavadocReference
java.lang.Object
org.apache.maven.tools.plugin.javadoc.JavadocReference
- Direct Known Subclasses:
FullyQualifiedJavadocReference
Describes a code reference used in javadoc tags
see
, link
and linkplain
.
The format of the reference given as string is module/package.class#member label
.
Members must be separated with a #
to be detected.
Targets either module, package, class or field/method/constructor in class.
This class does not know whether the second part part refers to a package, class or both,
as they use the same alphabet and separators.- See Also:
-
Method Summary
-
Method Details
-
parse
- Parameters:
reference
- the reference value to parse- Returns:
- the created
JavadocReference
- Throws:
IllegalArgumentException
- in case the reference has an invalid format
-
getModuleName
-
getPackageNameClassName
- Returns:
- a package name, a class name or a package name followed by a class name
-
getMember
-
getLabel
-
toString
-
hashCode
-
equals
-