java.lang.Object
de.grogra.reflect.MemberBase
de.grogra.reflect.TypeImpl<T>
de.grogra.reflect.ClassAdapter<T>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static class
-
Field Summary
Fields inherited from class de.grogra.reflect.MemberBase
annots, declaringType, descriptor, modifiers, name
Fields inherited from interface de.grogra.reflect.Member
ABSTRACT, 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
Fields inherited from interface de.grogra.reflect.Type
BOOLEAN, 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, VOID
-
Method Summary
Modifier and TypeMethodDescriptioncreateArray
(int length) Type<?>
getDeclaredAnnotation
(int index) int
getDeclaredField
(int index) int
Type<?>
getDeclaredInterface
(int index) int
getDeclaredMethod
(int index) int
Type<?>
getDeclaredType
(int index) int
static String
getDescriptor
(Class cls) boolean
isInstance
(Object object) static Type[]
static <T> ClassAdapter<T>
static <T> ClassAdapter<T>
static <T> ClassAdapter<T>
wrap
(Class<T> cls, ClassAdapter.ClassLoaderWithPool loader) Methods inherited from class de.grogra.reflect.TypeImpl
cloneObject, getBinaryName, getComponentType, getDefaultElementValue, getLookup, getPackage, getSimpleName, getSupertype, getTypeId, getTypeLoader, isStringSerializable, toString, valueOf
Methods inherited from class de.grogra.reflect.MemberBase
getDeclaringType, getDescriptor, getModifiers, getName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface de.grogra.reflect.Member
getDeclaringType, getDescriptor, getModifiers, getName
-
Method Details
-
wrap
-
wrap
-
wrap
-
wrap
-
getDescriptor
-
isInstance
- Specified by:
isInstance
in interfaceType<T>
- Overrides:
isInstance
in classTypeImpl<T>
-
getImplementationClass
- Specified by:
getImplementationClass
in interfaceType<T>
- Overrides:
getImplementationClass
in classTypeImpl<T>
-
getDeclaredFieldCount
public int getDeclaredFieldCount()- Specified by:
getDeclaredFieldCount
in interfaceType<T>
- Overrides:
getDeclaredFieldCount
in classTypeImpl<T>
-
getDeclaredField
- Specified by:
getDeclaredField
in interfaceType<T>
- Overrides:
getDeclaredField
in classTypeImpl<T>
-
getDeclaredMethodCount
public int getDeclaredMethodCount()- Specified by:
getDeclaredMethodCount
in interfaceType<T>
- Overrides:
getDeclaredMethodCount
in classTypeImpl<T>
-
getDeclaredMethod
- Specified by:
getDeclaredMethod
in interfaceType<T>
- Overrides:
getDeclaredMethod
in classTypeImpl<T>
-
getDeclaredInterfaceCount
public int getDeclaredInterfaceCount()- Specified by:
getDeclaredInterfaceCount
in interfaceType<T>
- Overrides:
getDeclaredInterfaceCount
in classTypeImpl<T>
-
getDeclaredInterface
- Specified by:
getDeclaredInterface
in interfaceType<T>
- Overrides:
getDeclaredInterface
in classTypeImpl<T>
-
getDeclaredTypeCount
public int getDeclaredTypeCount()- Specified by:
getDeclaredTypeCount
in interfaceType<T>
- Overrides:
getDeclaredTypeCount
in classTypeImpl<T>
-
getDeclaredType
- Specified by:
getDeclaredType
in interfaceType<T>
- Overrides:
getDeclaredType
in classTypeImpl<T>
-
getArrayType
- Specified by:
getArrayType
in interfaceType<T>
- Overrides:
getArrayType
in classTypeImpl<T>
-
getDeclaredAnnotationCount
public int getDeclaredAnnotationCount()- Specified by:
getDeclaredAnnotationCount
in interfaceMember
- Overrides:
getDeclaredAnnotationCount
in classMemberBase
-
getDeclaredAnnotation
- Specified by:
getDeclaredAnnotation
in interfaceMember
- Overrides:
getDeclaredAnnotation
in classMemberBase
-
createArray
- Specified by:
createArray
in interfaceType<T>
- Overrides:
createArray
in classTypeImpl<T>
-
newInstance
public T newInstance() throws InvocationTargetException, InstantiationException, IllegalAccessException- Specified by:
newInstance
in interfaceType<T>
- Overrides:
newInstance
in classTypeImpl<T>
- Throws:
InvocationTargetException
InstantiationException
IllegalAccessException
-