Interface BeanInfo<T>

Type Parameters:
T - The type of the bean
All Superinterfaces:
AnnotationMetadataProvider, AnnotationSource, ArgumentCoercible<T>, Ordered
All Known Subinterfaces:
BeanIntrospection<T>, EnumBeanIntrospection<E>, UnsafeBeanInstantiationIntrospection<T>

public interface BeanInfo<T> extends AnnotationMetadataProvider, ArgumentCoercible<T>, Ordered
Top level interface for obtaining bean information.
Since:
4.0.0
  • Method Details

    • getBeanType

      Class<T> getBeanType()
      Returns:
      The bean type
    • getGenericBeanType

      default Argument<T> getGenericBeanType()
      Returns:
      The generic bean type
    • asArgument

      default Argument<T> asArgument()
      Specified by:
      asArgument in interface ArgumentCoercible<T>
      Returns:
      The argument
    • getOrder

      default int getOrder()
      Specified by:
      getOrder in interface Ordered
      Returns:
      The order of the object. Defaults to zero (no order).