Uses of Class
org.apache.juneau.commons.reflect.ClassInfo
Packages that use ClassInfo
Package
Description
Marshalling API
Bean and POJO Annotations
Annotation utilities for working with Java annotations.
Comprehensive reflection utilities for working with classes, methods, fields, constructors,
and annotations in a more convenient and type-safe way than the standard Java reflection APIs.
Common internal utilities.
Classpath Utilities
CSV Marshalling Annotations
HTML Marshalling Annotations
HTTP Part Annotations
JSON Marshalling Annotations
MessagePack Marshalling Annotations
OpenAPI Marshalling Annotations
Plaintext Marshalling Annotations
REST Annotations
Method exec stats utilities
SOAP/XML Marshalling Annotations
Swap API
UON Marshalling Annotations
URL-Encoding Marshalling Annotations
XML Marshalling Annotations
-
Uses of ClassInfo in org.apache.juneau
Subclasses of ClassInfo in org.apache.juneauModifier and TypeClassDescriptionclassClassMeta<T>A wrapper class around theClassobject that provides cached information about that class.Methods in org.apache.juneau that return ClassInfoModifier and TypeMethodDescriptionBeanFilter.getImplClass()Returns the implementation class associated with this class.BeanFilter.getInterfaceClass()Returns the interface class associated with this class.BeanFilter.getStopClass()Returns the stop class associated with this class.Methods in org.apache.juneau that return types with arguments of type ClassInfoModifier and TypeMethodDescriptionBeanContext.Builder.beanDictionary()Returns the bean dictionary list.BeanContext.getBeanDictionary()Bean dictionary.BeanFilter.getBeanDictionary()Returns the bean dictionary defined on this bean.BeanSession.getBeanDictionary()Bean dictionary.BeanContext.getNotBeanClasses()Bean class exclusions.BeanSession.getNotBeanClasses()Bean class exclusions.BeanContext.Builder.notBeanClasses()Returns the set of not-bean classes.Methods in org.apache.juneau with parameters of type ClassInfoModifier and TypeMethodDescriptionBeanContext.Builder.beanDictionary(ClassInfo... values) Bean dictionary.static <T> org.apache.juneau.BeanMeta.BeanMetaValue<T>Creates aBeanMetainstance for the specified class metadata.BeanFilter.Builder.dictionary(ClassInfo... values) Bean dictionary.Implementation class.BeanFilter.Builder.interceptor(ClassInfo value) Bean interceptor.BeanFilter.Builder.interfaceClass(ClassInfo value) Interface class.protected final booleanBeanContext.isNotABean(ClassInfo ci) Determines whether the specified class is ignored as a bean class based on the various exclusion parameters specified on this context class.BeanContext.Builder.notBeanClasses(ClassInfo... values) Bean class exclusions.protected final <T> ClassMeta<T>BeanContext.resolveClassMeta(AnnotationInfo<Beanp> p, ClassInfo ci, TypeVariables typeVarImpls) Used for determining the class type on a method or field where a@Beanpannotation may be present.Stop class.Method parameters in org.apache.juneau with type arguments of type ClassInfoModifier and TypeMethodDescriptionBeanContext.Builder.beanDictionary(Collection<ClassInfo> values) Same asBeanContext.Builder.beanDictionary(ClassInfo...)but allows you to pass in a collection of class info objects.BeanContext.Builder.notBeanClasses(Collection<ClassInfo> values) Same asBeanContext.Builder.notBeanClasses(ClassInfo...)but allows you to pass in a collection of class info objects.Constructors in org.apache.juneau with parameters of type ClassInfo -
Uses of ClassInfo in org.apache.juneau.annotation
Methods in org.apache.juneau.annotation with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.commons.annotation
Methods in org.apache.juneau.commons.annotation with parameters of type ClassInfoModifier and TypeMethodDescriptionAppends the classes that this annotation applies to.Appends the classes that this annotation applies to. -
Uses of ClassInfo in org.apache.juneau.commons.reflect
Subclasses of ClassInfo in org.apache.juneau.commons.reflectFields in org.apache.juneau.commons.reflect declared as ClassInfoModifier and TypeFieldDescriptionprotected final ClassInfoExecutableInfo.declaringClassstatic final ClassInfoClassInfo.OBJECTReusable ClassInfo for Object class.Methods in org.apache.juneau.commons.reflect that return ClassInfoModifier and TypeMethodDescriptionClassInfo.arrayType()Returns aClassInfofor an array type whose component type is this class.<U> ClassInfoClassInfo.asSubclass(Class<U> clazz) Casts thisClassInfoobject to represent a subclass of the class represented by the specified class object.ClassInfo.componentType()Returns the component type of this class if it is an array type.ClassInfo.getComponentType()Returns the base component type of this class.ClassInfo.getDeclaringClass()Returns theClassobject representing the class or interface that declares the member class represented by this class.final ClassInfoExecutableInfo.getDeclaringClass()Returns metadata about the class that declared this method or constructor.FieldInfo.getDeclaringClass()Returns metadata about the declaring class.ClassInfo.getEnclosingClass()Returns the immediately enclosing class of this class.FieldInfo.getFieldType()Returns the type of this field.ClassInfo.getNestHost()Returns the nest host of this class.ParameterInfo.getParameterType()Returns the class type of this parameter.MethodInfo.getReturnType()Returns the generic return type of this method as aClassInfoobject.ClassInfo.getSuperclass()Returns the parent class.ClassInfo.getWrapperIfPrimitive()Returns the wrapper class if this is a primitive, otherwise returns this class.static final ClassInfoReturns theClassInfowrapper for the class of the specified object.static ClassInfoReturns a class info wrapper around the specified class type.static ClassInfoSame as using the constructor, but operates on an object instance.static ClassInfoReturns a class info wrapper around the specified class type.static ClassInfoSame asof(Object)but attempts to deproxify the object if it's wrapped in a CGLIB proxy.Methods in org.apache.juneau.commons.reflect that return types with arguments of type ClassInfoModifier and TypeMethodDescriptionClassInfo.getAllParents()Returns a list including this class and all parent classes and interfaces.ClassInfo.getDeclaredInterfaces()Returns a list of interfaces declared on this class.ClassInfo.getDeclaredMemberClasses()Returns all classes and interfaces declared as members of this class.ExecutableInfo.getExceptionTypes()Returns the exception types on this executable.ClassInfo.getInterfaces()Returns a list of interfaces defined on this class and superclasses.ClassInfo.getMemberClasses()Returns all public member classes and interfaces declared by this class and its superclasses.ClassInfo.getNestMembers()Returns an array containing all the classes and interfaces that are members of the nest to which this class belongs.ExecutableInfo.getParameterTypes()Returns the parameter types for this executable.ClassInfo.getParents()Returns a list including this class and all parent classes.ClassInfo.getParentsAndInterfaces()Returns all parent classes and interfaces in proper traversal order.ClassInfo.getPermittedSubclasses()Returns the permitted subclasses of this sealed class.AnnotationInfo.getReturnType(String methodName) Returns the return type of the specified method on this annotation.Methods in org.apache.juneau.commons.reflect with parameters of type ClassInfoModifier and TypeMethodDescriptionint<A extends Annotation>
List<AnnotationInfo<A>>AnnotationProvider.find(Class<A> type, ClassInfo c, AnnotationTraversal... traversals) Finds annotations from a class using configurable traversal options.List<AnnotationInfo<? extends Annotation>>AnnotationProvider.find(ClassInfo c, AnnotationTraversal... traversals) Finds all annotations from a class using configurable traversal options, without filtering by annotation type.<A extends Annotation>
booleanAnnotationProvider.has(Class<A> type, ClassInfo c, AnnotationTraversal... traversals) Checks if a class has the specified annotation.final booleanExecutableInfo.hasParameterTypeParents(ClassInfo... args) Returnstrue if this method has the specified argument parent classes.final booleanExecutableInfo.hasParameterTypes(ClassInfo... args) Returnstrue if this method has the specified arguments.final booleanExecutableInfo.hasParameterTypesLenient(ClassInfo... args) Returnstrue if this method has at most only these arguments using lenient matching.booleanMethodInfo.hasReturnType(ClassInfo ci) Returnstrue if this method has this return type.booleanMethodInfo.hasReturnTypeParent(ClassInfo ci) Returnstrue if this method has this parent return type.booleanChecks for equality with the specified class.booleanReturnstrue if this class is a child or the same asparent .booleanClassInfo.isParentOf(ClassInfo child) Returnstrue if this class is a parent or the same aschild .booleanClassInfo.isParentOfLenient(ClassInfo child) Same asisParentOfLenient(Class)but takes in aClassInfo.static ConstructorInfoConstructorInfo.of(ClassInfo declaringClass, Constructor<?> inner) Creates a ConstructorInfo wrapper for the specified constructor.static FieldInfoCreates a FieldInfo wrapper for the specified field.static MethodInfoCreates a MethodInfo wrapper for the specified method.static PackageInfoReturns a package info wrapper around the package of the specified class info.final intExecutableInfo.parameterMatchesLenientCount(ClassInfo... argTypes) Returns how well this method matches the specified arg types using lenient matching.Constructors in org.apache.juneau.commons.reflect with parameters of type ClassInfoModifierConstructorDescriptionprotectedConstructorInfo(ClassInfo declaringClass, Constructor<?> inner) Constructor.protectedExecutableInfo(ClassInfo declaringClass, Executable inner) Constructor.protectedConstructor.protectedMethodInfo(ClassInfo declaringClass, Method inner) Constructor.protectedParameterInfo(ExecutableInfo executable, Parameter inner, int index, ClassInfo type) Constructor. -
Uses of ClassInfo in org.apache.juneau.commons.utils
Methods in org.apache.juneau.commons.utils with parameters of type ClassInfoModifier and TypeMethodDescriptionstatic BeanRuntimeExceptionShortcut for creating aBeanRuntimeExceptionwith a cause, message, and associated class.static BeanRuntimeExceptionShortcut for creating aBeanRuntimeExceptionwith a message and associated class. -
Uses of ClassInfo in org.apache.juneau.cp
Methods in org.apache.juneau.cp with parameters of type ClassInfoModifier and TypeMethodDescriptionAllows you to specify a subclass of the specified bean type to create. -
Uses of ClassInfo in org.apache.juneau.csv.annotation
Methods in org.apache.juneau.csv.annotation with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.html.annotation
Methods in org.apache.juneau.html.annotation with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.http.annotation
Methods in org.apache.juneau.http.annotation with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.json.annotation
Methods in org.apache.juneau.json.annotation with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.msgpack.annotation
Methods in org.apache.juneau.msgpack.annotation with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.oapi.annotation
Methods in org.apache.juneau.oapi.annotation with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.plaintext.annotation
Methods in org.apache.juneau.plaintext.annotation with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.rest.annotation
Methods in org.apache.juneau.rest.annotation with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.rest.stats
Methods in org.apache.juneau.rest.stats that return ClassInfoModifier and TypeMethodDescriptionMethodInvoker.getDeclaringClass()Convenience method for callinginner().getDeclaringClass() -
Uses of ClassInfo in org.apache.juneau.soap.annotation
Methods in org.apache.juneau.soap.annotation with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.swap
Methods in org.apache.juneau.swap that return ClassInfoModifier and TypeMethodDescriptionObjectSwap.getNormalClass()Returns the T class, the normalized form of the class.ObjectSwap.getSwapClass()Returns the G class, the generalized form of the class.Methods in org.apache.juneau.swap with parameters of type ClassInfoModifier and TypeMethodDescriptionstatic ObjectSwap<?,?> AutoListSwap.find(BeanContext bc, ClassInfo ci) Look for constructors and methods on this class and construct a dynamic swap if it's possible to do so.static ObjectSwap<?,?> AutoMapSwap.find(BeanContext bc, ClassInfo ci) Look for constructors and methods on this class and construct a dynamic swap if it's possible to do so.static ObjectSwap<?,?> AutoNumberSwap.find(BeanContext bc, ClassInfo ci) Look for constructors and methods on this class and construct a dynamic swap if it's possible to do so.static ObjectSwap<?,?> AutoObjectSwap.find(BeanContext bc, ClassInfo ci) Inspects the specified class and returns a swap of this type if possible.static ObjectSwap<?,?> Find the default ObjectSwap for the specified class. -
Uses of ClassInfo in org.apache.juneau.uon.annotation
Methods in org.apache.juneau.uon.annotation with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.urlencoding.annotation
Methods in org.apache.juneau.urlencoding.annotation with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.xml.annotation
Methods in org.apache.juneau.xml.annotation with parameters of type ClassInfoModifier and TypeMethodDescription