public class DecoratedWithPrism
extends java.lang.Object
@org.mapstruct.DecoratedWith annotation.| Modifier and Type | Class and Description |
|---|---|
static class |
DecoratedWithPrism.Values
A class whose members corespond to those of org.mapstruct.DecoratedWith
but which each return the AnnotationValue corresponding to
that member in the model of the annotations.
|
| Modifier and Type | Field and Description |
|---|---|
boolean |
isValid
Determine whether the underlying AnnotationMirror has no errors.
|
javax.lang.model.element.AnnotationMirror |
mirror
The underlying AnnotationMirror of the annotation
represented by this Prism.
|
DecoratedWithPrism.Values |
values
An instance of the Values inner class whose
methods return the AnnotationValues used to build this prism.
|
| Modifier and Type | Method and Description |
|---|---|
static DecoratedWithPrism |
getInstance(javax.lang.model.element.AnnotationMirror mirror)
Return a prism of the
@org.mapstruct.DecoratedWith annotation whose mirror is mirror. |
static DecoratedWithPrism |
getInstanceOn(javax.lang.model.element.Element e)
Return a prism representing the
@org.mapstruct.DecoratedWith annotation on 'e'. |
javax.lang.model.type.TypeMirror |
value()
Returns a TypeMirror representing the value of the
java.lang.Class<?> value() member of the Annotation. |
public final DecoratedWithPrism.Values values
public final boolean isValid
public final javax.lang.model.element.AnnotationMirror mirror
public static DecoratedWithPrism getInstanceOn(javax.lang.model.element.Element e)
@org.mapstruct.DecoratedWith annotation on 'e'.
similar to e.getAnnotation(org.mapstruct.DecoratedWith.class) except that
an instance of this class rather than an instance of org.mapstruct.DecoratedWith
is returned.public static DecoratedWithPrism getInstance(javax.lang.model.element.AnnotationMirror mirror)
@org.mapstruct.DecoratedWith annotation whose mirror is mirror.public javax.lang.model.type.TypeMirror value()
java.lang.Class<?> value() member of the Annotation.DecoratedWith.value()Copyright © 2012-2014. All Rights Reserved.