Record Class BeanDefinitionInjectionPoint.BeanRegistrationInjectionPoint<K>
java.lang.Object
java.lang.Record
io.micronaut.context.beans.definition.BeanDefinitionInjectionPoint.BeanRegistrationInjectionPoint<K>
- Type Parameters:
K- The element kind
- All Implemented Interfaces:
BeanDefinitionInjectionPoint<K>, AnnotationMetadataProvider, AnnotationSource
- Enclosing interface:
BeanDefinitionInjectionPoint<T>
public static record BeanDefinitionInjectionPoint.BeanRegistrationInjectionPoint<K>(K type, AnnotationMetadata annotationMetadata, K beanType)
extends Record
implements BeanDefinitionInjectionPoint<K>
BeanRegistration injection point.- Since:
- 5.1.0
- Author:
- Denis Stepanov
-
Nested Class Summary
Nested classes/interfaces inherited from interface BeanDefinitionInjectionPoint
BeanDefinitionInjectionPoint.BeanInjectionPoint<K>, BeanDefinitionInjectionPoint.BeanRegistrationInjectionPoint<K>, BeanDefinitionInjectionPoint.BeanRegistrationsInjectionPoint<K>, BeanDefinitionInjectionPoint.BeansInjectionPoint<K>, BeanDefinitionInjectionPoint.MapOfBeansInjectionPoint<K>, BeanDefinitionInjectionPoint.OptionalBeanInjectionPoint<K>, BeanDefinitionInjectionPoint.ParameterInjectionPoint<K>, BeanDefinitionInjectionPoint.PropertyInjectionPoint<K>, BeanDefinitionInjectionPoint.StreamOfBeansInjectionPoint<K>, BeanDefinitionInjectionPoint.ValueInjectionPoint<K> -
Field Summary
Fields inherited from interface AnnotationSource
EMPTYFields inherited from interface BeanDefinitionInjectionPoint
ANNOTATION_METADATA, BEAN_TYPE, TYPE_MEMBER -
Constructor Summary
ConstructorsConstructorDescriptionBeanRegistrationInjectionPoint(K type, AnnotationMetadata annotationMetadata, K beanType) Creates an instance of aBeanRegistrationInjectionPointrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theannotationMetadatarecord component.beanType()Returns the value of thebeanTyperecord component.final booleanIndicates whether some other object is "equal to" this one.default AnnotationMetadataReturns the annotation metadata associated with this element.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.Methods inherited from interface AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypeMethods inherited from interface AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared
-
Constructor Details
-
BeanRegistrationInjectionPoint
Creates an instance of aBeanRegistrationInjectionPointrecord class.- Parameters:
type- the value for thetyperecord componentannotationMetadata- the value for theannotationMetadatarecord componentbeanType- the value for thebeanTyperecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
type
Returns the value of thetyperecord component.- Specified by:
typein interfaceBeanDefinitionInjectionPoint<K>- Returns:
- the value of the
typerecord component
-
annotationMetadata
Returns the value of theannotationMetadatarecord component.- Returns:
- the value of the
annotationMetadatarecord component
-
beanType
Returns the value of thebeanTyperecord component.- Returns:
- the value of the
beanTyperecord component
-
getAnnotationMetadata
Returns the annotation metadata associated with this element.- Specified by:
getAnnotationMetadatain interfaceAnnotationMetadataProvider- Returns:
- The annotation metadata associated with this element
-