Package org.springframework.data.util
Class TypeCollector.ReachableTypes
java.lang.Object
org.springframework.data.util.TypeCollector.ReachableTypes
- Enclosing class:
- TypeCollector
Container for reachable types starting from a set of root types.
-
Method Summary
-
Method Details
-
forEach
Performs the given action for each element of the reachable types until all elements have been processed or the action throws an exception. Actions are performed in the order of iteration, if that order is specified. Exceptions thrown by the action are relayed to the caller.- Parameters:
action- The action to be performed for each element
-
list
Return all reachable types as list ofclasses. The resulting list is unmodifiable.- Returns:
- an unmodifiable list of reachable types.
-