@Test public void testIsLinkkiComponentDefinition() throws Exception { assertTrue(ComponentAnnotationReader .isComponentDefinition(ClassWithComponentAnnotatedAnnotations.class.getMethod("annotated") .getAnnotation(AnnotationWithComponentAnnotation.class))); assertFalse(ComponentAnnotationReader .isComponentDefinition(ClassWithComponentAnnotatedAnnotations.class .getMethod("annotatedWithoutComponent") .getAnnotation(AnnotationWithoutComponentAnnotation.class))); }
public static boolean isComponentDefinition(@CheckForNull Annotation annotation) { return LINKKI_COMPONENT_ANNOTATION.isPresentOn(annotation); }
ComponentAnnotationReader { public static boolean isComponentDefinition(@CheckForNull Annotation annotation) { return LINKKI_COMPONENT_ANNOTATION.isPresentOn(annotation); } }
ComponentAnnotationReader { public static boolean isComponentDefinition(@CheckForNull Annotation annotation) { return LINKKI_COMPONENT_ANNOTATION.isPresentOn(annotation); } private  ComponentAnnotationReader(); }
ComponentAnnotationReader { public static boolean isComponentDefinition(@CheckForNull Annotation annotation) { return LINKKI_COMPONENT_ANNOTATION.isPresentOn(annotation); } private  ComponentAnnotationReader(); static boolean isComponentDefinition(@CheckForNull Annotation annotation); static boolean isComponentDefinitionPresent(AnnotatedElement annotatedElement); static Stream<Method> getComponentDefinitionMethods(Class<?> pmoClass); static LinkkiComponentDefinition getComponentDefinition(
            A annotation,
            AnnotatedElement annotatedElement); static Optional<LinkkiComponentDefinition> findComponentDefinition(AnnotatedElement annotatedElement); static Annotation getComponentDefinitionAnnotation(AnnotatedElement annotatedElement, Object pmo); }
ComponentAnnotationReader { public static boolean isComponentDefinition(@CheckForNull Annotation annotation) { return LINKKI_COMPONENT_ANNOTATION.isPresentOn(annotation); } private  ComponentAnnotationReader(); static boolean isComponentDefinition(@CheckForNull Annotation annotation); static boolean isComponentDefinitionPresent(AnnotatedElement annotatedElement); static Stream<Method> getComponentDefinitionMethods(Class<?> pmoClass); static LinkkiComponentDefinition getComponentDefinition(
            A annotation,
            AnnotatedElement annotatedElement); static Optional<LinkkiComponentDefinition> findComponentDefinition(AnnotatedElement annotatedElement); static Annotation getComponentDefinitionAnnotation(AnnotatedElement annotatedElement, Object pmo); static final String COMPONENT_PROPERTY_SUFFIX; }