public class AnnotationProviderChain extends java.lang.Object implements AnnotationProvider
AnnotationProvider.| Constructor and Description |
|---|
AnnotationProviderChain(AnnotationProvider[] providers) |
| Modifier and Type | Method and Description |
|---|---|
static AnnotationProvider |
create(java.util.List<AnnotationProvider> providers)
Creates an AnnotationProvider from the list of providers.
|
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationClass)
Searches for the specified annotation, returning the matching annotation instance.
|
public AnnotationProviderChain(AnnotationProvider[] providers)
public static AnnotationProvider create(java.util.List<AnnotationProvider> providers)
AnnotationProviderChain or
the sole element in the list.public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
AnnotationProvidergetAnnotation in interface AnnotationProviderannotationClass - used to select the annotation to return${project.version} - Copyright © 2003-2015 The Apache Software Foundation.