private static final class ClassUtil.ClassMetadata
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.annotation.Annotation[] |
_annotations |
private ClassUtil.Ctor[] |
_constructors |
private java.lang.reflect.Field[] |
_fields |
private java.lang.Class<?> |
_forClass |
private java.lang.reflect.Type[] |
_genericInterfaces |
private java.lang.Boolean |
_hasEnclosingMethod |
private java.lang.Class<?>[] |
_interfaces |
private java.lang.reflect.Method[] |
_methods |
private java.lang.String |
_packageName |
private static java.lang.annotation.Annotation[] |
NO_ANNOTATIONS |
private static ClassUtil.Ctor[] |
NO_CTORS |
Constructor and Description |
---|
ClassMetadata(java.lang.Class<?> forClass) |
Modifier and Type | Method and Description |
---|---|
ClassUtil.Ctor[] |
getConstructors() |
java.lang.annotation.Annotation[] |
getDeclaredAnnotations() |
java.lang.reflect.Field[] |
getDeclaredFields() |
java.lang.reflect.Method[] |
getDeclaredMethods() |
java.lang.reflect.Type[] |
getGenericInterfaces() |
java.lang.Class<?>[] |
getInterfaces() |
java.lang.String |
getPackageName() |
boolean |
hasEnclosingMethod() |
private boolean |
isObjectOrPrimitive() |
private static final java.lang.annotation.Annotation[] NO_ANNOTATIONS
private static final ClassUtil.Ctor[] NO_CTORS
private final java.lang.Class<?> _forClass
private java.lang.String _packageName
private java.lang.Boolean _hasEnclosingMethod
private java.lang.Class<?>[] _interfaces
private java.lang.reflect.Type[] _genericInterfaces
private java.lang.annotation.Annotation[] _annotations
private ClassUtil.Ctor[] _constructors
private java.lang.reflect.Field[] _fields
private java.lang.reflect.Method[] _methods
public java.lang.String getPackageName()
public java.lang.Class<?>[] getInterfaces()
public java.lang.reflect.Type[] getGenericInterfaces()
public java.lang.annotation.Annotation[] getDeclaredAnnotations()
public ClassUtil.Ctor[] getConstructors()
public java.lang.reflect.Field[] getDeclaredFields()
public java.lang.reflect.Method[] getDeclaredMethods()
public boolean hasEnclosingMethod()
private boolean isObjectOrPrimitive()