Package io.micronaut.core.beans
@NullMarked
package io.micronaut.core.beans
This package provides interfaces and abstractions to introspect beans with bean metadata
computed at compilation time. See
BeanIntrospector for the main entry point.- Since:
- 1.0
- Author:
- graemerocher
- See Also:
-
ClassDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Abstract bean introspection reference used by
BeanIntrospectorto soft load introspections.AbstractBeanMethod<B,T> Abstract implementation of theBeanMethodinterface.AbstractBeanProperty<B,P> Abstract implementation ofBeanProperty.Models a bean constructor.BeanInfo<T>Top level interface for obtaining bean information.ABeanIntrospectionis the result of compile time computation of a beans properties and annotation metadata.A builder style API for creating instances that abstracts whether the instance is a record, bean or created by another builder.Static registry for the provider used byBeanIntrospectorto discover introspections.A reference to aBeanIntrospectionthat may or may not be present on the classpath.The provider of bean introspections.Primary interface for obtainingBeanIntrospectioninstances that are computed at compilation time.BeanMap<T>Simple class that provides a map interface over a bean.BeanMethod<B,T> Represents a method on aBeanIntrospection.BeanProperty<B,T> Represents a bean property and associated annotation metadata.BeanReadProperty<B,T> Represents a read write property of a bean.BeanWrapper<T>Wraps a bean allowing to read and write its properties via an underlyingBeanIntrospection.BeanWriteProperty<B,T> Represents a write property of a bean.EnumBeanIntrospection<E extends Enum<E>>A variation ofBeanIntrospectionthat is representing an enum as a bean.The enum constant.A variation ofBeanIntrospectionthat includesUnsafeBeanInstantiationIntrospection.instantiateUnsafe(Object...)allowing to skip instantiation validation.UnsafeBeanProperty<B,T> Unsafe bean property interface adds read/write methods which don't validate the input/output.Unsafe bean property interface adds read methods which don't validate the input/output.Unsafe bean property interface adds write methods which don't validate the input/output.
BeanConstructorif needed