public static final class ImportOptions.ExcludeScalaImportOption extends Object implements com.tngtech.archunit.core.importer.ImportOption
ArchUnit doesn't yet support fully Scala. This is a best-effort attempt to not import
Scala classes in the first place. However, it is not perfect, and thus GivenJavaClasses
or SourcePredicates.areJavaClasses()
should be used in rules as
well.
com.tngtech.archunit.core.importer.ImportOption.DoNotIncludeArchives, com.tngtech.archunit.core.importer.ImportOption.DoNotIncludeJars, com.tngtech.archunit.core.importer.ImportOption.DoNotIncludeTests, com.tngtech.archunit.core.importer.ImportOption.OnlyIncludeTests, com.tngtech.archunit.core.importer.ImportOption.Predefined
Constructor and Description |
---|
ExcludeScalaImportOption() |
Modifier and Type | Method and Description |
---|---|
boolean |
includes(com.tngtech.archunit.core.importer.Location location) |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.