AnnotationUtils
instead.@Deprecated public class BLCAnnotationUtils extends Object
Spring has a much more elaborate and full-featured version of this within its AnnotationUtils
. Consider
using that instead of relying on this class.
Convenience methods for interacting with annotations.
Constructor and Description |
---|
BLCAnnotationUtils()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static <A extends Annotation> |
getAnnotationFromClassOrInterface(Class<A> annotationClass,
Class clazz)
Deprecated.
use SPring's
AnnotationUtils instead |
@Deprecated public static <A extends Annotation> A getAnnotationFromClassOrInterface(Class<A> annotationClass, Class clazz)
AnnotationUtils
instead
Rather than using this method, consider using Spring's AnnotationUtils
which also includes support for
composed, meta-annotations and synthesizing annotations with AliasFor
.
Given an array and a typed predicate, determines if the array has an object that matches the condition of the predicate. The predicate should evaluate to true when a match occurs.
annotationClass
- clazz
- Copyright © 2022. All rights reserved.