io.sarl.sre.janus.internal.eventguard.reflect
Class StaticReflectBehaviorGuardEvaluatorDictionary
final class StaticReflectBehaviorGuardEvaluatorDictionary
extends java.lang.Object
Dictionary of all the statically defined BehaviorGuardEvaluator methods for a specific class.

This class is thread-safe.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Since:
0.11
Action Summary
Modifier and type Action and description
static java.util.Map<K,V> getAnnotedMethodsPerEvent(Class<T>)
Replies the declared methods for the guard evaluation into the given type.
static com.google.common.collect.ImmutableSet<E> getFlattenHierarchy(Class<T>)
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.
static com.google.common.collect.ImmutableSet<E> getFlattenHierarchy(Class<T>,Class<T>)
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.
Action Details
getAnnotedMethodsPerEvent(Class<T>)
def getAnnotedMethodsPerEvent(Class<T>) : java.util.Map<K,V>
Replies the declared methods for the guard evaluation into the given type.
Parameters:
listenerType - the type to explore.
Returns:
the declared methods for guard evaluation.
getFlattenHierarchy(Class<T>)
def getFlattenHierarchy(Class<T>) : com.google.common.collect.ImmutableSet<E>
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.
Parameters:
concreteClass - the class you find the hierarchy
Returns:
the set of class in the hierarchy of the specififed class
getFlattenHierarchy(Class<T>,Class<T>)
def getFlattenHierarchy(Class<T>,Class<T>) : com.google.common.collect.ImmutableSet<E>

with T

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.
Parameters:
concreteClass - the class you find the hierarchy
Returns:
the set of class in the hierarchy of the specififed class