Top Description Fields Constructors Methods
com.fasterxml.jackson.databind.introspect

public final Class AnnotatedMethodMap

extends Object
implements Iterable<AnnotatedMethod>
Class Inheritance
All Implemented Interfaces
java.lang.Iterable
Imports
java.lang.reflect.Method, java.util.*

Simple helper class used to keep track of collection of AnnotatedMethods, accessible by lookup. Lookup is usually needed for augmenting and overriding annotations.

Field Summary

Modifier and TypeField and Description
protected Map<MemberKey, AnnotatedMethod>

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public AnnotatedMethod
find(String name, Class<?>[] paramTypes)

public AnnotatedMethod
public Iterator<AnnotatedMethod>
iterator()

Implements java.lang.Iterable.iterator.

Returns an iterator over elements of type T.

public int
size()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_methodsback to summary
protected Map<MemberKey, AnnotatedMethod> _methods

Constructor Detail

AnnotatedMethodMapback to summary
public AnnotatedMethodMap()
AnnotatedMethodMapback to summary
public AnnotatedMethodMap(Map<MemberKey, AnnotatedMethod> m)
Since
2.9

Method Detail

findback to summary
public AnnotatedMethod find(String name, Class<?>[] paramTypes)
findback to summary
public AnnotatedMethod find(Method m)
iteratorback to summary
public Iterator<AnnotatedMethod> iterator()

Implements java.lang.Iterable.iterator.

Doc from java.lang.Iterable.iterator.

Returns an iterator over elements of type T.

Returns:Iterator<AnnotatedMethod>

an Iterator.

Annotations
@Override
sizeback to summary
public int size()