Package org.reflections
Class Reflections_0_9_12_withFixForIssue273
java.lang.Object
org.reflections.Reflections_0_9_12_withFixForIssue273
See PJ FIX for a workaround for issue in org.reflections version 0.9.12
(https://github.com/ronmamo/reflections/issues/273)
This issue is pretty blocking since it stops us from being able to scan for classes that have
@FeignClient or @RestController annotations-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.reflections.Configurationstatic org.slf4j.Loggerprotected org.reflections.Store -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedReflections_0_9_12_withFixForIssue273(Object... params) Reflections_0_9_12_withFixForIssue273(String prefix, org.reflections.scanners.Scanner... scanners) Reflections_0_9_12_withFixForIssue273(org.reflections.Configuration configuration) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected Collection<String>getAllAnnotated(Collection<String> annotated, Class<? extends Annotation> annotation, boolean honorInherited) get all types scanned.org.reflections.ConfigurationgetConstructorParamNames(Constructor constructor) getConstructorsAnnotatedWith(Annotation annotation) getConstructorsAnnotatedWith(Class<? extends Annotation> annotation) getConstructorsMatchParams(Class<?>... types) getConstructorsWithAnyParamAnnotated(Annotation annotation) getConstructorsWithAnyParamAnnotated(Class<? extends Annotation> annotation) getConstructorUsage(Constructor constructor) getFieldsAnnotatedWith(Annotation annotation) getFieldsAnnotatedWith(Class<? extends Annotation> annotation) getFieldUsage(Field field) getMethodParamNames(Method method) getMethodsAnnotatedWith(Annotation annotation) getMethodsAnnotatedWith(Class<? extends Annotation> annotation) getMethodsMatchParams(Class<?>... types) getMethodsReturn(Class returnType) getMethodsWithAnyParamAnnotated(Annotation annotation) getMethodsWithAnyParamAnnotated(Class<? extends Annotation> annotation) getMethodUsage(Method method) getResources(Predicate<String> namePredicate) getResources(Pattern pattern) org.reflections.StoregetStore()getSubTypesOf(Class<T> type) getTypesAnnotatedWith(Annotation annotation) getTypesAnnotatedWith(Annotation annotation, boolean honorInherited) getTypesAnnotatedWith(Class<? extends Annotation> annotation) getTypesAnnotatedWith(Class<? extends Annotation> annotation, boolean honorInherited) merge(Reflections_0_9_12_withFixForIssue273 reflections) protected voidscan()protected void
-
Field Details
-
log
public static org.slf4j.Logger log -
configuration
protected final transient org.reflections.Configuration configuration -
store
protected org.reflections.Store store
-
-
Constructor Details
-
Reflections_0_9_12_withFixForIssue273
public Reflections_0_9_12_withFixForIssue273(org.reflections.Configuration configuration) -
Reflections_0_9_12_withFixForIssue273
public Reflections_0_9_12_withFixForIssue273(String prefix, org.reflections.scanners.Scanner... scanners) -
Reflections_0_9_12_withFixForIssue273
-
Reflections_0_9_12_withFixForIssue273
protected Reflections_0_9_12_withFixForIssue273()
-
-
Method Details
-
scan
protected void scan() -
scan
-
merge
public Reflections_0_9_12_withFixForIssue273 merge(Reflections_0_9_12_withFixForIssue273 reflections) -
expandSuperTypes
public void expandSuperTypes() -
getSubTypesOf
-
getTypesAnnotatedWith
-
getTypesAnnotatedWith
public Set<Class<?>> getTypesAnnotatedWith(Class<? extends Annotation> annotation, boolean honorInherited) -
getTypesAnnotatedWith
-
getTypesAnnotatedWith
-
getAllAnnotated
protected Collection<String> getAllAnnotated(Collection<String> annotated, Class<? extends Annotation> annotation, boolean honorInherited) -
getMethodsAnnotatedWith
-
getMethodsAnnotatedWith
-
getMethodsMatchParams
-
getMethodsReturn
-
getMethodsWithAnyParamAnnotated
-
getMethodsWithAnyParamAnnotated
-
getConstructorsAnnotatedWith
-
getConstructorsAnnotatedWith
-
getConstructorsMatchParams
-
getConstructorsWithAnyParamAnnotated
public Set<Constructor> getConstructorsWithAnyParamAnnotated(Class<? extends Annotation> annotation) -
getConstructorsWithAnyParamAnnotated
-
getFieldsAnnotatedWith
-
getFieldsAnnotatedWith
-
getResources
-
getResources
-
getMethodParamNames
-
getConstructorParamNames
-
getFieldUsage
-
getMethodUsage
-
getConstructorUsage
-
getAllTypes
get all types scanned. this is effectively similar to getting all subtypes of Object.depends on SubTypesScanner configured with
SubTypesScanner(false), otherwiseReflectionsExceptionis thrownnote using this might be a bad practice. it is better to get types matching some criteria, such as
getSubTypesOf(Class)orgetTypesAnnotatedWith(Class)- Returns:
- Set of String, and not of Class, in order to avoid definition of all types in PermGen
-
getStore
public org.reflections.Store getStore() -
getConfiguration
public org.reflections.Configuration getConfiguration()
-