Record Class BeanDefinitionInjectionPoint.ParameterInjectionPoint<K>
java.lang.Object
java.lang.Record
io.micronaut.context.beans.definition.BeanDefinitionInjectionPoint.ParameterInjectionPoint<K>
- Type Parameters:
K- The element kind
- All Implemented Interfaces:
BeanDefinitionInjectionPoint<K>, AnnotationMetadataProvider, AnnotationSource
- Enclosing interface:
BeanDefinitionInjectionPoint<T>
public static record BeanDefinitionInjectionPoint.ParameterInjectionPoint<K>(K type, AnnotationMetadata annotationMetadata, String name)
extends Record
implements BeanDefinitionInjectionPoint<K>
Parameter-based 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
ConstructorsConstructorDescriptionParameterInjectionPoint(K type, AnnotationMetadata annotationMetadata, String name) Creates an instance of aParameterInjectionPointrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theannotationMetadatarecord 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.name()Returns the value of thenamerecord component.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
-
ParameterInjectionPoint
Creates an instance of aParameterInjectionPointrecord class.- Parameters:
type- the value for thetyperecord componentannotationMetadata- the value for theannotationMetadatarecord componentname- the value for thenamerecord 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
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
getAnnotationMetadata
Returns the annotation metadata associated with this element.- Specified by:
getAnnotationMetadatain interfaceAnnotationMetadataProvider- Returns:
- The annotation metadata associated with this element
-