Class SubClassFinder<T>

java.lang.Object
com.majorana.maj_orm.Utils.SubClassFinder<T>

public class SubClassFinder<T> extends Object
  • Constructor Details

    • SubClassFinder

      public SubClassFinder(int major, int minor)
    • SubClassFinder

      public SubClassFinder()
  • Method Details

    • getSubclassInstances

      public Set<T> getSubclassInstances(String packageName, Class sup)
    • getSubclassInstancesInPackagePrefix

      public Set<T> getSubclassInstancesInPackagePrefix(String packagePrefix, Class sup)
    • findSubclassesInPackagePrefix

      public Set<Class> findSubclassesInPackagePrefix(String packagePrefix, Class sup)
    • findSubclassesInPackagePrefix

      public Set<Class> findSubclassesInPackagePrefix(String packagePrefix, Class sup, int major, int minor)
    • findSubclassesInPack

      public Set<Class> findSubclassesInPack(String pack, Class sup)
    • findAllClassesInPackage

      public Set<Class> findAllClassesInPackage(String package1)
    • findAllClassesUsingClassLoader1

      public Set<Class> findAllClassesUsingClassLoader1(String packageName, ClassLoader loader)
    • getLoaders

      public List<ClassLoader> getLoaders()
    • getReflections

      public static org.reflections.Reflections getReflections()
    • getReflections

      public static org.reflections.Reflections getReflections(Class c)
    • findSubclasses

      public static Set<Class> findSubclasses(String packageName, Class sup)
    • getReflections

      public static org.reflections.Reflections getReflections(String packageName)
    • getAnnotatedClassInPackage

      public Set<Class> getAnnotatedClassInPackage(String pack, Class anno)
    • getHighestVersionInPackage

      public org.apache.commons.lang3.tuple.Pair<Integer,Integer> getHighestVersionInPackage(String pack)
    • getEntityVersions

      public org.apache.commons.lang3.tuple.Pair<Integer,Integer> getEntityVersions(Class cl)
    • getCLassEnitityVersion

      public org.apache.commons.lang3.tuple.Pair<Integer,Integer> getCLassEnitityVersion(Class clazz)
    • getPair

      public org.apache.commons.lang3.tuple.Pair<Integer,Integer> getPair(EntityPackage ep)
    • findAllClassesUsingReflectionsLibrary

      public static Set<Class> findAllClassesUsingReflectionsLibrary(String packageName)
    • findNamedClassesUsingReflectionsLibrary

      public static Set<Class> findNamedClassesUsingReflectionsLibrary(String packageName, Class sup)
    • findAllClassesUsingReflectionsLibrary

      public static Set<Class> findAllClassesUsingReflectionsLibrary()
    • findAllClassesUsingReflectionsLibrarySUbclassing

      public static Set<Class> findAllClassesUsingReflectionsLibrarySUbclassing(Class c)
    • findAllClassesUsingClassLoader

      public static Set<Class> findAllClassesUsingClassLoader(String packageName)
    • getPackages

      public List<String> getPackages()