@Test void testRevisionOfAnnotatedClass() { assertEquals("2.3-TEST", testSubject.revisionOf(WithAnnotation.class)); }
@Override public String revisionOf(Class<?> payloadType) { Revision revision = payloadType.getAnnotation(Revision.class); return revision != null ? revision.value() : null; }
AnnotationRevisionResolver implements RevisionResolver { @Override public String revisionOf(Class<?> payloadType) { Revision revision = payloadType.getAnnotation(Revision.class); return revision != null ? revision.value() : null; } }
AnnotationRevisionResolver implements RevisionResolver { @Override public String revisionOf(Class<?> payloadType) { Revision revision = payloadType.getAnnotation(Revision.class); return revision != null ? revision.value() : null; }  }
AnnotationRevisionResolver implements RevisionResolver { @Override public String revisionOf(Class<?> payloadType) { Revision revision = payloadType.getAnnotation(Revision.class); return revision != null ? revision.value() : null; }  @Override String revisionOf(Class<?> payloadType); }
AnnotationRevisionResolver implements RevisionResolver { @Override public String revisionOf(Class<?> payloadType) { Revision revision = payloadType.getAnnotation(Revision.class); return revision != null ? revision.value() : null; }  @Override String revisionOf(Class<?> payloadType);  }