public class PackageProxy extends QualifiableProxy
AbstractProxy.Builder<T extends AbstractProxy>| Modifier and Type | Field and Description |
|---|---|
static PackageProxy |
ROOT
The
PackageProxy representing the root package. |
fullyQualifiedName, internalNamedescriptor, modifiers, name, parent, proxyType| Modifier | Constructor and Description |
|---|---|
protected |
PackageProxy(PackageProxy parent,
java.lang.String fqn)
The protected constructor, called only from
from(String). |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether the given object is a proxy for the same element as this.
|
protected static PackageProxy |
from(java.lang.Package p)
Builds a
PackageProxy from a reflective Package object. |
protected static PackageProxy |
from(java.lang.String fqn)
Builds a
PackageProxy from its fully-qualified name. |
extractParentFromFQN, extractSimpleNameFromFQNpublic static final PackageProxy ROOT
PackageProxy representing the root package.protected PackageProxy(PackageProxy parent, java.lang.String fqn)
from(String).parent - the PackageProxy representing the parentfqn - the fully-qualified name of this packageprotected static PackageProxy from(java.lang.String fqn)
PackageProxy from its fully-qualified name.fqn - the fully-qualified name of the packagePackageProxyprotected static PackageProxy from(java.lang.Package p)
PackageProxy from a reflective Package object.p - the Package objectPackageProxypublic boolean equals(java.lang.Object obj)
equals in class QualifiableProxyobj - the object to perform