public interface IJavaClassInfo extends IJavaAnnotatedElement, IJavaClassType, ITypeInfoResolver
| Modifier and Type | Interface and Description |
|---|---|
static class |
IJavaClassInfo.Util |
| Modifier and Type | Field and Description |
|---|---|
static Object |
LOCK |
EMPTY_ARRAY, ERROR_TYPE, NULL_TYPEgetAnnotation, getDeclaredAnnotations, getEnclosingClass, isAnnotationPresentgetActualType, getActualType, getConcreteType, getModule, getName, getNamespace, getSimpleNamegetModule, resolveImport, resolveType, resolveTypestatic final Object LOCK
String getNameSignature()
String getRelativeName()
String getDisplayName()
boolean isArray()
boolean isEnum()
boolean isPrimitive()
boolean isAnnotation()
boolean isInterface()
boolean isAssignableFrom(IJavaClassInfo aClass)
boolean isPublic()
boolean isProtected()
boolean isInternal()
boolean isPrivate()
Object newInstance() throws InstantiationException, IllegalAccessException
IJavaClassMethod getMethod(String methodName, IJavaClassInfo... paramTypes) throws NoSuchMethodException
NoSuchMethodExceptionIJavaClassMethod getDeclaredMethod(String methodName, IJavaClassInfo... params) throws NoSuchMethodException
NoSuchMethodExceptionIJavaClassMethod[] getDeclaredMethods()
IJavaMethodDescriptor[] getMethodDescriptors()
IJavaClassInfo[] getInterfaces()
IJavaClassType[] getGenericInterfaces()
IJavaClassInfo getSuperclass()
IJavaClassType getGenericSuperclass()
IJavaClassField[] getDeclaredFields()
IJavaClassField[] getFields()
Object[] getEnumConstants()
IJavaPropertyDescriptor[] getPropertyDescriptors()
IJavaClassConstructor[] getDeclaredConstructors()
IJavaClassConstructor getConstructor(IJavaClassInfo... params) throws NoSuchMethodException
NoSuchMethodExceptionIType getJavaType()
IJavaClassTypeVariable[] getTypeParameters()
IClassDocNode createClassDocNode()
boolean hasCustomBeanInfo()
boolean isVisibleViaFeatureDescriptor(IScriptabilityModifier constraint)
boolean isHiddenViaFeatureDescriptor()
IJavaClassInfo getComponentType()
int getModifiers()
IType getEnclosingType()
IJavaClassInfo getArrayType()
IJavaClassInfo[] getDeclaredClasses()
Class getBackingClass()
ISourceFileHandle getSourceFileHandle()
boolean equals(Object o)
int hashCode()
equals(Object), the hash code of a non-array
IJavaClassInfo must be computed as follows:
getName().hashCode() * 31 + getModule().hashCode()
For arrays, the hashCode is equal to the hashCode of the component type.Copyright © 2018. All rights reserved.