Class ReflectionBeanConstructor<T>

java.lang.Object
io.micronaut.reflection.ReflectionBeanConstructor<T>
Type Parameters:
T - The bean type
All Implemented Interfaces:
AnnotationMetadataProvider, AnnotationSource, BeanConstructor<T>, Described

public final class ReflectionBeanConstructor<T> extends Object implements BeanConstructor<T>
A BeanConstructor over a Constructor, with the arguments and the annotation metadata a generated constructor would have. A non-static inner class is instantiated as Constructor.newInstance(Object...) instantiates it: the enclosing instance is the first argument.
Since:
5.2.0
Author:
Denis Stepanov
  • Constructor Details

    • ReflectionBeanConstructor

      public ReflectionBeanConstructor(Constructor<T> constructor)
      Creates a bean constructor over a constructor.
      Parameters:
      constructor - The constructor
  • Method Details