Interface BeanConstructor<T>
- Type Parameters:
T- The bean type
- All Superinterfaces:
AnnotationMetadataProvider, AnnotationSource, Described
- All Known Implementing Classes:
AbstractBeanConstructor, AbstractBeanDefinitionBeanConstructor
Models a bean constructor.
- Since:
- 3.0.0
- Author:
- graemerocher
-
Field Summary
Fields inherited from interface AnnotationSource
EMPTY -
Method Summary
Modifier and TypeMethodDescriptionArgument<?>[]Returns the bean type.default StringThe description of the constructor.default StringgetDescription(boolean simple) The description of the constructor.instantiate(Object... parameterValues) Instantiate an instance.Methods inherited from interface AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypeMethods inherited from interface AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared
-
Method Details
-
getDeclaringBeanType
-
getArguments
Argument<?>[] getArguments()- Returns:
- The constructor argument types.
-
instantiate
-
getDescription
The description of the constructor.- Specified by:
getDescriptionin interfaceDescribed- Returns:
- The description
-
getDescription
The description of the constructor.- Specified by:
getDescriptionin interfaceDescribed- Parameters:
simple- Whether to return a simple representation without package names- Returns:
- The description
-