org.codehaus.jackson.map.introspect
Class AnnotatedMethodMap
java.lang.Object
org.codehaus.jackson.map.introspect.AnnotatedMethodMap
- All Implemented Interfaces:
- Iterable<AnnotatedMethod>
public final class AnnotatedMethodMap
- extends Object
- implements Iterable<AnnotatedMethod>
Simple helper class used to keep track of collection of
AnnotatedMethods, accessible by lookup. Lookup
is usually needed for augmenting and overriding annotations.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotatedMethodMap
public AnnotatedMethodMap()
add
public void add(AnnotatedMethod am)
- Method called to add specified annotation in the Map.
remove
public void remove(AnnotatedMethod am)
- Method called to remove specified method, assuming
it exists in the Map
isEmpty
public boolean isEmpty()
size
public int size()
find
public AnnotatedMethod find(String name,
Class<?>[] paramTypes)
find
public AnnotatedMethod find(Method m)
iterator
public Iterator<AnnotatedMethod> iterator()
- Specified by:
iterator in interface Iterable<AnnotatedMethod>