| Modifier and Type | Method and Description |
|---|---|
static void |
forEachMemberMethod(Class<?> type,
Consumer<Method> action)
Starting at given type, traverses all super types (except Object.class)
and passes each encountered method (including private and static ones) to
the given consumer.
|
public static void forEachMemberMethod(Class<?> type, Consumer<Method> action)
type - The type to start traversal.action - Action to execute for each encountered method.Copyright © 2014–2016. All rights reserved.