Modifier and Type | Method and Description |
---|---|
static <T> Class<T> |
classFor(TypeElement typeElement,
ProcessingEnvironment processingEnvironment)
Returns the
Class object that is associated to the typeElement |
static Set<TypeElement> |
getTypeElementsAnnotatedWith(Class<? extends Annotation> annotationType,
RoundEnvironment roundEnvironment)
|
public static final String PARAM
public static <T> Class<T> classFor(TypeElement typeElement, ProcessingEnvironment processingEnvironment)
Class
object that is associated to the typeElement
T
- the generic type of the returned Class
typeElement
- a TypeElement
which represents a Class
processingEnvironment
- the current ProcessingEnvironment
Class
represented by typeElement
public static Set<TypeElement> getTypeElementsAnnotatedWith(Class<? extends Annotation> annotationType, RoundEnvironment roundEnvironment)
annotationType
- the type of the Annotation
roundEnvironment
- the current RoundEnvironment
Set
with the TypeElement
s annotated with annotationType
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.