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
Methods of the given pojoType. |
getInitializationState, getVisibility, initialize, isAcceptStatic, setAcceptStatic, setVisibilitypublic 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)
PojoMethodIntrospectorMethods of the given pojoType.findMethods in interface PojoMethodIntrospectorpojoType - is the type reflecting the POJO for which the Methods are requested.Methods.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 Classes (interfaces) to omit. May be null for none.Copyright © 2001–2016 mmm-Team. All rights reserved.