jaxx.compiler.reflect
Class ClassDescriptorLoader
java.lang.Object
jaxx.compiler.reflect.ClassDescriptorLoader
public class ClassDescriptorLoader
- extends Object
Mirrors the class java.lang.ClassLoader. JAXX uses ClassDescriptor instead of Class
almost everywhere so that it can handle circular dependencies (there can't be a Class object for an uncompiled
JAXX or Java source file, and a compiler must be allow references to symbols in uncompiled source files in order to handle
circular dependencies).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getClassDescriptor
public static ClassDescriptor getClassDescriptor(String className)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
getClassDescriptor
public static ClassDescriptor getClassDescriptor(String className,
ClassLoader classLoader)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
getClassDescriptor
public static ClassDescriptor getClassDescriptor(Class<?> javaClass)
getPrimitiveBoxedClass
public static Class<?> getPrimitiveBoxedClass(String className)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
getPrimitiveClass
public static Class<?> getPrimitiveClass(String className)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
getClass
public static Class<?> getClass(String className,
ClassLoader classLoader)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
checkSupportClass
public static void checkSupportClass(Class<?> handlerClass,
ClassDescriptor beanClass,
Class<?>... tagClasses)
reset
public static void reset()
Copyright © 2008-2010 CodeLutin. All Rights Reserved.