Record Class NativeElementsHelper.MethodElement<N>
java.lang.Object
java.lang.Record
io.micronaut.inject.utils.NativeElementsHelper.MethodElement<N>
- Type Parameters:
N- The native method element type- Record Components:
methodElement- The elementoverridden- The overridden collection
- Enclosing class:
NativeElementsHelper<C,M>
public static record NativeElementsHelper.MethodElement<N>(N methodElement, LinkedHashSet<N> overridden)
extends Record
The method element.
- Since:
- 4.3.0
- Author:
- Denis Stepanov
-
Constructor Summary
ConstructorsConstructorDescriptionMethodElement(N methodElement, LinkedHashSet<N> overridden) Creates an instance of aMethodElementrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themethodElementrecord component.Returns the value of theoverriddenrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MethodElement
Creates an instance of aMethodElementrecord class.- Parameters:
methodElement- the value for themethodElementrecord componentoverridden- the value for theoverriddenrecord 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). -
methodElement
Returns the value of themethodElementrecord component.- Returns:
- the value of the
methodElementrecord component
-
overridden
Returns the value of theoverriddenrecord component.- Returns:
- the value of the
overriddenrecord component
-