public class ClassInfo extends Object
Constructor and Description |
---|
ClassInfo(Class<?> clazz) |
ClassInfo(Class<?> clazz,
japa.parser.ast.CompilationUnit cu) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getClazz() |
FieldInfo[] |
getDeclaredFields() |
MethodInfo |
getDeclaredMethod(String name,
Class<?>... parameterTypes) |
MethodInfo[] |
getDeclaredMethods() |
EnumConstantInfo[] |
getEnumConstants() |
MethodInfo |
getGetterMethod(FieldInfo field) |
Class<?>[] |
getInterfaces() |
String |
getJavaDoc() |
int |
getModifiers() |
String |
getName() |
MethodInfo |
getSetterMethod(FieldInfo field) |
String |
getSimpleName() |
Class<?> |
getSuperclass() |
boolean |
isEnum() |
public ClassInfo(Class<?> clazz)
public ClassInfo(Class<?> clazz, japa.parser.ast.CompilationUnit cu)
public String getName()
public int getModifiers()
public boolean isEnum()
public Class<?> getSuperclass()
public Class<?> getClazz()
public FieldInfo[] getDeclaredFields()
public MethodInfo[] getDeclaredMethods()
public EnumConstantInfo[] getEnumConstants()
public MethodInfo getDeclaredMethod(String name, Class<?>... parameterTypes) throws SecurityException, NoSuchMethodException
public MethodInfo getGetterMethod(FieldInfo field) throws SecurityException, NoSuchMethodException
public MethodInfo getSetterMethod(FieldInfo field) throws SecurityException, NoSuchMethodException
public String getJavaDoc()
public String getSimpleName()
public Class<?>[] getInterfaces()
Copyright © 2014 Clazzes.org. All Rights Reserved.