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, getLocationInfo, isAnnotationPresentequals, getActualType, getActualType, getConcreteType, getModule, getName, getNamespace, getSimpleName, hashCode, isAssignableFromgetModule, resolveImport, resolveType, resolveTypestatic final Object LOCK
String getNameSignature()
String getRelativeName()
String getDisplayName()
boolean isArray()
isArray in interface IJavaClassTypeboolean 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()
default IJavaClassField getDeclaredField(String name)
IJavaClassField[] getFields()
default IJavaClassField getField(String name)
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()
getComponentType in interface IJavaClassTypeint 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.default IJavaClassInfo getDeepestClassAtOffset(int offset)
default boolean isCompilable()
default byte[] compile()
Copyright © 2020. All rights reserved.