public abstract class QualifiableProxy extends AbstractProxy
AbstractProxy.Builder<T extends AbstractProxy>| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
fullyQualifiedName
The fully-qualified name of the element represented by this proxy.
|
java.lang.String |
internalName
The "internal name" (fully-qualified with slashes) of the element
represented by this proxy.
|
descriptor, modifiers, name, parent, proxyType| Modifier | Constructor and Description |
|---|---|
protected |
QualifiableProxy(java.lang.String descriptor,
int modifiers,
QualifiableProxy parent,
java.lang.String fullyQualifiedName,
ProxyType proxyType)
The protected constructor, should be called by all classes extending this in theirs.
|
| 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 java.lang.String |
extractParentFromFQN(java.lang.String fqn)
Returns a
String containing the FQN of the parent element
to this, which may represent a package or class. |
protected static java.lang.String |
extractSimpleNameFromFQN(java.lang.String fqn)
Returns a
String containing the simple name of the element. |
public final java.lang.String fullyQualifiedName
public final java.lang.String internalName
protected QualifiableProxy(java.lang.String descriptor,
int modifiers,
QualifiableProxy parent,
java.lang.String fullyQualifiedName,
ProxyType proxyType)
descriptor - the descriptor for the elementmodifiers - the modifiers, as a packed intparent - the QualifiableProxy representing the parent of this elementfullyQualifiedName - the FQN of the elementproxyType - the ProxyType being represented hereprotected static java.lang.String extractParentFromFQN(java.lang.String fqn)
String containing the FQN of the parent element
to this, which may represent a package or class.fqn - the fully qualified name of the elementprotected static java.lang.String extractSimpleNameFromFQN(java.lang.String fqn)
String containing the simple name of the element.fqn - the fully qualified name of the elementpublic boolean equals(java.lang.Object obj)
equals in class AbstractProxyobj - the object to perform