Record Class CompilerArtifactProvenance
java.lang.Object
java.lang.Record
dev.archunitjava.model.CompilerArtifactProvenance
public record CompilerArtifactProvenance(boolean syntheticType, boolean syntheticMember, boolean bridgeMember)
extends Record
Compiler-artifact flags inherited by bytecode evidence from its declaring type and member.
-
Constructor Summary
ConstructorsConstructorDescriptionCompilerArtifactProvenance(boolean syntheticType, boolean syntheticMember, boolean bridgeMember) Creates an instance of aCompilerArtifactProvenancerecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thebridgeMemberrecord component.booleanfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static CompilerArtifactProvenancebooleanReturns the value of thesyntheticMemberrecord component.booleanReturns the value of thesyntheticTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CompilerArtifactProvenance
public CompilerArtifactProvenance(boolean syntheticType, boolean syntheticMember, boolean bridgeMember) Creates an instance of aCompilerArtifactProvenancerecord class.- Parameters:
syntheticType- the value for thesyntheticTyperecord componentsyntheticMember- the value for thesyntheticMemberrecord componentbridgeMember- the value for thebridgeMemberrecord component
-
-
Method Details
-
sourceDeclared
-
compilerCreated
public boolean compilerCreated() -
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 with thecomparemethod from their corresponding wrapper classes. -
syntheticType
public boolean syntheticType()Returns the value of thesyntheticTyperecord component.- Returns:
- the value of the
syntheticTyperecord component
-
syntheticMember
public boolean syntheticMember()Returns the value of thesyntheticMemberrecord component.- Returns:
- the value of the
syntheticMemberrecord component
-
bridgeMember
public boolean bridgeMember()Returns the value of thebridgeMemberrecord component.- Returns:
- the value of the
bridgeMemberrecord component
-