public class AnnotatedDeclaration<S extends AnnotatedSignature<?>> extends java.lang.Object implements Declaration<S>
| Constructor and Description |
|---|
AnnotatedDeclaration(S signature) |
| Modifier and Type | Method and Description |
|---|---|
<U extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<U> annotationClass) |
java.lang.annotation.Annotation[] |
getAnnotations() |
S |
getSignature() |
public AnnotatedDeclaration(S signature)
public S getSignature()
getSignature in interface Declaration<S extends AnnotatedSignature<?>>public final <U extends java.lang.annotation.Annotation> U getAnnotation(java.lang.Class<U> annotationClass)
public final java.lang.annotation.Annotation[] getAnnotations()