Methods Summary |
---|
public java.lang.reflect.Type[] | getActualTypeArguments()
// ASSUMPTION: args is never null!!!
return args.getResolvedTypes().clone();
|
public java.lang.reflect.Type | getOwnerType()
if (ownerTypeRes == null) {
if (ownerType0 != null) {
ownerTypeRes = ownerType0.getResolvedType();
} else {
ownerTypeRes = getRawType().getDeclaringClass();
}
}
return ownerTypeRes;
|
public java.lang.Class | getRawType()
if (rawType == null) {
// Here the actual loading of the class has to be performed and the
// Exceptions have to be re-thrown TypeNotPresent...
// How to deal with member (nested) classes?
try {
rawType = Class.forName(rawTypeName, false, loader);
} catch (ClassNotFoundException e) {
throw new TypeNotPresentException(rawTypeName, e);
}
}
return rawType;
|
java.lang.reflect.Type | getResolvedType()
if (args.getResolvedTypes().length == 0) {
return getRawType();
} else {
return this;
}
|
public java.lang.String | toString()
StringBuilder sb = new StringBuilder();
sb.append(rawTypeName);
if (args.length() > 0) {
sb.append("<").append(args).append(">");
}
return sb.toString();
|