|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.javalid.core.cache.GenericAnnotationCache
public class GenericAnnotationCache
This class is the general cache used to store any annotation-related information for classes and is the direct entry point to this cache.
| Constructor Summary | |
|---|---|
GenericAnnotationCache()
|
|
| Method Summary | |
|---|---|
void |
addAnnotationClassCache(java.lang.Class clazz,
AnnotationClassCache cacheElement)
Adds a new AnnotationClassCache cacheElement to the class cache. |
AnnotationClassCache |
getAnotationClassCache(java.lang.Class clazz)
Returns AnnotationClassCache if found for given class, null if not found. |
boolean |
isClassInCache(java.lang.Class clazz)
Returns true if given clazz is in cache (checks inheritance hierarchy), that is: Say a baseclass Person is stored, then subclass Creditor is also in cache (as it is a subclass). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenericAnnotationCache()
| Method Detail |
|---|
public boolean isClassInCache(java.lang.Class clazz)
clazz - Class to check
public AnnotationClassCache getAnotationClassCache(java.lang.Class clazz)
clazz - The clazz to get cache for
public void addAnnotationClassCache(java.lang.Class clazz,
AnnotationClassCache cacheElement)
clazz - The class the cacheElement is forcacheElement - The cacheElement
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||