X - the typepublic class UnbackedAnnotatedType<X> extends UnbackedAnnotated implements SlimAnnotatedType<X>, java.io.Serializable
AnnotatedType. This may seem unnecessary, however it does mean we are providing a
consistent view for debugging, error reporting etc. This implementation is also serializable no matter if the original
extension-provided AnnotatedType implementation is.SlimAnnotatedType.SerializationProxy<X>| Modifier and Type | Method and Description |
|---|---|
static <X> UnbackedAnnotatedType<X> |
additionalAnnotatedType(java.lang.String contextId,
AnnotatedType<X> source,
java.lang.String bdaId,
java.lang.String suffix,
SharedObjectCache cache) |
void |
clear()
Clear up cached content to save memory.
|
boolean |
equals(java.lang.Object obj) |
java.util.Set<AnnotatedConstructor<X>> |
getConstructors()
Get the constructors of the type.
|
java.util.Set<AnnotatedField<? super X>> |
getFields()
Get the fields of the type.
|
AnnotatedTypeIdentifier |
getIdentifier() |
java.lang.Class<X> |
getJavaClass()
Get the underlying
Class. |
java.util.Set<AnnotatedMethod<? super X>> |
getMethods()
Get the methods of the type.
|
int |
hashCode() |
static <X> UnbackedAnnotatedType<X> |
modifiedAnnotatedType(SlimAnnotatedType<X> originalType,
AnnotatedType<X> source,
SharedObjectCache cache) |
java.lang.String |
toString() |
getAnnotation, getAnnotations, getTypeClosure, isAnnotationPresentgetBaseTypeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresentpublic static <X> UnbackedAnnotatedType<X> additionalAnnotatedType(java.lang.String contextId, AnnotatedType<X> source, java.lang.String bdaId, java.lang.String suffix, SharedObjectCache cache)
public static <X> UnbackedAnnotatedType<X> modifiedAnnotatedType(SlimAnnotatedType<X> originalType, AnnotatedType<X> source, SharedObjectCache cache)
public java.lang.Class<X> getJavaClass()
AnnotatedType
Get the underlying Class.
getJavaClass in interface AnnotatedType<X>Classpublic java.util.Set<AnnotatedConstructor<X>> getConstructors()
AnnotatedTypeGet the constructors of the type. If an empty set is returned, a default constructor with no parameters will be assumed.
getConstructors in interface AnnotatedType<X>public java.util.Set<AnnotatedMethod<? super X>> getMethods()
AnnotatedTypeGet the methods of the type.
getMethods in interface AnnotatedType<X>public java.util.Set<AnnotatedField<? super X>> getFields()
AnnotatedTypeGet the fields of the type.
getFields in interface AnnotatedType<X>public java.lang.String toString()
toString in class java.lang.Objectpublic void clear()
SlimAnnotatedTypeclear in interface SlimAnnotatedType<X>public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic AnnotatedTypeIdentifier getIdentifier()
getIdentifier in interface Identified<AnnotatedTypeIdentifier>Copyright © 2015. All Rights Reserved.