Can an instance of this class be created using a zero-args constructor?
Can an instance of this class be created using a zero-args constructor?
Check if a class exists.
Check if a class exists.
Lookup the legnth for a resource on the classpath
Lookup the legnth for a resource on the classpath
Lookup the legnth for a resource on the classpath
Lookup the legnth for a resource on the classpath
Check if a directory exists on the classpath
Check if a directory exists on the classpath
Check if a directory exists on the classpath
Check if a directory exists on the classpath
Check if a file exists on the classpath
Check if a file exists on the classpath
Check if a file exists on the classpath
Check if a file exists on the classpath
Lookup the lastModified timestamp for a resource on the classpath
Lookup the lastModified timestamp for a resource on the classpath
Lookup the lastModified timestamp for a resource on the classpath
Lookup the lastModified timestamp for a resource on the classpath
Lookup the companion object class for a class
Lookup the companion object class for a class
Lookup the companion object class for a class
Find all classes annotated with a Java Annotation.
Find all classes annotated with a Java Annotation.
Note: This loads ALL classes under the basePackage!
Find all classes annotated with a Java Annotation.
Find all classes annotated with a Java Annotation.
Note: This loads ALL classes under the basePackage!
Find all class names under the base package (includes anonymous/inner/objects etc...)
Find all class names under the base package (includes anonymous/inner/objects etc...)
Recursively Find files on the classpath given a base package.
Recursively Find files on the classpath given a base package.
Find all concrete classes that extend a trait/interface/class.
Find all concrete classes that extend a trait/interface/class.
Note: This loads ALL classes under the basePackage and uses Class.isAssignableFrom for checking.
Find all concrete classes that extend a trait/interface/class.
Find all concrete classes that extend a trait/interface/class.
Note: This loads ALL classes under the basePackage and uses Class.isAssignableFrom for checking.
Finds all Scala Objects that extends a trait/interface/class.
Finds all Scala Objects that extends a trait/interface/class.
Note: This loads ALL classes under the basePackage and uses Class.isAssignableFrom for checking.
Finds all Scala Objects that extends a trait/interface/class.
Finds all Scala Objects that extends a trait/interface/class.
Note: This loads ALL classes under the basePackage and uses Class.isAssignableFrom for checking.
Lookup the companion object class for a class
Lookup the companion object class for a class
Creates a new instance of a class using a 0-args constructor or returns the Scala object instance of this class
Creates a new instance of a class using a 0-args constructor or returns the Scala object instance of this class
Creates a new instance of a class using a 0-args constructor or returns the Scala object instance of this class
The class to create an instance of (or to get the Object instance for)
The return type
Returns the Scala object instance for this class (if it is the class of a Scala object)
Returns the Scala object instance for this class (if it is the class of a Scala object)
Returns the Scala object instance for this class (if it is the class of a Scala object)
Check if a class is loaded
Check if a class is loaded
Is this the class for a Scala Object?
Does this class represent a Scala object
Does this class represent a Scala object
The fully qualified name of the class to check (Note: should end with a '$' character)
Does this class represent a Scala object
Does this class represent a Scala object
The fully qualified name of the class to check (Note: should end with a '$' character)
Similar to File.listFiles() (i.e.
Similar to File.listFiles() (i.e. a non-recursive findClassPathFiles)
Similar to File.listFiles() (i.e.
Similar to File.listFiles() (i.e. a non-recursive findClassPathFiles)
Creates a new instance of a class using a 0-args constructor or returns the Scala object instance of this class
Creates a new instance of a class using a 0-args constructor or returns the Scala object instance of this class
Creates a new instance of a class using a 0-args constructor or returns the Scala object instance of this class
Check if a class exists.
Check if a class exists. If it does not then a ClassNotFoundException is thrown.
Check if a class exists.
Check if a class exists. If it does not then a ClassNotFoundException is thrown.
Returns the Scala object instance for this class
Returns the Scala object instance for this class
Returns the Scala object instance for this class
(Since version ) see corresponding Javadoc for more information.
This contains utility methods for scanning Classes or Files on the classpath.
Originally we used the classpath scanning functionality in the Spring Framework and then later switched to the Reflections library (https://code.google.com/p/reflections/) to avoid the dependency on Spring. At some point we ran into issues with the Reflections library not properly detecting classes so I ended up writing this as a replacement.