Package play.classloading
Class ApplicationClasses
- java.lang.Object
-
- play.classloading.ApplicationClasses
-
public class ApplicationClasses extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ApplicationClasses()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Class>
getAnnotatedClasses(java.lang.Class<? extends java.lang.annotation.Annotation> clazz)
Retrieve all application classes with a specific annotation.<T> java.util.List<java.lang.Class<? extends T>>
getAssignableClasses(java.lang.Class<T> aClass)
java.lang.Class<?>
getClassIgnoreCase(java.lang.String name)
java.lang.String
toString()
-
-
-
Method Detail
-
getAssignableClasses
public <T> java.util.List<java.lang.Class<? extends T>> getAssignableClasses(java.lang.Class<T> aClass)
-
getClassIgnoreCase
public java.lang.Class<?> getClassIgnoreCase(java.lang.String name)
-
getAnnotatedClasses
public java.util.List<java.lang.Class> getAnnotatedClasses(java.lang.Class<? extends java.lang.annotation.Annotation> clazz)
Retrieve all application classes with a specific annotation.- Parameters:
clazz
- The annotation class.- Returns:
- A list of application classes.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-