Record Class CompilerArtifactView
java.lang.Object
java.lang.Record
dev.archunitjava.model.CompilerArtifactView
public record CompilerArtifactView(List<JavaType> presentedTypes, List<JavaMember> presentedMembers, List<JavaParameter> presentedParameters, List<JavaCodeAccess> dependencyEvidence)
extends Record
Source- or bytecode-oriented presentation with complete dependency evidence kept separately.
-
Constructor Summary
ConstructorsConstructorDescriptionCompilerArtifactView(List<JavaType> presentedTypes, List<JavaMember> presentedMembers, List<JavaParameter> presentedParameters, List<JavaCodeAccess> dependencyEvidence) Creates an instance of aCompilerArtifactViewrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedependencyEvidencerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepresentedMembersrecord component.Returns the value of thepresentedParametersrecord component.Returns the value of thepresentedTypesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CompilerArtifactView
public CompilerArtifactView(List<JavaType> presentedTypes, List<JavaMember> presentedMembers, List<JavaParameter> presentedParameters, List<JavaCodeAccess> dependencyEvidence) Creates an instance of aCompilerArtifactViewrecord class.- Parameters:
presentedTypes- the value for thepresentedTypesrecord componentpresentedMembers- the value for thepresentedMembersrecord componentpresentedParameters- the value for thepresentedParametersrecord componentdependencyEvidence- the value for thedependencyEvidencerecord 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). -
presentedTypes
-
presentedMembers
Returns the value of thepresentedMembersrecord component.- Returns:
- the value of the
presentedMembersrecord component
-
presentedParameters
Returns the value of thepresentedParametersrecord component.- Returns:
- the value of the
presentedParametersrecord component
-
dependencyEvidence
Returns the value of thedependencyEvidencerecord component.- Returns:
- the value of the
dependencyEvidencerecord component
-