public final class StaticBehaviorGuardEvaluatorDictionary extends Object
BehaviorGuardEvaluator
methods for a specific class.
This class is thread-safe.
Modifier and Type | Method and Description |
---|---|
static Map<Class<? extends Event>,Collection<Method>> |
getAnnotedMethodsPerEvent(listenerType : Class<?>)
Replies the declared methods for the guard evaluation into the given type.
|
static com.google.common.collect.ImmutableSet<Class<?>> |
getFlattenHierarchy(concreteClass : Class<?>)
Flattens a class's type hierarchy into a set of
Class objects including all super-classes (transitively) and all interfaces implemented
by these super-classes. |
@Pure
public static def
getFlattenHierarchy(concreteClass : Class<?>) : com.google.common.collect.ImmutableSet<Class<?>>
StaticBehaviorGuardEvaluatorDictionary
Class
objects including all super-classes (transitively) and all interfaces implemented
by these super-classes.concreteClass
- the class you find the hierarchy@Pure
public static def
getAnnotedMethodsPerEvent(listenerType : Class<?>) : Map<Class<? extends Event>,Collection<Method>>
StaticBehaviorGuardEvaluatorDictionary
type
- the type to explore.Copyright © 2020 the original authors or authors.