|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.grogra.reflect.MemberDecorator de.grogra.reflect.TypeDecorator<T> de.grogra.reflect.LazyType<T>
public class LazyType<T>
Field Summary |
---|
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, TOP_LEVEL_CLASS_MODIFIERS, TOP_LEVEL_INTERFACE_MODIFIERS, TYPE, TYPE_0, VOID |
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 |
Constructor Summary | |
---|---|
LazyType(java.lang.String binaryName,
java.lang.ClassLoader loader)
|
|
LazyType(java.lang.String binaryName,
TypeLoader loader)
|
Method Summary | |
---|---|
java.lang.String |
getBinaryName()
|
Member |
getDecoratedMember()
|
java.lang.String |
getDescriptor()
Returns a descriptor for this member. |
Methods inherited from class de.grogra.reflect.TypeDecorator |
---|
cloneObject, createArray, getArrayType, getComponentType, getDeclaredField, getDeclaredFieldCount, getDeclaredInterface, getDeclaredInterfaceCount, getDeclaredMethod, getDeclaredMethodCount, getDeclaredType, getDeclaredTypeCount, getDefaultElementValue, getImplementationClass, getLookup, getPackage, getSupertype, getTypeId, getTypeLoader, isInstance, isStringSerializable, newInstance, toString, undecorate, valueOf |
Methods inherited from class de.grogra.reflect.MemberDecorator |
---|
getDeclaredAnnotation, getDeclaredAnnotationCount, getDeclaringType, getModifiers, getName, getSimpleName |
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 |
---|
getDeclaredAnnotation, getDeclaredAnnotationCount, getDeclaringType, getModifiers, getName, getSimpleName |
Constructor Detail |
---|
public LazyType(java.lang.String binaryName, java.lang.ClassLoader loader)
public LazyType(java.lang.String binaryName, TypeLoader loader)
Method Detail |
---|
public java.lang.String getBinaryName()
getBinaryName
in interface Type<T>
getBinaryName
in class TypeDecorator<T>
public Member getDecoratedMember()
getDecoratedMember
in class MemberDecorator
public java.lang.String getDescriptor()
Member
boolean
, byte
, short
,
char
, int
, long
,
float
, double
, void
.
For array types, the descriptor is the character '[' plus
the descriptor of its component type, e.g.,
[[I
for int[][]
. For non-array
reference types, the
descriptor is the character 'L', followed by the binary name
(see Type.getBinaryName()
) of the type, where '.'
has to be replaced by '/', followed by ';',
e.g., Ljava/lang/Object;
.
fout;Ljava/io/PrintStream;
for the field System.out
.
<init>
for
constructors), followed by the characters ';' and '(', followed
by the descriptors of the method's parameter types, followed by
')', followed by the descriptor of the return type. E.g.
mprintln;(Ljava/lang/String;)V
for the method
PrintStream.println(String)
.
getDescriptor
in interface Member
getDescriptor
in class MemberDecorator
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |