Method Summary |
|
public NClass | asDecl(NType nt) |
public NClass | asDecl(Class c) |
final public static NType | create(Type t) |
public static NClass | create(Class c) |
public static NType | createParameterizedType(NClass rawType, NType... args) Creates a
NType representation for a parameterized type
RawType<ParamType1,ParamType2,...> . |
public static NType | createParameterizedType(Class rawType, NType... args) |
public NType | erasure(NType type) |
public NClass | findClass(String className, NClass referencePoint) |
public NType | getBaseClass(NType nt, NClass base) |
public Location | getClassLocation(NClass c) |
public String | getClassName(NClass nClass) |
public String | getClassShortName(NClass nClass) |
public NType | getComponentType(NType nType) |
public Void | getDeclaredField(NClass clazz, String fieldName) |
public Collection<? extends Void> | getDeclaredFields(NClass nClass) |
public Collection<? extends Void> | getDeclaredMethods(NClass nClass) |
public NClass | getDeclaringClassForField(Void aVoid) |
public NClass | getDeclaringClassForMethod(Void aVoid) |
public Void[] | getEnumConstants(NClass clazz) |
public Location | getFieldLocation(Void _) |
public String | getFieldName(Void aVoid) |
public NType | getFieldType(Void aVoid) |
public Location | getMethodLocation(Void _) |
public String | getMethodName(Void aVoid) |
public NType[] | getMethodParameters(Void aVoid) |
public String | getPackageName(NClass clazz) |
public NType | getPrimitive(Class primitiveType) |
public NType | getReturnType(Void aVoid) |
public NClass | getSuperClass(NClass nClass) |
public NType | getTypeArgument(NType nt, int i) |
public String | getTypeName(NType type) |
public NType | getVoidType() |
public boolean | hasDefaultConstructor(NClass nClass) |
public boolean | isAbstract(NClass clazz) |
public boolean | isArray(NType nType) |
public boolean | isArrayButNotByteArray(NType t) |
public boolean | isBridgeMethod(Void method) |
public boolean | isEnum(NClass c) |
public boolean | isFinal(NClass clazz) |
public boolean | isInnerClass(NClass clazz) |
public boolean | isInterface(NClass clazz) |
public boolean | isOverriding(Void method, NClass clazz) |
public boolean | isParameterizedType(NType nt) |
public boolean | isPrimitive(NType type) |
public boolean | isPublicField(Void aVoid) |
public boolean | isPublicMethod(Void aVoid) |
public boolean | isStaticField(Void aVoid) |
public boolean | isStaticMethod(Void aVoid) |
public boolean | isSubClassOf(NType sub, NType sup) |
public boolean | isTransient(Void f) |
public NClass | ref(Class c) |
public NClass | ref(JClass c) |
public NType | use(NClass nc) |