@Test public void testIsLayoutDefinition() { assertThat(LayoutAnnotationReader.isLayoutDefinition(DummyPmo.class.getAnnotation(DummyLayout.class))); assertThat(LayoutAnnotationReader.isLayoutDefinition(DummyLayout.class.getAnnotation(LinkkiLayout.class)), is(false)); }
public static boolean isLayoutDefinition(@CheckForNull Annotation annotation) { return LINKKI_LAYOUT_ANNOTATION.isPresentOn(annotation); }
LayoutAnnotationReader { public static boolean isLayoutDefinition(@CheckForNull Annotation annotation) { return LINKKI_LAYOUT_ANNOTATION.isPresentOn(annotation); } }
LayoutAnnotationReader { public static boolean isLayoutDefinition(@CheckForNull Annotation annotation) { return LINKKI_LAYOUT_ANNOTATION.isPresentOn(annotation); } private  LayoutAnnotationReader(); }
LayoutAnnotationReader { public static boolean isLayoutDefinition(@CheckForNull Annotation annotation) { return LINKKI_LAYOUT_ANNOTATION.isPresentOn(annotation); } private  LayoutAnnotationReader(); static boolean isLayoutDefinition(@CheckForNull Annotation annotation); static Optional<LinkkiLayoutDefinition> findLayoutDefinition(AnnotatedElement annotatedElement); }
LayoutAnnotationReader { public static boolean isLayoutDefinition(@CheckForNull Annotation annotation) { return LINKKI_LAYOUT_ANNOTATION.isPresentOn(annotation); } private  LayoutAnnotationReader(); static boolean isLayoutDefinition(@CheckForNull Annotation annotation); static Optional<LinkkiLayoutDefinition> findLayoutDefinition(AnnotatedElement annotatedElement);  }