class Java8Support
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) static java.lang.reflect.Method |
getAnnotationsMirrorsMethod |
| Modifier | Constructor and Description |
|---|---|
private |
Java8Support() |
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.reflect.Method |
determineAnnotationsMirrorsMethod() |
(package private) static java.util.List<? extends javax.lang.model.element.AnnotationMirror> |
getAnnotationMirrors(javax.lang.model.type.TypeMirror typeMirror)
Provides access to
AnnotatedConstruct.getAnnotationMirrors() via
reflection. |
static java.lang.reflect.Method getAnnotationsMirrorsMethod
private static java.lang.reflect.Method determineAnnotationsMirrorsMethod()
static java.util.List<? extends javax.lang.model.element.AnnotationMirror> getAnnotationMirrors(javax.lang.model.type.TypeMirror typeMirror)
AnnotatedConstruct.getAnnotationMirrors() via
reflection.typeMirror - the type whose annotations are to be returned.typeMirror.getAnnotationMirrors(),
otherwise an empty list.