public class ClassFinder
extends java.lang.Object
Constructor and Description |
---|
ClassFinder() |
Modifier and Type | Method and Description |
---|---|
static <T extends BrooklynObject> |
findClasses(java.util.Collection<java.net.URL> urls,
java.lang.Class<T> clazz) |
static <any> |
notBoring() |
static java.util.List<java.net.URL> |
toJarUrls(java.lang.String url)
finds a jar at a url, or for directories, jars under a path
|
static <any> |
withAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotation) |
static <any> |
withClassNameMatching(java.lang.String typeRegex) |
public static <any> notBoring()
public static <any> withAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
public static <any> withClassNameMatching(java.lang.String typeRegex)
public static java.util.List<java.net.URL> toJarUrls(java.lang.String url) throws java.net.MalformedURLException
java.net.MalformedURLException
public static <T extends BrooklynObject> java.util.Set<java.lang.Class<? extends T>> findClasses(java.util.Collection<java.net.URL> urls, java.lang.Class<T> clazz)