org.apache.commons.attributes
Class DefaultCachedRepository
java.lang.Object
org.apache.commons.attributes.DefaultCachedRepository
- All Implemented Interfaces:
- CachedRepository
class DefaultCachedRepository
- extends java.lang.Object
- implements CachedRepository
- Since:
- 2.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_COLLECTION
private static final java.util.Collection EMPTY_COLLECTION
classAttributes
private final java.util.Collection classAttributes
fields
private final java.util.Map fields
methods
private final java.util.Map methods
constructors
private final java.util.Map constructors
DefaultCachedRepository
public DefaultCachedRepository(java.lang.Class clazz,
AttributeRepositoryClass repo)
getInheritableAttributes
private static java.util.Collection getInheritableAttributes(java.util.Collection attrs)
getInheritableClassAttributes
private static java.util.Collection getInheritableClassAttributes(java.lang.Class c)
getInheritableMethodAttributes
private static java.util.Collection getInheritableMethodAttributes(java.lang.Class c,
java.lang.String methodName,
java.lang.Class[] methodParams)
getInheritableMethodParameterAttributes
private static java.util.Collection getInheritableMethodParameterAttributes(java.lang.Class c,
java.lang.String methodName,
java.lang.Class[] methodParams,
int parameter)
getInheritableReturnAttributes
private static java.util.Collection getInheritableReturnAttributes(java.lang.Class c,
java.lang.String methodName,
java.lang.Class[] methodParams)
getAttributes
public java.util.Collection getAttributes()
- Specified by:
getAttributes
in interface CachedRepository
getAttributes
public java.util.Collection getAttributes(java.lang.reflect.Field f)
- Specified by:
getAttributes
in interface CachedRepository
getAttributes
public java.util.Collection getAttributes(java.lang.reflect.Method m)
- Specified by:
getAttributes
in interface CachedRepository
getParameterAttributes
public java.util.Collection getParameterAttributes(java.lang.reflect.Constructor c,
int parameter)
- Specified by:
getParameterAttributes
in interface CachedRepository
getParameterAttributes
public java.util.Collection getParameterAttributes(java.lang.reflect.Method m,
int parameter)
- Specified by:
getParameterAttributes
in interface CachedRepository
getReturnAttributes
public java.util.Collection getReturnAttributes(java.lang.reflect.Method m)
- Specified by:
getReturnAttributes
in interface CachedRepository
getAttributes
public java.util.Collection getAttributes(java.lang.reflect.Constructor c)
- Specified by:
getAttributes
in interface CachedRepository