de.grogra.reflect
| Modifier and Type | Class and Description |
|---|---|
static interface |
ClassAdapter.ClassLoaderWithPool |
static class |
ClassAdapter.URLClassLoaderWithPool |
annots, declaringType, descriptor, modifiers, nameBOOLEAN, BYTE, CHAR, CLASS, DOUBLE, FLOAT, FLOATING_POINT, INT, INTEGRAL, INVALID, LOCAL_CLASS_MODIFIERS, LONG, MEMBER_CLASS_MODIFIERS, MEMBER_INTERFACE_MODIFIERS, NULL, NUMBER, NUMERIC, OBJECT, SHORT, STRING, TEXTAREA, TOP_LEVEL_CLASS_MODIFIERS, TOP_LEVEL_INTERFACE_MODIFIERS, TYPE, TYPE_0, VOIDABSTRACT, ACCESS_MODIFIERS, ARRAY, BRIDGE, CONSTANT, FINAL, INTERFACE, JAVA_MODIFIERS, LOCAL_CLASS, MIN_UNUSED_MODIFIER, NATIVE, PRIVATE, PROTECTED, PUBLIC, STATIC, STRICT, SYNCHRONIZED, SYNTHETIC, TRANSIENT, VARARGS, VOLATILE| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
createArray(int length) |
Type<?> |
getArrayType() |
Annotation |
getDeclaredAnnotation(int index) |
int |
getDeclaredAnnotationCount() |
Field |
getDeclaredField(int index) |
int |
getDeclaredFieldCount() |
Type<?> |
getDeclaredInterface(int index) |
int |
getDeclaredInterfaceCount() |
Method |
getDeclaredMethod(int index) |
int |
getDeclaredMethodCount() |
Type<?> |
getDeclaredType(int index) |
int |
getDeclaredTypeCount() |
static java.lang.String |
getDescriptor(java.lang.Class cls) |
java.lang.Class<T> |
getImplementationClass() |
boolean |
isInstance(java.lang.Object object) |
T |
newInstance() |
static Type[] |
wrap(java.lang.Class[] classes,
boolean pooled) |
static <T> ClassAdapter<T> |
wrap(java.lang.Class<T> cls) |
static <T> ClassAdapter<T> |
wrap(java.lang.Class<T> cls,
boolean pooled) |
static <T> ClassAdapter<T> |
wrap(java.lang.Class<T> cls,
ClassAdapter.ClassLoaderWithPool loader) |
cloneObject, getBinaryName, getComponentType, getDefaultElementValue, getLookup, getPackage, getSimpleName, getSupertype, getTypeId, getTypeLoader, isStringSerializable, toString, valueOfgetDeclaringType, getDescriptor, getModifiers, getNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDeclaringType, getDescriptor, getModifiers, getNamepublic java.lang.Object createArray(int length)
createArray in interface Type<T>createArray in class TypeImpl<T>public Type<?> getArrayType()
getArrayType in interface Type<T>getArrayType in class TypeImpl<T>public Annotation getDeclaredAnnotation(int index)
getDeclaredAnnotation in interface MembergetDeclaredAnnotation in class MemberBasepublic int getDeclaredAnnotationCount()
getDeclaredAnnotationCount in interface MembergetDeclaredAnnotationCount in class MemberBasepublic Field getDeclaredField(int index)
getDeclaredField in interface Type<T>getDeclaredField in class TypeImpl<T>public int getDeclaredFieldCount()
getDeclaredFieldCount in interface Type<T>getDeclaredFieldCount in class TypeImpl<T>public Type<?> getDeclaredInterface(int index)
getDeclaredInterface in interface Type<T>getDeclaredInterface in class TypeImpl<T>public int getDeclaredInterfaceCount()
getDeclaredInterfaceCount in interface Type<T>getDeclaredInterfaceCount in class TypeImpl<T>public Method getDeclaredMethod(int index)
getDeclaredMethod in interface Type<T>getDeclaredMethod in class TypeImpl<T>public int getDeclaredMethodCount()
getDeclaredMethodCount in interface Type<T>getDeclaredMethodCount in class TypeImpl<T>public Type<?> getDeclaredType(int index)
getDeclaredType in interface Type<T>getDeclaredType in class TypeImpl<T>public int getDeclaredTypeCount()
getDeclaredTypeCount in interface Type<T>getDeclaredTypeCount in class TypeImpl<T>public static java.lang.String getDescriptor(java.lang.Class cls)
public java.lang.Class<T> getImplementationClass()
getImplementationClass in interface Type<T>getImplementationClass in class TypeImpl<T>public boolean isInstance(java.lang.Object object)
isInstance in interface Type<T>isInstance in class TypeImpl<T>public T newInstance() throws java.lang.reflect.InvocationTargetException, java.lang.InstantiationException, java.lang.IllegalAccessException
newInstance in interface Type<T>newInstance in class TypeImpl<T>java.lang.reflect.InvocationTargetExceptionjava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionpublic static Type[] wrap(java.lang.Class[] classes, boolean pooled)
public static <T> ClassAdapter<T> wrap(java.lang.Class<T> cls)
public static <T> ClassAdapter<T> wrap(java.lang.Class<T> cls, boolean pooled)
public static <T> ClassAdapter<T> wrap(java.lang.Class<T> cls, ClassAdapter.ClassLoaderWithPool loader)