Record Class Model.DependencyResolution
java.lang.Object
java.lang.Record
org.microbean.bean.model.Model.DependencyResolution
- Enclosing class:
Model
public static record Model.DependencyResolution(AttributedElement attributedElement, List<Bean<?>> beans)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionDependencyResolution(AttributedElement attributedElement, List<Bean<?>> beans) Creates an instance of aDependencyResolutionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanReturns the value of theattributedElementrecord component.final AttributedTypebeans()Returns the value of thebeansrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.final boolean
-
Constructor Details
-
DependencyResolution
Creates an instance of aDependencyResolutionrecord class.- Parameters:
attributedElement- the value for theattributedElementrecord componentbeans- the value for thebeansrecord component
-
-
Method Details
-
attributedType
-
ambiguous
-
unsatisfied
-
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). -
attributedElement
Returns the value of theattributedElementrecord component.- Returns:
- the value of the
attributedElementrecord component
-
beans
-