org.stjs.generator.utils
Class ClassUtils

java.lang.Object
  extended by org.stjs.generator.utils.ClassUtils

public final class ClassUtils
extends Object


Method Summary
static
<T extends Annotation>
T
getAnnotation(Class<?> clazz, Class<T> annotationClass)
           
static Class<?> getClazz(ClassLoader builtProjectClassLoader, String className)
           
static String getPropertiesFileName(String className)
           
static boolean hasAnnotation(Class<?> clazz, Class<? extends Annotation> annotationClass)
           
static boolean isBridge(ClassLoader builtProjectClassLoader, Class<?> clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getClazz

public static Class<?> getClazz(ClassLoader builtProjectClassLoader,
                                String className)

isBridge

public static boolean isBridge(ClassLoader builtProjectClassLoader,
                               Class<?> clazz)

hasAnnotation

public static boolean hasAnnotation(Class<?> clazz,
                                    Class<? extends Annotation> annotationClass)

getAnnotation

public static <T extends Annotation> T getAnnotation(Class<?> clazz,
                                                     Class<T> annotationClass)

getPropertiesFileName

public static String getPropertiesFileName(String className)


Copyright © 2014. All Rights Reserved.