Record Class NamingRuleOptions
java.lang.Object
java.lang.Record
dev.archunitjava.rules.NamingRuleOptions
-
Constructor Summary
ConstructorsConstructorDescriptionNamingRuleOptions(boolean includeAnonymousTypes, boolean includeLocalTypes, boolean includeGeneratedSubjects, Set<String> generatedAnnotationBinaryNames) Creates an instance of aNamingRuleOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic NamingRuleOptionsdefaults()final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegeneratedAnnotationBinaryNamesrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theincludeAnonymousTypesrecord component.booleanReturns the value of theincludeGeneratedSubjectsrecord component.booleanCompatibility accessor for the original type-oriented option name.booleanReturns the value of theincludeLocalTypesrecord component.Includes generated types as well as synthetic or bridge members.Compatibility alias for the original type-oriented option name.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
NamingRuleOptions
public NamingRuleOptions(boolean includeAnonymousTypes, boolean includeLocalTypes, boolean includeGeneratedSubjects, Set<String> generatedAnnotationBinaryNames) Creates an instance of aNamingRuleOptionsrecord class.- Parameters:
includeAnonymousTypes- the value for theincludeAnonymousTypesrecord componentincludeLocalTypes- the value for theincludeLocalTypesrecord componentincludeGeneratedSubjects- the value for theincludeGeneratedSubjectsrecord componentgeneratedAnnotationBinaryNames- the value for thegeneratedAnnotationBinaryNamesrecord component
-
-
Method Details
-
defaults
-
includingAnonymousTypes
-
includingLocalTypes
-
includingGeneratedSubjects
Includes generated types as well as synthetic or bridge members. -
includingGeneratedTypes
Compatibility alias for the original type-oriented option name. -
includeGeneratedTypes
public boolean includeGeneratedTypes()Compatibility accessor for the original type-oriented option name. -
withGeneratedAnnotationBinaryNames
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
includeAnonymousTypes
public boolean includeAnonymousTypes()Returns the value of theincludeAnonymousTypesrecord component.- Returns:
- the value of the
includeAnonymousTypesrecord component
-
includeLocalTypes
public boolean includeLocalTypes()Returns the value of theincludeLocalTypesrecord component.- Returns:
- the value of the
includeLocalTypesrecord component
-
includeGeneratedSubjects
public boolean includeGeneratedSubjects()Returns the value of theincludeGeneratedSubjectsrecord component.- Returns:
- the value of the
includeGeneratedSubjectsrecord component
-
generatedAnnotationBinaryNames
-