Record Class CompilerArtifactFilterOptions

java.lang.Object
java.lang.Record
dev.archunitjava.model.CompilerArtifactFilterOptions

public record CompilerArtifactFilterOptions(boolean includeSyntheticTypes, boolean includeSyntheticMembers, boolean includeBridgeMembers, boolean includeSyntheticParameters, boolean includeMandatedParameters, boolean includeGeneratedTypes, GeneratedCodeOptions generatedCodeOptions) extends Record
Presentation-only compiler-artifact filters. Dependency evidence is never filtered by these options; callers use CompilerArtifactView.dependencyEvidence() for architecture edges.
  • Constructor Details

    • CompilerArtifactFilterOptions

      public CompilerArtifactFilterOptions(boolean includeSyntheticTypes, boolean includeSyntheticMembers, boolean includeBridgeMembers, boolean includeSyntheticParameters, boolean includeMandatedParameters, boolean includeGeneratedTypes, GeneratedCodeOptions generatedCodeOptions)
      Creates an instance of a CompilerArtifactFilterOptions record class.
      Parameters:
      includeSyntheticTypes - the value for the includeSyntheticTypes record component
      includeSyntheticMembers - the value for the includeSyntheticMembers record component
      includeBridgeMembers - the value for the includeBridgeMembers record component
      includeSyntheticParameters - the value for the includeSyntheticParameters record component
      includeMandatedParameters - the value for the includeMandatedParameters record component
      includeGeneratedTypes - the value for the includeGeneratedTypes record component
      generatedCodeOptions - the value for the generatedCodeOptions record component
  • Method Details

    • bytecodeView

      public static CompilerArtifactFilterOptions bytecodeView()
    • sourceView

      public static CompilerArtifactFilterOptions sourceView(GeneratedCodeOptions generatedOptions)
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • includeSyntheticTypes

      public boolean includeSyntheticTypes()
      Returns the value of the includeSyntheticTypes record component.
      Returns:
      the value of the includeSyntheticTypes record component
    • includeSyntheticMembers

      public boolean includeSyntheticMembers()
      Returns the value of the includeSyntheticMembers record component.
      Returns:
      the value of the includeSyntheticMembers record component
    • includeBridgeMembers

      public boolean includeBridgeMembers()
      Returns the value of the includeBridgeMembers record component.
      Returns:
      the value of the includeBridgeMembers record component
    • includeSyntheticParameters

      public boolean includeSyntheticParameters()
      Returns the value of the includeSyntheticParameters record component.
      Returns:
      the value of the includeSyntheticParameters record component
    • includeMandatedParameters

      public boolean includeMandatedParameters()
      Returns the value of the includeMandatedParameters record component.
      Returns:
      the value of the includeMandatedParameters record component
    • includeGeneratedTypes

      public boolean includeGeneratedTypes()
      Returns the value of the includeGeneratedTypes record component.
      Returns:
      the value of the includeGeneratedTypes record component
    • generatedCodeOptions

      public GeneratedCodeOptions generatedCodeOptions()
      Returns the value of the generatedCodeOptions record component.
      Returns:
      the value of the generatedCodeOptions record component