Interface MediatorConfigurationSupport.GenericTypeAssignable
-
- All Known Implementing Classes:
DefaultMediatorConfiguration.AlwaysInvalidIndexGenericTypeAssignable,DefaultMediatorConfiguration.MethodParamGenericTypeAssignable,DefaultMediatorConfiguration.ReturnTypeGenericTypeAssignable
- Enclosing class:
- MediatorConfigurationSupport
public static interface MediatorConfigurationSupport.GenericTypeAssignable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMediatorConfigurationSupport.GenericTypeAssignable.Result
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MediatorConfigurationSupport.GenericTypeAssignable.Resultcheck(Class<?> target, int index)TypegetType(int index)Gets the underlying type.TypegetType(int index, int subIndex)Gets the underlying sub-type.
-
-
-
Method Detail
-
check
MediatorConfigurationSupport.GenericTypeAssignable.Result check(Class<?> target, int index)
-
getType
Type getType(int index)
Gets the underlying type. For example, on aMessage<X>, it returnsX.- Parameters:
index- the index of the type- Returns:
- the type,
nullif not set or wildcard
-
getType
Type getType(int index, int subIndex)
Gets the underlying sub-type. For example, on aPublisher<Message<X>>, it returnsX.- Parameters:
index- the index of the typesubIndex- the second index- Returns:
- the type,
nullif not set or wildcard
-
-