Class Reflections_0_9_12_withFixForIssue273

java.lang.Object
org.reflections.Reflections_0_9_12_withFixForIssue273

public class Reflections_0_9_12_withFixForIssue273 extends Object
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 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

      public Reflections_0_9_12_withFixForIssue273(Object... params)
    • Reflections_0_9_12_withFixForIssue273

      protected Reflections_0_9_12_withFixForIssue273()
  • Method Details

    • scan

      protected void scan()
    • scan

      protected void scan(URL url)
    • merge

    • expandSuperTypes

      public void expandSuperTypes()
    • getSubTypesOf

      public <T> Set<Class<? extends T>> getSubTypesOf(Class<T> type)
    • getTypesAnnotatedWith

      public Set<Class<?>> getTypesAnnotatedWith(Class<? extends Annotation> annotation)
    • getTypesAnnotatedWith

      public Set<Class<?>> getTypesAnnotatedWith(Class<? extends Annotation> annotation, boolean honorInherited)
    • getTypesAnnotatedWith

      public Set<Class<?>> getTypesAnnotatedWith(Annotation annotation)
    • getTypesAnnotatedWith

      public Set<Class<?>> getTypesAnnotatedWith(Annotation annotation, boolean honorInherited)
    • getAllAnnotated

      protected Collection<String> getAllAnnotated(Collection<String> annotated, Class<? extends Annotation> annotation, boolean honorInherited)
    • getMethodsAnnotatedWith

      public Set<Method> getMethodsAnnotatedWith(Class<? extends Annotation> annotation)
    • getMethodsAnnotatedWith

      public Set<Method> getMethodsAnnotatedWith(Annotation annotation)
    • getMethodsMatchParams

      public Set<Method> getMethodsMatchParams(Class<?>... types)
    • getMethodsReturn

      public Set<Method> getMethodsReturn(Class returnType)
    • getMethodsWithAnyParamAnnotated

      public Set<Method> getMethodsWithAnyParamAnnotated(Class<? extends Annotation> annotation)
    • getMethodsWithAnyParamAnnotated

      public Set<Method> getMethodsWithAnyParamAnnotated(Annotation annotation)
    • getConstructorsAnnotatedWith

      public Set<Constructor> getConstructorsAnnotatedWith(Class<? extends Annotation> annotation)
    • getConstructorsAnnotatedWith

      public Set<Constructor> getConstructorsAnnotatedWith(Annotation annotation)
    • getConstructorsMatchParams

      public Set<Constructor> getConstructorsMatchParams(Class<?>... types)
    • getConstructorsWithAnyParamAnnotated

      public Set<Constructor> getConstructorsWithAnyParamAnnotated(Class<? extends Annotation> annotation)
    • getConstructorsWithAnyParamAnnotated

      public Set<Constructor> getConstructorsWithAnyParamAnnotated(Annotation annotation)
    • getFieldsAnnotatedWith

      public Set<Field> getFieldsAnnotatedWith(Class<? extends Annotation> annotation)
    • getFieldsAnnotatedWith

      public Set<Field> getFieldsAnnotatedWith(Annotation annotation)
    • getResources

      public Set<String> getResources(Predicate<String> namePredicate)
    • getResources

      public Set<String> getResources(Pattern pattern)
    • getMethodParamNames

      public List<String> getMethodParamNames(Method method)
    • getConstructorParamNames

      public List<String> getConstructorParamNames(Constructor constructor)
    • getFieldUsage

      public Set<Member> getFieldUsage(Field field)
    • getMethodUsage

      public Set<Member> getMethodUsage(Method method)
    • getConstructorUsage

      public Set<Member> getConstructorUsage(Constructor constructor)
    • getAllTypes

      public Set<String> getAllTypes()
      get all types scanned. this is effectively similar to getting all subtypes of Object.

      depends on SubTypesScanner configured with SubTypesScanner(false), otherwise ReflectionsException is thrown

      note using this might be a bad practice. it is better to get types matching some criteria, such as getSubTypesOf(Class) or getTypesAnnotatedWith(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()