public final class ToStringDelegatingAnnotationBoxedElement extends Object implements AnnotationBoxedElement
AnnotationBoxedElement that delegates all operations to
the wrapped element except for toString() which is delegated to the boxed value itself.| Constructor and Description |
|---|
ToStringDelegatingAnnotationBoxedElement(AnnotationBoxedElement delegate) |
| Modifier and Type | Method and Description |
|---|---|
Object |
box(Object value)
Box the provided value according to the boxing strategy
|
<T extends Annotation> |
getAnnotation(Class<T> annotationType) |
Annotation[] |
getAnnotations() |
Annotation[] |
getDeclaredAnnotations() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationType) |
String |
toString() |
Object |
unbox() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByTypepublic ToStringDelegatingAnnotationBoxedElement(AnnotationBoxedElement delegate)
public Object unbox()
unbox in interface BoxedValuepublic boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
isAnnotationPresent in interface AnnotatedElementpublic <T extends Annotation> T getAnnotation(Class<T> annotationType)
getAnnotation in interface AnnotatedElementpublic Annotation[] getAnnotations()
getAnnotations in interface AnnotatedElementpublic Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface AnnotatedElementpublic Object box(Object value)
BoxingStrategybox in interface BoxingStrategyvalue - object to boxCopyright © 2003–2016 Atlassian. All rights reserved.