public final class AnnotatedMethodMap extends Object implements Iterable<AnnotatedMethod>
AnnotatedMethod
s, accessible by lookup. Lookup
is usually needed for augmenting and overriding annotations.Modifier and Type | Field and Description |
---|---|
protected LinkedHashMap<MemberKey,AnnotatedMethod> |
_methods |
Constructor and Description |
---|
AnnotatedMethodMap() |
Modifier and Type | Method and Description |
---|---|
void |
add(AnnotatedMethod am)
Method called to add specified annotated method in the Map.
|
AnnotatedMethod |
find(Method m) |
AnnotatedMethod |
find(String name,
Class<?>[] paramTypes) |
boolean |
isEmpty() |
Iterator<AnnotatedMethod> |
iterator() |
AnnotatedMethod |
remove(AnnotatedMethod am)
Method called to remove specified method, assuming
it exists in the Map
|
AnnotatedMethod |
remove(Method m) |
int |
size() |
protected LinkedHashMap<MemberKey,AnnotatedMethod> _methods
public void add(AnnotatedMethod am)
public AnnotatedMethod remove(AnnotatedMethod am)
public AnnotatedMethod remove(Method m)
public boolean isEmpty()
public int size()
public AnnotatedMethod find(String name, Class<?>[] paramTypes)
public AnnotatedMethod find(Method m)
public Iterator<AnnotatedMethod> iterator()
iterator
in interface Iterable<AnnotatedMethod>