org.apache.commons.attributes

Class EmptyCachedRepository

Implemented Interfaces:
CachedRepository

(package private) class EmptyCachedRepository
extends java.lang.Object
implements CachedRepository

Null implementation of a cached repository.
Since:
2.1

Field Summary

private static Collection
EMPTY_COLLECTION

Fields inherited from interface org.apache.commons.attributes.CachedRepository

EMPTY

Method Summary

Collection
getAttributes()
Collection
getAttributes(Constructor c)
Collection
getAttributes(Field f)
Collection
getAttributes(Method m)
Collection
getParameterAttributes(Constructor c, int parameter)
Collection
getParameterAttributes(Method m, int parameter)
Collection
getReturnAttributes(Method m)

Field Details

EMPTY_COLLECTION

private static final Collection EMPTY_COLLECTION

Method Details

getAttributes

public Collection getAttributes()
Specified by:
getAttributes in interface CachedRepository

getAttributes

public Collection getAttributes(Constructor c)
Specified by:
getAttributes in interface CachedRepository

getAttributes

public Collection getAttributes(Field f)
Specified by:
getAttributes in interface CachedRepository

getAttributes

public Collection getAttributes(Method m)
Specified by:
getAttributes in interface CachedRepository

getParameterAttributes

public Collection getParameterAttributes(Constructor c,
                                         int parameter)
Specified by:
getParameterAttributes in interface CachedRepository

getParameterAttributes

public Collection getParameterAttributes(Method m,
                                         int parameter)
Specified by:
getParameterAttributes in interface CachedRepository

getReturnAttributes

public Collection getReturnAttributes(Method m)
Specified by:
getReturnAttributes in interface CachedRepository