Uses of Class
org.apache.juneau.commons.reflect.ClassInfo
Packages that use ClassInfo
Package
Description
Foundational classes and annotations shared across the Juneau Commons libraries.
Bean-modeling layer for Juneau.
Lightweight bean lookup, contribution, and injection support for Juneau.
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.
Marshalling API
BSON (Binary JSON) marshalling support.
CBOR (Concise Binary Object Representation) marshalling support per RFC 8949.
CSV Marshalling Support
Hjson (Human JSON) format serializer and parser for Apache Juneau.
HOCON (Human-Optimized Config Object Notation) format serializer and parser for Apache Juneau.
HTML Marshalling Support
HTTP Part Marshalling Support
INI format serializer and parser for Apache Juneau.
RDF Marshalling Support
JSON Marshalling Support.
Markdown serializer and parser support for Apache Juneau.
MessagePack Marshalling Support
OpenAPI Marshalling Support
Apache Parquet serialization and parsing support.
Plaintext Marshalling Support
SOAP/XML Marshalling Support
Swap API
TOML v1.0.0 serializer and parser for Apache Juneau.
UON Marshalling Support
URL-Encoding Marshalling Support
XML Marshalling Support
YAML Marshalling Support
Method exec stats utilities
-
Uses of ClassInfo in org.apache.juneau.commons
Methods in org.apache.juneau.commons 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.bean
Subclasses of ClassInfo in org.apache.juneau.commons.beanModifier and TypeClassDescriptionclassBeanInfo<T>Bean-modeling SPI seam that exposes the type-classification surface the bean-runtime types (BeanMeta-equivalents,BeanPropertyMeta-equivalents, etc.) need without coupling the bean-modeling layer to the marshalling-sideClassMeta.Fields in org.apache.juneau.commons.bean with type parameters of type ClassInfoMethods in org.apache.juneau.commons.bean that return ClassInfoModifier and TypeMethodDescriptionBeanMeta.getClassInfo()Returns theClassInfoof this bean.BeanFilter.getImplClass()BeanFilter.getInterfaceClass()BeanFilter.getStopClass()Methods in org.apache.juneau.commons.bean that return types with arguments of type ClassInfoMethods in org.apache.juneau.commons.bean with parameters of type ClassInfoModifier and TypeMethodDescriptionBeanMetaInitializer.buildBeanRegistry(Object marshallingContext, BeanFilter beanFilter, ClassInfo classInfo, BeanConfigContext config) Builds the bean-levelBeanRegistryLookupfor the supplied class.static <T> BeanMeta.BeanMetaValue<T>Creates aBeanMetainstance for the specified bean type info.static <T> BeanMeta.BeanMetaValue<T>BeanMeta.create(BeanInfo<T> cm, ClassInfo implClass, PropertyNamer propertyNamer) Same asBeanMeta.create(BeanInfo, ClassInfo)but allows an explicitPropertyNamerto override the one that would otherwise be derived from the bean filter orBeanConfigContext.getPropertyNamer().BeanMetaInitializer.findMarshalledTypeName(BeanConfigContext config, ClassInfo classInfo) Returns the marshalling-side@Marshalled(typeName)value for the bean, ornull if not set.BeanMetaInitializer.findTypeNameInParents(Object marshallingContext, ClassInfo classInfo, Class<?> rawClass) Walks the parent classes/interfaces ofclassInfoand returns the first dictionary-name mapping forrawClassfound in any parent's registry, ornull if none.booleanBeanMetaInitializer.hasBeanRegistrationAnnotation(BeanConfigContext config, ClassInfo classInfo) Returnstrue if the supplied class has a "registered as bean" annotation (e.g.booleanBeanConfigContext.isNotABean(ClassInfo ci) Returnstrue if the specified class is excluded from bean detection.BeanInfo<?>BeanTypeResolver.resolveType(AnnotationInfo<BeanProp> lastBeanProp, ClassInfo type, TypeVariables typeVarImpls) Resolves the bean-property type-info for a property given its (optional)@BeanPropannotation and Java type.BeanMetaInitializer.resolveTypePropertyName(BeanConfigContext config, ClassInfo classInfo) Returns the marshalling-side@Marshalled(typePropertyName)value for the bean, ornull if not set.Method parameters in org.apache.juneau.commons.bean with type arguments of type ClassInfoModifier and TypeMethodDescriptionBeanMetaInitializer.buildPropertyBeanRegistry(Object marshallingContext, BeanRegistryLookup parent, List<ClassInfo> dictionaryClasses) Builds the per-propertyBeanRegistryLookupchained on top of the bean-level registry.BeanConfigContext.Builder.notABeanPredicate(Predicate<ClassInfo> value) Installs a custom predicate that fully overridesBeanConfigContext.isNotABean(ClassInfo).Constructors in org.apache.juneau.commons.bean with parameters of type ClassInfoModifierConstructorDescriptionprotectedConstructor.protectedBeanMeta(BeanInfo<T> cm, BeanFilter bf, String[] pNames, ClassInfo implClass, PropertyNamer propertyNamerOverride) Same asBeanMeta(BeanInfo, BeanFilter, String[], ClassInfo)but allows an explicitPropertyNameroverride. -
Uses of ClassInfo in org.apache.juneau.commons.inject
Methods in org.apache.juneau.commons.inject that return ClassInfoModifier and TypeMethodDescriptionprotected ClassInfoBeanInstantiator.Builder.getBeanSubType()Returns the bean subtype class info if specified, or the normal bean type if not.protected ClassInfoBeanInstantiator.getBeanSubType()Returns the bean subtype class info if specified, or the normal bean type if not.protected ClassInfoBeanInstantiator.Builder.getBuilderType()Returns the builder type class info determined byBeanInstantiator.Builder.findBuilderType().protected ClassInfoBeanInstantiator.getBuilderType()Returns the builder type class info determined by builder type detection.Methods in org.apache.juneau.commons.inject that return types with arguments of type ClassInfoModifier and TypeMethodDescriptionBeanInstantiator.Builder.getBeanSubTypes()Returns the list of bean subtype classes, including the bean subtype, bean type, and all classes in between.BeanInstantiator.getBeanSubTypes()Returns the list of bean subtype classes, including the bean subtype, bean type, and all classes in between.BeanInstantiator.Builder.getBuilderTypes()Returns the list of builder types, including the primary builder type and any builder types found in the builder's parent hierarchy.BeanInstantiator.getBuilderTypes()Returns the list of builder types, including the primary builder type and any builder types found in the builder's parent hierarchy.Methods in org.apache.juneau.commons.inject with parameters of type ClassInfoModifier and TypeMethodDescriptionSpecifies a subclass of the bean type to create, via aClassInforeference. -
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 ClassInfoMethods 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.hasParameterType(ClassInfo type) Returnstrue if this executable has a parameter of the specified type in any position.final booleanExecutableInfo.hasParameterTypeParent(ClassInfo type) Returnstrue if this executable has a parameter that is a parent of the specified type in any position.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.booleanClassInfo.isAssignableFrom(ClassInfo child) Returnstrue if this class is a parent or the same aschild .booleanClassInfo.isAssignableTo(ClassInfo parent) Returnstrue if this class is a child or the same asparent .booleanReturnstrue if this class is strictly a child ofparent (not the same class).final booleanExecutableInfo.isDeclaringClass(ClassInfo value) Returnstrue if the declaring class of this executable matches the specified class.booleanClassInfo.isParentOf(ClassInfo child) Returnstrue if this class is strictly a parent ofchild (not the same class).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 BeanRuntimeExceptionCreates aBeanRuntimeExceptionwith a cause, associated class, and formatted message.static BeanRuntimeExceptionCreates aBeanRuntimeExceptionwith an associated class and formatted message. -
Uses of ClassInfo in org.apache.juneau.marshall
Subclasses of ClassInfo in org.apache.juneau.marshallModifier and TypeClassDescriptionfinal classClassMeta<T>A wrapper class around theClassobject that provides cached information about that class.Methods in org.apache.juneau.marshall that return ClassInfoModifier and TypeMethodDescriptionMarshalledFilter.getImplClass()Returns the implementation class associated with this class.MarshalledFilter.getInterfaceClass()Returns the interface class associated with this class.MarshalledFilter.getStopClass()Returns the stop class associated with this class.Methods in org.apache.juneau.marshall that return types with arguments of type ClassInfoModifier and TypeMethodDescriptionMarshallingContext.Builder.beanDictionary()Returns the bean dictionary list.MarshalledFilter.getBeanDictionary()Returns the bean dictionary defined on this bean.MarshallingContext.getBeanDictionary()Bean dictionary.MarshallingSession.getBeanDictionary()Bean dictionary.MarshallingContext.getNotBeanClasses()Bean class exclusions.MarshallingSession.getNotBeanClasses()Bean class exclusions.MarshallingContext.Builder.notBeanClasses()Returns the set of not-bean classes.Methods in org.apache.juneau.marshall with parameters of type ClassInfoModifier and TypeMethodDescriptionMarshallingContext.Builder.beanDictionary(ClassInfo... values) Bean dictionary.MarshalledFilter.Builder.dictionary(ClassInfo... values) Bean dictionary.Implementation class.MarshalledFilter.Builder.interceptor(ClassInfo value) Bean interceptor.MarshalledFilter.Builder.interfaceClass(ClassInfo value) Interface class.MarshallingContext.Builder.notBeanClasses(ClassInfo... values) Bean class exclusions.protected final <T> ClassMeta<T>MarshallingContext.resolveClassMeta(AnnotationInfo<BeanProp> p, ClassInfo ci, TypeVariables typeVarImpls) Used for determining the class type on a method or field where a@BeanPropannotation may be present.BeanInfo<?>MarshallingContext.resolveType(AnnotationInfo<BeanProp> lastBeanProp, ClassInfo type, TypeVariables typeVarImpls) Stop class.Method parameters in org.apache.juneau.marshall with type arguments of type ClassInfoModifier and TypeMethodDescriptionMarshallingContext.Builder.beanDictionary(Collection<ClassInfo> values) Same asMarshallingContext.Builder.beanDictionary(ClassInfo...)but allows you to pass in a collection of class info objects.MarshallingContext.Builder.notBeanClasses(Collection<ClassInfo> values) Same asMarshallingContext.Builder.notBeanClasses(ClassInfo...)but allows you to pass in a collection of class info objects. -
Uses of ClassInfo in org.apache.juneau.marshall.bson
Methods in org.apache.juneau.marshall.bson with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.marshall.cbor
Methods in org.apache.juneau.marshall.cbor with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.marshall.csv
Methods in org.apache.juneau.marshall.csv with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.marshall.hjson
Methods in org.apache.juneau.marshall.hjson with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.marshall.hocon
Methods in org.apache.juneau.marshall.hocon with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.marshall.html
Methods in org.apache.juneau.marshall.html with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.marshall.httppart
Methods in org.apache.juneau.marshall.httppart with parameters of type ClassInfoModifier and TypeMethodDescriptionReturns theformat field of this schema.Returns thetype field of this schema. -
Uses of ClassInfo in org.apache.juneau.marshall.ini
Methods in org.apache.juneau.marshall.ini with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.marshall.jena
Methods in org.apache.juneau.marshall.jena with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.marshall.json
Methods in org.apache.juneau.marshall.json with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.marshall.markdown
Methods in org.apache.juneau.marshall.markdown with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.marshall.msgpack
Methods in org.apache.juneau.marshall.msgpack with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.marshall.oapi
Methods in org.apache.juneau.marshall.oapi with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.marshall.parquet
Methods in org.apache.juneau.marshall.parquet with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.marshall.plaintext
Methods in org.apache.juneau.marshall.plaintext with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.marshall.soap
Methods in org.apache.juneau.marshall.soap with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.marshall.swap.spi
Methods in org.apache.juneau.marshall.swap.spi 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.marshall.swap.spi with parameters of type ClassInfoModifier and TypeMethodDescriptionstatic ObjectSwap<?,?> AutoListSwap.find(MarshallingContext 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(MarshallingContext 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(MarshallingContext 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(MarshallingContext 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.marshall.toml
Methods in org.apache.juneau.marshall.toml with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.marshall.uon
Methods in org.apache.juneau.marshall.uon with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.marshall.urlencoding
Methods in org.apache.juneau.marshall.urlencoding with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.marshall.xml
Methods in org.apache.juneau.marshall.xml with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.marshall.yaml
Methods in org.apache.juneau.marshall.yaml with parameters of type ClassInfoModifier and TypeMethodDescription -
Uses of ClassInfo in org.apache.juneau.rest.server.stats
Methods in org.apache.juneau.rest.server.stats that return ClassInfoModifier and TypeMethodDescriptionMethodInvoker.getDeclaringClass()Convenience method for callinginner().getDeclaringClass()