public class FullyQualifiedJavadocReference extends JavadocReference
see
, link
and
linkplain
. Similar to JavadocReference
but can distinguish between package names and class names. The
package name is always set for a resolved reference (except for references to modules). The member is always the
normalized form containing only fully qualified type names (without argument names), separated by ,
without
any whitespace characters. Also the member type is always resolved to one of FullyQualifiedJavadocReference.MemberType
(in case the
reference contains a member part).Modifier and Type | Class and Description |
---|---|
static class |
FullyQualifiedJavadocReference.MemberType
The type of the member part of the reference.
|
Constructor and Description |
---|
FullyQualifiedJavadocReference(Optional<String> moduleName,
Optional<String> packageName,
Optional<String> className,
Optional<String> member,
Optional<FullyQualifiedJavadocReference.MemberType> memberType,
Optional<String> label,
boolean isExternal) |
FullyQualifiedJavadocReference(String packageName,
boolean isExternal) |
FullyQualifiedJavadocReference(String packageName,
Optional<String> label,
boolean isExternal) |
FullyQualifiedJavadocReference(String packageName,
Optional<String> className,
Optional<String> member,
Optional<FullyQualifiedJavadocReference.MemberType> memberType,
Optional<String> label,
boolean isExternal) |
FullyQualifiedJavadocReference(String packageName,
String className,
boolean isExternal) |
FullyQualifiedJavadocReference(String packageName,
String className,
String member,
FullyQualifiedJavadocReference.MemberType memberType,
boolean isExternal) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Optional<String> |
getClassName() |
Optional<String> |
getFullyQualifiedClassName() |
Optional<FullyQualifiedJavadocReference.MemberType> |
getMemberType() |
Optional<String> |
getPackageName() |
int |
hashCode() |
boolean |
isExternal() |
String |
toString() |
getLabel, getMember, getModuleName, getPackageNameClassName, parse
public FullyQualifiedJavadocReference(String packageName, boolean isExternal)
public FullyQualifiedJavadocReference(String packageName, Optional<String> label, boolean isExternal)
public FullyQualifiedJavadocReference(String packageName, String className, boolean isExternal)
public FullyQualifiedJavadocReference(String packageName, String className, String member, FullyQualifiedJavadocReference.MemberType memberType, boolean isExternal)
public FullyQualifiedJavadocReference(String packageName, Optional<String> className, Optional<String> member, Optional<FullyQualifiedJavadocReference.MemberType> memberType, Optional<String> label, boolean isExternal)
public boolean isExternal()
true
in case this class/package is part of another classloaderpublic Optional<String> getPackageName()
public Optional<String> getClassName()
public Optional<FullyQualifiedJavadocReference.MemberType> getMemberType()
public Optional<String> getFullyQualifiedClassName()
public String toString()
toString
in class JavadocReference
public int hashCode()
hashCode
in class JavadocReference
public boolean equals(Object obj)
equals
in class JavadocReference
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.