public class PackageAnnotationHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.lang.annotation.Annotation[] |
EMPTY_ANNOTATIONS_ARRAY |
Constructor and Description |
---|
PackageAnnotationHelper() |
Modifier and Type | Method and Description |
---|---|
static <A extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.String aPackageName, |
static java.lang.annotation.Annotation[] |
getAnnotations(java.lang.String aPackageName) |
static boolean |
isAnnotationPresent(java.lang.String aPackageName, |
A
- The package annotation.aPackageName
- The name of package in form "cz.ues"aAnnotationClass
- The type of annotation to search for.aPackageName
- The name of package to be checked for annotations.aPackageName
- The name of package to be checked for specified annotation.aAnnotationClass
- The type of annotation to be searched on package.