SubscriberSignature

public class SubscriberSignature extends EventAcceptingSignature<H>

A signature of SubscriberMethod.

Constructors

Link copied to clipboard
public void SubscriberSignature()

Functions

Link copied to clipboard
Creates the HandlerMethod instance according to the passed raw method and the parameter specification.
Link copied to clipboard
public boolean mayReturnIgnored()
This method never returns any results.
Link copied to clipboard
Obtains the specification of handler parameters to meet.
Link copied to clipboard
Obtains the set of valid return types.

Inherited functions

Link copied to clipboard
protected Optional<Class<? extends Throwable>> allowedThrowable()
Obtains the type of a Throwable which a method can declare.
Link copied to clipboard
public final Class<? extends Annotation> annotation()
Obtains the annotation, which is required to be declared for the matched raw method.
Link copied to clipboard
public final Optional<H> classify(Method method)
Creates a handler method from a raw method, if the passed method matches the signature.
Link copied to clipboard
public final Collection<SignatureMismatch> match(Method method)
Match the method against the criteria and obtain a collection of mismatches, if any.
Link copied to clipboard
public final boolean matches(Method method)
Checks whether the passed method matches the constraints set by this MethodSignature instance.
Link copied to clipboard
Obtains the set of recommended access modifiers for the method.
Link copied to clipboard
public abstract AllowedParams<E> params()
Obtains the specification of handler parameters to meet.
Link copied to clipboard
protected boolean skipMethod(Method method)
Determines, if the given raw method should be skipped as non-matching.