Package dev.orne.beans
Class BeanAnnotationFinder.CacheEntryKey<T extends Annotation>
java.lang.Object
dev.orne.beans.BeanAnnotationFinder.CacheEntryKey<T>
- Type Parameters:
T
- The annotation type
- Enclosing class:
- BeanAnnotationFinder<T extends Annotation,
L extends Annotation>
@API(status=INTERNAL,
since="0.1")
protected static final class BeanAnnotationFinder.CacheEntryKey<T extends Annotation>
extends Object
Class level annotations cache entry. This class is immutable.
-
Constructor Summary
ConstructorDescriptionCacheEntryKey
(@NotNull Class<?> type, @NotNull Class<T> annotationType) Creates a new instance. -
Method Summary
-
Constructor Details
-
CacheEntryKey
Creates a new instance.- Parameters:
type
- The analyzed classannotationType
- The annotation type searched
-
-
Method Details
-
getType
Returns the analyzed class.- Returns:
- The analyzed class
-
getAnnotationType
Returns the annotation type searched.- Returns:
- The annotation type searched
-
hashCode
public int hashCode() -
equals
-
toString
-