public class RedefinitionContext<A extends Annotation> extends Object
SolderAnnotatedTypeBuilder,
AnnotationRedefiner| Modifier and Type | Method and Description |
|---|---|
AnnotatedElement |
getAnnotatedElement()
Access to the
AnnotatedElement on which this annotation is
defined. |
AnnotationBuilder |
getAnnotationBuilder()
Access to the annotations present on the element.
|
Type |
getBaseType()
Access to the
Type of the element on which this annotation is
defined |
String |
getElementName()
Access to the name of the element, or null if this represents a
constructor, parameter or class.
|
Class<?> |
getRawType()
Access to the raw type of the element on which the annotation is defined
|
public AnnotatedElement getAnnotatedElement()
AnnotatedElement on which this annotation is
defined. If the annotation is defined on a Field, this may be cast to
Field, if defined on a method, this may be cast to Method,
if defined on a constructor, this may be cast to Constructor, if
defined on a class, this may be cast to Class, or if
defined on a parameter, this may be cast to Parameterpublic Type getBaseType()
Type of the element on which this annotation is
definedpublic Class<?> getRawType()
public AnnotationBuilder getAnnotationBuilder()
AnnotationBuilderpublic String getElementName()
Copyright © 2013. All Rights Reserved.