createMismatch

protected final Optional<SignatureMismatch> createMismatch(Method method, Class<? extends Annotation> annotation)

Creates a mismatch with the passed method and the name as parameters.