Package io.micronaut.core.beans
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:
-
ClassDescriptionAbstract implementation of the
BeanConstructor
interface.Abstract bean introspection reference used byBeanIntrospector
to soft load introspections.AbstractBeanMethod<B,T> Abstract implementation of theBeanMethod
interface.AbstractBeanProperty<B,P> Abstract implementation ofBeanProperty
.Models a bean constructor.BeanInfo<T>Top level interface for obtaining bean information.ABeanIntrospection
is 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.A reference to aBeanIntrospection
that may or may not be present on the classpath.Primary interface for obtainingBeanIntrospection
instances 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.BeanWrapper<T>Wraps a bean allowing to read and write its properties via an underlyingBeanIntrospection
.A variation ofBeanIntrospection
that 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.