public interface JavaArtifactIntrospector
| Modifier and Type | Method and Description |
|---|---|
Resource |
inspect(java.lang.Class<?> clazz,
java.net.URL url,
Contribution contribution,
IntrospectionContext context)
Introspects the class and determines if it is a contribution resource.
|
default boolean |
isComponent(java.lang.Class<?> clazz)
Returns true if the type is a concrete component by introspecting if it is annotated with
Component either directly or via a meta-annotation. |
Resource inspect(java.lang.Class<?> clazz, java.net.URL url, Contribution contribution, IntrospectionContext context)
clazz - the classurl - the URL for the class bytecodecontribution - the containing contributioncontext - the introspection contextdefault boolean isComponent(java.lang.Class<?> clazz)
Component either directly or via a meta-annotation.clazz - the type