public class AnnotatedTypeIdentifier extends java.lang.Object implements Identifier
AnnotatedType The identifier is composed of four parts:
BeanDeploymentArchive which the type resides in. This allows different BeanDeploymentArchives to bundle classes with the same name.BackedAnnotatedType is created for a parameterized type (a New injection point), suffix is set to an identifier of that typeUnbackedAnnotatedType suffix holds the type identifier provided by the extension or calculated based on the type's qualities (see AnnotatedTypes.createTypeId(AnnotatedType))AnnotatedType which has been modified during ProcessAnnotatedType event notification.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NULL_BDA_ID |
static java.lang.String |
SYNTHETIC_ANNOTATION_SUFFIX |
ID_SEPARATOR| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
asString()
String representation of this identifier.
|
boolean |
equals(java.lang.Object obj) |
static AnnotatedTypeIdentifier |
forBackedAnnotatedType(java.lang.String contextId,
java.lang.Class<?> javaClass,
java.lang.reflect.Type type,
java.lang.String bdaId) |
static AnnotatedTypeIdentifier |
forModifiedAnnotatedType(AnnotatedTypeIdentifier originalIdentifier) |
java.lang.String |
getBdaId() |
java.lang.String |
getClassName() |
java.lang.String |
getContextId() |
java.lang.String |
getSuffix() |
int |
hashCode() |
boolean |
isModified() |
static AnnotatedTypeIdentifier |
of(java.lang.String contextId,
java.lang.String bdaId,
java.lang.String className,
java.lang.String suffix,
boolean modified) |
java.lang.String |
toString() |
public static final java.lang.String NULL_BDA_ID
public static final java.lang.String SYNTHETIC_ANNOTATION_SUFFIX
public static AnnotatedTypeIdentifier forBackedAnnotatedType(java.lang.String contextId, java.lang.Class<?> javaClass, java.lang.reflect.Type type, java.lang.String bdaId)
public static AnnotatedTypeIdentifier forModifiedAnnotatedType(AnnotatedTypeIdentifier originalIdentifier)
public static AnnotatedTypeIdentifier of(java.lang.String contextId, java.lang.String bdaId, java.lang.String className, java.lang.String suffix, boolean modified)
public java.lang.String getContextId()
public java.lang.String getBdaId()
public java.lang.String getClassName()
public java.lang.String getSuffix()
public boolean isModified()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String asString()
IdentifierPassivationCapable.getId(). Unlike #toString(), this method returns a non-verbose canonical
string identifier.asString in interface Identifierpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015. All Rights Reserved.