public class PojoMethodIntrospectorImpl extends AbstractPojoIntrospector implements PojoMethodIntrospector
PojoMethodIntrospector
interface.Modifier and Type | Class and Description |
---|---|
class |
PojoMethodIntrospectorImpl.PojoMethodIterator
This inner class iterates the methods of a given pojo-type according to the
visibility . |
Constructor and Description |
---|
PojoMethodIntrospectorImpl()
The constructor.
|
PojoMethodIntrospectorImpl(VisibilityModifier visibility,
boolean acceptStatic)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
private static void |
collectInterfaces(Class<?> type,
Set<Class<?>> interfaceSet,
Set<Class<?>> excludeSet)
Recursively collects all
interfaces starting from the given type . |
Iterator<Method> |
findMethods(Class<?> pojoType)
This method finds all
Method s of the given pojoType . |
getInitializationState, getVisibility, initialize, isAcceptStatic, setAcceptStatic, setVisibility
public PojoMethodIntrospectorImpl()
public PojoMethodIntrospectorImpl(VisibilityModifier visibility, boolean acceptStatic)
initializes
the component.visibility
- is the visibility
.acceptStatic
- is the accept-static
flag.public Iterator<Method> findMethods(Class<?> pojoType)
PojoMethodIntrospector
Method
s of the given pojoType
.findMethods
in interface PojoMethodIntrospector
pojoType
- is the type reflecting the POJO for which the Method
s are requested.Method
s.private static void collectInterfaces(Class<?> type, Set<Class<?>> interfaceSet, Set<Class<?>> excludeSet)
interfaces
starting from the given type
.type
- is the Class
for which all interfaces
shall be collected.interfaceSet
- is the Set
where the interfaces
will be
added
.excludeSet
- is a Set
with Class
es (interfaces) to omit. May be null
for none.Copyright © 2001–2016 mmm-Team. All rights reserved.