Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ABSTRACT - Enum constant in enum class com.tngtech.archunit.core.domain.JavaModifier
- AbstractClassesTransformer<T> - Class in com.tngtech.archunit.lang
-
Default base implementation of
ClassesTransformer
, where onlyAbstractClassesTransformer.doTransform(JavaClasses)
has to be implemented, while description and filtering viaAbstractClassesTransformer.that(DescribedPredicate)
are provided. - AbstractClassesTransformer(String) - Constructor for class com.tngtech.archunit.lang.AbstractClassesTransformer
- accept(JavaAnnotation.ParameterVisitor) - Method in class com.tngtech.archunit.core.domain.JavaAnnotation
-
Simple implementation of the Visitor pattern (compare e.g.
- ACCESS - Enum constant in enum class com.tngtech.archunit.PublicAPI.Usage
-
This API is intended to be accessed, and nothing else.
- ACCESS_STANDARD_STREAMS - Static variable in class com.tngtech.archunit.library.GeneralCodingRules
-
A condition that matches classes that access
System.out
orSystem.err
. - accessClassesThat() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that all classes selected by this rule access certain classes (compare
ClassesShould.onlyAccessClassesThat()
).
NOTE: This usually makes more sense the negated way, e.g. - accessClassesThat(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- accessClassesThat(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that all classes selected by this rule access certain classes (compare
ClassesShould.onlyAccessClassesThat(DescribedPredicate)
.
NOTE: This usually makes more sense the negated way, e.g. - accessClassesThatResideIn(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- accessClassesThatResideInAnyPackage(String...) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- accessField(Class<?>, String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- accessField(Class<?>, String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Matches against all accesses (setting or getting) of a specific field.
- accessField(String, String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- accessField(String, String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Matches against all accesses (setting or getting) of a specific field.
- accessFieldWhere(DescribedPredicate<? super JavaFieldAccess>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- accessFieldWhere(DescribedPredicate<? super JavaFieldAccess>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Matches against accessing fields, where origin (a method or constructor) and target (a field) can be freely restricted by the supplied predicate.
- AccessTarget - Class in com.tngtech.archunit.core.domain
-
Represents the target of a
JavaAccess
. - AccessTarget.CodeUnitAccessTarget - Class in com.tngtech.archunit.core.domain
-
Represents an
AccessTarget
where the target is a code unit. - AccessTarget.CodeUnitAccessTarget.Functions - Class in com.tngtech.archunit.core.domain
-
Predefined
functions
to transformAccessTarget.CodeUnitAccessTarget
. - AccessTarget.CodeUnitCallTarget - Class in com.tngtech.archunit.core.domain
-
Represents an
AccessTarget
where the target is a code unit. - AccessTarget.CodeUnitReferenceTarget - Class in com.tngtech.archunit.core.domain
-
Represents an
AccessTarget
where the target is a code unit. - AccessTarget.ConstructorCallTarget - Class in com.tngtech.archunit.core.domain
-
Represents a
AccessTarget.CodeUnitCallTarget
where the target is a constructor. - AccessTarget.ConstructorCallTarget.Functions - Class in com.tngtech.archunit.core.domain
-
Predefined
functions
to transformAccessTarget.ConstructorCallTarget
. - AccessTarget.ConstructorReferenceTarget - Class in com.tngtech.archunit.core.domain
-
Represents a
AccessTarget.CodeUnitReferenceTarget
where the target is a constructor. - AccessTarget.ConstructorReferenceTarget.Functions - Class in com.tngtech.archunit.core.domain
-
Predefined
functions
to transformAccessTarget.ConstructorReferenceTarget
. - AccessTarget.FieldAccessTarget - Class in com.tngtech.archunit.core.domain
-
Represents an
AccessTarget
where the target is a field. - AccessTarget.FieldAccessTarget.Functions - Class in com.tngtech.archunit.core.domain
-
Predefined
functions
to transformAccessTarget.FieldAccessTarget
. - AccessTarget.Functions - Class in com.tngtech.archunit.core.domain
-
Predefined
functions
to transformAccessTarget
. - AccessTarget.MethodCallTarget - Class in com.tngtech.archunit.core.domain
-
Represents a
AccessTarget.CodeUnitCallTarget
where the target is a method. - AccessTarget.MethodCallTarget.Functions - Class in com.tngtech.archunit.core.domain
-
Predefined
functions
to transformAccessTarget.MethodCallTarget
. - AccessTarget.MethodReferenceTarget - Class in com.tngtech.archunit.core.domain
-
Represents a
AccessTarget.CodeUnitReferenceTarget
where the target is a method. - AccessTarget.MethodReferenceTarget.Functions - Class in com.tngtech.archunit.core.domain
-
Predefined
functions
to transformAccessTarget.MethodReferenceTarget
. - AccessTarget.Predicates - Class in com.tngtech.archunit.core.domain
-
Predefined
predicates
targetingAccessTarget
. - accessTargetWhere(DescribedPredicate<? super JavaAccess<?>>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- accessTargetWhere(DescribedPredicate<? super JavaAccess<?>>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Matches against access of arbitrary targets (compare
AccessTarget
) where origin (a method or constructor) and target (a field, method or constructor) can be freely restricted by the supplied predicate. - accessType(JavaFieldAccess.AccessType) - Static method in class com.tngtech.archunit.core.domain.JavaFieldAccess.Predicates
- adapter(String, DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
-
Defines which classes belong to a specific adapter by matching them against the supplied
predicate
. - adapter(String, String...) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
-
Defines which classes belong to a specific adapter by matching them against
package identifiers
. - add(int, T) - Method in class com.tngtech.archunit.base.ForwardingList
- add(DescribedPredicate<? super T>) - Method in class com.tngtech.archunit.lang.syntax.PredicateAggregator
- add(ConditionEvent) - Method in interface com.tngtech.archunit.lang.ConditionEvents
-
Adds a
ConditionEvent
to these events. - add(EvaluationResult) - Method in class com.tngtech.archunit.lang.EvaluationResult
- add(T) - Method in class com.tngtech.archunit.base.ForwardingCollection
- addAll(int, Collection<? extends T>) - Method in class com.tngtech.archunit.base.ForwardingList
- addAll(Collection<? extends T>) - Method in class com.tngtech.archunit.base.ForwardingCollection
- additionalToStringFields() - Method in class com.tngtech.archunit.core.domain.JavaFieldAccess
- addLowerBound(DomainBuilders.JavaTypeCreationProcess<OWNER>) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaWildcardTypeBuilder
- addUpperBound(DomainBuilders.JavaTypeCreationProcess<OWNER>) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaWildcardTypeBuilder
- adhereToPlantUmlDiagram(File, PlantUmlArchCondition.Configuration) - Static method in class com.tngtech.archunit.library.plantuml.rules.PlantUmlArchCondition
- adhereToPlantUmlDiagram(String, PlantUmlArchCondition.Configuration) - Static method in class com.tngtech.archunit.library.plantuml.rules.PlantUmlArchCondition
- adhereToPlantUmlDiagram(URL, PlantUmlArchCondition.Configuration) - Static method in class com.tngtech.archunit.library.plantuml.rules.PlantUmlArchCondition
- adhereToPlantUmlDiagram(Path, PlantUmlArchCondition.Configuration) - Static method in class com.tngtech.archunit.library.plantuml.rules.PlantUmlArchCondition
- after(Function<? super E, ? extends F>) - Method in class com.tngtech.archunit.base.ChainableFunction
- all(ClassesTransformer<TYPE>) - Static method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition
- all(ClassesTransformer<TYPE>) - Method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition.Creator
-
Takes a
ClassesTransformer
to specify how the set of objects of interest is to be created fromJavaClasses
(which are the general input obtained from aClassFileImporter
). - AllDependenciesCondition - Class in com.tngtech.archunit.lang.conditions
- allElements(DescribedPredicate<? super T>) - Static method in class com.tngtech.archunit.base.DescribedPredicate
- allow() - Static method in class com.tngtech.archunit.library.modules.syntax.AllowedModuleDependencies
-
Starts the definition of
AllowedModuleDependencies
. - AllowedModuleDependencies - Class in com.tngtech.archunit.library.modules.syntax
-
Defines which module may depend on which other modules by
module name
.
Start the definition by following the fluent API throughAllowedModuleDependencies.allow()
.
Extend the definition by callingAllowedModuleDependencies.fromModule(String)
multiple times. - AllowedModuleDependencies.Creator - Class in com.tngtech.archunit.library.modules.syntax
- AllowedModuleDependencies.RequiringAllowedTargets - Class in com.tngtech.archunit.library.modules.syntax
- allowEmptyShould(boolean) - Method in interface com.tngtech.archunit.lang.ArchRule
-
If set to
true
allows the should-clause of this rule to be checked against an empty set of elements. - allowEmptyShould(boolean) - Method in class com.tngtech.archunit.lang.CompositeArchRule
- allowEmptyShould(boolean) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture
-
This method is equivalent to calling
Architectures.LayeredArchitecture.withOptionalLayers(boolean)
, which should be preferred in this context as the meaning is easier to understand. - allowEmptyShould(boolean) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
-
This method is equivalent to calling
Architectures.OnionArchitecture.withOptionalLayers(boolean)
, which should be preferred in this context as the meaning is easier to understand. - allowEmptyShould(boolean) - Method in class com.tngtech.archunit.library.dependencies.SliceRule
- allowEmptyShould(boolean) - Method in class com.tngtech.archunit.library.freeze.FreezingArchRule
- allowEmptyShould(boolean) - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesByAnnotationRule
- allowEmptyShould(boolean) - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesRule
- alwaysFalse() - Static method in class com.tngtech.archunit.base.DescribedPredicate
- alwaysFalse() - Static method in class com.tngtech.archunit.base.Predicates
- alwaysTrue() - Static method in class com.tngtech.archunit.base.DescribedPredicate
- alwaysTrue() - Static method in class com.tngtech.archunit.base.Predicates
- and() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenClassesConjunction
- and() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenCodeUnitsConjunction
- and() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenFieldsConjunction
- and() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenMembersConjunction
-
Like
GivenMembersConjunction.and(DescribedPredicate)
but allows to pick the predicate to join by a fluent API. - and() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenMethodsConjunction
- and(DescribedPredicate<? super CODE_UNIT>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenCodeUnitsConjunction
- and(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenClassesConjunction
- and(DescribedPredicate<? super JavaConstructor>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenConstructorsConjunction
- and(DescribedPredicate<? super JavaField>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenFieldsConjunction
- and(DescribedPredicate<? super JavaMethod>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenMethodsConjunction
- and(DescribedPredicate<? super Slice>) - Method in interface com.tngtech.archunit.library.dependencies.syntax.GivenSlicesConjunction
- and(DescribedPredicate<? super ArchModule<AnnotationDescriptor<ANNOTATION>>>) - Method in interface com.tngtech.archunit.library.modules.syntax.GivenModulesByAnnotationConjunction
- and(DescribedPredicate<? super ArchModule<DESCRIPTOR>>) - Method in interface com.tngtech.archunit.library.modules.syntax.GivenModulesConjunction
- and(DescribedPredicate<? super MEMBER>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenMembersConjunction
- and(DescribedPredicate<? super OBJECTS>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenConjunction
-
Combines the current predicate (e.g.
- and(DescribedPredicate<? super T>) - Method in class com.tngtech.archunit.base.DescribedPredicate
- and(DescribedPredicate<? super T>...) - Static method in class com.tngtech.archunit.base.DescribedPredicate
- and(ArchCondition<? super T>) - Method in class com.tngtech.archunit.lang.ArchCondition
- and(ArchCondition<T>, ArchCondition<T>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- and(ArchRule) - Method in class com.tngtech.archunit.lang.CompositeArchRule
- and(Iterable<? extends DescribedPredicate<? super T>>) - Static method in class com.tngtech.archunit.base.DescribedPredicate
- andShould() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShouldConjunction
-
Like
ClassesShouldConjunction.andShould(ArchCondition)
but offers a fluent API to pick the condition to join. - andShould() - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShouldConjunction
- andShould() - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsShouldConjunction
- andShould() - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShouldConjunction
-
Same as
ClassesShouldConjunction.andShould()
but forJavaMember
- andShould() - Method in interface com.tngtech.archunit.lang.syntax.elements.MethodsShouldConjunction
- andShould() - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesByAnnotationRule
- andShould() - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesShouldConjunction
-
Like
ModulesShouldConjunction.andShould(ArchCondition)
but offers a fluent API to pick the condition to join. - andShould(ArchCondition<? super CODE_UNIT>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShouldConjunction
- andShould(ArchCondition<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShouldConjunction
-
Joins another condition to this rule with
and
semantics. - andShould(ArchCondition<? super JavaField>) - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsShouldConjunction
- andShould(ArchCondition<? super JavaMethod>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MethodsShouldConjunction
- andShould(ArchCondition<? super ArchModule<DESCRIPTOR>>) - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesShouldConjunction
-
Joins another condition to this rule with
and
semantics. - andShould(ArchCondition<? super MEMBER>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShouldConjunction
-
Same as
ClassesShouldConjunction.andShould(ArchCondition)
but forJavaMember
- annotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Static method in class com.tngtech.archunit.core.domain.properties.CanBeAnnotated.Predicates
-
Returns a predicate that matches elements that are annotated with an annotation matching the given predicate.
- annotatedWith(Class<? extends Annotation>) - Static method in class com.tngtech.archunit.core.domain.properties.CanBeAnnotated.Predicates
-
Returns a predicate that matches elements that are annotated with the given annotation type.
- annotatedWith(String) - Static method in class com.tngtech.archunit.core.domain.properties.CanBeAnnotated.Predicates
- AnnotationDescriptor<A extends Annotation> - Class in com.tngtech.archunit.library.modules
-
An
ArchModule.Descriptor
that carries along a specificAnnotation
. - AnnotationDescriptor(String, A) - Constructor for class com.tngtech.archunit.library.modules.AnnotationDescriptor
- ANNOTATIONS - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- ANONYMOUS_CLASSES - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- AnyDependencyCondition - Class in com.tngtech.archunit.lang.conditions
- anyElementThat(DescribedPredicate<? super T>) - Static method in class com.tngtech.archunit.base.DescribedPredicate
- applicationServices(DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
-
Defines which classes belong to application services by matching them against the supplied
predicate
. - applicationServices(String...) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
-
Defines which classes belong to application services by matching them against
package identifiers
. - apply(ArchRule) - Method in interface com.tngtech.archunit.lang.ArchRule.Transformation
- apply(ArchRule) - Method in class com.tngtech.archunit.lang.ArchRule.Transformation.As
- apply(ArchRule) - Method in class com.tngtech.archunit.lang.ArchRule.Transformation.Because
- apply(ArchModule.Identifier, Set<JavaClass>) - Method in interface com.tngtech.archunit.library.modules.syntax.DescriptorFunction
- ArchCondition<T> - Class in com.tngtech.archunit.lang
- ArchCondition(String, Object...) - Constructor for class com.tngtech.archunit.lang.ArchCondition
- ArchCondition.ConditionByPredicate<T extends HasDescription & HasSourceCodeLocation> - Class in com.tngtech.archunit.lang
-
An
ArchCondition
that derives which objects satisfy/violate the condition from aDescribedPredicate
. - ArchCondition.ConditionByPredicate.EventDescriber - Interface in com.tngtech.archunit.lang
-
Defines how to describe a single
ConditionEvent
. - ArchConditions - Class in com.tngtech.archunit.lang.conditions
-
A collection of predefined
ArchConditions
that can be customized or joined together viaArchCondition.and(ArchCondition)
andArchCondition.or(ArchCondition)
. - ArchConfiguration - Class in com.tngtech.archunit
-
Allows access to configured properties in "archunit.properties".
- ArchConfiguration.ExtensionProperties - Class in com.tngtech.archunit
- ArchitectureMetrics - Class in com.tngtech.archunit.library.metrics
- Architectures - Class in com.tngtech.archunit.library
-
Offers convenience to assert typical architectures:
Architectures.layeredArchitecture()
Architectures.onionArchitecture()
- Architectures.LayeredArchitecture - Class in com.tngtech.archunit.library
- Architectures.LayeredArchitecture.DependencySettings - Class in com.tngtech.archunit.library
-
Defines which dependencies the layered architecture will consider when checking for violations.
- Architectures.LayeredArchitecture.LayerDefinition - Class in com.tngtech.archunit.library
- Architectures.LayeredArchitecture.LayerDependencySpecification - Class in com.tngtech.archunit.library
- Architectures.OnionArchitecture - Class in com.tngtech.archunit.library
- ArchModule<DESCRIPTOR extends ArchModule.Descriptor> - Class in com.tngtech.archunit.library.modules
-
Represents a generic "architecture module", i.e.
- ArchModule.Descriptor - Interface in com.tngtech.archunit.library.modules
-
Contains meta-information for an
ArchModule
. - ArchModule.Identifier - Class in com.tngtech.archunit.library.modules
-
An
ArchModule.Identifier
of anArchModule
. - ArchModules<DESCRIPTOR extends ArchModule.Descriptor> - Class in com.tngtech.archunit.library.modules
-
A collection of
"architectural modules"
. - ArchModules.Creator - Class in com.tngtech.archunit.library.modules
-
An element of the fluent API to create
ArchModules
- ArchModules.Creator.WithGenericDescriptor<DESCRIPTOR extends ArchModule.Descriptor> - Class in com.tngtech.archunit.library.modules
-
An element of the fluent API to create
ArchModules
- ArchModules.CreatorByRootClass - Class in com.tngtech.archunit.library.modules
-
An element of the fluent API to create
ArchModules
- ArchModules.DescriptorCreator<DESCRIPTOR extends ArchModule.Descriptor> - Interface in com.tngtech.archunit.library.modules
-
A generic interface to be extended by users for providing custom implementations of
ArchModule.Descriptor
that can carry along more meta-information from the modularizedJavaClasses
. - ArchModules.IdentifierAssociation - Interface in com.tngtech.archunit.library.modules
-
Defines which
classes
belong to the sameArchModule.Identifier
and thus will eventually end up in the sameArchModule
. - ArchModules.RootClassDescriptorCreator<DESCRIPTOR extends ArchModule.Descriptor> - Interface in com.tngtech.archunit.library.modules
-
A more convenient
ArchModules.DescriptorCreator
tailored to the case that wedefine our modules by root classes
. - ArchPredicates - Class in com.tngtech.archunit.lang.conditions
-
Predefined
predicates
that offer syntactic sugar. - ArchRule - Interface in com.tngtech.archunit.lang
-
Represents a rule about a specified set of objects of interest (e.g.
- ArchRule.Assertions - Class in com.tngtech.archunit.lang
- ArchRule.Factory - Class in com.tngtech.archunit.lang
- ArchRule.Transformation - Interface in com.tngtech.archunit.lang
- ArchRule.Transformation.As - Class in com.tngtech.archunit.lang
- ArchRule.Transformation.Because - Class in com.tngtech.archunit.lang
- ArchRuleDefinition - Class in com.tngtech.archunit.lang.syntax
- ArchRuleDefinition.Creator - Class in com.tngtech.archunit.lang.syntax
- ARCHUNIT_PROPERTIES_RESOURCE_NAME - Static variable in class com.tngtech.archunit.ArchConfiguration
- ArchUnitException - Exception in com.tngtech.archunit.base
- ArchUnitException.ClassResolverConfigurationException - Exception in com.tngtech.archunit.base
- ArchUnitException.InconsistentClassPathException - Exception in com.tngtech.archunit.base
- ArchUnitException.InvalidSyntaxUsageException - Exception in com.tngtech.archunit.base
- ArchUnitException.LocationException - Exception in com.tngtech.archunit.base
- ArchUnitException.ReflectionException - Exception in com.tngtech.archunit.base
- ArchUnitException.UnsupportedUriSchemeException - Exception in com.tngtech.archunit.base
- ArchUnitExtension - Interface in com.tngtech.archunit.lang.extension
-
ArchUnit extensions need to implement this interface.
- ArchUnitExtensions - Class in com.tngtech.archunit.lang.extension
- ArchUnitExtensions() - Constructor for class com.tngtech.archunit.lang.extension.ArchUnitExtensions
- are(DescribedPredicate<? super T>) - Static method in class com.tngtech.archunit.lang.conditions.ArchPredicates
-
This method is just syntactic sugar, e.g.
- areAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes annotated with a certain annotation, where matching annotations are determined by the supplied predicate.
- areAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members annotated with a certain annotation, where matching annotations are determined by the supplied predicate.
- areAnnotatedWith(Class<? extends Annotation>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areAnnotatedWith(Class<? extends Annotation>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes annotated with a certain type of annotation.
- areAnnotatedWith(Class<? extends Annotation>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members annotated with a certain type of annotation.
- areAnnotatedWith(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areAnnotatedWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes annotated with a certain type of annotation.
- areAnnotatedWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members annotated with a certain type of annotation.
- areAnnotations() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areAnnotations() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches annotations.
- areAnonymousClasses() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areAnonymousClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
- areAssignableFrom(DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areAssignableFrom(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes assignable from a certain type matching the given predicate.
- areAssignableFrom(Class<?>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areAssignableFrom(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes assignable from a certain type (compare
Class.isAssignableFrom(Class)
to terminology). - areAssignableFrom(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areAssignableFrom(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes assignable from a certain type with the given type name.
- areAssignableTo(DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areAssignableTo(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes assignable to a certain type matching the given predicate.
- areAssignableTo(Class<?>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areAssignableTo(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes assignable to a certain type (compare
Class.isAssignableFrom(Class)
to terminology). - areAssignableTo(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areAssignableTo(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes assignable to a certain type with the given type name.
- areDeclaredIn(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members declared within the supplied class.
- areDeclaredIn(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members declared within a class of the supplied class name.
- areDeclaredInClassesThat() - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Allows to restrict the set of members under consideration by the class they are declared in
E.g. - areDeclaredInClassesThat(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members declared within a class matching the supplied predicate.
- areEnums() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areEnums() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches enums.
- areFinal() - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsThat
-
Matches final fields.
- areFinal() - Method in interface com.tngtech.archunit.lang.syntax.elements.MethodsThat
-
Matches final methods.
- areInnerClasses() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areInnerClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
- areInterfaces() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areInterfaces() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches interfaces.
- areLocalClasses() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areLocalClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
- areMemberClasses() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areMemberClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
- areMetaAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areMetaAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes meta-annotated with a certain annotation, where matching meta-annotations are determined by the supplied predicate.
- areMetaAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members meta-annotated with a certain annotation, where matching meta-annotations are determined by the supplied predicate.
- areMetaAnnotatedWith(Class<? extends Annotation>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areMetaAnnotatedWith(Class<? extends Annotation>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes meta-annotated with a certain type of annotation.
- areMetaAnnotatedWith(Class<? extends Annotation>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members meta-annotated with a certain type of annotation.
- areMetaAnnotatedWith(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areMetaAnnotatedWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes meta-annotated with a certain type of annotation.
- areMetaAnnotatedWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members meta-annotated with a certain type of annotation.
- areNestedClasses() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNestedClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
- areNotAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes not annotated with a certain annotation, where matching annotations are determined by the supplied predicate.
- areNotAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members not annotated with a certain annotation, where matching annotations are determined by the supplied predicate.
- areNotAnnotatedWith(Class<? extends Annotation>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotAnnotatedWith(Class<? extends Annotation>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes not annotated with a certain type of annotation.
- areNotAnnotatedWith(Class<? extends Annotation>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members not annotated with a certain type of annotation.
- areNotAnnotatedWith(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotAnnotatedWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes not annotated with a certain type of annotation.
- areNotAnnotatedWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members not annotated with a certain type of annotation.
- areNotAnnotations() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotAnnotations() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches everything except annotations.
- areNotAnonymousClasses() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotAnonymousClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
- areNotAssignableFrom(DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotAssignableFrom(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes not assignable from a certain type matching the given predicate.
- areNotAssignableFrom(Class<?>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotAssignableFrom(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes not assignable from a certain type.
- areNotAssignableFrom(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotAssignableFrom(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes not assignable from a certain type with the given type name.
- areNotAssignableTo(DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotAssignableTo(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes not assignable to a certain type matching the given predicate.
- areNotAssignableTo(Class<?>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotAssignableTo(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes not assignable to a certain type.
- areNotAssignableTo(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotAssignableTo(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes not assignable to a certain type with the given type name.
- areNotDeclaredIn(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members not declared within the supplied class.
- areNotDeclaredIn(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members not declared within a class of the supplied class name.
- areNotEnums() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotEnums() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches everything except enums.
- areNotFinal() - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsThat
-
Matches non-final fields.
- areNotFinal() - Method in interface com.tngtech.archunit.lang.syntax.elements.MethodsThat
-
Matches non-final methods.
- areNotInnerClasses() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotInnerClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
- areNotInterfaces() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotInterfaces() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches everything except interfaces.
- areNotLocalClasses() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotLocalClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
- areNotMemberClasses() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotMemberClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
- areNotMetaAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotMetaAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes not meta-annotated with a certain annotation, where matching meta-annotations are determined by the supplied predicate.
- areNotMetaAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members not meta-annotated with a certain annotation, where matching meta-annotations are determined by the supplied predicate.
- areNotMetaAnnotatedWith(Class<? extends Annotation>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotMetaAnnotatedWith(Class<? extends Annotation>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes not meta-annotated with a certain type of annotation.
- areNotMetaAnnotatedWith(Class<? extends Annotation>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members not meta-annotated with a certain type of annotation.
- areNotMetaAnnotatedWith(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotMetaAnnotatedWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes not meta-annotated with a certain type of annotation.
- areNotMetaAnnotatedWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members not meta-annotated with a certain type of annotation.
- areNotNestedClasses() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotNestedClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
- areNotPackagePrivate() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotPackagePrivate() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches non-package private classes.
- areNotPackagePrivate() - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches non-package private members.
- areNotPrivate() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotPrivate() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches non-private classes.
- areNotPrivate() - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches non-private members.
- areNotProtected() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotProtected() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches non-protected classes.
- areNotProtected() - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches non-protected members.
- areNotPublic() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotPublic() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches non-public classes.
- areNotPublic() - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches non-public members.
- areNotRecords() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotRecords() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches everything except records.
- areNotStatic() - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsThat
-
Matches non-static fields.
- areNotStatic() - Method in interface com.tngtech.archunit.lang.syntax.elements.MethodsThat
-
Matches non-static methods.
- areNotTopLevelClasses() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areNotTopLevelClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
- arePackagePrivate() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- arePackagePrivate() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches package private classes.
- arePackagePrivate() - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches package private members.
- arePrivate() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- arePrivate() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches private classes.
- arePrivate() - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches private members.
- areProtected() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areProtected() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches protected classes.
- areProtected() - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches protected members.
- arePublic() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- arePublic() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches public classes.
- arePublic() - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches public members.
- areRecords() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areRecords() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches records.
- areStatic() - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsThat
-
Matches static fields.
- areStatic() - Method in interface com.tngtech.archunit.lang.syntax.elements.MethodsThat
-
Matches static methods.
- areTopLevelClasses() - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- areTopLevelClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
- as(Class<A>) - Method in class com.tngtech.archunit.core.domain.JavaAnnotation
-
Returns a compile safe proxied version of the respective
JavaAnnotation
. - as(String) - Method in class com.tngtech.archunit.core.domain.JavaClasses
- as(String) - Method in interface com.tngtech.archunit.core.domain.properties.CanOverrideDescription
-
Allows to adjust the description of this object.
- as(String) - Method in class com.tngtech.archunit.lang.AbstractClassesTransformer
- as(String) - Method in interface com.tngtech.archunit.lang.ClassesTransformer
- as(String) - Method in class com.tngtech.archunit.lang.CompositeArchRule
- as(String) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture
- as(String) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
- as(String) - Method in class com.tngtech.archunit.library.dependencies.Slice
-
The pattern can be a description with references to the matching groups by '$' and position.
- as(String) - Method in class com.tngtech.archunit.library.dependencies.SliceRule
- as(String) - Method in class com.tngtech.archunit.library.dependencies.Slices
- as(String) - Method in class com.tngtech.archunit.library.dependencies.Slices.Transformer
- as(String) - Method in interface com.tngtech.archunit.library.dependencies.syntax.GivenNamedSlices
- as(String) - Method in interface com.tngtech.archunit.library.dependencies.syntax.GivenSlices
- as(String) - Method in interface com.tngtech.archunit.library.dependencies.syntax.GivenSlicesConjunction
-
Customizes the description of the slices under test, i.e.
- as(String) - Method in class com.tngtech.archunit.library.freeze.FreezingArchRule
- as(String) - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesByAnnotationRule
- as(String) - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesRule
- as(String, Object...) - Method in class com.tngtech.archunit.base.DescribedPredicate
-
Overwrites the description of this
DescribedPredicate
. - as(String, Object...) - Method in class com.tngtech.archunit.lang.ArchCondition
-
Overwrites the description of this
ArchCondition
. - as(String, Object...) - Method in class com.tngtech.archunit.lang.ArchCondition.ConditionByPredicate
- as(String, Object...) - Method in class com.tngtech.archunit.lang.conditions.AllDependenciesCondition
- as(String, Object...) - Method in class com.tngtech.archunit.lang.conditions.AnyDependencyCondition
- as(String, Object...) - Method in interface com.tngtech.archunit.library.modules.syntax.GivenModules
-
Allows to adjust the description of the "given modules" part.
- as(String, Object...) - Method in interface com.tngtech.archunit.library.modules.syntax.GivenModulesByAnnotationConjunction
- as(String, Object...) - Method in interface com.tngtech.archunit.library.modules.syntax.GivenModulesConjunction
- as(String, Object...) - Method in class com.tngtech.archunit.library.modules.syntax.ModuleRuleDefinition.PackagesDefinition
- as(String, Object...) - Method in class com.tngtech.archunit.library.modules.syntax.ModuleRuleDefinition.RootClassesDefinition
- As(String) - Constructor for class com.tngtech.archunit.lang.ArchRule.Transformation.As
- asBytes() - Method in class com.tngtech.archunit.core.domain.Source.Md5sum
- ASSERTIONS_SHOULD_HAVE_DETAIL_MESSAGE - Static variable in class com.tngtech.archunit.library.GeneralCodingRules
-
A rule that checks that all
AssertionErrors
(e.g. - assertNoViolation(EvaluationResult) - Static method in class com.tngtech.archunit.lang.ArchRule.Assertions
- asSet(Optional<T>) - Static method in class com.tngtech.archunit.base.Optionals
- assignableFrom(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
-
Same as
JavaClass.Predicates.assignableFrom(Class)
, but returnstrue
whenever the testedJavaClass
is assignable from a class that matches the supplied predicate.
This is the opposite ofJavaClass.Predicates.assignableTo(DescribedPredicate)
: some classB
is assignable from a classA
if and only ifA
is assignable toB
. - assignableFrom(Class<?>) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- assignableFrom(String) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
-
Same as
JavaClass.Predicates.assignableFrom(Class)
but takes a fully qualified class name as an argument instead of a class object. - assignableTo(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
-
Same as
JavaClass.Predicates.assignableTo(Class)
, but returnstrue
whenever the testedJavaClass
is assignable to a class that matches the supplied predicate.
This is the opposite ofJavaClass.Predicates.assignableFrom(DescribedPredicate)
: some classA
is assignable to a classB
if and only ifB
is assignable fromA
. - assignableTo(Class<?>) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- assignableTo(String) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
-
Same as
JavaClass.Predicates.assignableTo(Class)
but takes a fully qualified class name as an argument instead of a class object. - assignedFrom(SliceAssignment) - Static method in class com.tngtech.archunit.library.dependencies.Slices
- assignedFrom(SliceAssignment) - Method in class com.tngtech.archunit.library.dependencies.SlicesRuleDefinition.Creator
- associate(JavaClass) - Method in interface com.tngtech.archunit.library.modules.ArchModules.IdentifierAssociation
-
Associates a
JavaClass
with a specificArchModule.Identifier
which will eventually put thisJavaClass
into theArchModule
with the respectiveArchModule.Identifier
. - associateViolationLinesVia(ViolationLineMatcher) - Method in class com.tngtech.archunit.library.freeze.FreezingArchRule
-
Allows to reconfigure how this
FreezingArchRule
will decide if an occurring violation is known or not. - asString() - Method in enum class com.tngtech.archunit.lang.Priority
- asURI() - Method in class com.tngtech.archunit.core.importer.Location
B
- be(DescribedPredicate<? super T>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
-
Derives an
ArchCondition
from aDescribedPredicate
. - be(DescribedPredicate<? super T>) - Static method in class com.tngtech.archunit.lang.conditions.ArchPredicates
-
This method is just syntactic sugar, e.g.
- be(Class<?>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- be(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that the rule matches exactly the given class.
- be(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- be(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that the rule matches exactly the class with the given fully qualified class name.
- BE_ANNOTATED_WITH_AN_INJECTION_ANNOTATION - Static variable in class com.tngtech.archunit.library.GeneralCodingRules
-
A condition that matches fields that have an annotation for injection.
- beAccessedByMethodsThat(DescribedPredicate<? super JavaMethod>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beAccessedByMethodsThat(DescribedPredicate<? super JavaMethod>) - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsShould
-
Asserts that fields are accessed by at least one method matching the given predicate.
- beAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are annotated with a certain annotation, where matching annotations are determined by the supplied predicate.
- beAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are annotated with an annotation matching the supplied predicate.
- beAnnotatedWith(Class<? extends Annotation>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beAnnotatedWith(Class<? extends Annotation>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are annotated with a certain type of annotation.
- beAnnotatedWith(Class<? extends Annotation>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are annotated with a certain type of annotation.
- beAnnotatedWith(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beAnnotatedWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are annotated with a certain type of annotation.
- beAnnotatedWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are annotated with a certain type of annotation.
- beAnonymousClasses() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beAnonymousClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
- beAssignableFrom(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beAssignableFrom(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are assignable from a certain type matching the given predicate.
- beAssignableFrom(Class<?>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beAssignableFrom(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are assignable from a certain type (compare
Class.isAssignableFrom(Class)
to terminology). - beAssignableFrom(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beAssignableFrom(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are assignable from a certain type with the given type name.
- beAssignableTo(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beAssignableTo(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are assignable to a certain type matching the given predicate.
- beAssignableTo(Class<?>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beAssignableTo(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are assignable to a certain type (compare
Class.isAssignableFrom(Class)
to terminology). - beAssignableTo(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beAssignableTo(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are assignable to a certain type with the given type name.
- because(String) - Method in interface com.tngtech.archunit.lang.ArchRule
- because(String) - Method in class com.tngtech.archunit.lang.CompositeArchRule
- because(String) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture
- because(String) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
- because(String) - Method in class com.tngtech.archunit.library.dependencies.SliceRule
- because(String) - Method in class com.tngtech.archunit.library.freeze.FreezingArchRule
- because(String) - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesByAnnotationRule
- because(String) - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesRule
- Because(String) - Constructor for class com.tngtech.archunit.lang.ArchRule.Transformation.Because
- beDeclaredIn(Class<?>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beDeclaredIn(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are declared within the supplied class.
- beDeclaredIn(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beDeclaredIn(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are declared within a class of the supplied class name.
- beDeclaredInClassesThat() - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Allows to assert that members are declared within a certain class.
- beDeclaredInClassesThat(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beDeclaredInClassesThat(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are declared within a class matching the supplied predicate.
- beEnums() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beEnums() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are enums.
- beFinal() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beFinal() - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsShould
-
Asserts that fields are final.
- beFinal() - Method in interface com.tngtech.archunit.lang.syntax.elements.MethodsShould
-
Asserts that methods are final.
- beFreeOfCycles() - Method in interface com.tngtech.archunit.library.dependencies.syntax.SlicesShould
- beFreeOfCycles() - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesShould
-
Checks that the
ArchModule
s under consideration don't have any cyclic dependencies within theirmodule dependencies
. - beInnerClasses() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beInnerClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
- beInterfaces() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beInterfaces() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are interfaces.
- beLocalClasses() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beLocalClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
- belongTo(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
-
A predicate to determine if a
JavaClass
"belongs" to a class matching the given predicate, where "belong" means that thisJavaClass
is directly matching the given predicate a nested/inner/anonymous class of anotherJavaClass
matching the predicate For examplebelongTo(annotatedWith(Something.class))
would apply to the following cases - belongToAnyOf(Class<?>...) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- belongToAnyOf(Class<?>...) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- belongToAnyOf(Class<?>...) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches every class in the supplied list and any of their named/anonymous inner classes, no matter how deeply nested.
- beMemberClasses() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beMemberClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
- beMetaAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beMetaAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are meta-annotated with a certain annotation, where matching meta-annotations are determined by the supplied predicate.
- beMetaAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are meta-annotated with an annotation matching the supplied predicate.
- beMetaAnnotatedWith(Class<? extends Annotation>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beMetaAnnotatedWith(Class<? extends Annotation>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are meta-annotated with a certain type of annotation.
- beMetaAnnotatedWith(Class<? extends Annotation>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are meta-annotated with a certain type of annotation.
- beMetaAnnotatedWith(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beMetaAnnotatedWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are meta-annotated with a certain type of annotation.
- beMetaAnnotatedWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are meta-annotated with a certain type of annotation.
- beNestedClasses() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beNestedClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
- bePackagePrivate() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- bePackagePrivate() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are package private.
- bePackagePrivate() - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are package private.
- bePrivate() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- bePrivate() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are private.
- bePrivate() - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are private.
- beProtected() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beProtected() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are protected.
- beProtected() - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are protected.
- bePublic() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- bePublic() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are public.
- bePublic() - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are public.
- beRecords() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beRecords() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are records.
- beStatic() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beStatic() - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsShould
-
Asserts that fields are static.
- beStatic() - Method in interface com.tngtech.archunit.lang.syntax.elements.MethodsShould
-
Asserts that methods are static.
- beTopLevelClasses() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- beTopLevelClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
- BRIDGE - Enum constant in enum class com.tngtech.archunit.core.domain.JavaModifier
- build() - Method in class com.tngtech.archunit.library.cycle_detection.rules.CycleArchCondition.Builder
- build(JavaClass, ImportedClasses) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaMemberBuilder
- build(JavaCodeUnit) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.TryCatchBlockBuilder
- build(JavaParameter) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaCodeUnitBuilder.ParameterAnnotationsBuilder
- build(OWNER, ImportedClasses) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaTypeParameterBuilder
- build(OWNER, Iterable<JavaTypeVariable<?>>, ImportedClasses) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaWildcardTypeBuilder
- build(T, ImportedClasses) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaAnnotationBuilder
- builder() - Static method in class com.tngtech.archunit.library.cycle_detection.rules.CycleArchCondition
- byAnyPackage(String...) - Method in interface com.tngtech.archunit.lang.syntax.elements.OnlyBeAccessedSpecification
-
Matches classes residing in a package matching any of the supplied package identifiers.
- byClassesThat() - Method in interface com.tngtech.archunit.lang.syntax.elements.OnlyBeAccessedSpecification
- byClassesThat() - Method in interface com.tngtech.archunit.lang.syntax.elements.OnlyBeCalledSpecification
- byClassesThat(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.OnlyBeAccessedSpecification
-
Allows to restrict the access origins by matching them against the supplied
DescribedPredicate
. - byClassesThat(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.OnlyBeCalledSpecification
-
Restricts allowed origins of calls to classes matching the supplied
DescribedPredicate
. - byCodeUnitsThat(DescribedPredicate<? super JavaCodeUnit>) - Method in interface com.tngtech.archunit.lang.syntax.elements.OnlyBeCalledSpecification
-
Restricts allowed origins of calls to code units matching the supplied
DescribedPredicate
. - byConstructorsThat(DescribedPredicate<? super JavaConstructor>) - Method in interface com.tngtech.archunit.lang.syntax.elements.OnlyBeCalledSpecification
-
Restricts allowed origins of calls to constructors matching the supplied
DescribedPredicate
. - byMethodsThat(DescribedPredicate<? super JavaMethod>) - Method in interface com.tngtech.archunit.lang.syntax.elements.OnlyBeCalledSpecification
-
Restricts allowed origins of calls to methods matching the supplied
DescribedPredicate
.
C
- callCodeUnitWhere(DescribedPredicate<? super JavaCall<?>>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- callCodeUnitWhere(DescribedPredicate<? super JavaCall<?>>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Matches against code unit calls (compare
JavaCodeUnit
) where origin (a code unit) and target (a code unit) can be freely restricted by the supplied predicate. - callConstructor(Class<?>, Class<?>...) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- callConstructor(Class<?>, Class<?>...) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Matches against a constructor call to a specific constructor (e.g.
- callConstructor(String, String...) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- callConstructor(String, String...) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Matches against constructor call to a specific constructor (e.g.
- callConstructorWhere(DescribedPredicate<? super JavaConstructorCall>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- callConstructorWhere(DescribedPredicate<? super JavaConstructorCall>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Matches against constructor calls where origin (a method or constructor) and target (a constructor) can be freely restricted by the supplied predicate.
- callMethod(Class<?>, String, Class<?>...) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- callMethod(Class<?>, String, Class<?>...) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Matches against a method call to a specific method (e.g.
- callMethod(String, String, String...) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- callMethod(String, String, String...) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Matches against method call to a specific method (e.g.
- callMethodWhere(DescribedPredicate<? super JavaMethodCall>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- callMethodWhere(DescribedPredicate<? super JavaMethodCall>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Matches against method calls where origin (a method or constructor) and target (a method) can be freely restricted by the supplied predicate.
- CanBeAnnotated - Interface in com.tngtech.archunit.core.domain.properties
- CanBeAnnotated.Predicates - Class in com.tngtech.archunit.core.domain.properties
-
Predefined
predicates
targeting objects that implementCanBeAnnotated
- CanBeAnnotated.Utils - Class in com.tngtech.archunit.core.domain.properties
- CanBeEvaluated - Interface in com.tngtech.archunit.lang
- CanOverrideDescription<SELF> - Interface in com.tngtech.archunit.core.domain.properties
- ChainableFunction<F,
T> - Class in com.tngtech.archunit.base - ChainableFunction() - Constructor for class com.tngtech.archunit.base.ChainableFunction
- check(JavaClasses) - Method in interface com.tngtech.archunit.lang.ArchRule
- check(JavaClasses) - Method in class com.tngtech.archunit.lang.CompositeArchRule
- check(JavaClasses) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture
- check(JavaClasses) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
- check(JavaClasses) - Method in class com.tngtech.archunit.library.dependencies.SliceRule
- check(JavaClasses) - Method in class com.tngtech.archunit.library.freeze.FreezingArchRule
- check(JavaClass, ConditionEvents) - Method in class com.tngtech.archunit.lang.conditions.AnyDependencyCondition
- check(JavaClass, ConditionEvents) - Method in class com.tngtech.archunit.lang.conditions.TransitiveDependencyCondition
- check(JavaClass, ConditionEvents) - Method in class com.tngtech.archunit.library.plantuml.rules.PlantUmlArchCondition
- check(ArchRule, JavaClasses) - Static method in class com.tngtech.archunit.lang.ArchRule.Assertions
- check(COMPONENT, ConditionEvents) - Method in class com.tngtech.archunit.library.cycle_detection.rules.CycleArchCondition
- check(JavaClass, ConditionEvents) - Method in class com.tngtech.archunit.lang.conditions.AllDependenciesCondition
- check(T, ConditionEvents) - Method in class com.tngtech.archunit.lang.ArchCondition
- check(T, ConditionEvents) - Method in class com.tngtech.archunit.lang.ArchCondition.ConditionByPredicate
- classes() - Static method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition
- classes() - Method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition.Creator
- ClassesShould - Interface in com.tngtech.archunit.lang.syntax.elements
- ClassesShouldConjunction - Interface in com.tngtech.archunit.lang.syntax.elements
-
Allows to join together any existing
ArchCondition
of this rule with anotherArchCondition
viaand
oror
. - ClassesThat<CONJUNCTION> - Interface in com.tngtech.archunit.lang.syntax.elements
- ClassesThatInternal<CONJUNCTION> - Class in com.tngtech.archunit.lang.syntax
- ClassesThatInternal(Function<DescribedPredicate<? super JavaClass>, CONJUNCTION>) - Constructor for class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- ClassesTransformer<T> - Interface in com.tngtech.archunit.lang
- ClassFileImporter - Class in com.tngtech.archunit.core.importer
-
The central API to import
JavaClasses
from compiled Java class files. - ClassFileImporter() - Constructor for class com.tngtech.archunit.core.importer.ClassFileImporter
- ClassFileImporter(Collection<ImportOption>) - Constructor for class com.tngtech.archunit.core.importer.ClassFileImporter
- ClassLoaders - Class in com.tngtech.archunit.base
- ClassLoaders() - Constructor for class com.tngtech.archunit.base.ClassLoaders
- ClassResolver - Interface in com.tngtech.archunit.core.importer.resolvers
-
The
ClassFileImporter
will use the configuredClassResolver
, to determine how to resolve further dependencies.
For example, if you import the packagecom.foo.bar
, and some classcom.foo.bar.FooBar
calls a method ofcom.other.Dependency
, theClassResolver
will decide how this dependency should be treated, i.e. - ClassResolver.ClassUriImporter - Interface in com.tngtech.archunit.core.importer.resolvers
-
Provides a way to import a JavaClass from a given
URI
. - ClassResolver.Factory - Class in com.tngtech.archunit.core.importer.resolvers
- ClassResolverFromClasspath - Class in com.tngtech.archunit.core.importer.resolvers
-
A
ClassResolver
that tries to locate missing dependencies on the classpath. - ClassResolverFromClasspath() - Constructor for class com.tngtech.archunit.core.importer.resolvers.ClassResolverFromClasspath
- clear() - Method in class com.tngtech.archunit.base.ForwardingCollection
- codeUnits() - Static method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition
- codeUnits() - Method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition.Creator
- CodeUnitsShould<CONJUNCTION extends CodeUnitsShouldConjunction<?>> - Interface in com.tngtech.archunit.lang.syntax.elements
- CodeUnitsShouldConjunction<CODE_UNIT extends JavaCodeUnit> - Interface in com.tngtech.archunit.lang.syntax.elements
- CodeUnitsThat<CONJUNCTION> - Interface in com.tngtech.archunit.lang.syntax.elements
- com.tngtech.archunit - package com.tngtech.archunit
- com.tngtech.archunit.base - package com.tngtech.archunit.base
- com.tngtech.archunit.core - package com.tngtech.archunit.core
- com.tngtech.archunit.core.domain - package com.tngtech.archunit.core.domain
- com.tngtech.archunit.core.domain.properties - package com.tngtech.archunit.core.domain.properties
- com.tngtech.archunit.core.importer - package com.tngtech.archunit.core.importer
- com.tngtech.archunit.core.importer.resolvers - package com.tngtech.archunit.core.importer.resolvers
- com.tngtech.archunit.lang - package com.tngtech.archunit.lang
- com.tngtech.archunit.lang.conditions - package com.tngtech.archunit.lang.conditions
- com.tngtech.archunit.lang.extension - package com.tngtech.archunit.lang.extension
- com.tngtech.archunit.lang.syntax - package com.tngtech.archunit.lang.syntax
- com.tngtech.archunit.lang.syntax.elements - package com.tngtech.archunit.lang.syntax.elements
- com.tngtech.archunit.library - package com.tngtech.archunit.library
- com.tngtech.archunit.library.cycle_detection - package com.tngtech.archunit.library.cycle_detection
- com.tngtech.archunit.library.cycle_detection.rules - package com.tngtech.archunit.library.cycle_detection.rules
- com.tngtech.archunit.library.dependencies - package com.tngtech.archunit.library.dependencies
- com.tngtech.archunit.library.dependencies.syntax - package com.tngtech.archunit.library.dependencies.syntax
- com.tngtech.archunit.library.freeze - package com.tngtech.archunit.library.freeze
- com.tngtech.archunit.library.metrics - package com.tngtech.archunit.library.metrics
- com.tngtech.archunit.library.modules - package com.tngtech.archunit.library.modules
- com.tngtech.archunit.library.modules.syntax - package com.tngtech.archunit.library.modules.syntax
- com.tngtech.archunit.library.plantuml.rules - package com.tngtech.archunit.library.plantuml.rules
- compareTo(Dependency) - Method in class com.tngtech.archunit.core.domain.Dependency
- completeAnnotations(JavaClass, ImportContext) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- completeClassHierarchy(JavaClass, ImportContext) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- completeEnclosingDeclaration(JavaClass, ImportContext) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- completeGenericInterfaces(JavaClass, ImportContext) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- completeGenericSuperclass(JavaClass, ImportContext) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- completeMembers(JavaClass, ImportContext) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- completeTypeParameters(JavaClass, ImportContext) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- completeTypeVariable(JavaTypeVariable<?>, List<JavaType>) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- componentDependencyMetrics(MetricsComponents<JavaClass>) - Static method in class com.tngtech.archunit.library.metrics.ArchitectureMetrics
-
Calculates system component dependency metrics as defined by Robert C.
- ComponentDependencyMetrics - Class in com.tngtech.archunit.library.metrics
-
Calculates architecture metrics as defined by Robert C.
- CompositeArchRule - Class in com.tngtech.archunit.lang
- CompositeArchRule.Creator - Class in com.tngtech.archunit.lang
- ConditionEvent - Interface in com.tngtech.archunit.lang
-
An event that occurred while checking an
ArchCondition
. - ConditionEvent.Handler - Interface in com.tngtech.archunit.lang
-
Handles the data of a
ConditionEvent
that is the corresponding objects and the description (compareConditionEvent.handleWith(Handler)
).
As an example, this could be a single element of typeJavaMethodCall
together with a description, like - ConditionEvents - Interface in com.tngtech.archunit.lang
-
Collects
events
that occur when checkingArchConditions
. - ConditionEvents.Factory - Class in com.tngtech.archunit.lang
- configure(Properties) - Method in interface com.tngtech.archunit.lang.extension.ArchUnitExtension
-
Before calling
ArchUnitExtension.handle(EvaluatedRule)
, ArchUnit will call this method, to pass configured properties to the extension. - configureExtension(String) - Method in class com.tngtech.archunit.ArchConfiguration
- consideringAllDependencies() - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture.DependencySettings
-
Defines
dependency settings
that consider all dependencies when checking for violations. - consideringAllDependencies() - Static method in class com.tngtech.archunit.library.modules.syntax.ModuleDependencyScope
-
Considers all dependencies of every imported class, including basic Java classes like
Object
. - consideringAllDependencies() - Static method in class com.tngtech.archunit.library.plantuml.rules.PlantUmlArchCondition.Configuration
-
Considers all dependencies of every imported class, including basic Java classes like
Object
- consideringOnlyDependenciesBetweenModules() - Static method in class com.tngtech.archunit.library.modules.syntax.ModuleDependencyScope
-
Considers only dependencies of the imported classes between two modules.
- consideringOnlyDependenciesInAnyPackage(String, String...) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture.DependencySettings
-
Defines
dependency settings
that consider only dependencies from/to certain packages, e.g. - consideringOnlyDependenciesInAnyPackage(String, String...) - Static method in class com.tngtech.archunit.library.modules.syntax.ModuleDependencyScope
-
Considers only dependencies of imported classes that target packages matching the given the
package identifiers
. - consideringOnlyDependenciesInAnyPackage(String, String...) - Static method in class com.tngtech.archunit.library.plantuml.rules.PlantUmlArchCondition.Configuration
-
Considers only dependencies of the imported classes that have targets in the package identifiers.
- consideringOnlyDependenciesInDiagram() - Static method in class com.tngtech.archunit.library.plantuml.rules.PlantUmlArchCondition.Configuration
-
Considers only dependencies of the imported classes that are contained within diagram components.
- consideringOnlyDependenciesInLayers() - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture.DependencySettings
-
Defines
dependency settings
that consider only dependencies between the layers. - constructor() - Static method in class com.tngtech.archunit.core.domain.AccessTarget.Predicates
- constructor() - Static method in class com.tngtech.archunit.core.domain.JavaCodeUnit.Predicates
- CONSTRUCTOR_NAME - Static variable in class com.tngtech.archunit.core.domain.JavaConstructor
- constructors() - Static method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition
- constructors() - Method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition.Creator
- contain(Class<?>) - Method in class com.tngtech.archunit.core.domain.JavaClasses
- contain(String) - Method in class com.tngtech.archunit.core.domain.JavaClasses
- containAnyCodeUnitsThat(DescribedPredicate<? super JavaCodeUnit>) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
-
A predicate to determine if a
JavaClass
contains one or morecode units
matching the supplied predicate. - containAnyCodeUnitsThat(DescribedPredicate<? super JavaCodeUnit>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- containAnyCodeUnitsThat(DescribedPredicate<? super JavaCodeUnit>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes that contain any
code unit
matching the supplied predicate. - containAnyConstructorsThat(DescribedPredicate<? super JavaConstructor>) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
-
A predicate to determine if a
JavaClass
contains one or moreconstructors
matching the supplied predicate. - containAnyConstructorsThat(DescribedPredicate<? super JavaConstructor>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- containAnyConstructorsThat(DescribedPredicate<? super JavaConstructor>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes that contain any
constructor
matching the supplied predicate. - containAnyFieldsThat(DescribedPredicate<? super JavaField>) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- containAnyFieldsThat(DescribedPredicate<? super JavaField>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- containAnyFieldsThat(DescribedPredicate<? super JavaField>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes that contain any
field
matching the supplied predicate. - containAnyMembersThat(DescribedPredicate<? super JavaMember>) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- containAnyMembersThat(DescribedPredicate<? super JavaMember>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- containAnyMembersThat(DescribedPredicate<? super JavaMember>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes that contain any
member
matching the supplied predicate. - containAnyMethodsThat(DescribedPredicate<? super JavaMethod>) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- containAnyMethodsThat(DescribedPredicate<? super JavaMethod>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- containAnyMethodsThat(DescribedPredicate<? super JavaMethod>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes that contain any
method
matching the supplied predicate. - containAnyStaticInitializersThat(DescribedPredicate<? super JavaStaticInitializer>) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
-
A predicate to determine if a
JavaClass
contains one or morestatic initializers
matching the supplied predicate. - containAnyStaticInitializersThat(DescribedPredicate<? super JavaStaticInitializer>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- containAnyStaticInitializersThat(DescribedPredicate<? super JavaStaticInitializer>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes that contain a
static initializer
matching the supplied predicate. - containNumberOfElements(DescribedPredicate<? super Integer>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- containNumberOfElements(DescribedPredicate<? super Integer>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that the number of classes checked by this rule conforms to the supplied predicate.
- containNumberOfElements(DescribedPredicate<? super Integer>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that the number of members checked by this rule conforms to the supplied predicate.
- containPackage(String) - Method in class com.tngtech.archunit.core.domain.JavaClasses
- contains(ArchRule) - Method in class com.tngtech.archunit.library.freeze.TextFileBasedViolationStore
- contains(ArchRule) - Method in interface com.tngtech.archunit.library.freeze.ViolationStore
- contains(ArchRule) - Method in class com.tngtech.archunit.library.freeze.ViolationStore.Delegate
- contains(Object) - Method in class com.tngtech.archunit.base.ForwardingCollection
- contains(String) - Method in class com.tngtech.archunit.core.importer.Location
- containsAll(Collection<?>) - Method in class com.tngtech.archunit.base.ForwardingCollection
- containsClass(JavaClass) - Method in class com.tngtech.archunit.core.domain.JavaPackage
- containsClass(Class<?>) - Method in class com.tngtech.archunit.core.domain.JavaPackage
- containsClassWithFullyQualifiedName(String) - Method in class com.tngtech.archunit.core.domain.JavaPackage
- containsClassWithSimpleName(String) - Method in class com.tngtech.archunit.core.domain.JavaPackage
- containsPackage(String) - Method in class com.tngtech.archunit.core.domain.JavaPackage
- containsProperty(String) - Method in class com.tngtech.archunit.ArchConfiguration
- containsType(DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.core.domain.ThrowsClause
- containsType(Class<?>) - Method in class com.tngtech.archunit.core.domain.ThrowsClause
- containsType(String) - Method in class com.tngtech.archunit.core.domain.ThrowsClause
- containViolation() - Method in interface com.tngtech.archunit.lang.ConditionEvents
- create() - Method in class com.tngtech.archunit.core.importer.resolvers.ClassResolver.Factory
- create() - Static method in class com.tngtech.archunit.lang.ConditionEvents.Factory
- create(ClassesTransformer<T>, ArchCondition<T>, Priority) - Static method in class com.tngtech.archunit.lang.ArchRule.Factory
- create(ArchModule.Identifier, JavaClass) - Method in interface com.tngtech.archunit.library.modules.ArchModules.RootClassDescriptorCreator
- create(ArchModule.Identifier, Set<JavaClass>) - Method in interface com.tngtech.archunit.library.modules.ArchModules.DescriptorCreator
- create(String) - Static method in interface com.tngtech.archunit.library.modules.ArchModule.Descriptor
-
Creates a default
ArchModule.Descriptor
only containing the passedname
asArchModule.Descriptor.getName()
. - create(N, N) - Static method in interface com.tngtech.archunit.library.cycle_detection.Edge
- createAnnotations(JavaClass) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createAnnotations(JavaMember) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createConstructorCallsFor(JavaCodeUnit, Set<DomainBuilders.TryCatchBlockBuilder>) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createConstructorCallTarget(DomainBuilders.CodeUnitAccessTargetBuilder<JavaConstructor, AccessTarget.ConstructorCallTarget>) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createConstructorReferencesFor(JavaCodeUnit, Set<DomainBuilders.TryCatchBlockBuilder>) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createConstructorReferenceTarget(DomainBuilders.CodeUnitAccessTargetBuilder<JavaConstructor, AccessTarget.ConstructorReferenceTarget>) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createConstructors(JavaClass) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createEnclosingClass(JavaClass) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createEnclosingCodeUnit(JavaClass) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createFieldAccessesFor(JavaCodeUnit, Set<DomainBuilders.TryCatchBlockBuilder>) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createFieldAccessTarget(DomainBuilders.FieldAccessTargetBuilder) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createFields(JavaClass) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createGenericArrayType(JavaType, JavaClass) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createGenericInterfaces(JavaClass) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createGenericSuperclass(JavaClass) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createInstanceofCheck(JavaCodeUnit, JavaClass, int, boolean) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createInstanceofChecksFor(JavaCodeUnit) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createInterfaces(JavaClass) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createJavaAnnotation(T, DomainBuilders.JavaAnnotationBuilder) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createJavaClass(DomainBuilders.JavaClassBuilder) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createJavaClasses(Map<String, JavaClass>, Collection<JavaClass>, ImportContext) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createJavaConstructor(DomainBuilders.JavaConstructorBuilder) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createJavaConstructorCall(DomainBuilders.JavaConstructorCallBuilder) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createJavaConstructorReference(DomainBuilders.JavaConstructorReferenceBuilder) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createJavaEnumConstant(DomainBuilders.JavaEnumConstantBuilder) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createJavaField(DomainBuilders.JavaFieldBuilder) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createJavaFieldAccess(DomainBuilders.JavaFieldAccessBuilder) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createJavaMethod(DomainBuilders.JavaMethodBuilder, Function<JavaMethod, Optional<Object>>) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createJavaMethodCall(DomainBuilders.JavaMethodCallBuilder) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createJavaMethodReference(DomainBuilders.JavaMethodReferenceBuilder) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createJavaStaticInitializer(DomainBuilders.JavaStaticInitializerBuilder) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createMessage(T, String) - Static method in interface com.tngtech.archunit.lang.ConditionEvent
-
Convenience method to create a standard ArchUnit
ConditionEvent
message. - createMethodCallsFor(JavaCodeUnit, Set<DomainBuilders.TryCatchBlockBuilder>) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createMethodCallTarget(DomainBuilders.CodeUnitAccessTargetBuilder<JavaMethod, AccessTarget.MethodCallTarget>) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createMethodReferencesFor(JavaCodeUnit, Set<DomainBuilders.TryCatchBlockBuilder>) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createMethodReferenceTarget(DomainBuilders.CodeUnitAccessTargetBuilder<JavaMethod, AccessTarget.MethodReferenceTarget>) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createMethods(JavaClass) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createReferencedClassObject(JavaCodeUnit, JavaClass, int, boolean) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createReferencedClassObjectsFor(JavaCodeUnit) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createRuleFileName(String) - Method in interface com.tngtech.archunit.library.freeze.TextFileBasedViolationStore.RuleViolationFileNameStrategy
-
Returns the file name to store violations of an
ArchRule
, possibly based on the rule description.
The returned names must be sufficiently unique from any others; as long as the descriptions themselves are unique, this can be achieved by sanitizing the description into some sort of file name. - createSource(URI, Optional<String>, boolean) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createStaticInitializer(JavaClass) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createSuperclass(JavaClass) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createThrowsClause(CODE_UNIT, List<JavaClass>) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createTryCatchBlock(DomainBuilders.TryCatchBlockBuilder) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createTryCatchBlockBuilders(JavaCodeUnit) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createTypeParameters(JavaClass) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createTypeVariable(String, OWNER, JavaClass) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createWildcardType(DomainBuilders.JavaWildcardTypeBuilder<?>) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- Cycle<EDGE extends Edge<?>> - Interface in com.tngtech.archunit.library.cycle_detection
-
A cycle formed by the referenced
EDGEs
. - CycleArchCondition<COMPONENT> - Class in com.tngtech.archunit.library.cycle_detection.rules
-
A generic
ArchCondition
to check arbitraryCOMPONENT
s consisting ofJavaClasses
for cyclic dependencies between those components (induced by thedependencies
of the containedclasses
).
Construct it by following the fluent interface ofCycleArchCondition.builder()
. - CycleArchCondition.Builder<COMPONENT> - Class in com.tngtech.archunit.library.cycle_detection.rules
- CycleArchCondition.NeedsRetrieveClasses<COMPONENT> - Interface in com.tngtech.archunit.library.cycle_detection.rules
- CycleArchCondition.NeedsRetrieveDescription<COMPONENT> - Interface in com.tngtech.archunit.library.cycle_detection.rules
- CycleArchCondition.NeedsRetrieveOutgoingDependencies<COMPONENT> - Interface in com.tngtech.archunit.library.cycle_detection.rules
- CycleConfiguration - Class in com.tngtech.archunit.library.cycle_detection
- CycleDetector - Class in com.tngtech.archunit.library.cycle_detection
- Cycles<EDGE extends Edge<?>> - Interface in com.tngtech.archunit.library.cycle_detection
D
- declaredIn(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.core.domain.AccessTarget.Predicates
- declaredIn(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.core.domain.JavaMember.Predicates
- declaredIn(Class<?>) - Static method in class com.tngtech.archunit.core.domain.AccessTarget.Predicates
- declaredIn(Class<?>) - Static method in class com.tngtech.archunit.core.domain.JavaMember.Predicates
- declaredIn(String) - Static method in class com.tngtech.archunit.core.domain.AccessTarget.Predicates
- declaredIn(String) - Static method in class com.tngtech.archunit.core.domain.JavaMember.Predicates
- declareThrowableOfType(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- declareThrowableOfType(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShould
-
Asserts that
JavaCodeUnits
declare aThrowable
which matches the given predicate. - declareThrowableOfType(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsThat
-
Matches
JavaCodeUnits
that declare aThrowable
which matches the given predicate. - declareThrowableOfType(Class<? extends Throwable>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- declareThrowableOfType(Class<? extends Throwable>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShould
-
Asserts that
JavaCodeUnits
declare aThrowable
of the specified type in their throws clause. - declareThrowableOfType(Class<? extends Throwable>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsThat
-
Matches
JavaCodeUnits
that declare aThrowable
of the specified type in their throws clause. - declareThrowableOfType(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- declareThrowableOfType(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShould
-
Asserts that
JavaCodeUnits
declare aThrowable
of the specified fully qualified type name in their throws clause. - declareThrowableOfType(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsThat
-
Matches
JavaCodeUnits
that declare aThrowable
of the specified fully qualified type name in their throws clause. - DefaultParameterVisitor() - Constructor for class com.tngtech.archunit.core.domain.JavaAnnotation.DefaultParameterVisitor
- defineBy(ArchModules.IdentifierAssociation) - Static method in class com.tngtech.archunit.library.modules.ArchModules
- defineByAnnotation(Class<A>) - Static method in class com.tngtech.archunit.library.modules.ArchModules
-
Same as
ArchModules.defineByAnnotation(Class, Function)
, but the name will be automatically derived from thename
attribute of the respective annotation. - defineByAnnotation(Class<A>, Function<A, String>) - Static method in class com.tngtech.archunit.library.modules.ArchModules
-
Entrypoint to create
ArchModules
by partitioning a set ofclasses
into packages defined by "root classes" containing annotations of the givenannotationType
. - defineByPackages(String) - Static method in class com.tngtech.archunit.library.modules.ArchModules
-
Entrypoint to create
ArchModules
by partitioning a set ofclasses
into specific packages matching the suppliedpackageIdentifier
interpreted asPackageMatcher
.
Partitioning is done according to capturing groups. - defineByRootClasses(Predicate<? super JavaClass>) - Static method in class com.tngtech.archunit.library.modules.ArchModules
-
Entrypoint to create
ArchModules
by partitioning a set ofclasses
into packages defined by specific "root classes". - definedBy(DescribedFunction<JavaClass, ArchModule.Identifier>) - Method in class com.tngtech.archunit.library.modules.syntax.ModuleRuleDefinition.Creator
- definedBy(DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture.LayerDefinition
-
Defines a layer by a predicate, i.e.
- definedBy(String...) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture.LayerDefinition
-
Defines a layer by package identifiers (compare
PackageMatcher
) - definedByAnnotation(Class<A>) - Method in class com.tngtech.archunit.library.modules.syntax.ModuleRuleDefinition.Creator
- definedByAnnotation(Class<A>, Function<A, String>) - Method in class com.tngtech.archunit.library.modules.syntax.ModuleRuleDefinition.Creator
- definedByPackages(String) - Method in class com.tngtech.archunit.library.modules.syntax.ModuleRuleDefinition.Creator
- definedByRootClasses(DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.library.modules.syntax.ModuleRuleDefinition.Creator
- delegate() - Method in class com.tngtech.archunit.base.ForwardingCollection
- delegate() - Method in class com.tngtech.archunit.base.ForwardingList
- delegate() - Method in class com.tngtech.archunit.base.ForwardingSet
- delegate() - Method in class com.tngtech.archunit.core.domain.JavaClasses
- delegate() - Method in class com.tngtech.archunit.core.domain.ThrowsClause
- delegate() - Method in class com.tngtech.archunit.lang.FailureMessages
- delegate() - Method in class com.tngtech.archunit.library.dependencies.Slice
- delegate() - Method in class com.tngtech.archunit.library.metrics.MetricsComponent
- delegate() - Method in class com.tngtech.archunit.library.metrics.MetricsComponents
- delegate() - Method in class com.tngtech.archunit.library.modules.ArchModule
- delegate() - Method in class com.tngtech.archunit.library.modules.ArchModules
- Delegate(ViolationStore) - Constructor for class com.tngtech.archunit.library.freeze.ViolationStore.Delegate
- dependency(DescribedPredicate<? super JavaClass>, DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.core.domain.Dependency.Predicates
- dependency(Class<?>, Class<?>) - Static method in class com.tngtech.archunit.core.domain.Dependency.Predicates
- dependency(String, String) - Static method in class com.tngtech.archunit.core.domain.Dependency.Predicates
- Dependency - Class in com.tngtech.archunit.core.domain
-
Represents a dependency of one Java class on another Java class.
- Dependency.Functions - Class in com.tngtech.archunit.core.domain
-
Predefined
functions
to transformDependency
. - Dependency.Predicates - Class in com.tngtech.archunit.core.domain
-
Predefined
predicates
targetingDependency
. - dependencyOrigin(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.core.domain.Dependency.Predicates
- dependencyOrigin(Class<?>) - Static method in class com.tngtech.archunit.core.domain.Dependency.Predicates
- dependencyOrigin(String) - Static method in class com.tngtech.archunit.core.domain.Dependency.Predicates
- DependencyRules - Class in com.tngtech.archunit.library
-
DependencyRules provides a set of general
ArchConditions
andArchRules
for checking dependencies between classes. - dependencyTarget(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.core.domain.Dependency.Predicates
- dependencyTarget(Class<?>) - Static method in class com.tngtech.archunit.core.domain.Dependency.Predicates
- dependencyTarget(String) - Static method in class com.tngtech.archunit.core.domain.Dependency.Predicates
- dependOnClassesThat() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that all classes selected by this rule depend on certain classes.
NOTE: This usually makes more sense the negated way, e.g. - dependOnClassesThat(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- dependOnClassesThat(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that all classes selected by this rule depend on certain classes.
NOTE: This usually makes more sense the negated way, e.g. - dependOnUpperPackages() - Static method in class com.tngtech.archunit.library.DependencyRules
-
Returns a condition that matches classes that directly depend on classes from upper packages.
- DEPRECATED_API_SHOULD_NOT_BE_USED - Static variable in class com.tngtech.archunit.library.GeneralCodingRules
-
A rule checking that no class accesses
Deprecated
members (i.e. - deriveNameFromPattern(String) - Method in class com.tngtech.archunit.library.modules.ArchModules.Creator
-
Allows to customize each
ArchModule
name
by specifying a string pattern that defines how to derive the name from theArchModule.Identifier
.
In particular, the passednamingPattern
may contain numbered placeholders like${1}
to refer to parts from theArchModule.Identifier
. - derivingModule(DescriptorFunction<D>) - Method in class com.tngtech.archunit.library.modules.syntax.ModuleRuleDefinition.GenericDefinition
- derivingModuleFromRootClassBy(DescribedFunction<? super JavaClass, D>) - Method in class com.tngtech.archunit.library.modules.syntax.ModuleRuleDefinition.RootClassesDefinition
- derivingNameFromPattern(String) - Method in class com.tngtech.archunit.library.modules.syntax.ModuleRuleDefinition.PackagesDefinition
- describe(String, boolean) - Method in interface com.tngtech.archunit.lang.ArchCondition.ConditionByPredicate.EventDescriber
-
Describes a
ConditionEvent
created byConditionByPredicate
, given the description of the defining predicate and whether the predicate was satisfied.
For example, if the definingDescribedPredicate
would beJavaClass.Predicates.simpleName(String)
, then the created description could be(satisfied ? "has " : "does not have ") + predicateDescription
. - describe(String, ArchModules.DescriptorCreator<D>) - Static method in interface com.tngtech.archunit.library.modules.syntax.DescriptorFunction
-
Convenience method to create a
DescriptorFunction
from aArchModules.DescriptorCreator
and a textualdescription
. - describe(String, Function<F, T>) - Static method in class com.tngtech.archunit.base.DescribedFunction
- describe(String, Predicate<? super T>) - Static method in class com.tngtech.archunit.base.DescribedPredicate
- describeBy(ArchModules.DescriptorCreator<D>) - Method in class com.tngtech.archunit.library.modules.ArchModules.Creator
-
Allows to fully customize the
ArchModule.Descriptor
of the createdArchModule
s. - DescribedFunction<F,
T> - Class in com.tngtech.archunit.base - DescribedFunction(String, Object...) - Constructor for class com.tngtech.archunit.base.DescribedFunction
- DescribedIterable<T> - Interface in com.tngtech.archunit.base
- DescribedIterable.From - Class in com.tngtech.archunit.base
- DescribedPredicate<T> - Class in com.tngtech.archunit.base
-
A predicate holding a description.
- DescribedPredicate(String, Object...) - Constructor for class com.tngtech.archunit.base.DescribedPredicate
- describeEventsBy(ArchCondition.ConditionByPredicate.EventDescriber) - Method in class com.tngtech.archunit.lang.ArchCondition.ConditionByPredicate
- describeModuleByRootClass(ArchModules.RootClassDescriptorCreator<D>) - Method in class com.tngtech.archunit.library.modules.ArchModules.CreatorByRootClass
-
Allows to derive the
ArchModule.Descriptor
from theroot class
that induced the respectiveArchModule
. - descriptionVerb() - Method in class com.tngtech.archunit.core.domain.JavaAccess
- descriptionVerb() - Method in class com.tngtech.archunit.core.domain.JavaConstructorCall
- descriptionVerb() - Method in class com.tngtech.archunit.core.domain.JavaConstructorReference
- descriptionVerb() - Method in class com.tngtech.archunit.core.domain.JavaFieldAccess
- descriptionVerb() - Method in class com.tngtech.archunit.core.domain.JavaMethodCall
- descriptionVerb() - Method in class com.tngtech.archunit.core.domain.JavaMethodReference
- DescriptorFunction<DESCRIPTOR extends ArchModule.Descriptor> - Interface in com.tngtech.archunit.library.modules.syntax
-
Serves the same purpose as
ArchModules.DescriptorCreator
, but carries along adescription
to be used by rule syntax elements. - detectCycles(Collection<NODE>, Collection<EDGE>) - Static method in class com.tngtech.archunit.library.cycle_detection.CycleDetector
-
Detects cycles in directed graphs consisting of nodes of type
NODE
which are connected by directed edges of typeEDGE
.
All reported cycles are "simple" cycles, i.e. - directly_call_other_methods_declared_in_the_same_class_that(DescribedPredicate<? super AccessTarget.MethodCallTarget>) - Static method in class com.tngtech.archunit.library.ProxyRules
-
Returns a condition that matches classes that directly calls other methods declared in the same class that matches the given predicate.
- directly_call_other_methods_declared_in_the_same_class_that_are_annotated_with(Class<? extends Annotation>) - Static method in class com.tngtech.archunit.library.ProxyRules
-
Returns a condition that matches classes that directly calls other methods declared in the same class that are annotated with the given annotation.
- dispatch(EvaluatedRule) - Method in class com.tngtech.archunit.lang.extension.ArchUnitExtensions
- DO_NOT_INCLUDE_ARCHIVES - Enum constant in enum class com.tngtech.archunit.core.importer.ImportOption.Predefined
-
Since Java 9 there are JARs and JRTs, this will exclude both
- DO_NOT_INCLUDE_JARS - Enum constant in enum class com.tngtech.archunit.core.importer.ImportOption.Predefined
- DO_NOT_INCLUDE_PACKAGE_INFOS - Enum constant in enum class com.tngtech.archunit.core.importer.ImportOption.Predefined
- DO_NOT_INCLUDE_TEST_FIXTURES - Enum constant in enum class com.tngtech.archunit.core.importer.ImportOption.Predefined
- DO_NOT_INCLUDE_TESTS - Enum constant in enum class com.tngtech.archunit.core.importer.ImportOption.Predefined
- doesNot(DescribedPredicate<? super T>) - Static method in class com.tngtech.archunit.base.DescribedPredicate
-
Same as
DescribedPredicate.not(DescribedPredicate)
but with a different description - DomainBuilders - Class in com.tngtech.archunit.core.importer
- DomainBuilders.AccessTargetBuilder<MEMBER extends JavaMember,
TARGET extends AccessTarget, SELF extends DomainBuilders.AccessTargetBuilder<MEMBER, TARGET, SELF>> - Class in com.tngtech.archunit.core.importer - DomainBuilders.CodeUnitAccessTargetBuilder<CODE_UNIT extends JavaCodeUnit,
ACCESS_TARGET extends AccessTarget.CodeUnitAccessTarget> - Class in com.tngtech.archunit.core.importer - DomainBuilders.FieldAccessTargetBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaAccessBuilder<TARGET extends AccessTarget,
SELF extends DomainBuilders.JavaAccessBuilder<TARGET, SELF>> - Class in com.tngtech.archunit.core.importer - DomainBuilders.JavaAnnotationBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaClassBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaCodeUnitBuilder<OUTPUT,
SELF extends DomainBuilders.JavaCodeUnitBuilder<OUTPUT, SELF>> - Class in com.tngtech.archunit.core.importer - DomainBuilders.JavaCodeUnitBuilder.ParameterAnnotationsBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaConstructorBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaConstructorCallBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaConstructorReferenceBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaEnumConstantBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaFieldAccessBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaFieldBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaMemberBuilder<OUTPUT,
SELF extends DomainBuilders.JavaMemberBuilder<OUTPUT, SELF>> - Class in com.tngtech.archunit.core.importer - DomainBuilders.JavaMethodBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaMethodCallBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaMethodReferenceBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaStaticInitializerBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaTypeParameterBuilder<OWNER extends HasDescription> - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaWildcardTypeBuilder<OWNER extends HasDescription> - Class in com.tngtech.archunit.core.importer
- DomainBuilders.TryCatchBlockBuilder - Class in com.tngtech.archunit.core.importer
- domainModels(DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
-
Defines which classes belong to domain models by matching them against the supplied
predicate
. - domainModels(String...) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
-
Defines which classes belong to domain models by matching them against
package identifiers
. - DomainObjectCreationContext - Class in com.tngtech.archunit.core.domain
-
Together with
DomainBuilders
, this class is the link to create domain objects from the import context. - DomainObjectCreationContext() - Constructor for class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- domainServices(DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
-
Defines which classes belong to domain services by matching them against the supplied
predicate
. - domainServices(String...) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
-
Defines which classes belong to domain services by matching them against
package identifiers
. - doNot(DescribedPredicate<? super T>) - Static method in class com.tngtech.archunit.base.DescribedPredicate
-
Same as
DescribedPredicate.not(DescribedPredicate)
but with a different description - doNotBelongToAnyOf(Class<?>...) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- doNotBelongToAnyOf(Class<?>...) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Inverted form of
belongToAnyOf(Outer.class)
- doNotDeclareThrowableOfType(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsThat
-
Matches
JavaCodeUnits
that do not declare aThrowable
which matches the given predicate. - doNotDeclareThrowableOfType(Class<? extends Throwable>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsThat
-
Matches
JavaCodeUnits
that do not declare aThrowable
of the specified type in their throws clause. - doNotDeclareThrowableOfType(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsThat
-
Matches
JavaCodeUnits
that do not declare aThrowable
of the specified fully qualified type name in their throws clause. - doNotHaveFullName(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members that do not have a certain full name.
- doNotHaveFullyQualifiedName(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- doNotHaveFullyQualifiedName(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes that do not have a certain fully qualified class name.
- doNotHaveModifier(JavaModifier) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- doNotHaveModifier(JavaModifier) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes not having a certain
JavaModifier
(e.g. - doNotHaveModifier(JavaModifier) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members not having a certain
JavaModifier
(e.g. - doNotHaveName(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members that do not have a certain name (i.e.
- doNotHaveRawParameterTypes(DescribedPredicate<? super List<JavaClass>>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsThat
-
Matches
JavaCodeUnits
that do not have raw parameter types matching the given predicate. - doNotHaveRawParameterTypes(Class<?>...) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsThat
-
Matches
JavaCodeUnits
that do not have the specified raw parameter types. - doNotHaveRawParameterTypes(String...) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsThat
-
Matches
JavaCodeUnits
that do not have the specified fully qualified raw parameter type names. - doNotHaveRawReturnType(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsThat
-
Matches
JavaCodeUnits
that do not have raw return types matching the given predicate. - doNotHaveRawReturnType(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsThat
-
Matches
JavaCodeUnits
that do not have the specified raw return types. - doNotHaveRawReturnType(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsThat
-
Matches
JavaCodeUnits
that do not have the specified fully qualified raw return type name. - doNotHaveRawType(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsThat
-
Matches fields where the raw type of those fields does not match the given predicate.
- doNotHaveRawType(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsThat
-
Matches fields that do not have the given raw type.
- doNotHaveRawType(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsThat
-
Matches fields that do not have the given fully qualified name of their raw type.
- doNotHaveSimpleName(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- doNotHaveSimpleName(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes that do not have a certain simple class name.
- doNotImplement(DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- doNotImplement(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes that do not implement a certain interface matching the given predicate.
- doNotImplement(Class<?>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- doNotImplement(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes that do not implement a certain interface.
- doNotImplement(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- doNotImplement(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes that do not implement a certain interface with the given type name.
- DoNotIncludeArchives() - Constructor for class com.tngtech.archunit.core.importer.ImportOption.DoNotIncludeArchives
- DoNotIncludeGradleTestFixtures() - Constructor for class com.tngtech.archunit.core.importer.ImportOption.DoNotIncludeGradleTestFixtures
- DoNotIncludeJars() - Constructor for class com.tngtech.archunit.core.importer.ImportOption.DoNotIncludeJars
- DoNotIncludePackageInfos() - Constructor for class com.tngtech.archunit.core.importer.ImportOption.DoNotIncludePackageInfos
- DoNotIncludeTests() - Constructor for class com.tngtech.archunit.core.importer.ImportOption.DoNotIncludeTests
- doTransform(JavaClasses) - Method in class com.tngtech.archunit.lang.AbstractClassesTransformer
E
- Edge<NODE> - Interface in com.tngtech.archunit.library.cycle_detection
- empty() - Static method in class com.tngtech.archunit.base.DescribedPredicate
- ENABLE_MD5_IN_CLASS_SOURCES - Static variable in class com.tngtech.archunit.ArchConfiguration
- ensureAllClassesAreContainedInArchitecture() - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture
-
Ensure that all classes under test are contained within a defined layer of the architecture.
- ensureAllClassesAreContainedInArchitecture() - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
-
Ensure that all classes under test are contained within a defined onion architecture component.
- ensureAllClassesAreContainedInArchitectureIgnoring(DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture
-
Like
Architectures.LayeredArchitecture.ensureAllClassesAreContainedInArchitecture()
but will ignore classes in packages matching the specifiedpredicate
. - ensureAllClassesAreContainedInArchitectureIgnoring(DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
-
Like
Architectures.OnionArchitecture.ensureAllClassesAreContainedInArchitecture()
but will ignore classes in packages matching the specifiedpredicate
. - ensureAllClassesAreContainedInArchitectureIgnoring(String...) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture
-
Like
Architectures.LayeredArchitecture.ensureAllClassesAreContainedInArchitecture()
but will ignore classes in packages matching the specifiedpackageIdentifiers
. - ensureAllClassesAreContainedInArchitectureIgnoring(String...) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
-
Like
Architectures.OnionArchitecture.ensureAllClassesAreContainedInArchitecture()
but will ignore classes in packages matching the specifiedpackageIdentifiers
. - ensureCanonicalArrayTypeName(String) - Static method in class com.tngtech.archunit.core.domain.Formatters
-
Returns the canonical array type name of any array type name passed in.
- ensureSimpleName(String) - Static method in class com.tngtech.archunit.core.domain.Formatters
- ENUM - Enum constant in enum class com.tngtech.archunit.core.domain.JavaModifier
- ENUMS - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- equals(Object) - Method in class com.tngtech.archunit.base.ForwardingCollection
- equals(Object) - Method in class com.tngtech.archunit.core.domain.AccessTarget
- equals(Object) - Method in class com.tngtech.archunit.core.domain.Dependency
- equals(Object) - Method in class com.tngtech.archunit.core.domain.JavaClasses
- equals(Object) - Method in class com.tngtech.archunit.core.domain.JavaEnumConstant
- equals(Object) - Method in class com.tngtech.archunit.core.domain.Source
- equals(Object) - Method in class com.tngtech.archunit.core.domain.Source.Md5sum
- equals(Object) - Method in class com.tngtech.archunit.core.domain.SourceCodeLocation
- equals(Object) - Method in class com.tngtech.archunit.core.domain.ThrowsClause
- equals(Object) - Method in class com.tngtech.archunit.core.domain.ThrowsDeclaration
- equals(Object) - Method in class com.tngtech.archunit.core.importer.Location
- equals(Object) - Method in class com.tngtech.archunit.library.dependencies.Slice
- equals(Object) - Method in class com.tngtech.archunit.library.dependencies.SliceDependency
- equals(Object) - Method in class com.tngtech.archunit.library.dependencies.SliceIdentifier
- equals(Object) - Method in class com.tngtech.archunit.library.modules.ArchModule
- equals(Object) - Method in class com.tngtech.archunit.library.modules.ArchModule.Identifier
- equals(Object) - Method in class com.tngtech.archunit.library.modules.ModuleDependency
- equalTo(T) - Static method in class com.tngtech.archunit.base.DescribedPredicate
- equivalentTo(Class<?>) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- evaluate(JavaClasses) - Method in interface com.tngtech.archunit.lang.CanBeEvaluated
- evaluate(JavaClasses) - Method in class com.tngtech.archunit.lang.CompositeArchRule
- evaluate(JavaClasses) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture
- evaluate(JavaClasses) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
- evaluate(JavaClasses) - Method in class com.tngtech.archunit.library.dependencies.SliceRule
- evaluate(JavaClasses) - Method in class com.tngtech.archunit.library.freeze.FreezingArchRule
- EvaluatedRule - Interface in com.tngtech.archunit.lang.extension
-
Bundles an
ArchRule
together with theJavaClasses
that were evaluated, and the respectiveEvaluationResult
. - EvaluationResult - Class in com.tngtech.archunit.lang
-
Represents the result of evaluating an
ArchRule
against someJavaClasses
. - EvaluationResult(HasDescription, ConditionEvents, Priority) - Constructor for class com.tngtech.archunit.lang.EvaluationResult
- EvaluationResult(HasDescription, Priority) - Constructor for class com.tngtech.archunit.lang.EvaluationResult
- EXPERIMENTAL - Enum constant in enum class com.tngtech.archunit.PublicAPI.State
-
This API is still volatile.
F
- Factory() - Constructor for class com.tngtech.archunit.core.importer.resolvers.ClassResolver.Factory
- Factory() - Constructor for class com.tngtech.archunit.lang.ArchRule.Factory
- FailureDisplayFormat - Interface in com.tngtech.archunit.lang
-
Allows to customize violation messages and rule text of
ArchRules
. - FailureMessages - Class in com.tngtech.archunit.lang
- FailureReport - Class in com.tngtech.archunit.lang
- fallback(T) - Method in class com.tngtech.archunit.core.PluginLoader.Creator
- fields() - Method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition.Creator
- fields() - Static method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition
- FieldsShould<CONJUNCTION extends FieldsShouldConjunction> - Interface in com.tngtech.archunit.lang.syntax.elements
- FieldsShouldConjunction - Interface in com.tngtech.archunit.lang.syntax.elements
- FieldsThat<CONJUNCTION> - Interface in com.tngtech.archunit.lang.syntax.elements
- filterDescriptionsMatching(Predicate<String>) - Method in class com.tngtech.archunit.lang.EvaluationResult
-
Filters all recorded
ConditionEvents
by their textual description. - FINAL - Enum constant in enum class com.tngtech.archunit.core.domain.JavaModifier
- finish(ConditionEvents) - Method in class com.tngtech.archunit.lang.ArchCondition
-
Can be used/overridden to finish the evaluation of this condition.
ArchUnit will call this method once after every single item was checked (byArchCondition.check(Object, ConditionEvents)
).
This method can be used, if violations are dependent on multiple/allArchCondition.check(Object, ConditionEvents)
calls, on the contrary to the default case, where each singleArchCondition.check(Object, ConditionEvents)
stands for itself. - finish(ConditionEvents) - Method in class com.tngtech.archunit.library.cycle_detection.rules.CycleArchCondition
- formatFailure(HasDescription, FailureMessages, Priority) - Method in interface com.tngtech.archunit.lang.FailureDisplayFormat
-
Formats the failure of an
ArchRule
, i.e. - formatMethod(String, String, List<String>) - Static method in class com.tngtech.archunit.core.domain.Formatters
- formatMethodParameterTypeNames(List<String>) - Static method in class com.tngtech.archunit.core.domain.Formatters
- formatMethodSimple(String, String, List<String>) - Static method in class com.tngtech.archunit.core.domain.Formatters
- formatNamesOf(Class<?>...) - Static method in class com.tngtech.archunit.core.domain.Formatters
- formatNamesOf(Iterable<? extends Class<?>>) - Static method in class com.tngtech.archunit.core.domain.Formatters
- Formatters - Class in com.tngtech.archunit.core.domain
- formatThrowsDeclarationTypeNames(List<String>) - Static method in class com.tngtech.archunit.core.domain.Formatters
- forOpCode(int) - Static method in enum class com.tngtech.archunit.core.domain.JavaFieldAccess.AccessType
- forSubtype() - Method in class com.tngtech.archunit.base.DescribedPredicate
-
Convenience method to downcast the predicate.
- forSubtype() - Method in class com.tngtech.archunit.lang.ArchCondition.ConditionByPredicate
- forSubtype() - Method in class com.tngtech.archunit.lang.ArchCondition
-
Convenience method to downcast the condition.
- forType(Class<T>) - Static method in class com.tngtech.archunit.core.PluginLoader
- ForwardingCollection<T> - Class in com.tngtech.archunit.base
- ForwardingCollection() - Constructor for class com.tngtech.archunit.base.ForwardingCollection
- ForwardingList<T> - Class in com.tngtech.archunit.base
- ForwardingList() - Constructor for class com.tngtech.archunit.base.ForwardingList
- ForwardingSet<T> - Class in com.tngtech.archunit.base
- ForwardingSet() - Constructor for class com.tngtech.archunit.base.ForwardingSet
- freeze(ArchRule) - Static method in class com.tngtech.archunit.library.freeze.FreezingArchRule
- FreezingArchRule - Class in com.tngtech.archunit.library.freeze
-
A decorator around an existing
ArchRule
that "freezes" the state of all violations on the first call instead of failing the test. - from(DescribedPredicate<? super T>) - Static method in class com.tngtech.archunit.lang.ArchCondition
-
Creates an
ArchCondition
from aDescribedPredicate
. - from(String...) - Static method in class com.tngtech.archunit.library.modules.ArchModule.Identifier
- from(Collection<T>, Function<? super T, String>) - Static method in class com.tngtech.archunit.library.metrics.MetricsComponents
-
Partitions the passed set of elements into components according to the specified
identifierFunction
. - from(List<String>) - Static method in class com.tngtech.archunit.library.modules.ArchModule.Identifier
- From() - Constructor for class com.tngtech.archunit.core.domain.JavaClassDescriptor.From
- fromClasses(Collection<JavaClass>) - Static method in class com.tngtech.archunit.library.metrics.MetricsComponents
-
Creates one
MetricsComponent
for each passedJavaClass
containing only this class itself. - fromModule(String) - Method in class com.tngtech.archunit.library.modules.syntax.AllowedModuleDependencies.Creator
- fromModule(String) - Method in class com.tngtech.archunit.library.modules.syntax.AllowedModuleDependencies
-
Adds allowed
dependencies
that originate from the module with namemoduleName
. - fromPackages(Collection<JavaPackage>) - Static method in class com.tngtech.archunit.library.metrics.MetricsComponents
-
Creates one
MetricsComponent
for each passedJavaPackage
containing all classes contained in the respective package or any subpackage. - fullName(String) - Static method in class com.tngtech.archunit.core.domain.properties.HasName.AndFullName.Predicates
- fullNameMatching(String) - Static method in class com.tngtech.archunit.core.domain.properties.HasName.AndFullName.Predicates
-
Matches full names against a regular expression.
- fullyQualifiedName(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
G
- GeneralCodingRules - Class in com.tngtech.archunit.library
-
GeneralCodingRules provides a set of very general
ArchConditions
andArchRules
for coding that might be useful in various projects. - get() - Static method in class com.tngtech.archunit.ArchConfiguration
- get() - Method in class com.tngtech.archunit.core.InitialConfiguration
- get() - Method in class com.tngtech.archunit.lang.syntax.PredicateAggregator
- get(int) - Method in class com.tngtech.archunit.base.ForwardingList
- get(Class<?>) - Method in class com.tngtech.archunit.core.domain.JavaClasses
- get(String) - Method in class com.tngtech.archunit.core.domain.JavaAnnotation
-
Returns the value of the property with the given name, i.e.
- get(String) - Method in class com.tngtech.archunit.core.domain.JavaClasses
- GET - Enum constant in enum class com.tngtech.archunit.core.domain.JavaFieldAccess.AccessType
- GET_ACCESSES_FROM_SELF - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_ACCESSES_TO_SELF - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_CALLS_OF_SELF - Static variable in class com.tngtech.archunit.core.domain.JavaCodeUnit.Functions.Get
- GET_CLASSES - Static variable in class com.tngtech.archunit.core.domain.JavaPackage.Functions
- GET_CODE_UNIT_CALLS_FROM_SELF - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_CODE_UNIT_REFERENCES_FROM_SELF - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_CODE_UNIT_REFERENCES_TO_SELF - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_CODE_UNITS - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_CONSTRUCTOR_CALLS_FROM_SELF - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_CONSTRUCTOR_REFERENCES_FROM_SELF - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_CONSTRUCTOR_REFERENCES_TO_SELF - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_CONSTRUCTORS - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_DIRECT_DEPENDENCIES_FROM_SELF - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_DIRECT_DEPENDENCIES_TO_SELF - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_FIELD_ACCESSES_FROM_SELF - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_FIELDS - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_FULL_NAME - Static variable in class com.tngtech.archunit.core.domain.properties.HasName.AndFullName.Functions
- GET_MEMBERS - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_METHOD_CALLS_FROM_SELF - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_METHOD_REFERENCES_FROM_SELF - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_METHOD_REFERENCES_TO_SELF - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_METHODS - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_NAME - Static variable in class com.tngtech.archunit.core.domain.properties.HasName.Functions
- GET_NAMES - Static variable in class com.tngtech.archunit.core.domain.properties.HasName.Functions
- GET_ORIGIN_CLASS - Static variable in class com.tngtech.archunit.core.domain.Dependency.Functions
- GET_PACKAGE - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_PACKAGE_NAME - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_RAW_RETURN_TYPE - Static variable in class com.tngtech.archunit.core.domain.properties.HasReturnType.Functions
- GET_RAW_TYPE - Static variable in class com.tngtech.archunit.core.domain.properties.HasType.Functions
- GET_RELATIVE_NAME - Static variable in class com.tngtech.archunit.core.domain.JavaPackage.Functions
- GET_RETURN_TYPE - Static variable in class com.tngtech.archunit.core.domain.properties.HasReturnType.Functions
- GET_SIMPLE_NAME - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_STATIC_INITIALIZER - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_SUB_PACKAGES - Static variable in class com.tngtech.archunit.core.domain.JavaPackage.Functions
- GET_TARGET_CLASS - Static variable in class com.tngtech.archunit.core.domain.Dependency.Functions
- GET_TRANSITIVE_DEPENDENCIES_FROM_SELF - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_TYPES - Static variable in class com.tngtech.archunit.core.domain.ThrowsClause.Functions
- GET_VALUE - Static variable in class com.tngtech.archunit.core.domain.ReferencedClassObject.Functions
- getAbstractness(String) - Method in class com.tngtech.archunit.library.metrics.ComponentDependencyMetrics
-
The
Abstractness (A)
of the components. - getAccessesContainedInTryBlock() - Method in class com.tngtech.archunit.core.domain.TryCatchBlock
- getAccessesContainedInTryBlock() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.TryCatchBlockBuilder
- getAccessesFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getAccessesFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getAccessesToSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Like
JavaClass.getAccessesFromSelf()
but this class is target instead of origin. - getAccessesToSelf() - Method in class com.tngtech.archunit.core.domain.JavaConstructor
- getAccessesToSelf() - Method in class com.tngtech.archunit.core.domain.JavaField
- getAccessesToSelf() - Method in class com.tngtech.archunit.core.domain.JavaMember
- getAccessesToSelf() - Method in class com.tngtech.archunit.core.domain.JavaMethod
- getAccessesToSelf() - Method in class com.tngtech.archunit.core.domain.JavaStaticInitializer
- getAccessType() - Method in class com.tngtech.archunit.core.domain.JavaFieldAccess
- getAccessType() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaFieldAccessBuilder
- getActualTypeArguments() - Method in interface com.tngtech.archunit.core.domain.JavaParameterizedType
- getAfferentCoupling(String) - Method in class com.tngtech.archunit.library.metrics.ComponentDependencyMetrics
-
The
Afferent Coupling (Ca)
of the components. - getAllAccessesFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getAllClassesSelfIsAssignableTo() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getAllConstructors() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getAllFields() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getAllInvolvedRawTypes() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getAllInvolvedRawTypes() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getAllInvolvedRawTypes() - Method in class com.tngtech.archunit.core.domain.JavaField
- getAllInvolvedRawTypes() - Method in class com.tngtech.archunit.core.domain.JavaGenericArrayType
- getAllInvolvedRawTypes() - Method in class com.tngtech.archunit.core.domain.JavaMember
-
Similar to
JavaType.getAllInvolvedRawTypes()
, this method returns all raw types involved in thismember's
signature. - getAllInvolvedRawTypes() - Method in interface com.tngtech.archunit.core.domain.JavaType
-
Returns the set of all raw types that are involved in this type.
- getAllInvolvedRawTypes() - Method in class com.tngtech.archunit.core.domain.JavaTypeVariable
- getAllInvolvedRawTypes() - Method in class com.tngtech.archunit.core.domain.JavaWildcardType
- getAllMembers() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getAllMethods() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getAllRawInterfaces() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getAllRawSuperclasses() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getAllSubclasses() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getAnnotatedElement() - Method in class com.tngtech.archunit.core.domain.JavaAnnotation
-
Returns either the element annotated with this
JavaAnnotation
(a class or member) or in case this annotation is an annotation parameter, the element annotated with an annotation that transitively declares this annotation as an annotation parameter. - getAnnotation() - Method in class com.tngtech.archunit.library.modules.AnnotationDescriptor
- getAnnotationOfType(Class<A>) - Method in class com.tngtech.archunit.core.domain.JavaClass
- getAnnotationOfType(Class<A>) - Method in class com.tngtech.archunit.core.domain.JavaMember
-
Returns the
Annotation
of this member of the givenAnnotation
type. - getAnnotationOfType(Class<A>) - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getAnnotationOfType(Class<A>) - Method in class com.tngtech.archunit.core.domain.JavaParameter
- getAnnotationOfType(Class<A>) - Method in interface com.tngtech.archunit.core.domain.properties.HasAnnotations
- getAnnotationOfType(String) - Method in class com.tngtech.archunit.core.domain.JavaClass
- getAnnotationOfType(String) - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getAnnotationOfType(String) - Method in class com.tngtech.archunit.core.domain.JavaConstructor
- getAnnotationOfType(String) - Method in class com.tngtech.archunit.core.domain.JavaField
- getAnnotationOfType(String) - Method in class com.tngtech.archunit.core.domain.JavaMember
- getAnnotationOfType(String) - Method in class com.tngtech.archunit.core.domain.JavaMethod
- getAnnotationOfType(String) - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getAnnotationOfType(String) - Method in class com.tngtech.archunit.core.domain.JavaParameter
- getAnnotationOfType(String) - Method in interface com.tngtech.archunit.core.domain.properties.HasAnnotations
- getAnnotations() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getAnnotations() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getAnnotations() - Method in class com.tngtech.archunit.core.domain.JavaConstructor
- getAnnotations() - Method in class com.tngtech.archunit.core.domain.JavaField
- getAnnotations() - Method in class com.tngtech.archunit.core.domain.JavaMember
- getAnnotations() - Method in class com.tngtech.archunit.core.domain.JavaMethod
- getAnnotations() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getAnnotations() - Method in class com.tngtech.archunit.core.domain.JavaParameter
- getAnnotations() - Method in interface com.tngtech.archunit.core.domain.properties.HasAnnotations
- getAnnotationsWithParameterTypeOfSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getAnnotationsWithTypeOfSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getAverageComponentDependency() - Method in class com.tngtech.archunit.library.metrics.LakosMetrics
-
The
Average Component Dependency (ACD)
of the components. - getAverageRelativeVisibility() - Method in class com.tngtech.archunit.library.metrics.VisibilityMetrics
-
The
Average Relative Visibility (ARV)
of the components. - getBaseComponentType() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
The base component type is the class'
component type
if it is a one-dimensional array, the repeated application ofJavaClass.getComponentType()
if it is a multi-dimensional array, or the class itself if it is no array. - getBounds() - Method in class com.tngtech.archunit.core.domain.JavaTypeVariable
-
This method is simply an alias for
JavaTypeVariable.getUpperBounds()
that is more familiar to users of the Java Reflection API. - getByIdentifier(String...) - Method in class com.tngtech.archunit.library.modules.ArchModules
- getByName(String) - Method in class com.tngtech.archunit.library.modules.ArchModules
- getCallsFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getCallsOfSelf() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getCallsOfSelf() - Method in class com.tngtech.archunit.core.domain.JavaConstructor
- getCallsOfSelf() - Method in class com.tngtech.archunit.core.domain.JavaMethod
- getCallsOfSelf() - Method in class com.tngtech.archunit.core.domain.JavaStaticInitializer
- getCaughtThrowables() - Method in class com.tngtech.archunit.core.domain.TryCatchBlock
- getCaughtThrowables() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.TryCatchBlockBuilder
- getClass(Class<?>) - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getClassDependenciesFromSelf() - Method in class com.tngtech.archunit.library.modules.ArchModule
- getClassDependenciesFromThisPackage() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getClassDependenciesFromThisPackageTree() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getClassDependenciesToSelf() - Method in class com.tngtech.archunit.library.modules.ArchModule
- getClassDependenciesToThisPackage() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getClassDependenciesToThisPackageTree() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getClasses() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getClasses() - Method in interface com.tngtech.archunit.lang.extension.EvaluatedRule
- getClassesInPackageTree() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getClassHierarchy() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getClassResolver() - Method in class com.tngtech.archunit.ArchConfiguration
- getClassResolverArguments() - Method in class com.tngtech.archunit.ArchConfiguration
- getClassWithFullyQualifiedName(String) - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getClassWithSimpleName(String) - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getCodeUnitAccessesFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getCodeUnitAccessesToSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Like
JavaClass.getCodeUnitAccessesFromSelf()
but this class is target instead of origin. - getCodeUnitCallsFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Returns all calls of this class to methods or constructors.
- getCodeUnitCallsToSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Like
JavaClass.getCodeUnitCallsFromSelf()
but this class is target instead of origin. - getCodeUnitReferencesFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getCodeUnitReferencesFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getCodeUnitReferencesToSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Like
JavaClass.getCodeUnitReferencesFromSelf()
but this class is target instead of origin. - getCodeUnits() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getCodeUnitWithParameterTypeNames(String, String...) - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Same as
JavaClass.getCodeUnitWithParameterTypes(String, Class[])
, but with parameter signature specified as full class names - getCodeUnitWithParameterTypeNames(String, List<String>) - Method in class com.tngtech.archunit.core.domain.JavaClass
- getCodeUnitWithParameterTypes(String, Class<?>...) - Method in class com.tngtech.archunit.core.domain.JavaClass
- getCodeUnitWithParameterTypes(String, List<Class<?>>) - Method in class com.tngtech.archunit.core.domain.JavaClass
- getComponentType() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
This is a convenience method for
JavaClass.tryGetComponentType()
in cases where clients know that this type is certainly an array type and thus the component type present. - getComponentType() - Method in class com.tngtech.archunit.core.domain.JavaGenericArrayType
- getConstructor() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getConstructor(Class<?>...) - Method in class com.tngtech.archunit.core.domain.JavaClass
- getConstructor(String...) - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Same as
JavaClass.getConstructor(Class[])
, but with parameter signature specified as full class names. - getConstructorCallsFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getConstructorCallsFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getConstructorCallsToSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Like
JavaClass.getConstructorCallsFromSelf()
but this class is target instead of origin. - getConstructorReferencesFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getConstructorReferencesFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getConstructorReferencesToSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Like
JavaClass.getConstructorReferencesFromSelf()
but this class is target instead of origin. - getConstructors() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getConstructorsWithParameterTypeOfSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getConstructorsWithThrowsDeclarationTypeOfSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getContainingTryBlocks() - Method in class com.tngtech.archunit.core.domain.JavaAccess
- getCumulativeComponentDependency() - Method in class com.tngtech.archunit.library.metrics.LakosMetrics
-
The
Cumulative Component Dependency (CCD)
of the components. - getCurrentClassLoader(Class<?>) - Static method in class com.tngtech.archunit.base.ClassLoaders
- getDeclaringClass() - Method in class com.tngtech.archunit.core.domain.JavaEnumConstant
- getDeclaringClass() - Method in class com.tngtech.archunit.core.domain.ThrowsClause
- getDeclaringClass() - Method in class com.tngtech.archunit.core.domain.ThrowsDeclaration
- getDeclaringClass() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaEnumConstantBuilder
- getDefaultPackage() - Method in class com.tngtech.archunit.core.domain.JavaClasses
- getDefaultValue() - Method in class com.tngtech.archunit.core.domain.JavaMethod
-
Returns the default value of this annotation method, if the method is an annotation method and has a declared default.
- getDependenciesFromSelf() - Method in class com.tngtech.archunit.library.dependencies.Slice
- getDependenciesToSelf() - Method in class com.tngtech.archunit.library.dependencies.Slice
- getDescription() - Method in class com.tngtech.archunit.base.DescribedFunction
- getDescription() - Method in class com.tngtech.archunit.base.DescribedPredicate
- getDescription() - Method in interface com.tngtech.archunit.base.HasDescription
- getDescription() - Method in class com.tngtech.archunit.core.domain.AccessTarget.ConstructorCallTarget
- getDescription() - Method in class com.tngtech.archunit.core.domain.AccessTarget.ConstructorReferenceTarget
- getDescription() - Method in class com.tngtech.archunit.core.domain.AccessTarget.FieldAccessTarget
- getDescription() - Method in class com.tngtech.archunit.core.domain.AccessTarget.MethodCallTarget
- getDescription() - Method in class com.tngtech.archunit.core.domain.AccessTarget.MethodReferenceTarget
- getDescription() - Method in class com.tngtech.archunit.core.domain.Dependency
- getDescription() - Method in class com.tngtech.archunit.core.domain.JavaAccess
- getDescription() - Method in class com.tngtech.archunit.core.domain.JavaAnnotation
- getDescription() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getDescription() - Method in class com.tngtech.archunit.core.domain.JavaClasses
- getDescription() - Method in class com.tngtech.archunit.core.domain.JavaConstructor
- getDescription() - Method in class com.tngtech.archunit.core.domain.JavaField
- getDescription() - Method in class com.tngtech.archunit.core.domain.JavaMethod
- getDescription() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getDescription() - Method in class com.tngtech.archunit.core.domain.JavaParameter
- getDescription() - Method in class com.tngtech.archunit.core.domain.JavaStaticInitializer
- getDescription() - Method in class com.tngtech.archunit.lang.AbstractClassesTransformer
- getDescription() - Method in class com.tngtech.archunit.lang.ArchCondition
- getDescription() - Method in class com.tngtech.archunit.lang.CompositeArchRule
- getDescription() - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture
- getDescription() - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
- getDescription() - Method in class com.tngtech.archunit.library.dependencies.Slice
- getDescription() - Method in class com.tngtech.archunit.library.dependencies.SliceDependency
- getDescription() - Method in class com.tngtech.archunit.library.dependencies.SliceRule
- getDescription() - Method in class com.tngtech.archunit.library.dependencies.Slices
- getDescription() - Method in class com.tngtech.archunit.library.dependencies.Slices.Transformer
- getDescription() - Method in class com.tngtech.archunit.library.freeze.FreezingArchRule
- getDescription() - Method in class com.tngtech.archunit.library.modules.ModuleDependency
- getDescription() - Method in class com.tngtech.archunit.library.modules.syntax.ModuleDependencyScope
- getDescriptionLines() - Method in interface com.tngtech.archunit.lang.ConditionEvent
- getDescriptionLines() - Method in class com.tngtech.archunit.lang.SimpleConditionEvent
- getDescriptor() - Method in class com.tngtech.archunit.core.domain.JavaMember
- getDescriptor() - Method in interface com.tngtech.archunit.core.domain.properties.HasDescriptor
- getDescriptor() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaClassBuilder
- getDescriptor() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaMemberBuilder
- getDescriptor() - Method in class com.tngtech.archunit.library.modules.ArchModule
- getDetails() - Method in class com.tngtech.archunit.lang.FailureReport
- getDirectDependenciesFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getDirectDependenciesToSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Like
JavaClass.getDirectDependenciesFromSelf()
, but instead returns all dependencies where this class is target. - getEdges() - Method in interface com.tngtech.archunit.library.cycle_detection.Cycle
- getEfferentCoupling(String) - Method in class com.tngtech.archunit.library.metrics.ComponentDependencyMetrics
-
The
Efferent Coupling (Ce)
of the components. - getElements() - Method in class com.tngtech.archunit.library.metrics.MetricsComponent
- getEnclosingClass() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Returns the enclosing class if this class is nested within another class.
- getEnclosingCodeUnit() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Returns the enclosing
JavaCodeUnit
if this class is declared within the context of aJavaCodeUnit
, e.g. - getEnumConstant(String) - Method in class com.tngtech.archunit.core.domain.JavaClass
- getEnumConstants() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getExceptionTypes() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getExplicitlyDeclaredProperty(String) - Method in class com.tngtech.archunit.core.domain.JavaAnnotation
- getExtensionProperties(String) - Method in class com.tngtech.archunit.ArchConfiguration
- getFailureReport() - Method in class com.tngtech.archunit.lang.EvaluationResult
- getField(Class<?>, String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- getField(Class<?>, String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Matches against getting of a specific field (e.g.
- getField(String) - Method in class com.tngtech.archunit.core.domain.JavaClass
- getField(String, String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- getField(String, String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Matches against getting a specific field (e.g.
- getFieldAccesses() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getFieldAccessesFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getFieldAccessesToSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getFields() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getFieldsWithTypeOfSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getFieldWhere(DescribedPredicate<? super JavaFieldAccess>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- getFieldWhere(DescribedPredicate<? super JavaFieldAccess>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Matches against getting of fields, where origin (a method or constructor) and target (a field) can be freely restricted by the supplied predicate.
- getFileName() - Method in class com.tngtech.archunit.core.domain.Source
- getFirstLineNumber() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaMemberBuilder
- getFullName() - Method in class com.tngtech.archunit.core.domain.AccessTarget
- getFullName() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getFullName() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getFullName() - Method in class com.tngtech.archunit.core.domain.JavaField
- getFullName() - Method in interface com.tngtech.archunit.core.domain.properties.HasName.AndFullName
- getFullName() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.AccessTargetBuilder
- getFullName() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.CodeUnitAccessTargetBuilder
- getFullName() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.FieldAccessTargetBuilder
- getFullyQualifiedClassName() - Method in interface com.tngtech.archunit.core.domain.JavaClassDescriptor
- getGenericDeclaration() - Method in class com.tngtech.archunit.core.domain.JavaTypeVariable
-
This method is simply an alias for
JavaTypeVariable.getOwner()
that is more familiar to users of the Java Reflection API. - getGenericParameterTypes(JavaCodeUnit) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaCodeUnitBuilder
- getGenericReturnType(JavaCodeUnit) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaCodeUnitBuilder
- getGlobalRelativeVisibility() - Method in class com.tngtech.archunit.library.metrics.VisibilityMetrics
-
The
Global Relative Visibility (GRV)
of the components. - getGroup(int) - Method in class com.tngtech.archunit.core.domain.PackageMatcher.Result
- getIdentifier() - Method in class com.tngtech.archunit.library.metrics.MetricsComponent
- getIdentifier() - Method in class com.tngtech.archunit.library.modules.ArchModule
- getIdentifierOf(JavaClass) - Method in interface com.tngtech.archunit.library.dependencies.SliceAssignment
- getIndex() - Method in class com.tngtech.archunit.core.domain.JavaParameter
- getInformationAboutNumberOfViolations() - Method in interface com.tngtech.archunit.lang.ConditionEvents
- getInformationAboutNumberOfViolations() - Method in class com.tngtech.archunit.lang.FailureMessages
- getInstability(String) - Method in class com.tngtech.archunit.library.metrics.ComponentDependencyMetrics
-
The
Instability (I)
of the components. - getInstanceofChecks() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getInstanceofChecks() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getInstanceofChecksWithTypeOfSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getInterfaces() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getLineNumber() - Method in class com.tngtech.archunit.core.domain.InstanceofCheck
- getLineNumber() - Method in class com.tngtech.archunit.core.domain.JavaAccess
- getLineNumber() - Method in class com.tngtech.archunit.core.domain.ReferencedClassObject
- getLineNumber() - Method in class com.tngtech.archunit.core.domain.SourceCodeLocation
- getLineNumber() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaAccessBuilder
- getLocation() - Method in class com.tngtech.archunit.core.domain.ThrowsDeclaration
- getLowerBounds() - Method in class com.tngtech.archunit.core.domain.JavaWildcardType
- getLowerBounds() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaWildcardTypeBuilder
- getMd5sum() - Method in class com.tngtech.archunit.core.domain.Source
- getMember() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.AccessTargetBuilder
- getMembers() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getMethod(String) - Method in class com.tngtech.archunit.core.domain.JavaClass
- getMethod(String, Class<?>...) - Method in class com.tngtech.archunit.core.domain.JavaClass
- getMethod(String, String...) - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Same as
JavaClass.getMethod(String, Class[])
, but with parameter signature specified as fully qualified class names. - getMethodCallsFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getMethodCallsFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getMethodCallsToSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Like
JavaClass.getMethodCallsFromSelf()
but this class is target instead of origin. - getMethodReferencesFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getMethodReferencesFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getMethodReferencesToSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Like
JavaClass.getMethodReferencesFromSelf()
but this class is target instead of origin. - getMethods() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getMethodsWithParameterTypeOfSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getMethodsWithReturnTypeOfSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getMethodThrowsDeclarationsWithTypeOfSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getModifiers() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getModifiers() - Method in class com.tngtech.archunit.core.domain.JavaMember
- getModifiers() - Method in interface com.tngtech.archunit.core.domain.properties.HasModifiers
- getModifiers() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaClassBuilder
- getModifiers() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaMemberBuilder
- getModifiersForClass(int) - Static method in enum class com.tngtech.archunit.core.domain.JavaModifier
-
Deprecated.This seems like an unnecessary API for users of ArchUnit, but limits us to do internal refactorings. If you think you need this API, please reach out to us on GitHub by creating an issue at https://github.com/TNG/ArchUnit/issues. Otherwise, at some point in the future we will remove this API without any replacement.
- getModifiersForField(int) - Static method in enum class com.tngtech.archunit.core.domain.JavaModifier
-
Deprecated.This seems like an unnecessary API for users of ArchUnit, but limits us to do internal refactorings. If you think you need this API, please reach out to us on GitHub by creating an issue at https://github.com/TNG/ArchUnit/issues. Otherwise, at some point in the future we will remove this API without any replacement.
- getModifiersForMethod(int) - Static method in enum class com.tngtech.archunit.core.domain.JavaModifier
-
Deprecated.This seems like an unnecessary API for users of ArchUnit, but limits us to do internal refactorings. If you think you need this API, please reach out to us on GitHub by creating an issue at https://github.com/TNG/ArchUnit/issues. Otherwise, at some point in the future we will remove this API without any replacement.
- getModuleDependenciesFromSelf() - Method in class com.tngtech.archunit.library.modules.ArchModule
- getModuleDependenciesToSelf() - Method in class com.tngtech.archunit.library.modules.ArchModule
- getName() - Method in class com.tngtech.archunit.core.domain.AccessTarget
- getName() - Method in class com.tngtech.archunit.core.domain.JavaAccess
- getName() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getName() - Method in class com.tngtech.archunit.core.domain.JavaGenericArrayType
- getName() - Method in class com.tngtech.archunit.core.domain.JavaMember
- getName() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getName() - Method in class com.tngtech.archunit.core.domain.JavaTypeVariable
- getName() - Method in class com.tngtech.archunit.core.domain.JavaWildcardType
- getName() - Method in interface com.tngtech.archunit.core.domain.properties.HasName
- getName() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.AccessTargetBuilder
- getName() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaEnumConstantBuilder
- getName() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaMemberBuilder
- getName() - Method in class com.tngtech.archunit.library.modules.AnnotationDescriptor
- getName() - Method in interface com.tngtech.archunit.library.modules.ArchModule.Descriptor
- getName() - Method in class com.tngtech.archunit.library.modules.ArchModule
- getNamePart(int) - Method in class com.tngtech.archunit.library.dependencies.Slice
-
Returns a matching part of this slice.
- getNames() - Method in class com.tngtech.archunit.library.modules.ArchModules
- getNormalizedCumulativeComponentDependency() - Method in class com.tngtech.archunit.library.metrics.LakosMetrics
-
The
Normalized Cumulative Component Dependency (NCCD)
of the components. - getNormalizedDistanceFromMainSequence(String) - Method in class com.tngtech.archunit.library.metrics.ComponentDependencyMetrics
-
The
Normalized Distance from Main Sequence (D)
of the components. - getNumberOfGroups() - Method in class com.tngtech.archunit.core.domain.PackageMatcher.Result
- getNumberOfParts() - Method in class com.tngtech.archunit.library.modules.ArchModule.Identifier
- getOrigin() - Method in class com.tngtech.archunit.core.domain.JavaAccess
- getOrigin() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaAccessBuilder
- getOrigin() - Method in interface com.tngtech.archunit.library.cycle_detection.Edge
- getOrigin() - Method in class com.tngtech.archunit.library.dependencies.SliceDependency
- getOrigin() - Method in class com.tngtech.archunit.library.modules.ModuleDependency
- getOriginClass() - Method in class com.tngtech.archunit.core.domain.Dependency
- getOriginOwner() - Method in class com.tngtech.archunit.core.domain.JavaAccess
- getOwner() - Method in class com.tngtech.archunit.core.domain.AccessTarget
- getOwner() - Method in class com.tngtech.archunit.core.domain.InstanceofCheck
- getOwner() - Method in class com.tngtech.archunit.core.domain.JavaAccess
- getOwner() - Method in class com.tngtech.archunit.core.domain.JavaAnnotation
-
Compare documentation of
OWNER
onJavaAnnotation
- getOwner() - Method in class com.tngtech.archunit.core.domain.JavaMember
- getOwner() - Method in class com.tngtech.archunit.core.domain.JavaParameter
- getOwner() - Method in class com.tngtech.archunit.core.domain.JavaTypeVariable
- getOwner() - Method in interface com.tngtech.archunit.core.domain.properties.HasOwner
- getOwner() - Method in class com.tngtech.archunit.core.domain.ReferencedClassObject
- getOwner() - Method in class com.tngtech.archunit.core.domain.ThrowsClause
- getOwner() - Method in class com.tngtech.archunit.core.domain.ThrowsDeclaration
- getOwner() - Method in class com.tngtech.archunit.core.domain.TryCatchBlock
- getOwner() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.AccessTargetBuilder
- getOwner() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaMemberBuilder
- getOwner() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.TryCatchBlockBuilder
- getPackage() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getPackage(String) - Method in class com.tngtech.archunit.core.domain.JavaClasses
- getPackage(String) - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getPackageDependenciesFromThisPackage() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getPackageDependenciesFromThisPackageTree() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getPackageDependenciesToThisPackage() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getPackageDependenciesToThisPackageTree() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getPackageInfo() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getPackageName() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getPackageName() - Method in interface com.tngtech.archunit.core.domain.JavaClassDescriptor
- getParameterAnnotations() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getParameterAnnotationsBuilder(int) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaCodeUnitBuilder
- getParameters() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getParameters() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.CodeUnitAccessTargetBuilder
- getParameterTypes() - Method in class com.tngtech.archunit.core.domain.AccessTarget.CodeUnitAccessTarget
- getParameterTypes() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getParameterTypes() - Method in interface com.tngtech.archunit.core.domain.properties.HasParameterTypes
- getParent() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getPart(int) - Method in class com.tngtech.archunit.library.modules.ArchModule.Identifier
- getPriority() - Method in class com.tngtech.archunit.lang.EvaluationResult
- getProperties() - Method in class com.tngtech.archunit.core.domain.JavaAnnotation
- getProperty(String) - Method in class com.tngtech.archunit.ArchConfiguration
- getPropertyOrDefault(String, String) - Method in class com.tngtech.archunit.ArchConfiguration
- getRawInterfaces() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getRawParameterTypes() - Method in class com.tngtech.archunit.core.domain.AccessTarget.CodeUnitAccessTarget
- getRawParameterTypes() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getRawParameterTypes() - Method in interface com.tngtech.archunit.core.domain.properties.HasParameterTypes
- getRawParameterTypes() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaCodeUnitBuilder
- getRawReturnType() - Method in class com.tngtech.archunit.core.domain.AccessTarget.CodeUnitAccessTarget
- getRawReturnType() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getRawReturnType() - Method in interface com.tngtech.archunit.core.domain.properties.HasReturnType
- getRawReturnType() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaCodeUnitBuilder
- getRawSuperclass() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getRawType() - Method in class com.tngtech.archunit.core.domain.AccessTarget.FieldAccessTarget
- getRawType() - Method in class com.tngtech.archunit.core.domain.InstanceofCheck
- getRawType() - Method in class com.tngtech.archunit.core.domain.JavaAnnotation
- getRawType() - Method in class com.tngtech.archunit.core.domain.JavaField
- getRawType() - Method in class com.tngtech.archunit.core.domain.JavaParameter
- getRawType() - Method in interface com.tngtech.archunit.core.domain.properties.HasType
- getRawType() - Method in class com.tngtech.archunit.core.domain.ReferencedClassObject
- getRawType() - Method in class com.tngtech.archunit.core.domain.ThrowsDeclaration
- getReferencedClassObjects() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getReferencedClassObjects() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getReferencesToSelf() - Method in class com.tngtech.archunit.core.domain.JavaConstructor
- getReferencesToSelf() - Method in class com.tngtech.archunit.core.domain.JavaMethod
- getRelativeAverageComponentDependency() - Method in class com.tngtech.archunit.library.metrics.LakosMetrics
-
The
Relative Average Component Dependency (RACD)
of the components. - getRelativeName() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getRelativeVisibility(String) - Method in class com.tngtech.archunit.library.metrics.VisibilityMetrics
-
The
Relative Visibility (RV)
of the component. - getResult() - Method in interface com.tngtech.archunit.lang.extension.EvaluatedRule
- getReturnType() - Method in class com.tngtech.archunit.core.domain.AccessTarget.CodeUnitAccessTarget
- getReturnType() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getReturnType() - Method in interface com.tngtech.archunit.core.domain.properties.HasReturnType
- getReturnType() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.CodeUnitAccessTargetBuilder
- getReverseDependencies() - Method in class com.tngtech.archunit.core.domain.JavaMember
- getRule() - Method in interface com.tngtech.archunit.lang.extension.EvaluatedRule
- getSimpleClassName() - Method in interface com.tngtech.archunit.core.domain.JavaClassDescriptor
- getSimpleName() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getSource() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getSource() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaClassBuilder
- getSourceClass() - Method in class com.tngtech.archunit.core.domain.SourceCodeLocation
- getSourceCodeLocation() - Method in class com.tngtech.archunit.core.domain.Dependency
- getSourceCodeLocation() - Method in class com.tngtech.archunit.core.domain.InstanceofCheck
- getSourceCodeLocation() - Method in class com.tngtech.archunit.core.domain.JavaAccess
- getSourceCodeLocation() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getSourceCodeLocation() - Method in class com.tngtech.archunit.core.domain.JavaMember
- getSourceCodeLocation() - Method in interface com.tngtech.archunit.core.domain.properties.HasSourceCodeLocation
- getSourceCodeLocation() - Method in class com.tngtech.archunit.core.domain.ReferencedClassObject
- getSourceCodeLocation() - Method in class com.tngtech.archunit.core.domain.TryCatchBlock
- getSourceCodeLocation() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.TryCatchBlockBuilder
- getSourceFileName() - Method in class com.tngtech.archunit.core.domain.SourceCodeLocation
- getStaticInitializer() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getSubclasses() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getSubpackages() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getSubpackagesInTree() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getSubProperties(String) - Method in class com.tngtech.archunit.ArchConfiguration
-
Returns a set of properties where all keys share a common prefix.
- getSuperclass() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getTarget() - Method in class com.tngtech.archunit.core.domain.JavaAccess
- getTarget() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaAccessBuilder
- getTarget() - Method in interface com.tngtech.archunit.library.cycle_detection.Edge
- getTarget() - Method in class com.tngtech.archunit.library.dependencies.SliceDependency
- getTarget() - Method in class com.tngtech.archunit.library.modules.ModuleDependency
- getTargetClass() - Method in class com.tngtech.archunit.core.domain.Dependency
- getTargetOwner() - Method in class com.tngtech.archunit.core.domain.JavaAccess
- getThrowsClause() - Method in class com.tngtech.archunit.core.domain.AccessTarget.CodeUnitAccessTarget
- getThrowsClause() - Method in class com.tngtech.archunit.core.domain.AccessTarget.CodeUnitCallTarget
- getThrowsClause() - Method in class com.tngtech.archunit.core.domain.AccessTarget.CodeUnitReferenceTarget
- getThrowsClause() - Method in class com.tngtech.archunit.core.domain.AccessTarget.ConstructorCallTarget
- getThrowsClause() - Method in class com.tngtech.archunit.core.domain.AccessTarget.ConstructorReferenceTarget
- getThrowsClause() - Method in class com.tngtech.archunit.core.domain.AccessTarget.MethodCallTarget
- getThrowsClause() - Method in class com.tngtech.archunit.core.domain.AccessTarget.MethodReferenceTarget
- getThrowsClause() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getThrowsClause() - Method in class com.tngtech.archunit.core.domain.JavaConstructor
- getThrowsClause() - Method in class com.tngtech.archunit.core.domain.JavaMethod
- getThrowsClause() - Method in class com.tngtech.archunit.core.domain.JavaStaticInitializer
- getThrowsClause() - Method in interface com.tngtech.archunit.core.domain.properties.HasThrowsClause
- getThrowsClause() - Method in class com.tngtech.archunit.core.domain.ThrowsDeclaration
- getThrowsClause(CODE_UNIT) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaCodeUnitBuilder
- getThrowsDeclarations() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getTransitiveDependenciesFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Returns the transitive closure of all dependencies originating from this class, i.e.
- getTryCatchBlocks() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getType() - Method in class com.tngtech.archunit.core.domain.AccessTarget.FieldAccessTarget
- getType() - Method in class com.tngtech.archunit.core.domain.InstanceofCheck
- getType() - Method in class com.tngtech.archunit.core.domain.JavaAnnotation
- getType() - Method in class com.tngtech.archunit.core.domain.JavaField
- getType() - Method in class com.tngtech.archunit.core.domain.JavaParameter
- getType() - Method in interface com.tngtech.archunit.core.domain.properties.HasType
- getType() - Method in class com.tngtech.archunit.core.domain.ReferencedClassObject
- getType() - Method in class com.tngtech.archunit.core.domain.ThrowsDeclaration
- getType() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.FieldAccessTargetBuilder
- getType() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaAnnotationBuilder
- getType(JavaField) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaFieldBuilder
- getTypeParameters() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getTypeParameters() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getTypeParameters() - Method in class com.tngtech.archunit.core.domain.JavaConstructor
- getTypeParameters() - Method in class com.tngtech.archunit.core.domain.JavaMethod
- getTypeParameters() - Method in class com.tngtech.archunit.core.domain.JavaStaticInitializer
- getTypeParameters() - Method in interface com.tngtech.archunit.core.domain.properties.HasTypeParameters
- getTypeParameters(JavaCodeUnit) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaCodeUnitBuilder
- getTypes() - Method in class com.tngtech.archunit.core.domain.ThrowsClause
- getUnboundErasureType(List<JavaType>) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaWildcardTypeBuilder
- getUndefinedDependencies() - Method in class com.tngtech.archunit.library.modules.ArchModule
- getUniqueIdentifier() - Method in interface com.tngtech.archunit.lang.extension.ArchUnitExtension
-
A unique String, identifying this extension, so ArchUnit can associate configured properties.
- getUpperBounds() - Method in class com.tngtech.archunit.core.domain.JavaTypeVariable
- getUpperBounds() - Method in class com.tngtech.archunit.core.domain.JavaWildcardType
- getUpperBounds() - Method in interface com.tngtech.archunit.core.domain.properties.HasUpperBounds
- getUpperBounds() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaWildcardTypeBuilder
- getUpperBounds(Iterable<? extends JavaTypeVariable<?>>) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaTypeParameterBuilder
- getUri() - Method in class com.tngtech.archunit.core.domain.Source
- getValue() - Method in class com.tngtech.archunit.core.domain.ReferencedClassObject
- getValues(T) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaAnnotationBuilder
- getViolating() - Method in interface com.tngtech.archunit.lang.ConditionEvents
- getViolations(ArchRule) - Method in class com.tngtech.archunit.library.freeze.TextFileBasedViolationStore
- getViolations(ArchRule) - Method in class com.tngtech.archunit.library.freeze.ViolationStore.Delegate
- getViolations(ArchRule) - Method in interface com.tngtech.archunit.library.freeze.ViolationStore
- GivenClass - Interface in com.tngtech.archunit.lang.syntax.elements
- GivenClasses - Interface in com.tngtech.archunit.lang.syntax.elements
- GivenClassesConjunction - Interface in com.tngtech.archunit.lang.syntax.elements
- GivenCodeUnits<CODE_UNIT extends JavaCodeUnit> - Interface in com.tngtech.archunit.lang.syntax.elements
- GivenCodeUnitsConjunction<CODE_UNIT extends JavaCodeUnit> - Interface in com.tngtech.archunit.lang.syntax.elements
- GivenConjunction<OBJECTS> - Interface in com.tngtech.archunit.lang.syntax.elements
-
Allows to further filter the set of all objects via
GivenConjunction.and(DescribedPredicate)
orGivenConjunction.or(DescribedPredicate)
or create a completeArchRule
viaGivenConjunction.should(ArchCondition)
. - GivenConstructors - Interface in com.tngtech.archunit.lang.syntax.elements
- GivenConstructorsConjunction - Interface in com.tngtech.archunit.lang.syntax.elements
- GivenFields - Interface in com.tngtech.archunit.lang.syntax.elements
- GivenFieldsConjunction - Interface in com.tngtech.archunit.lang.syntax.elements
- GivenMembers<MEMBER extends JavaMember> - Interface in com.tngtech.archunit.lang.syntax.elements
- GivenMembersConjunction<MEMBER extends JavaMember> - Interface in com.tngtech.archunit.lang.syntax.elements
- GivenMethods - Interface in com.tngtech.archunit.lang.syntax.elements
- GivenMethodsConjunction - Interface in com.tngtech.archunit.lang.syntax.elements
- GivenModules<DESCRIPTOR extends ArchModule.Descriptor> - Interface in com.tngtech.archunit.library.modules.syntax
- GivenModulesByAnnotation<ANNOTATION extends Annotation> - Interface in com.tngtech.archunit.library.modules.syntax
- GivenModulesByAnnotationConjunction<ANNOTATION extends Annotation> - Interface in com.tngtech.archunit.library.modules.syntax
- GivenModulesConjunction<DESCRIPTOR extends ArchModule.Descriptor> - Interface in com.tngtech.archunit.library.modules.syntax
- GivenNamedSlices - Interface in com.tngtech.archunit.library.dependencies.syntax
- GivenObjects<T> - Interface in com.tngtech.archunit.lang.syntax.elements
- GivenSlices - Interface in com.tngtech.archunit.library.dependencies.syntax
- GivenSlicesConjunction - Interface in com.tngtech.archunit.library.dependencies.syntax
- greaterThan(T) - Static method in class com.tngtech.archunit.base.DescribedPredicate
- greaterThanOrEqualTo(T) - Static method in class com.tngtech.archunit.base.DescribedPredicate
H
- handle(EvaluatedRule) - Method in interface com.tngtech.archunit.lang.extension.ArchUnitExtension
-
ArchUnit will call this method after evaluating any rule against imported classes, but before any
AssertionError
is thrown from possible violations of the rule. - handle(Collection<?>, String) - Method in interface com.tngtech.archunit.lang.ConditionEvent.Handler
- handle(Collection<T>, String) - Method in interface com.tngtech.archunit.lang.ViolationHandler
- handleViolations(ViolationHandler<T>, T...) - Method in class com.tngtech.archunit.lang.EvaluationResult
-
Passes violations to the supplied
ViolationHandler
. - handleWith(ConditionEvent.Handler) - Method in interface com.tngtech.archunit.lang.ConditionEvent
-
Supplies the corresponding objects and description to the supplied handler.
- handleWith(ConditionEvent.Handler) - Method in class com.tngtech.archunit.lang.SimpleConditionEvent
- has(DescribedPredicate<? super T>) - Static method in class com.tngtech.archunit.lang.conditions.ArchPredicates
-
This method is just syntactic sugar, e.g.
- HasAnnotations<SELF extends HasAnnotations<SELF>> - Interface in com.tngtech.archunit.core.domain.properties
- HasDescription - Interface in com.tngtech.archunit.base
- HasDescriptor - Interface in com.tngtech.archunit.core.domain.properties
- hasExplicitlyDeclaredProperty(String) - Method in class com.tngtech.archunit.core.domain.JavaAnnotation
-
Returns
true
, if and only if the value of this property has been explicitly declared within the annotation declaration. - hashCode() - Method in class com.tngtech.archunit.base.ForwardingCollection
- hashCode() - Method in class com.tngtech.archunit.core.domain.AccessTarget
- hashCode() - Method in class com.tngtech.archunit.core.domain.Dependency
- hashCode() - Method in class com.tngtech.archunit.core.domain.JavaClasses
- hashCode() - Method in class com.tngtech.archunit.core.domain.JavaEnumConstant
- hashCode() - Method in class com.tngtech.archunit.core.domain.Source
- hashCode() - Method in class com.tngtech.archunit.core.domain.Source.Md5sum
- hashCode() - Method in class com.tngtech.archunit.core.domain.SourceCodeLocation
- hashCode() - Method in class com.tngtech.archunit.core.domain.ThrowsClause
- hashCode() - Method in class com.tngtech.archunit.core.domain.ThrowsDeclaration
- hashCode() - Method in class com.tngtech.archunit.core.importer.Location
- hashCode() - Method in class com.tngtech.archunit.library.dependencies.Slice
- hashCode() - Method in class com.tngtech.archunit.library.dependencies.SliceDependency
- hashCode() - Method in class com.tngtech.archunit.library.dependencies.SliceIdentifier
- hashCode() - Method in class com.tngtech.archunit.library.modules.ArchModule
- hashCode() - Method in class com.tngtech.archunit.library.modules.ArchModule.Identifier
- hashCode() - Method in class com.tngtech.archunit.library.modules.ModuleDependency
- HasModifiers - Interface in com.tngtech.archunit.core.domain.properties
- HasModifiers.Predicates - Class in com.tngtech.archunit.core.domain.properties
-
Predefined
predicates
targeting objects that implementHasModifiers
- HasName - Interface in com.tngtech.archunit.core.domain.properties
- HasName.AndFullName - Interface in com.tngtech.archunit.core.domain.properties
- HasName.AndFullName.Functions - Class in com.tngtech.archunit.core.domain.properties
- HasName.AndFullName.Predicates - Class in com.tngtech.archunit.core.domain.properties
-
Predefined
predicates
targeting objects that implementHasName.AndFullName
- HasName.Functions - Class in com.tngtech.archunit.core.domain.properties
- HasName.Predicates - Class in com.tngtech.archunit.core.domain.properties
-
Predefined
predicates
targeting objects that implementHasName
- HasName.Utils - Class in com.tngtech.archunit.core.domain.properties
- HasOwner<T> - Interface in com.tngtech.archunit.core.domain.properties
-
A highly context dependent definition of something that has a higher order "owner".
- HasOwner.Functions - Class in com.tngtech.archunit.core.domain.properties
- HasOwner.Functions.Get - Class in com.tngtech.archunit.core.domain.properties
- HasOwner.Predicates - Class in com.tngtech.archunit.core.domain.properties
-
Predefined
predicates
targeting objects that implementHasOwner
- HasOwner.Predicates.With - Class in com.tngtech.archunit.core.domain.properties
- HasParameterTypes - Interface in com.tngtech.archunit.core.domain.properties
- HasParameterTypes.Predicates - Class in com.tngtech.archunit.core.domain.properties
-
Predefined
predicates
targeting objects that implementHasParameterTypes
- HasReturnType - Interface in com.tngtech.archunit.core.domain.properties
- HasReturnType.Functions - Class in com.tngtech.archunit.core.domain.properties
-
Predefined
functions
to transformHasReturnType
. - HasReturnType.Predicates - Class in com.tngtech.archunit.core.domain.properties
-
Predefined
predicates
targeting objects that implementHasReturnType
- HasSourceCodeLocation - Interface in com.tngtech.archunit.core.domain.properties
- HasThrowsClause<LOCATION extends HasParameterTypes & HasReturnType & HasName.AndFullName & CanBeAnnotated & HasOwner<JavaClass>> - Interface in com.tngtech.archunit.core.domain.properties
- HasThrowsClause.Predicates - Class in com.tngtech.archunit.core.domain.properties
-
Predefined
predicates
targeting objects that implementHasThrowsClause
- HasType - Interface in com.tngtech.archunit.core.domain.properties
- HasType.Functions - Class in com.tngtech.archunit.core.domain.properties
- HasType.Predicates - Class in com.tngtech.archunit.core.domain.properties
-
Predefined
predicates
targeting objects that implementHasType
- HasTypeParameters<OWNER extends HasDescription> - Interface in com.tngtech.archunit.core.domain.properties
- HasUpperBounds - Interface in com.tngtech.archunit.core.domain.properties
- hasViolation() - Method in class com.tngtech.archunit.lang.EvaluationResult
- have(DescribedPredicate<? super T>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
-
Derives an
ArchCondition
from aDescribedPredicate
. - have(DescribedPredicate<? super T>) - Static method in class com.tngtech.archunit.lang.conditions.ArchPredicates
-
This method is just syntactic sugar, e.g.
- haveFullName(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveFullName(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members have a certain full name (compare
JavaField.getFullName()
andJavaCodeUnit.getFullName()
). - haveFullName(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members by their full name.
- haveFullNameMatching(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveFullNameMatching(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members have a full name matching a given regular expression (compare
JavaField.getFullName()
andJavaCodeUnit.getFullName()
). - haveFullNameMatching(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members with a full name matching a given regular expression.
- haveFullNameNotMatching(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveFullNameNotMatching(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members have a full name not matching a given regular expression (compare
JavaField.getFullName()
andJavaCodeUnit.getFullName()
). - haveFullNameNotMatching(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members with a full name not matching a given regular expression.
- haveFullyQualifiedName(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveFullyQualifiedName(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- haveFullyQualifiedName(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes have a certain fully qualified class name.
- haveFullyQualifiedName(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes by their fully qualified class name.
- haveModifier(JavaModifier) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveModifier(JavaModifier) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- haveModifier(JavaModifier) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes have a certain
JavaModifier
(e.g. - haveModifier(JavaModifier) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes having a certain
JavaModifier
(e.g. - haveModifier(JavaModifier) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members have a certain
JavaModifier
(e.g. - haveModifier(JavaModifier) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members having a certain
JavaModifier
(e.g. - haveName(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveName(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members have a certain name (i.e.
- haveName(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members by their name (i.e.
- haveNameContaining(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveNameContaining(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members have a name containing the specified infix.
- haveNameContaining(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members with a name containing the specified infix.
- haveNameEndingWith(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveNameEndingWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members have a name ending with the specified suffix.
- haveNameEndingWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members with a name ending with the specified suffix.
- haveNameMatching(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveNameMatching(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- haveNameMatching(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes have a fully qualified class name matching a given regular expression.
- haveNameMatching(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes with a fully qualified class name matching a given regular expression.
- haveNameMatching(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members have a name (i.e.
- haveNameMatching(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members with a name (i.e.
- haveNameNotContaining(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveNameNotContaining(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members have a name not containing the specified infix.
- haveNameNotContaining(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members with a name not containing the specified infix.
- haveNameNotEndingWith(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveNameNotEndingWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members have a name not ending with the specified suffix.
- haveNameNotEndingWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members with a name not ending with the specified suffix.
- haveNameNotMatching(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveNameNotMatching(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- haveNameNotMatching(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes have a fully qualified class name not matching a given regular expression.
- haveNameNotMatching(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes with a fully qualified class name not matching a given regular expression.
- haveNameNotMatching(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members have a name (i.e.
- haveNameNotMatching(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members with a name (i.e.
- haveNameNotStartingWith(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveNameNotStartingWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members have a name not starting with the specified prefix.
- haveNameNotStartingWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members with a name not starting with the specified prefix.
- haveNameStartingWith(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveNameStartingWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members have a name starting with the specified prefix.
- haveNameStartingWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersThat
-
Matches members with a name starting with the specified prefix.
- haveOnlyFinalFields() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveOnlyFinalFields() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes have only final fields.
- haveOnlyPrivateConstructors() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveOnlyPrivateConstructors() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes have only private constructors.
- haveRawParameterTypes(DescribedPredicate<? super List<JavaClass>>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveRawParameterTypes(DescribedPredicate<? super List<JavaClass>>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShould
-
Asserts that
JavaCodeUnits
have raw parameter types matching the given predicate. - haveRawParameterTypes(DescribedPredicate<? super List<JavaClass>>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsThat
-
Matches
JavaCodeUnits
that have raw parameter types matching the given predicate. - haveRawParameterTypes(Class<?>...) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveRawParameterTypes(Class<?>...) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShould
-
Asserts that
JavaCodeUnits
have the specified raw parameter types. - haveRawParameterTypes(Class<?>...) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsThat
-
Matches
JavaCodeUnits
that have the specified raw parameter types. - haveRawParameterTypes(String...) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveRawParameterTypes(String...) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShould
-
Asserts that
JavaCodeUnits
have the specified fully qualified raw parameter type names. - haveRawParameterTypes(String...) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsThat
-
Matches
JavaCodeUnits
that have the specified fully qualified raw parameter type names. - haveRawReturnType(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveRawReturnType(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShould
-
Asserts that
JavaCodeUnits
have raw return types matching the given predicate. - haveRawReturnType(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsThat
-
Matches
JavaCodeUnits
that have raw return types matching the given predicate. - haveRawReturnType(Class<?>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveRawReturnType(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShould
-
Asserts that
JavaCodeUnits
have the specified raw return type. - haveRawReturnType(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsThat
-
Matches
JavaCodeUnits
that have the specified raw return types. - haveRawReturnType(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveRawReturnType(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShould
-
Asserts that
JavaCodeUnits
have the specified fully qualified raw return type name. - haveRawReturnType(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsThat
-
Matches
JavaCodeUnits
that have the specified fully qualified raw return type name. - haveRawType(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveRawType(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsShould
-
Asserts that fields have a raw type matching the given predicate.
- haveRawType(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsThat
-
Matches fields where the raw type of those fields matches the given predicate.
- haveRawType(Class<?>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveRawType(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsShould
-
Asserts that fields have a certain raw type.
- haveRawType(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsThat
-
Matches fields by their raw type.
- haveRawType(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveRawType(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsShould
-
Asserts that fields have a certain fully qualified name of their raw type.
- haveRawType(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsThat
-
Matches fields by the fully qualified name of their raw type.
- haveSimpleName(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveSimpleName(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- haveSimpleName(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes have a certain simple class name.
- haveSimpleName(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes by their simple class name.
- haveSimpleNameContaining(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveSimpleNameContaining(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- haveSimpleNameContaining(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes' simple class names contain the specified infix.
- haveSimpleNameContaining(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes with a simple class name containing the specified infix.
- haveSimpleNameEndingWith(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveSimpleNameEndingWith(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- haveSimpleNameEndingWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes' simple class names end with a given suffix.
- haveSimpleNameEndingWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes with a simple class name ending with a given suffix.
- haveSimpleNameNotContaining(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveSimpleNameNotContaining(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- haveSimpleNameNotContaining(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes' simple class names do not contain the specified infix.
- haveSimpleNameNotContaining(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes with a simple class name not containing the specified infix.
- haveSimpleNameNotEndingWith(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveSimpleNameNotEndingWith(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- haveSimpleNameNotEndingWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes' simple class names do not end with a given suffix.
- haveSimpleNameNotEndingWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes with a simple class name not ending with a given suffix.
- haveSimpleNameNotStartingWith(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveSimpleNameNotStartingWith(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- haveSimpleNameNotStartingWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes' simple class names do not start with a given prefix.
- haveSimpleNameNotStartingWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes with a simple class name not starting with a given prefix.
- haveSimpleNameStartingWith(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveSimpleNameStartingWith(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- haveSimpleNameStartingWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes' simple class names start with a given prefix.
- haveSimpleNameStartingWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes with a simple class name starting with a given prefix.
- HIGH - Enum constant in enum class com.tngtech.archunit.lang.Priority
I
- ifVersionGreaterOrEqualTo(PluginLoader.JavaVersion) - Method in class com.tngtech.archunit.core.PluginLoader.Creator
- ignore() - Static method in class com.tngtech.archunit.library.dependencies.SliceIdentifier
- ignore() - Static method in class com.tngtech.archunit.library.modules.ArchModule.Identifier
-
Factory method to signal that this
ArchModule
is irrelevant. - ignoreDependencies(DescribedPredicate<? super Dependency>) - Method in class com.tngtech.archunit.library.plantuml.rules.PlantUmlArchCondition
-
Ignores all
dependencies
matching the suppliedignorePredicate
. - ignoreDependencies(Class<?>, Class<?>) - Method in class com.tngtech.archunit.library.plantuml.rules.PlantUmlArchCondition
- ignoreDependencies(String, String) - Method in class com.tngtech.archunit.library.plantuml.rules.PlantUmlArchCondition
- ignoreDependenciesWithOrigin(DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.library.plantuml.rules.PlantUmlArchCondition
- ignoreDependenciesWithTarget(DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.library.plantuml.rules.PlantUmlArchCondition
- ignoreDependency(DescribedPredicate<? super Dependency>) - Method in class com.tngtech.archunit.lang.conditions.AllDependenciesCondition
- ignoreDependency(DescribedPredicate<? super Dependency>) - Method in class com.tngtech.archunit.lang.conditions.AnyDependencyCondition
- ignoreDependency(DescribedPredicate<? super JavaClass>, DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture
-
Same as
Architectures.LayeredArchitecture.ignoreDependency(Class, Class)
but allows specifying origin and target by freely defined predicates. - ignoreDependency(DescribedPredicate<? super JavaClass>, DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
-
Ignores all
dependencies
that have anorigin class
matching the suppliedorigin
predicate
andtarget class
matching the suppliedtarget
predicate
. - ignoreDependency(DescribedPredicate<? super JavaClass>, DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.library.dependencies.SliceRule
- ignoreDependency(Class<?>, Class<?>) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture
-
Configures the rule to ignore any violation from a specific
origin
class to a specifictarget
class. - ignoreDependency(Class<?>, Class<?>) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
-
Ignores all
dependencies
that have anorigin class
equivalent to
the suppliedorigin
andtarget class
equivalent to
the suppliedtarget
. - ignoreDependency(Class<?>, Class<?>) - Method in class com.tngtech.archunit.library.dependencies.SliceRule
- ignoreDependency(Class<?>, Class<?>) - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesByAnnotationRule
- ignoreDependency(Class<?>, Class<?>) - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesRule
-
Ignores all class dependencies from the given origin class to the given target class.
- ignoreDependency(String, String) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture
-
Same as
Architectures.LayeredArchitecture.ignoreDependency(Class, Class)
but allows specifying origin and target as fully qualified class names. - ignoreDependency(String, String) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
-
Ignores all
dependencies
that have anorigin class
with fully qualified class nameorigin
andtarget class
with fully qualified class nametarget
. - ignoreDependency(String, String) - Method in class com.tngtech.archunit.library.dependencies.SliceRule
- ignoreDependency(String, String) - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesByAnnotationRule
- ignoreDependency(String, String) - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesRule
-
Ignores all class dependencies from the origin class with the given fully qualified origin class name to the target class with the given fully qualified target class name.
- ignoreDependency(Predicate<? super Dependency>) - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesByAnnotationRule
- ignoreDependency(Predicate<? super Dependency>) - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesRule
-
Ignores all class dependencies matching the given predicate.
- ignoreDependency(Predicate<? super JavaClass>, Predicate<? super JavaClass>) - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesByAnnotationRule
- ignoreDependency(Predicate<? super JavaClass>, Predicate<? super JavaClass>) - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesRule
-
Ignores all class dependencies from any origin class matching the given origin class predicate to any target class matching the given target class predicate.
- implement(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
-
Same as
JavaClass.Predicates.implement(Class)
but returnstrue
whenever the testedJavaClass
implements an interface that matches the supplied predicate. - implement(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- implement(DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- implement(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes implement a certain interface matching the given predicate.
- implement(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes that implement a certain interface matching the given predicate.
- implement(Class<?>) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- implement(Class<?>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- implement(Class<?>) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- implement(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes implement a certain interface.
- implement(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes that implement a certain interface.
- implement(String) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
-
Same as
JavaClass.Predicates.implement(Class)
but takes a fully qualified class name as an argument instead of a class object. - implement(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- implement(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- implement(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes implement a certain interface with the given type name.
- implement(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes that implement a certain interface with the given type name.
- importClass(Class<?>) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
Delegates to
ClassFileImporter.importClasses(Collection)
- importClasses(Class<?>...) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
Delegates to
ClassFileImporter.importClasses(Collection)
- importClasses(Collection<Class<?>>) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
Imports the class files of the supplied classes from the classpath / modulepath.
- importClasspath() - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
Imports classes from the whole classpath.
Note that ArchUnit does not distinguish between the classpath and the modulepath for Java >= 9, thus all classes from the classpath or the modulepath will be considered. - ImportContext - Interface in com.tngtech.archunit.core.domain
- importJar(JarFile) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
For information about the impact of the imported classes on the evaluation of rules, as well as configuration and details, refer to
ClassFileImporter
. - importJars(Iterable<JarFile>) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
Imports all Java class files in the given
JAR files
. - importJars(JarFile...) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
Delegates to
ClassFileImporter.importJars(Iterable)
- importLocations(Collection<Location>) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
Imports all class files at the given
locations
. - ImportOption - Interface in com.tngtech.archunit.core.importer
-
Will be evaluated for every class location, to determine if the class should be imported.
IMPORTANT: For things like caching to work, it's important that the behavior of any implementation is constant, i.e. - ImportOption.DoNotIncludeArchives - Class in com.tngtech.archunit.core.importer
- ImportOption.DoNotIncludeGradleTestFixtures - Class in com.tngtech.archunit.core.importer
-
Best effort
ImportOption
to omit checking test fixtures defined by the Gradle Test Fixtures Plugin.
NOTE: This excludes all class files residing in some directory ../build/classes/../testFixtures/.. - ImportOption.DoNotIncludeJars - Class in com.tngtech.archunit.core.importer
- ImportOption.DoNotIncludePackageInfos - Class in com.tngtech.archunit.core.importer
-
Excludes
package-info.class
files. - ImportOption.DoNotIncludeTests - Class in com.tngtech.archunit.core.importer
-
Best effort
ImportOption
to check rules only on main classes.
NOTE: This excludes all class files residing in some directory ../target/test-classes/.., ../build/classes/test/.. - ImportOption.OnlyIncludeTests - Class in com.tngtech.archunit.core.importer
-
Best effort
ImportOption
to check rules only on test classes.
SeeImportOption.DoNotIncludeTests
for limitations of test class identification. - ImportOption.Predefined - Enum Class in com.tngtech.archunit.core.importer
- importPackages(String...) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
Imports packages via
Locations.ofPackage(String)
For information about the impact of the imported classes on the evaluation of rules, as well as configuration and details, refer toClassFileImporter
. - importPackages(Collection<String>) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
Imports packages via
Locations.ofPackage(String)
For information about the impact of the imported classes on the evaluation of rules, as well as configuration and details, refer toClassFileImporter
. - importPackagesOf(Class<?>...) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
Delegates to
ClassFileImporter.importPackagesOf(Collection)
- importPackagesOf(Collection<Class<?>>) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
Takes the packages of the supplied classes and delegates to
ClassFileImporter.importPackages(String...)
- importPath(String) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
- importPath(Path) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
Delegates to
ClassFileImporter.importPaths(Collection)
- importPaths(String...) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
- importPaths(Path...) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
Delegates to
ClassFileImporter.importPaths(Collection)
- importPaths(Collection<Path>) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
Imports all class files at the given
file paths
. - importUrl(URL) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
Converts the supplied
URL
toLocation
and delegates toClassFileImporter.importLocations(Collection)
- importUrls(Collection<URL>) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
Converts the supplied
URLs
tolocations
and delegates toClassFileImporter.importLocations(Collection)
- inClassPath() - Static method in class com.tngtech.archunit.core.importer.Locations
- includes(Location) - Method in class com.tngtech.archunit.core.importer.ImportOption.DoNotIncludeArchives
- includes(Location) - Method in class com.tngtech.archunit.core.importer.ImportOption.DoNotIncludeGradleTestFixtures
- includes(Location) - Method in class com.tngtech.archunit.core.importer.ImportOption.DoNotIncludeJars
- includes(Location) - Method in class com.tngtech.archunit.core.importer.ImportOption.DoNotIncludePackageInfos
- includes(Location) - Method in class com.tngtech.archunit.core.importer.ImportOption.DoNotIncludeTests
- includes(Location) - Method in interface com.tngtech.archunit.core.importer.ImportOption
- includes(Location) - Method in class com.tngtech.archunit.core.importer.ImportOption.OnlyIncludeTests
- InconsistentClassPathException(String, Throwable) - Constructor for exception com.tngtech.archunit.base.ArchUnitException.InconsistentClassPathException
- indexOf(Object) - Method in class com.tngtech.archunit.base.ForwardingList
- INHERITANCE - Enum constant in enum class com.tngtech.archunit.PublicAPI.Usage
-
This API is intended to be used via inheritance, i.e.
- init(Collection<JavaClass>) - Method in class com.tngtech.archunit.lang.conditions.TransitiveDependencyCondition
- init(Collection<JavaClass>) - Method in interface com.tngtech.archunit.library.modules.ArchModules.IdentifierAssociation
-
An optional hook to add custom logic considering all
classes
that will be associated with anArchModule.Identifier
, beforeArchModules.IdentifierAssociation.associate(JavaClass)
will be called on any of theseclasses
. - init(Collection<COMPONENT>) - Method in class com.tngtech.archunit.library.cycle_detection.rules.CycleArchCondition
- init(Collection<T>) - Method in class com.tngtech.archunit.lang.ArchCondition
-
Can be used/overridden to prepare this condition with respect to the collection of all objects the condition will be tested against.
ArchUnit will call this method once in the beginning, before starting to check single items. - InitialConfiguration<T> - Class in com.tngtech.archunit.core
- InitialConfiguration() - Constructor for class com.tngtech.archunit.core.InitialConfiguration
- initialize(Properties) - Method in class com.tngtech.archunit.library.freeze.TextFileBasedViolationStore
- initialize(Properties) - Method in class com.tngtech.archunit.library.freeze.ViolationStore.Delegate
- initialize(Properties) - Method in interface com.tngtech.archunit.library.freeze.ViolationStore
-
Provides custom initialization with properties derived from "archunit.properties" by considering the sub properties of
freeze.store
. - INNER_CLASSES - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- InstanceofCheck - Class in com.tngtech.archunit.core.domain
- INTERFACES - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- Internal - Annotation Interface in com.tngtech.archunit
-
Any element annotated with this annotation, is meant for internal use ONLY.
- InvalidSyntaxUsageException(String) - Constructor for exception com.tngtech.archunit.base.ArchUnitException.InvalidSyntaxUsageException
- invert() - Method in interface com.tngtech.archunit.lang.ConditionEvent
- invert() - Method in class com.tngtech.archunit.lang.SimpleConditionEvent
- is(DescribedPredicate<? super T>) - Method in class com.tngtech.archunit.base.ChainableFunction
- is(DescribedPredicate<? super T>) - Static method in class com.tngtech.archunit.lang.conditions.ArchPredicates
-
This method is just syntactic sugar, e.g.
- isAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in class com.tngtech.archunit.core.domain.AccessTarget
-
Returns true, if one of the resolved targets is annotated with an annotation matching the predicate.
NOTE: If the target was not imported, this method will always return false. - isAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in class com.tngtech.archunit.core.domain.JavaClass
- isAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in class com.tngtech.archunit.core.domain.JavaMember
- isAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in class com.tngtech.archunit.core.domain.JavaPackage
- isAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in class com.tngtech.archunit.core.domain.JavaParameter
- isAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in interface com.tngtech.archunit.core.domain.properties.CanBeAnnotated
-
Returns
true
, if this element is annotated with an annotation matching the given predicate. - isAnnotatedWith(Class<? extends Annotation>) - Method in class com.tngtech.archunit.core.domain.AccessTarget
-
Returns true, if one of the resolved targets is annotated with the given annotation type.
NOTE: If the target was not imported, this method will always return false. - isAnnotatedWith(Class<? extends Annotation>) - Method in class com.tngtech.archunit.core.domain.JavaClass
- isAnnotatedWith(Class<? extends Annotation>) - Method in class com.tngtech.archunit.core.domain.JavaMember
- isAnnotatedWith(Class<? extends Annotation>) - Method in class com.tngtech.archunit.core.domain.JavaPackage
- isAnnotatedWith(Class<? extends Annotation>) - Method in class com.tngtech.archunit.core.domain.JavaParameter
- isAnnotatedWith(Class<? extends Annotation>) - Method in interface com.tngtech.archunit.core.domain.properties.CanBeAnnotated
-
Returns
true
, if this element is annotated with the given annotation type. - isAnnotatedWith(String) - Method in class com.tngtech.archunit.core.domain.AccessTarget
- isAnnotatedWith(String) - Method in class com.tngtech.archunit.core.domain.JavaClass
- isAnnotatedWith(String) - Method in class com.tngtech.archunit.core.domain.JavaMember
- isAnnotatedWith(String) - Method in class com.tngtech.archunit.core.domain.JavaPackage
- isAnnotatedWith(String) - Method in class com.tngtech.archunit.core.domain.JavaParameter
- isAnnotatedWith(String) - Method in interface com.tngtech.archunit.core.domain.properties.CanBeAnnotated
- isAnnotatedWith(Collection<? extends JavaAnnotation<?>>, DescribedPredicate<? super JavaAnnotation<?>>) - Static method in class com.tngtech.archunit.core.domain.properties.CanBeAnnotated.Utils
- isAnnotation() - Method in class com.tngtech.archunit.core.domain.JavaClass
- isAnnotation() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaClassBuilder
- isAnonymousClass() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
An anonymous class is an inner class that is automatically derived from a class creation expression with a declared class body, e.g.
- isAnonymousClass() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaClassBuilder
- isArchive() - Method in class com.tngtech.archunit.core.importer.Location
-
This is a generalization of
Location.isJar()
. - isArray() - Method in class com.tngtech.archunit.core.domain.JavaClass
- isArray() - Method in interface com.tngtech.archunit.core.domain.JavaClassDescriptor
- isAssignableFrom(DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.core.domain.JavaClass
- isAssignableFrom(Class<?>) - Method in class com.tngtech.archunit.core.domain.JavaClass
- isAssignableFrom(String) - Method in class com.tngtech.archunit.core.domain.JavaClass
- isAssignableTo(DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.core.domain.JavaClass
- isAssignableTo(Class<?>) - Method in class com.tngtech.archunit.core.domain.JavaClass
- isAssignableTo(String) - Method in class com.tngtech.archunit.core.domain.JavaClass
- isConstructor() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- isConstructor() - Method in class com.tngtech.archunit.core.domain.JavaConstructor
- isDeclaredInLambda() - Method in class com.tngtech.archunit.core.domain.InstanceofCheck
- isDeclaredInLambda() - Method in class com.tngtech.archunit.core.domain.JavaAccess
- isDeclaredInLambda() - Method in class com.tngtech.archunit.core.domain.ReferencedClassObject
- isDeclaredInLambda() - Method in class com.tngtech.archunit.core.domain.TryCatchBlock
- isDeclaredInLambda() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaAccessBuilder
- isDeclaredInLambda() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.TryCatchBlockBuilder
- isEmpty() - Method in class com.tngtech.archunit.base.ForwardingCollection
- isEmpty() - Method in class com.tngtech.archunit.lang.FailureReport
- isEnum() - Method in class com.tngtech.archunit.core.domain.JavaClass
- isEnum() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaClassBuilder
- isEquivalentTo(Class<?>) - Method in class com.tngtech.archunit.core.domain.JavaClass
- isFullyImported() - Method in class com.tngtech.archunit.core.domain.JavaClass
- isInnerClass() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
An inner class is a nested class that is not explicitly or implicitly declared static.
Example: - isInterface() - Method in class com.tngtech.archunit.core.domain.JavaClass
- isInterface() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaClassBuilder
- isJar() - Method in class com.tngtech.archunit.core.importer.Location
- isLessOrEqualThan(String) - Method in enum class com.tngtech.archunit.core.PluginLoader.JavaVersion
- isLocalClass() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
A local class is a nested class that is not a member of any class and that has a name.
Example: - isMemberClass() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
A member class is a class whose declaration is directly enclosed in the body of another class or interface declaration.
Example: - isMemberClass() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaClassBuilder
- isMetaAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in class com.tngtech.archunit.core.domain.AccessTarget
-
Returns true, if one of the resolved targets is meta-annotated with an annotation matching the predicate.
NOTE: If the target was not imported, this method will always return false. - isMetaAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in class com.tngtech.archunit.core.domain.JavaClass
- isMetaAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in class com.tngtech.archunit.core.domain.JavaMember
- isMetaAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in class com.tngtech.archunit.core.domain.JavaPackage
- isMetaAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in class com.tngtech.archunit.core.domain.JavaParameter
- isMetaAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in interface com.tngtech.archunit.core.domain.properties.CanBeAnnotated
-
Returns
true
, if this element is meta-annotated with an annotation matching the given predicate. - isMetaAnnotatedWith(Class<? extends Annotation>) - Method in class com.tngtech.archunit.core.domain.AccessTarget
-
Returns true, if one of the resolved targets is meta-annotated with an annotation of the given type.
NOTE: If the target was not imported, this method will always return false. - isMetaAnnotatedWith(Class<? extends Annotation>) - Method in class com.tngtech.archunit.core.domain.JavaClass
- isMetaAnnotatedWith(Class<? extends Annotation>) - Method in class com.tngtech.archunit.core.domain.JavaMember
- isMetaAnnotatedWith(Class<? extends Annotation>) - Method in class com.tngtech.archunit.core.domain.JavaPackage
- isMetaAnnotatedWith(Class<? extends Annotation>) - Method in class com.tngtech.archunit.core.domain.JavaParameter
- isMetaAnnotatedWith(Class<? extends Annotation>) - Method in interface com.tngtech.archunit.core.domain.properties.CanBeAnnotated
-
Returns
true
, if this element is meta-annotated with the given annotation type. - isMetaAnnotatedWith(String) - Method in class com.tngtech.archunit.core.domain.AccessTarget
- isMetaAnnotatedWith(String) - Method in class com.tngtech.archunit.core.domain.JavaClass
- isMetaAnnotatedWith(String) - Method in class com.tngtech.archunit.core.domain.JavaMember
- isMetaAnnotatedWith(String) - Method in class com.tngtech.archunit.core.domain.JavaPackage
- isMetaAnnotatedWith(String) - Method in class com.tngtech.archunit.core.domain.JavaParameter
- isMetaAnnotatedWith(String) - Method in interface com.tngtech.archunit.core.domain.properties.CanBeAnnotated
- isMetaAnnotatedWith(Collection<? extends JavaAnnotation<?>>, DescribedPredicate<? super JavaAnnotation<?>>) - Static method in class com.tngtech.archunit.core.domain.properties.CanBeAnnotated.Utils
- isMethod() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- isMethod() - Method in class com.tngtech.archunit.core.domain.JavaMethod
- isNestedClass() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
A nested class is any class whose declaration occurs within the body of another class or interface.
Example: - isPresent() - Method in class com.tngtech.archunit.lang.syntax.PredicateAggregator
- isPrimitive() - Method in class com.tngtech.archunit.core.domain.JavaClass
- isPrimitive() - Method in interface com.tngtech.archunit.core.domain.JavaClassDescriptor
- isRecord() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Returns whether this class is a record according to the Java Language Specification.
- isRecord() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaClassBuilder
- isStub() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaClassBuilder
- isTopLevelClass() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
A top level class is a class that is not a nested class, i.e.
- isViolation() - Method in interface com.tngtech.archunit.lang.ConditionEvent
- isViolation() - Method in class com.tngtech.archunit.lang.SimpleConditionEvent
- iterable(Iterable<T>, String) - Static method in class com.tngtech.archunit.base.DescribedIterable.From
- iterator() - Method in class com.tngtech.archunit.base.ForwardingCollection
- iterator() - Method in class com.tngtech.archunit.core.domain.ThrowsClause
- iterator() - Method in class com.tngtech.archunit.library.dependencies.Slices
- iterator() - Method in class com.tngtech.archunit.library.modules.ArchModule.Identifier
J
- JAVA_14 - Enum constant in enum class com.tngtech.archunit.core.PluginLoader.JavaVersion
- JAVA_9 - Enum constant in enum class com.tngtech.archunit.core.PluginLoader.JavaVersion
- Java14DomainPlugin - Class in com.tngtech.archunit.core.domain
-
Resolved via
PluginLoader
- Java14DomainPlugin() - Constructor for class com.tngtech.archunit.core.domain.Java14DomainPlugin
- JavaAccess<TARGET extends AccessTarget> - Class in com.tngtech.archunit.core.domain
- JavaAccess.Functions - Class in com.tngtech.archunit.core.domain
-
Predefined
functions
to transformJavaAccess
. - JavaAccess.Functions.Get - Class in com.tngtech.archunit.core.domain
- JavaAccess.Predicates - Class in com.tngtech.archunit.core.domain
-
Predefined
predicates
targetingJavaAccess
. - JavaAnnotation<OWNER extends HasDescription> - Class in com.tngtech.archunit.core.domain
-
Represents an imported annotation on an annotated object like a class or a method.
- JavaAnnotation.DefaultParameterVisitor - Class in com.tngtech.archunit.core.domain
-
Default implementation of
JavaAnnotation.ParameterVisitor
implementing a no-op behavior, i.e. - JavaAnnotation.ParameterVisitor - Interface in com.tngtech.archunit.core.domain
-
A Visitor (compare
JavaAnnotation.accept(ParameterVisitor)
) offering possibilities to specify behavior when various types ofJavaAnnotation.getProperties()
are encountered.
The list of declared methods is exhaustive, thus any legal parameter type of anAnnotation
is represented by the respectivevisit
-method. - JavaCall<T extends AccessTarget.CodeUnitCallTarget> - Class in com.tngtech.archunit.core.domain
- JavaCall.Predicates - Class in com.tngtech.archunit.core.domain
-
Predefined
predicates
targetingJavaCall
. - javaClass(JavaClass) - Static method in class com.tngtech.archunit.core.domain.JavaClassDescriptor.From
- JavaClass - Class in com.tngtech.archunit.core.domain
- JavaClass.Functions - Class in com.tngtech.archunit.core.domain
- JavaClass.Predicates - Class in com.tngtech.archunit.core.domain
-
Predefined
predicates
targetingJavaClass
. - JavaClassDescriptor - Interface in com.tngtech.archunit.core.domain
- JavaClassDescriptor.From - Class in com.tngtech.archunit.core.domain
- JavaClasses - Class in com.tngtech.archunit.core.domain
- JavaCodeUnit - Class in com.tngtech.archunit.core.domain
-
Represents a unit of code containing accesses to other units of code.
- JavaCodeUnit.Functions - Class in com.tngtech.archunit.core.domain
-
Predefined
functions
to transformJavaCodeUnit
. - JavaCodeUnit.Functions.Get - Class in com.tngtech.archunit.core.domain
- JavaCodeUnit.Predicates - Class in com.tngtech.archunit.core.domain
-
Predefined
predicates
targetingJavaCodeUnit
. - JavaCodeUnitAccess<T extends AccessTarget.CodeUnitAccessTarget> - Class in com.tngtech.archunit.core.domain
- JavaCodeUnitAccess.Predicates - Class in com.tngtech.archunit.core.domain
-
Predefined
predicates
targetingJavaCodeUnitAccess
. - JavaCodeUnitReference<T extends AccessTarget.CodeUnitReferenceTarget> - Class in com.tngtech.archunit.core.domain
- JavaCodeUnitReference.Predicates - Class in com.tngtech.archunit.core.domain
-
Predefined
predicates
targetingJavaCodeUnitReference
. - JavaConstructor - Class in com.tngtech.archunit.core.domain
- JavaConstructorCall - Class in com.tngtech.archunit.core.domain
- JavaConstructorReference - Class in com.tngtech.archunit.core.domain
- JavaEnumConstant - Class in com.tngtech.archunit.core.domain
- JavaField - Class in com.tngtech.archunit.core.domain
- JavaFieldAccess - Class in com.tngtech.archunit.core.domain
- JavaFieldAccess.AccessType - Enum Class in com.tngtech.archunit.core.domain
- JavaFieldAccess.Predicates - Class in com.tngtech.archunit.core.domain
-
Predefined
predicates
targetingJavaFieldAccess
. - JavaGenericArrayType - Class in com.tngtech.archunit.core.domain
-
Represents a generic array type used in signatures of parameterized types.
E.g. - JavaMember - Class in com.tngtech.archunit.core.domain
- JavaMember.Predicates - Class in com.tngtech.archunit.core.domain
-
Predefined
predicates
targetingJavaMember
. - JavaMethod - Class in com.tngtech.archunit.core.domain
- JavaMethodCall - Class in com.tngtech.archunit.core.domain
- JavaMethodReference - Class in com.tngtech.archunit.core.domain
- JavaModifier - Enum Class in com.tngtech.archunit.core.domain
- JavaPackage - Class in com.tngtech.archunit.core.domain
-
Represents a package of Java classes as defined by the Java Language Specification.
- JavaPackage.ClassVisitor - Interface in com.tngtech.archunit.core.domain
- JavaPackage.Functions - Class in com.tngtech.archunit.core.domain
-
Predefined
functions
to transformJavaPackage
. - JavaPackage.PackageVisitor - Interface in com.tngtech.archunit.core.domain
- JavaParameter - Class in com.tngtech.archunit.core.domain
-
A parameter of a
JavaCodeUnit
, i.e. - JavaParameterizedType - Interface in com.tngtech.archunit.core.domain
-
A
JavaParameterizedType
represents a concrete parameterization of a generic type. - JavaStaticInitializer - Class in com.tngtech.archunit.core.domain
-
Represents the static initialization block of a class, e.g.
- JavaType - Interface in com.tngtech.archunit.core.domain
-
Represents a general Java type.
- JavaType.Functions - Class in com.tngtech.archunit.core.domain
- JavaTypeVariable<OWNER extends HasDescription> - Class in com.tngtech.archunit.core.domain
-
Represents a type variable used by generic types and members.
E.g. - JavaWildcardType - Class in com.tngtech.archunit.core.domain
-
Represents a wildcard type in a type signature (compare the JLS).
- joinSingleQuoted(Iterable<String>) - Static method in class com.tngtech.archunit.core.domain.Formatters
- joinSingleQuoted(String...) - Static method in class com.tngtech.archunit.core.domain.Formatters
L
- lakosMetrics(MetricsComponents<JavaClass>) - Static method in class com.tngtech.archunit.library.metrics.ArchitectureMetrics
-
Calculates system architecture metrics as defined by John Lakos.
- lakosMetrics(MetricsComponents<T>, Function<T, Collection<T>>) - Static method in class com.tngtech.archunit.library.metrics.ArchitectureMetrics
-
Calculates system architecture metrics as defined by John Lakos.
- LakosMetrics - Class in com.tngtech.archunit.library.metrics
-
Calculates architecture metrics as defined by John Lakos in his book "Large-Scale C++ Software Design".
To calculate these metrics every component is assigned a "dependsOn" value that represents the number of other components that this component can reach transitively, including itself. - lastIndexOf(Object) - Method in class com.tngtech.archunit.base.ForwardingList
- layer(String) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture
-
Starts the definition of a new layer within the current
LayeredArchitecture
. - layeredArchitecture() - Static method in class com.tngtech.archunit.library.Architectures
-
Can be used to assert a typical layered architecture, e.g.
- lessThan(T) - Static method in class com.tngtech.archunit.base.DescribedPredicate
- lessThanOrEqualTo(T) - Static method in class com.tngtech.archunit.base.DescribedPredicate
- listIterator() - Method in class com.tngtech.archunit.base.ForwardingList
- listIterator(int) - Method in class com.tngtech.archunit.base.ForwardingList
- load() - Method in class com.tngtech.archunit.core.PluginLoader
- load(String) - Method in class com.tngtech.archunit.core.PluginLoader.Creator.PluginEntry
- loadClass(String) - Static method in class com.tngtech.archunit.base.ClassLoaders
- LOCAL_CLASSES - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- location() - Static method in class com.tngtech.archunit.core.domain.ThrowsDeclaration.Functions.Get
- Location - Class in com.tngtech.archunit.core.importer
-
Handles various forms of location from where classes can be imported in a consistent way.
- LocationException(Exception) - Constructor for exception com.tngtech.archunit.base.ArchUnitException.LocationException
- Locations - Class in com.tngtech.archunit.core.importer
-
Represents a set of
locations
of Java class files. - LOW - Enum constant in enum class com.tngtech.archunit.lang.Priority
M
- map(Function<DescribedPredicate<T>, V>) - Method in class com.tngtech.archunit.lang.syntax.PredicateAggregator
- match(String) - Method in class com.tngtech.archunit.core.domain.PackageMatcher
-
Returns a matching
Result
against the provided package name. - matches(String) - Method in class com.tngtech.archunit.core.domain.PackageMatcher
- matches(String, String) - Method in interface com.tngtech.archunit.library.freeze.ViolationLineMatcher
- matches(Pattern) - Method in class com.tngtech.archunit.core.importer.Location
- matching(String) - Static method in class com.tngtech.archunit.library.dependencies.Slices
-
Supports partitioning a set of
JavaClasses
into different slices by matching the supplied package identifier. - matching(String) - Method in class com.tngtech.archunit.library.dependencies.SlicesRuleDefinition.Creator
- MAX_NUMBER_OF_CYCLES_TO_DETECT_PROPERTY_NAME - Static variable in class com.tngtech.archunit.library.cycle_detection.CycleConfiguration
-
Configures the maximum number of cycles to detect by
CycleDetector
. - maxNumberOfCyclesReached() - Method in interface com.tngtech.archunit.library.cycle_detection.Cycles
- mayNotAccessAnyLayer() - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture.LayerDependencySpecification
-
Forbids any
dependency
from this layer to any other layer. - mayNotBeAccessedByAnyLayer() - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture.LayerDependencySpecification
-
Forbids any
dependency
from another layer to this layer. - mayOnlyAccessLayers(String...) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture.LayerDependencySpecification
-
Restricts this layer to only allow
dependencies
to the specified layers. - mayOnlyBeAccessedByLayers(String...) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture.LayerDependencySpecification
-
Restricts this layer to only allow the specified layers to have
dependencies
to this layer. - MayResolveTypesViaReflection - Annotation Interface in com.tngtech.archunit.base
-
Marks the methods or classes, where resolving types via reflection is allowed.
- md5InClassSourcesEnabled() - Method in class com.tngtech.archunit.ArchConfiguration
- MEDIUM - Enum constant in enum class com.tngtech.archunit.lang.Priority
- MEMBER_CLASSES - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- members() - Method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition.Creator
- members() - Static method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition
- MembersShould<CONJUNCTION extends MembersShouldConjunction<?>> - Interface in com.tngtech.archunit.lang.syntax.elements
- MembersShouldConjunction<MEMBER extends JavaMember> - Interface in com.tngtech.archunit.lang.syntax.elements
-
Same as
ClassesShouldConjunction
but for rules aboutmembers
. - MembersThat<CONJUNCTION> - Interface in com.tngtech.archunit.lang.syntax.elements
- memoize(Supplier<T>) - Static method in class com.tngtech.archunit.base.Suppliers
- metaAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Static method in class com.tngtech.archunit.core.domain.properties.CanBeAnnotated.Predicates
-
Returns a predicate that matches elements that are meta-annotated with an annotation matching the given predicate.
- metaAnnotatedWith(Class<? extends Annotation>) - Static method in class com.tngtech.archunit.core.domain.properties.CanBeAnnotated.Predicates
-
Returns a predicate that matches elements that are meta-annotated with the given annotation type.
- metaAnnotatedWith(String) - Static method in class com.tngtech.archunit.core.domain.properties.CanBeAnnotated.Predicates
- method() - Static method in class com.tngtech.archunit.core.domain.JavaCodeUnit.Predicates
- methods() - Method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition.Creator
- methods() - Static method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition
- MethodsShould<CONJUNCTION extends MethodsShouldConjunction> - Interface in com.tngtech.archunit.lang.syntax.elements
- MethodsShouldConjunction - Interface in com.tngtech.archunit.lang.syntax.elements
- MethodsThat<CONJUNCTION> - Interface in com.tngtech.archunit.lang.syntax.elements
- MetricsComponent<T> - Class in com.tngtech.archunit.library.metrics
-
Represents a component of the software system.
- MetricsComponents<T> - Class in com.tngtech.archunit.library.metrics
-
A collection of
MetricsComponent
. - modifier(JavaModifier) - Static method in class com.tngtech.archunit.core.domain.properties.HasModifiers.Predicates
- modularize(JavaClasses) - Method in class com.tngtech.archunit.library.modules.ArchModules.Creator
- modularize(JavaClasses) - Method in class com.tngtech.archunit.library.modules.ArchModules.Creator.WithGenericDescriptor
-
Derives
ArchModules
from the passedJavaClasses
via the specified modularization strategy by the fluent API (e.g. - ModuleDependency<DESCRIPTOR extends ArchModule.Descriptor> - Class in com.tngtech.archunit.library.modules
-
A dependency between two
ArchModule
s. - ModuleDependencyScope - Class in com.tngtech.archunit.library.modules.syntax
-
Used to specify which dependencies should be checked by the respective
ArchRule
. - ModuleRuleDefinition - Class in com.tngtech.archunit.library.modules.syntax
- ModuleRuleDefinition.Creator - Class in com.tngtech.archunit.library.modules.syntax
- ModuleRuleDefinition.GenericDefinition - Class in com.tngtech.archunit.library.modules.syntax
- ModuleRuleDefinition.PackagesDefinition - Class in com.tngtech.archunit.library.modules.syntax
- ModuleRuleDefinition.RootClassesDefinition<DESCRIPTOR extends ArchModule.Descriptor> - Class in com.tngtech.archunit.library.modules.syntax
- modules() - Static method in class com.tngtech.archunit.library.modules.syntax.ModuleRuleDefinition
-
Entrypoint to define
rules
based onArchModules
. - ModulesByAnnotationRule<ANNOTATION extends Annotation> - Interface in com.tngtech.archunit.library.modules.syntax
- ModulesByAnnotationShould<ANNOTATION extends Annotation> - Interface in com.tngtech.archunit.library.modules.syntax
- ModulesRule<DESCRIPTOR extends ArchModule.Descriptor> - Interface in com.tngtech.archunit.library.modules.syntax
- ModulesShould<DESCRIPTOR extends ArchModule.Descriptor> - Interface in com.tngtech.archunit.library.modules.syntax
- ModulesShouldConjunction<DESCRIPTOR extends ArchModule.Descriptor> - Interface in com.tngtech.archunit.library.modules.syntax
N
- name() - Method in class com.tngtech.archunit.core.domain.JavaEnumConstant
- name(String) - Static method in class com.tngtech.archunit.core.domain.JavaClassDescriptor.From
- name(String) - Static method in class com.tngtech.archunit.core.domain.properties.HasName.Predicates
- nameContaining(String) - Static method in class com.tngtech.archunit.core.domain.properties.HasName.Predicates
- nameEndingWith(String) - Static method in class com.tngtech.archunit.core.domain.properties.HasName.Predicates
- nameMatching(String) - Static method in class com.tngtech.archunit.core.domain.properties.HasName.Predicates
-
Matches names against a regular expression.
- namesOf(HasName...) - Static method in class com.tngtech.archunit.core.domain.properties.HasName.Utils
- namesOf(Iterable<? extends HasName>) - Static method in class com.tngtech.archunit.core.domain.properties.HasName.Utils
- nameStartingWith(String) - Static method in class com.tngtech.archunit.core.domain.properties.HasName.Predicates
- namingSlices(String) - Method in class com.tngtech.archunit.library.dependencies.Slices
-
Allows the naming of single slices, where back references to the matching pattern can be denoted by '$' followed by capturing group number.
- namingSlices(String) - Method in interface com.tngtech.archunit.library.dependencies.syntax.GivenSlices
- NATIVE - Enum constant in enum class com.tngtech.archunit.core.domain.JavaModifier
- NESTED_CLASSES - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- never(ArchCondition<T>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- newConstructorCallTargetBuilder() - Static method in class com.tngtech.archunit.core.importer.DomainBuilders
- newConstructorReferenceTargetBuilder() - Static method in class com.tngtech.archunit.core.importer.DomainBuilders
- newInstanceOf(Class<T>, Object...) - Static method in class com.tngtech.archunit.base.ReflectionUtils
- newMethodCallTargetBuilder() - Static method in class com.tngtech.archunit.core.importer.DomainBuilders
- newMethodReferenceTargetBuilder() - Static method in class com.tngtech.archunit.core.importer.DomainBuilders
- no(ClassesTransformer<TYPE>) - Method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition.Creator
-
Same as
ArchRuleDefinition.Creator.all(ClassesTransformer)
, but negates the following condition. - no(ClassesTransformer<TYPE>) - Static method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition
- NO_CLASSES_SHOULD_ACCESS_STANDARD_STREAMS - Static variable in class com.tngtech.archunit.library.GeneralCodingRules
-
A rule that checks that none of the given classes access the standard streams
System.out
andSystem.err
. - NO_CLASSES_SHOULD_DEPEND_UPPER_PACKAGES - Static variable in class com.tngtech.archunit.library.DependencyRules
-
A rule that checks that none of the given classes directly depends on classes from upper packages.
- no_classes_should_directly_call_other_methods_declared_in_the_same_class_that(DescribedPredicate<? super AccessTarget.MethodCallTarget>) - Static method in class com.tngtech.archunit.library.ProxyRules
-
Returns a rule that checks that none of the given classes directly calls other methods declared in the same class that matches the given predicate.
- no_classes_should_directly_call_other_methods_declared_in_the_same_class_that_are_annotated_with(Class<? extends Annotation>) - Static method in class com.tngtech.archunit.library.ProxyRules
-
Returns a rule that checks that none of the given classes directly calls other methods declared in the same class that are annotated with the given annotation.
- NO_CLASSES_SHOULD_THROW_GENERIC_EXCEPTIONS - Static variable in class com.tngtech.archunit.library.GeneralCodingRules
-
A rule that checks that none of the given classes throw generic exceptions like
Exception
,RuntimeException
, orThrowable
. - NO_CLASSES_SHOULD_USE_FIELD_INJECTION - Static variable in class com.tngtech.archunit.library.GeneralCodingRules
-
A rule that checks that none of the given classes uses field injection.
- NO_CLASSES_SHOULD_USE_JAVA_UTIL_LOGGING - Static variable in class com.tngtech.archunit.library.GeneralCodingRules
-
A rule that checks that none of the given classes access Java Util Logging.
- NO_CLASSES_SHOULD_USE_JODATIME - Static variable in class com.tngtech.archunit.library.GeneralCodingRules
-
A rule that checks that none of the given classes access JodaTime.
- noClass(Class<?>) - Method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition.Creator
- noClass(Class<?>) - Static method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition
- noClass(String) - Method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition.Creator
- noClass(String) - Static method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition
- noClasses() - Method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition.Creator
- noClasses() - Static method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition
- noCodeUnits() - Method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition.Creator
- noCodeUnits() - Static method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition
- noConstructors() - Method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition.Creator
- noConstructors() - Static method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition
- noFields() - Method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition.Creator
- noFields() - Static method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition
- noMembers() - Method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition.Creator
- noMembers() - Static method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition
- noMethods() - Method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition.Creator
- noMethods() - Static method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition
- not(DescribedPredicate<? super T>) - Static method in class com.tngtech.archunit.base.DescribedPredicate
- not(ArchCondition<T>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBe(Class<?>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBe(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that the rule does not match the given class.
- notBe(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBe(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that the rule does not match the class with the given fully qualified class name.
- notBeAccessedByMethodsThat(DescribedPredicate<? super JavaMethod>) - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsShould
-
Asserts that fields are not accessed by methods matching the given predicate.
- notBeAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are not annotated with a certain annotation, where matching annotations are determined by the supplied predicate.
- notBeAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are not annotated with an annotation matching the supplied predicate.
- notBeAnnotatedWith(Class<? extends Annotation>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeAnnotatedWith(Class<? extends Annotation>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are not annotated with a certain type of annotation.
- notBeAnnotatedWith(Class<? extends Annotation>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are not annotated with a certain type of annotation.
- notBeAnnotatedWith(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeAnnotatedWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are not annotated with a certain type of annotation.
- notBeAnnotatedWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are not annotated with a certain type of annotation.
- notBeAnonymousClasses() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeAnonymousClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
- notBeAssignableFrom(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeAssignableFrom(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are not assignable from a certain type matching the given predicate.
- notBeAssignableFrom(Class<?>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeAssignableFrom(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are not assignable from a certain type.
- notBeAssignableFrom(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeAssignableFrom(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are not assignable from a certain type with the given type name.
- notBeAssignableTo(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeAssignableTo(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are not assignable to a certain type matching the given predicate.
- notBeAssignableTo(Class<?>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeAssignableTo(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are not assignable to a certain type.
- notBeAssignableTo(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeAssignableTo(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are not assignable to a certain type with the given type name.
- notBeDeclaredIn(Class<?>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeDeclaredIn(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are not declared within the supplied class.
- notBeDeclaredIn(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeDeclaredIn(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are not declared within a class of the supplied class name.
- notBeEnums() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeEnums() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are not enums.
- notBeFinal() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeFinal() - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsShould
-
Asserts that fields are non-final.
- notBeFinal() - Method in interface com.tngtech.archunit.lang.syntax.elements.MethodsShould
-
Asserts that methods are non-final.
- notBeInnerClasses() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeInnerClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
- notBeInterfaces() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeInterfaces() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are not interfaces.
- notBeLocalClasses() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeLocalClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
- notBeMemberClasses() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeMemberClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
- notBeMetaAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeMetaAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are not meta-annotated with a certain annotation, where matching meta-annotations are determined by the supplied predicate.
- notBeMetaAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are not meta-annotated with an annotation matching the supplied predicate.
- notBeMetaAnnotatedWith(Class<? extends Annotation>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeMetaAnnotatedWith(Class<? extends Annotation>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are not meta-annotated with a certain type of annotation.
- notBeMetaAnnotatedWith(Class<? extends Annotation>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are not meta-annotated with a certain type of annotation.
- notBeMetaAnnotatedWith(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeMetaAnnotatedWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are not meta-annotated with a certain type of annotation.
- notBeMetaAnnotatedWith(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are not meta-annotated with a certain type of annotation.
- notBeNestedClasses() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeNestedClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
- notBePackagePrivate() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBePackagePrivate() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are non-package private.
- notBePackagePrivate() - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are non-package private.
- notBePrivate() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBePrivate() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are non-private.
- notBePrivate() - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are non-private.
- notBeProtected() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeProtected() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are non-protected.
- notBeProtected() - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are non-protected.
- notBePublic() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBePublic() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are non-public.
- notBePublic() - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members are non-public.
- notBeRecords() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeRecords() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are not records.
- notBeStatic() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeStatic() - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsShould
-
Asserts that fields are non-static.
- notBeStatic() - Method in interface com.tngtech.archunit.lang.syntax.elements.MethodsShould
-
Asserts that methods are non-static.
- notBeTopLevelClasses() - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notBeTopLevelClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
- notDeclareThrowableOfType(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShould
-
Asserts that
JavaCodeUnits
do not declare aThrowable
which matches the given predicate. - notDeclareThrowableOfType(Class<? extends Throwable>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShould
-
Asserts that
JavaCodeUnits
do not declare aThrowable
of the specified type in their throws clause. - notDeclareThrowableOfType(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShould
-
Asserts that
JavaCodeUnits
do not declare aThrowable
of the specified fully qualified type name in their throws clause. - notDependOnEachOther() - Method in interface com.tngtech.archunit.library.dependencies.syntax.SlicesShould
- notHaveFullName(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notHaveFullName(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members do not have a certain full name (compare
JavaField.getFullName()
andJavaCodeUnit.getFullName()
). - notHaveFullyQualifiedName(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notHaveFullyQualifiedName(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes do not have a certain fully qualified class name.
- notHaveModifier(JavaModifier) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notHaveModifier(JavaModifier) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes do not have a certain
JavaModifier
(e.g. - notHaveModifier(JavaModifier) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members do not have a certain
JavaModifier
(e.g. - notHaveName(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notHaveName(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShould
-
Asserts that members do not have a certain name (i.e.
- notHaveRawParameterTypes(DescribedPredicate<? super List<JavaClass>>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShould
-
Asserts that
JavaCodeUnits
do not have raw parameter types matching the given predicate. - notHaveRawParameterTypes(Class<?>...) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShould
-
Asserts that
JavaCodeUnits
do not have the specified raw parameter types. - notHaveRawParameterTypes(String...) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShould
-
Asserts that
JavaCodeUnits
do not have the specified fully qualified raw parameter type names. - notHaveRawReturnType(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShould
-
Asserts that
JavaCodeUnits
do not have raw return types matching the given predicate. - notHaveRawReturnType(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShould
-
Asserts that
JavaCodeUnits
do not have the specified raw return type. - notHaveRawReturnType(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShould
-
Asserts that
JavaCodeUnits
do not have the specified fully qualified raw return type name. - notHaveRawType(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsShould
-
Asserts that fields do not have a raw type matching the given predicate.
- notHaveRawType(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsShould
-
Asserts that fields do not have a certain raw type.
- notHaveRawType(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsShould
-
Asserts that fields do not have a certain fully qualified name of their raw type.
- notHaveSimpleName(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notHaveSimpleName(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes do not have a certain simple class name.
- notImplement(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notImplement(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes do not implement a certain interface matching the given predicate.
- notImplement(Class<?>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notImplement(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes do not implement a certain interface.
- notImplement(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- notImplement(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes do not implement a certain interface with the given type name.
O
- of(JavaClass) - Static method in class com.tngtech.archunit.core.domain.SourceCodeLocation
- of(JavaClasses) - Method in class com.tngtech.archunit.library.dependencies.Slices.Transformer
- of(JavaClass, int) - Static method in class com.tngtech.archunit.core.domain.SourceCodeLocation
- of(ArchRule) - Method in class com.tngtech.archunit.lang.CompositeArchRule.Creator
- of(ArchRule) - Static method in class com.tngtech.archunit.lang.CompositeArchRule
- of(MetricsComponent<T>...) - Static method in class com.tngtech.archunit.library.metrics.MetricsComponents
- of(Iterable<? extends ArchRule>) - Static method in class com.tngtech.archunit.lang.CompositeArchRule
- of(Iterable<URL>) - Static method in class com.tngtech.archunit.core.importer.Locations
-
Directly converts the passed URLs to
locations
. - of(String) - Static method in class com.tngtech.archunit.core.domain.PackageMatcher
-
Creates a new
PackageMatcher
- of(String...) - Static method in class com.tngtech.archunit.core.domain.PackageMatchers
- of(String...) - Static method in class com.tngtech.archunit.library.dependencies.SliceIdentifier
- of(String, Collection<T>) - Static method in class com.tngtech.archunit.library.metrics.MetricsComponent
- of(String, T...) - Static method in class com.tngtech.archunit.library.metrics.MetricsComponent
- of(URI) - Static method in class com.tngtech.archunit.core.importer.Location
- of(URL) - Static method in class com.tngtech.archunit.core.importer.Location
- of(Path) - Static method in class com.tngtech.archunit.core.importer.Location
- of(Collection<MetricsComponent<T>>) - Static method in class com.tngtech.archunit.library.metrics.MetricsComponents
-
Creates
MetricsComponents
containing the supplied collection ofMetricsComponent
.
Note that the identifiers of the passed components must all be unique. - of(Collection<String>) - Static method in class com.tngtech.archunit.core.domain.PackageMatchers
- of(JarFile) - Static method in class com.tngtech.archunit.core.importer.Location
- of(List<String>) - Static method in class com.tngtech.archunit.library.dependencies.SliceIdentifier
- ofClass(Class<?>) - Static method in class com.tngtech.archunit.core.importer.Locations
-
Set of
locations
where the class file of the supplied class can be found.
Note that this is really a set, since the same (or in bad cases a different version of the same) class might be found within the classpath several times. - ofPackage(String) - Static method in class com.tngtech.archunit.core.importer.Locations
-
All
locations
in the classpath that match the supplied package. - onInstantiation(Constructor<?>, List<String>, Exception) - Static method in exception com.tngtech.archunit.base.ArchUnitException.ClassResolverConfigurationException
- onionArchitecture() - Static method in class com.tngtech.archunit.library.Architectures
- onLoadingClass(String, Throwable) - Static method in exception com.tngtech.archunit.base.ArchUnitException.ClassResolverConfigurationException
- ONLY_INCLUDE_TESTS - Enum constant in enum class com.tngtech.archunit.core.importer.ImportOption.Predefined
- onlyAccessClassesThat() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that all classes selected by this rule ONLY access certain classes (compare
ClassesShould.accessClassesThat()
).
E.g. - onlyAccessClassesThat(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- onlyAccessClassesThat(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that all classes selected by this rule ONLY access certain classes (compare
ClassesShould.accessClassesThat(DescribedPredicate)
).
E.g. - onlyAccessFieldsThat(DescribedPredicate<? super JavaField>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- onlyAccessFieldsThat(DescribedPredicate<? super JavaField>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Matches all field accesses against the supplied predicate.
- onlyAccessMembersThat(DescribedPredicate<? super JavaMember>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- onlyAccessMembersThat(DescribedPredicate<? super JavaMember>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Matches all members calls against the supplied predicate.
- onlyBeAccessed() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that only certain classes access the classes selected by this rule.
E.g. - onlyBeAccessedByAnyPackage(String...) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- onlyBeAccessedByClassesThat(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- OnlyBeAccessedSpecification<CONJUNCTION> - Interface in com.tngtech.archunit.lang.syntax.elements
- onlyBeCalled() - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShould
-
Asserts that only certain objects call the code units selected by this rule.
- onlyBeCalledByClassesThat(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- onlyBeCalledByCodeUnitsThat(DescribedPredicate<? super JavaCodeUnit>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- onlyBeCalledByConstructorsThat(DescribedPredicate<? super JavaConstructor>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- onlyBeCalledByMethodsThat(DescribedPredicate<? super JavaMethod>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- OnlyBeCalledSpecification<CONJUNCTION> - Interface in com.tngtech.archunit.lang.syntax.elements
- onlyCallCodeUnitsThat(DescribedPredicate<? super JavaCodeUnit>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- onlyCallCodeUnitsThat(DescribedPredicate<? super JavaCodeUnit>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Matches all code unit calls against the supplied predicate.
- onlyCallConstructorsThat(DescribedPredicate<? super JavaConstructor>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- onlyCallConstructorsThat(DescribedPredicate<? super JavaConstructor>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Matches all constructor calls against the supplied predicate.
- onlyCallMethodsThat(DescribedPredicate<? super JavaMethod>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- onlyCallMethodsThat(DescribedPredicate<? super JavaMethod>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Matches all method calls against the supplied predicate.
- onlyConsiderDependencies(Predicate<? super Dependency>) - Method in class com.tngtech.archunit.library.cycle_detection.rules.CycleArchCondition.Builder
- onlyDependOnClassesThat() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that all classes selected by this rule ONLY depend on certain classes (compare
ClassesShould.dependOnClassesThat()
).
E.g. - onlyDependOnClassesThat(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- onlyDependOnClassesThat(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that all classes selected by this rule ONLY depend on certain classes (compare
ClassesShould.dependOnClassesThat(DescribedPredicate)
).
E.g. - onlyDependOnEachOtherThroughClassesThat() - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesShould
-
Like
ModulesShould.onlyDependOnEachOtherThroughClassesThat(DescribedPredicate)
but allows to specify the predicate in a fluent way. - onlyDependOnEachOtherThroughClassesThat(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesShould
-
Checks that the
target classes
of eachDependency
that originate from oneArchModule
and target anotherArchModule
satisfy the passedpredicate
. - onlyDependOnEachOtherThroughPackagesDeclaredIn(String) - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesByAnnotationShould
-
Checks that the
target classes
of eachDependency
that originate from oneArchModule
and target anotherArchModule
reside in a package that matches a package identifier declared withinModulesByAnnotationShould
. - onlyHaveDependenciesInAnyPackage(String...) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- onlyHaveDependenciesWhere(DescribedPredicate<? super Dependency>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- onlyHaveDependentClassesThat() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that only certain classes depend on the classes selected by this rule.
E.g. - onlyHaveDependentClassesThat(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- onlyHaveDependentClassesThat(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that only certain classes depend on the classes selected by this rule.
E.g. - onlyHaveDependentsInAnyPackage(String...) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- onlyHaveDependentsWhere(DescribedPredicate<? super Dependency>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- OnlyIncludeTests() - Constructor for class com.tngtech.archunit.core.importer.ImportOption.OnlyIncludeTests
- onResultOf(Function<? super F, ? extends T>) - Method in class com.tngtech.archunit.base.DescribedPredicate
- onWrongArguments(Class<?>, Throwable) - Static method in exception com.tngtech.archunit.base.ArchUnitException.ClassResolverConfigurationException
- onWrongConstructor(Class<?>, List<String>) - Static method in exception com.tngtech.archunit.base.ArchUnitException.ClassResolverConfigurationException
- optionalContains(DescribedPredicate<? super T>) - Static method in class com.tngtech.archunit.base.DescribedPredicate
- optionalEmpty() - Static method in class com.tngtech.archunit.base.DescribedPredicate
- optionalLayer(String) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture
-
Starts the definition of a new optional layer within the current
LayeredArchitecture
. - Optionals - Class in com.tngtech.archunit.base
- or() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenClassesConjunction
- or() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenCodeUnitsConjunction
- or() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenFieldsConjunction
- or() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenMembersConjunction
-
Like
GivenMembersConjunction.or(DescribedPredicate)
but allows to pick the predicate to join by a fluent API. - or() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenMethodsConjunction
- or(DescribedPredicate<? super CODE_UNIT>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenCodeUnitsConjunction
- or(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenClassesConjunction
- or(DescribedPredicate<? super JavaConstructor>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenConstructorsConjunction
- or(DescribedPredicate<? super JavaField>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenFieldsConjunction
- or(DescribedPredicate<? super JavaMethod>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenMethodsConjunction
- or(DescribedPredicate<? super Slice>) - Method in interface com.tngtech.archunit.library.dependencies.syntax.GivenSlicesConjunction
- or(DescribedPredicate<? super ArchModule<AnnotationDescriptor<ANNOTATION>>>) - Method in interface com.tngtech.archunit.library.modules.syntax.GivenModulesByAnnotationConjunction
- or(DescribedPredicate<? super ArchModule<DESCRIPTOR>>) - Method in interface com.tngtech.archunit.library.modules.syntax.GivenModulesConjunction
- or(DescribedPredicate<? super MEMBER>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenMembersConjunction
- or(DescribedPredicate<? super OBJECTS>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenConjunction
-
Combines the current predicate (e.g.
- or(DescribedPredicate<? super T>) - Method in class com.tngtech.archunit.base.DescribedPredicate
- or(DescribedPredicate<? super T>...) - Static method in class com.tngtech.archunit.base.DescribedPredicate
- or(ArchCondition<? super T>) - Method in class com.tngtech.archunit.lang.ArchCondition
- or(ArchCondition<T>, ArchCondition<T>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- or(Iterable<? extends DescribedPredicate<? super T>>) - Static method in class com.tngtech.archunit.base.DescribedPredicate
- origin() - Static method in class com.tngtech.archunit.core.domain.JavaAccess.Functions.Get
- origin(DescribedPredicate<? super JavaCodeUnit>) - Static method in class com.tngtech.archunit.core.domain.JavaAccess.Predicates
- originOwner(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.core.domain.JavaAccess.Predicates
- originOwnerEqualsTargetOwner() - Static method in class com.tngtech.archunit.core.domain.JavaAccess.Predicates
- orShould() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShouldConjunction
-
Like
ClassesShouldConjunction.orShould(ArchCondition)
but offers a fluent API to pick the condition to join. - orShould() - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShouldConjunction
- orShould() - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsShouldConjunction
- orShould() - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShouldConjunction
-
Same as
ClassesShouldConjunction.orShould()
but forJavaMember
- orShould() - Method in interface com.tngtech.archunit.lang.syntax.elements.MethodsShouldConjunction
- orShould(ArchCondition<? super CODE_UNIT>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShouldConjunction
- orShould(ArchCondition<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShouldConjunction
-
Joins another condition to this rule with
or
semantics. - orShould(ArchCondition<? super JavaField>) - Method in interface com.tngtech.archunit.lang.syntax.elements.FieldsShouldConjunction
- orShould(ArchCondition<? super JavaMethod>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MethodsShouldConjunction
- orShould(ArchCondition<? super MEMBER>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShouldConjunction
-
Same as
ClassesShouldConjunction.orShould(ArchCondition)
but forJavaMember
- owner() - Static method in class com.tngtech.archunit.core.domain.properties.HasOwner.Functions.Get
- owner(DescribedPredicate<? super T>) - Static method in class com.tngtech.archunit.core.domain.properties.HasOwner.Predicates.With
P
- PackageMatcher - Class in com.tngtech.archunit.core.domain
-
Matches packages with a syntax similar to AspectJ.
- PackageMatcher.Result - Class in com.tngtech.archunit.core.domain
- PackageMatchers - Class in com.tngtech.archunit.core.domain
- persistIn(ViolationStore) - Method in class com.tngtech.archunit.library.freeze.FreezingArchRule
-
Allows to reconfigure the
ViolationStore
to use. - PlantUmlArchCondition - Class in com.tngtech.archunit.library.plantuml.rules
-
Allows to evaluate PlantUML Component Diagrams as ArchUnit rules.
- PlantUmlArchCondition.Configuration - Class in com.tngtech.archunit.library.plantuml.rules
-
Used to specify which dependencies should be checked by the condition.
- plugInAnnotationPropertiesFormatter(InitialConfiguration<AnnotationPropertiesFormatter>) - Method in class com.tngtech.archunit.core.domain.Java14DomainPlugin
- PluginLoader<T> - Class in com.tngtech.archunit.core
- PluginLoader.Creator<T> - Class in com.tngtech.archunit.core
- PluginLoader.Creator.PluginEntry - Class in com.tngtech.archunit.core
- PluginLoader.JavaVersion - Enum Class in com.tngtech.archunit.core
- PredicateAggregator<T> - Class in com.tngtech.archunit.lang.syntax
- PredicateAggregator() - Constructor for class com.tngtech.archunit.lang.syntax.PredicateAggregator
- Predicates - Class in com.tngtech.archunit.base
- priority(Priority) - Static method in class com.tngtech.archunit.lang.CompositeArchRule
- priority(Priority) - Static method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition
- Priority - Enum Class in com.tngtech.archunit.lang
- PRIVATE - Enum constant in enum class com.tngtech.archunit.core.domain.JavaModifier
- PROTECTED - Enum constant in enum class com.tngtech.archunit.core.domain.JavaModifier
- ProxyRules - Class in com.tngtech.archunit.library
-
ProxyRules provides a set of general
ArchConditions
andArchRules
for checking the usage of proxies. - PUBLIC - Enum constant in enum class com.tngtech.archunit.core.domain.JavaModifier
- PublicAPI - Annotation Interface in com.tngtech.archunit
-
Marks classes and members that are part of ArchUnit's public API.
- PublicAPI.State - Enum Class in com.tngtech.archunit
- PublicAPI.Usage - Enum Class in com.tngtech.archunit
R
- rawParameterTypes(DescribedPredicate<? super List<JavaClass>>) - Static method in class com.tngtech.archunit.core.domain.properties.HasParameterTypes.Predicates
- rawParameterTypes(Class<?>...) - Static method in class com.tngtech.archunit.core.domain.properties.HasParameterTypes.Predicates
- rawParameterTypes(String...) - Static method in class com.tngtech.archunit.core.domain.properties.HasParameterTypes.Predicates
- rawParameterTypes(List<String>) - Static method in class com.tngtech.archunit.core.domain.properties.HasParameterTypes.Predicates
- rawReturnType(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.core.domain.properties.HasReturnType.Predicates
- rawReturnType(Class<?>) - Static method in class com.tngtech.archunit.core.domain.properties.HasReturnType.Predicates
- rawReturnType(String) - Static method in class com.tngtech.archunit.core.domain.properties.HasReturnType.Predicates
- rawType(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.core.domain.properties.HasType.Predicates
- rawType(Class<?>) - Static method in class com.tngtech.archunit.core.domain.properties.HasType.Predicates
- rawType(String) - Static method in class com.tngtech.archunit.core.domain.properties.HasType.Predicates
- reason() - Element in annotation interface com.tngtech.archunit.base.MayResolveTypesViaReflection
- RECORDS - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- ReferencedClassObject - Class in com.tngtech.archunit.core.domain
- ReferencedClassObject.Functions - Class in com.tngtech.archunit.core.domain
-
Predefined
functions
to transformReferencedClassObject
. - reflect() - Method in class com.tngtech.archunit.core.domain.JavaClass
- reflect() - Method in class com.tngtech.archunit.core.domain.JavaConstructor
- reflect() - Method in class com.tngtech.archunit.core.domain.JavaField
- reflect() - Method in class com.tngtech.archunit.core.domain.JavaMember
- reflect() - Method in class com.tngtech.archunit.core.domain.JavaMethod
- reflect() - Method in class com.tngtech.archunit.core.domain.JavaStaticInitializer
- ReflectionException(Throwable) - Constructor for exception com.tngtech.archunit.base.ArchUnitException.ReflectionException
- ReflectionUtils - Class in com.tngtech.archunit.base
- remove(int) - Method in class com.tngtech.archunit.base.ForwardingList
- remove(Object) - Method in class com.tngtech.archunit.base.ForwardingCollection
- removeAll(Collection<?>) - Method in class com.tngtech.archunit.base.ForwardingCollection
- reset() - Method in class com.tngtech.archunit.ArchConfiguration
- resideInAnyPackage(String...) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- resideInAnyPackage(String...) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- resideInAnyPackage(String...) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- resideInAnyPackage(String...) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes reside in a package matching any of the supplied package identifiers.
- resideInAnyPackage(String...) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes residing in a package matching any of the supplied package identifiers.
- resideInAPackage(String) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
-
Offers a syntax to identify packages similar to AspectJ.
- resideInAPackage(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- resideInAPackage(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- resideInAPackage(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes reside in a package matching the supplied package identifier.
- resideInAPackage(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes residing in a package matching the supplied package identifier.
- resideOutsideOfPackage(String) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- resideOutsideOfPackage(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- resideOutsideOfPackage(String) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- resideOutsideOfPackage(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes do not reside in a package matching the supplied package identifier.
- resideOutsideOfPackage(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes not residing in a package matching the supplied package identifier.
- resideOutsideOfPackages(String...) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- resideOutsideOfPackages(String...) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- resideOutsideOfPackages(String...) - Method in class com.tngtech.archunit.lang.syntax.ClassesThatInternal
- resideOutsideOfPackages(String...) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes do not reside in a package matching any of the supplied package identifiers.
- resideOutsideOfPackages(String...) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes not residing in a package matching any of the supplied package identifiers.
- RESOLVE_MEMBER - Static variable in class com.tngtech.archunit.core.domain.AccessTarget.CodeUnitAccessTarget.Functions
- RESOLVE_MEMBER - Static variable in class com.tngtech.archunit.core.domain.AccessTarget.ConstructorCallTarget.Functions
- RESOLVE_MEMBER - Static variable in class com.tngtech.archunit.core.domain.AccessTarget.ConstructorReferenceTarget.Functions
- RESOLVE_MEMBER - Static variable in class com.tngtech.archunit.core.domain.AccessTarget.FieldAccessTarget.Functions
- RESOLVE_MEMBER - Static variable in class com.tngtech.archunit.core.domain.AccessTarget.Functions
- RESOLVE_MEMBER - Static variable in class com.tngtech.archunit.core.domain.AccessTarget.MethodCallTarget.Functions
- RESOLVE_MEMBER - Static variable in class com.tngtech.archunit.core.domain.AccessTarget.MethodReferenceTarget.Functions
- RESOLVE_MISSING_DEPENDENCIES_FROM_CLASS_PATH - Static variable in class com.tngtech.archunit.ArchConfiguration
- resolveClass() - Method in interface com.tngtech.archunit.core.domain.JavaClassDescriptor
- resolveClass(ClassLoader) - Method in interface com.tngtech.archunit.core.domain.JavaClassDescriptor
- resolveClass(String) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- resolveMember() - Method in class com.tngtech.archunit.core.domain.AccessTarget.CodeUnitAccessTarget
-
Tries to resolve the targeted method or constructor.
- resolveMember() - Method in class com.tngtech.archunit.core.domain.AccessTarget.ConstructorCallTarget
- resolveMember() - Method in class com.tngtech.archunit.core.domain.AccessTarget.ConstructorReferenceTarget
- resolveMember() - Method in class com.tngtech.archunit.core.domain.AccessTarget.FieldAccessTarget
-
Attempts to resolve an imported field that has the same type and name as this target.
The result will be the only accessible field that the origin can reach. - resolveMember() - Method in class com.tngtech.archunit.core.domain.AccessTarget.MethodCallTarget
-
Attempts to resolve an imported method that matches this target.
- resolveMember() - Method in class com.tngtech.archunit.core.domain.AccessTarget.MethodReferenceTarget
-
Attempts to resolve an imported method that matches this target.
- resolveMember() - Method in class com.tngtech.archunit.core.domain.AccessTarget
-
Attempts to resolve the targeted member (method, field or constructor).
- resolveMissingDependenciesFromClassPath() - Method in class com.tngtech.archunit.ArchConfiguration
- ResolvesTypesViaReflection - Annotation Interface in com.tngtech.archunit.base
-
Marks the methods or classes that resolve types via reflection so we can use it for architecture assertions.
- respectTheirAllowedDependencies(DescribedPredicate<? super ModuleDependency<DESCRIPTOR>>, ModuleDependencyScope) - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesShould
-
Creates a rule to check that the
ArchModule
s under consideration don't have any forbiddenmodule dependencies
according to the passedallowedDependencyPredicate
. - respectTheirAllowedDependencies(AllowedModuleDependencies, ModuleDependencyScope) - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesShould
-
Convenience API for
ModulesShould.respectTheirAllowedDependencies(DescribedPredicate, ModuleDependencyScope)
that allows to statically define whichmodules
may depend on which othermodules
bymodule name
. - respectTheirAllowedDependenciesDeclaredIn(String, ModuleDependencyScope) - Method in interface com.tngtech.archunit.library.modules.syntax.ModulesByAnnotationShould
-
Like
ModulesShould.respectTheirAllowedDependencies(DescribedPredicate, ModuleDependencyScope)
, but the allowed dependencies will be automatically derived from theModulesByAnnotationShould
property namedannotationPropertyName
. - retainAll(Collection<?>) - Method in class com.tngtech.archunit.base.ForwardingCollection
- retrieveClassesBy(Function<? super COMPONENT, Iterable<JavaClass>>) - Method in class com.tngtech.archunit.library.cycle_detection.rules.CycleArchCondition.Builder
- retrieveClassesBy(Function<? super COMPONENT, Iterable<JavaClass>>) - Method in interface com.tngtech.archunit.library.cycle_detection.rules.CycleArchCondition.NeedsRetrieveClasses
- retrieveDescriptionBy(Function<? super COMPONENT, String>) - Method in class com.tngtech.archunit.library.cycle_detection.rules.CycleArchCondition.Builder
- retrieveDescriptionBy(Function<? super COMPONENT, String>) - Method in interface com.tngtech.archunit.library.cycle_detection.rules.CycleArchCondition.NeedsRetrieveDescription
- retrieveOutgoingDependenciesBy(Function<? super COMPONENT, Set<Dependency>>) - Method in class com.tngtech.archunit.library.cycle_detection.rules.CycleArchCondition.Builder
- retrieveOutgoingDependenciesBy(Function<? super COMPONENT, Set<Dependency>>) - Method in interface com.tngtech.archunit.library.cycle_detection.rules.CycleArchCondition.NeedsRetrieveOutgoingDependencies
S
- satisfied(Object, String) - Static method in class com.tngtech.archunit.lang.SimpleConditionEvent
- save(ArchRule, List<String>) - Method in class com.tngtech.archunit.library.freeze.TextFileBasedViolationStore
- save(ArchRule, List<String>) - Method in class com.tngtech.archunit.library.freeze.ViolationStore.Delegate
- save(ArchRule, List<String>) - Method in interface com.tngtech.archunit.library.freeze.ViolationStore
-
Provides a way to initially store or later update violations of an
ArchRule
. - SelectedClassResolverFromClasspath - Class in com.tngtech.archunit.core.importer.resolvers
-
Only resolves classes from classpath that are beneath the configured
SelectedClassResolverFromClasspath.packageRoots
. - SelectedClassResolverFromClasspath(List<String>) - Constructor for class com.tngtech.archunit.core.importer.resolvers.SelectedClassResolverFromClasspath
- set(int, T) - Method in class com.tngtech.archunit.base.ForwardingList
- set(T) - Method in class com.tngtech.archunit.core.InitialConfiguration
- SET - Enum constant in enum class com.tngtech.archunit.core.domain.JavaFieldAccess.AccessType
- setClassResolver(Class<? extends ClassResolver>) - Method in class com.tngtech.archunit.ArchConfiguration
- setClassResolverArguments(String...) - Method in class com.tngtech.archunit.ArchConfiguration
- setClassUriImporter(ClassResolver.ClassUriImporter) - Method in interface com.tngtech.archunit.core.importer.resolvers.ClassResolver
-
Always called BEFORE
ClassResolver.tryResolve(String)
. - setClassUriImporter(ClassResolver.ClassUriImporter) - Method in class com.tngtech.archunit.core.importer.resolvers.ClassResolverFromClasspath
- setClassUriImporter(ClassResolver.ClassUriImporter) - Method in class com.tngtech.archunit.core.importer.resolvers.SelectedClassResolverFromClasspath
- setExtensionProperties(String, Properties) - Method in class com.tngtech.archunit.ArchConfiguration
- setField(Class<?>, String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- setField(Class<?>, String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Matches against setting a specific field (e.g.
- setField(String, String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- setField(String, String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Matches against setting a specific field (e.g.
- setFieldWhere(DescribedPredicate<? super JavaFieldAccess>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- setFieldWhere(DescribedPredicate<? super JavaFieldAccess>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Matches against setting of fields, where origin (a method or constructor) and target (a field) can be freely restricted by the supplied predicate.
- setInformationAboutNumberOfViolations(String) - Method in interface com.tngtech.archunit.lang.ConditionEvents
-
Can be used to override the information about the number of violations.
- setMd5InClassSourcesEnabled(boolean) - Method in class com.tngtech.archunit.ArchConfiguration
- setProperty(String, Object) - Method in class com.tngtech.archunit.ArchConfiguration.ExtensionProperties
- setProperty(String, String) - Method in class com.tngtech.archunit.ArchConfiguration
-
Overwrites a property of the global ArchUnit configuration.
- setResolveMissingDependenciesFromClassPath(boolean) - Method in class com.tngtech.archunit.ArchConfiguration
- should() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenClass
-
Like
GivenClasses.should()
but for a single class - should() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenClasses
-
Allows to specify assertions for the set of classes under consideration.
- should() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenClassesConjunction
- should() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenCodeUnits
- should() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenCodeUnitsConjunction
- should() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenFields
- should() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenFieldsConjunction
- should() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenMembers
-
Allows to specify assertions for the set of members under consideration.
- should() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenMembersConjunction
-
Like
GivenMembersConjunction.should(ArchCondition)
but allows to pick the condition to join by a fluent API. - should() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenMethods
- should() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenMethodsConjunction
- should() - Method in interface com.tngtech.archunit.library.dependencies.syntax.GivenNamedSlices
- should() - Method in interface com.tngtech.archunit.library.dependencies.syntax.GivenSlicesConjunction
-
Like
GivenConjunction.should(ArchCondition)
but allows to pick theArchCondition
by a fluent API. - should() - Method in interface com.tngtech.archunit.library.modules.syntax.GivenModules
-
Allows to specify assertions for the set of
ArchModule
s under consideration. - should() - Method in interface com.tngtech.archunit.library.modules.syntax.GivenModulesByAnnotation
- should() - Method in interface com.tngtech.archunit.library.modules.syntax.GivenModulesByAnnotationConjunction
- should() - Method in interface com.tngtech.archunit.library.modules.syntax.GivenModulesConjunction
- should() - Method in class com.tngtech.archunit.library.modules.syntax.ModuleRuleDefinition.PackagesDefinition
- should() - Method in class com.tngtech.archunit.library.modules.syntax.ModuleRuleDefinition.RootClassesDefinition
- should(ArchCondition<? super CODE_UNIT>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenCodeUnits
- should(ArchCondition<? super CODE_UNIT>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenCodeUnitsConjunction
- should(ArchCondition<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenClass
-
Like
GivenClasses.should(ArchCondition)
but for a single class - should(ArchCondition<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenClasses
-
Allows to specify assertions for the set of classes under consideration.
- should(ArchCondition<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenClassesConjunction
- should(ArchCondition<? super JavaField>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenFields
- should(ArchCondition<? super JavaField>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenFieldsConjunction
- should(ArchCondition<? super JavaMethod>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenMethods
- should(ArchCondition<? super JavaMethod>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenMethodsConjunction
- should(ArchCondition<? super ArchModule<ArchModule.Descriptor>>) - Method in class com.tngtech.archunit.library.modules.syntax.ModuleRuleDefinition.PackagesDefinition
- should(ArchCondition<? super ArchModule<DESCRIPTOR>>) - Method in class com.tngtech.archunit.library.modules.syntax.ModuleRuleDefinition.RootClassesDefinition
- should(ArchCondition<? super MEMBER>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenMembers
-
Allows to specify assertions for the set of members under consideration.
- should(ArchCondition<? super MEMBER>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenMembersConjunction
- should(ArchCondition<? super OBJECTS>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenConjunction
- should(ArchCondition<? super T>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenObjects
-
Allows to form a rule by passing a condition the objects under consideration must satisfy.
- SimpleConditionEvent - Class in com.tngtech.archunit.lang
- SimpleConditionEvent(Object, boolean, String) - Constructor for class com.tngtech.archunit.lang.SimpleConditionEvent
- simpleName(String) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- simpleNameContaining(String) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- simpleNameEndingWith(String) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- simpleNameStartingWith(String) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- size() - Method in class com.tngtech.archunit.base.ForwardingCollection
- size() - Method in class com.tngtech.archunit.core.domain.ThrowsClause
- Slice - Class in com.tngtech.archunit.library.dependencies
-
A collection of
JavaClasses
modelling some domain aspect of a code basis. - SliceAssignment - Interface in com.tngtech.archunit.library.dependencies
-
A mapping
JavaClass
->SliceIdentifier
which defines how to partition a set ofJavaClasses
intoSlices
. - SliceDependency - Class in com.tngtech.archunit.library.dependencies
- SliceIdentifier - Class in com.tngtech.archunit.library.dependencies
-
A unique identifier of a
Slice
. - SliceRule - Class in com.tngtech.archunit.library.dependencies
- slices() - Static method in class com.tngtech.archunit.library.dependencies.SlicesRuleDefinition
-
Entry point into
SlicesRuleDefinition
- Slices - Class in com.tngtech.archunit.library.dependencies
-
Basic collection of
Slice
for tests of dependencies between different domain packages, e.g. - Slices.Transformer - Class in com.tngtech.archunit.library.dependencies
- SlicesRuleDefinition - Class in com.tngtech.archunit.library.dependencies
-
Allows to specify
ArchRules
for "slices" of a code base. - SlicesRuleDefinition.Creator - Class in com.tngtech.archunit.library.dependencies
- SlicesShould - Interface in com.tngtech.archunit.library.dependencies.syntax
- Source - Class in com.tngtech.archunit.core.domain
-
Contains information about an imported class, i.e.
- Source.Md5sum - Class in com.tngtech.archunit.core.domain
- SourceCodeLocation - Class in com.tngtech.archunit.core.domain
-
Location in the source code of an ArchUnit domain object.
- STABLE - Enum constant in enum class com.tngtech.archunit.PublicAPI.State
-
This API is stable for the foreseeable future and will not change in the next couple of major releases.
- state() - Element in annotation interface com.tngtech.archunit.PublicAPI
-
Marks the state of this API, i.e.
- STATIC - Enum constant in enum class com.tngtech.archunit.core.domain.JavaModifier
- STATIC_INITIALIZER_NAME - Static variable in class com.tngtech.archunit.core.domain.JavaStaticInitializer
- stream() - Method in class com.tngtech.archunit.library.dependencies.Slices
- stream(Optional<T>) - Static method in class com.tngtech.archunit.base.Optionals
- subList(int, int) - Method in class com.tngtech.archunit.base.ForwardingList
- Suppliers - Class in com.tngtech.archunit.base
- Suppliers() - Constructor for class com.tngtech.archunit.base.Suppliers
- SYNCHRONIZED - Enum constant in enum class com.tngtech.archunit.core.domain.JavaModifier
- SYNTHETIC - Enum constant in enum class com.tngtech.archunit.core.domain.JavaModifier
T
- target() - Static method in class com.tngtech.archunit.core.domain.JavaAccess.Functions.Get
- target(DescribedPredicate<? super AccessTarget.CodeUnitAccessTarget>) - Static method in class com.tngtech.archunit.core.domain.JavaCodeUnitAccess.Predicates
- target(DescribedPredicate<? super AccessTarget.CodeUnitCallTarget>) - Static method in class com.tngtech.archunit.core.domain.JavaCall.Predicates
- target(DescribedPredicate<? super AccessTarget.CodeUnitReferenceTarget>) - Static method in class com.tngtech.archunit.core.domain.JavaCodeUnitReference.Predicates
- target(DescribedPredicate<? super AccessTarget.FieldAccessTarget>) - Static method in class com.tngtech.archunit.core.domain.JavaFieldAccess.Predicates
- target(DescribedPredicate<? super AccessTarget>) - Static method in class com.tngtech.archunit.core.domain.JavaAccess.Predicates
- targetOwner(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.core.domain.JavaAccess.Predicates
- test(String) - Method in class com.tngtech.archunit.core.domain.PackageMatchers
- test(T) - Method in class com.tngtech.archunit.lang.syntax.PredicateAggregator
- testClassesShouldResideInTheSamePackageAsImplementation() - Static method in class com.tngtech.archunit.library.GeneralCodingRules
-
A rule that checks that every test class has the same package as the implementation class.
The rule assumes that tests can be identified by having the same name as the implementation class, but suffixed with "Test" (e.g. - testClassesShouldResideInTheSamePackageAsImplementation(String) - Static method in class com.tngtech.archunit.library.GeneralCodingRules
-
A rule that checks that every test class resides in the same package as the implementation class.
This rule will identify "test classes" solely by class name convention. - TextFileBasedViolationStore - Class in com.tngtech.archunit.library.freeze
-
A text file based implementation of a
ViolationStore
.
ThisViolationStore
will store the violations of every singleFreezingArchRule
in a dedicated file.
It will keep an index of all stored rules as well as a mapping to the individual rule violation files in the same folder.
By default, the layout within the configured store folder will look like: - TextFileBasedViolationStore() - Constructor for class com.tngtech.archunit.library.freeze.TextFileBasedViolationStore
-
Creates a standard
TextFileBasedViolationStore
that names rule violation files by randomUUID
s - TextFileBasedViolationStore(TextFileBasedViolationStore.RuleViolationFileNameStrategy) - Constructor for class com.tngtech.archunit.library.freeze.TextFileBasedViolationStore
-
Creates a
TextFileBasedViolationStore
with a custom strategy for rule violation file naming - TextFileBasedViolationStore.RuleViolationFileNameStrategy - Interface in com.tngtech.archunit.library.freeze
-
Allows to adjust the rule violation file names of
TextFileBasedViolationStore
- that() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenClasses
-
Allows to restrict the set of classes under consideration.
- that() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenCodeUnits
- that() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenFields
- that() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenMembers
-
Allows to restrict the set of members under consideration.
- that() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenMethods
- that(DescribedPredicate<? super CODE_UNIT>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenCodeUnits
- that(DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.core.domain.JavaClasses
- that(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenClasses
-
Allows to restrict the set of classes under consideration.
- that(DescribedPredicate<? super JavaField>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenFields
- that(DescribedPredicate<? super JavaMethod>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenMethods
- that(DescribedPredicate<? super Slice>) - Method in class com.tngtech.archunit.library.dependencies.Slices.Transformer
- that(DescribedPredicate<? super Slice>) - Method in interface com.tngtech.archunit.library.dependencies.syntax.GivenNamedSlices
- that(DescribedPredicate<? super ArchModule<AnnotationDescriptor<ANNOTATION>>>) - Method in interface com.tngtech.archunit.library.modules.syntax.GivenModulesByAnnotation
- that(DescribedPredicate<? super ArchModule<ArchModule.Descriptor>>) - Method in class com.tngtech.archunit.library.modules.syntax.ModuleRuleDefinition.PackagesDefinition
- that(DescribedPredicate<? super ArchModule<DESCRIPTOR>>) - Method in interface com.tngtech.archunit.library.modules.syntax.GivenModules
- that(DescribedPredicate<? super ArchModule<DESCRIPTOR>>) - Method in class com.tngtech.archunit.library.modules.syntax.ModuleRuleDefinition.RootClassesDefinition
- that(DescribedPredicate<? super MEMBER>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenMembers
-
Allows to restrict the set of members under consideration.
- that(DescribedPredicate<? super T>) - Method in class com.tngtech.archunit.lang.AbstractClassesTransformer
- that(DescribedPredicate<? super T>) - Method in interface com.tngtech.archunit.lang.ClassesTransformer
-
Can be used to further filter the transformation result.
- that(DescribedPredicate<? super T>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenObjects
-
Allows to restrict the set of objects under consideration.
- thatANDs() - Method in class com.tngtech.archunit.lang.syntax.PredicateAggregator
- thatORs() - Method in class com.tngtech.archunit.lang.syntax.PredicateAggregator
- theClass(Class<?>) - Method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition.Creator
- theClass(Class<?>) - Static method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition
- theClass(String) - Method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition.Creator
- theClass(String) - Static method in class com.tngtech.archunit.lang.syntax.ArchRuleDefinition
- then(Function<? super T, ? extends U>) - Method in class com.tngtech.archunit.base.ChainableFunction
- THROW_GENERIC_EXCEPTIONS - Static variable in class com.tngtech.archunit.library.GeneralCodingRules
-
A condition that matches classes that throw generic exceptions like
Exception
,RuntimeException
, orThrowable
. - throwsClause() - Static method in class com.tngtech.archunit.core.domain.JavaCodeUnit.Functions.Get
- throwsClause(DescribedPredicate<? super ThrowsClause<?>>) - Static method in class com.tngtech.archunit.core.domain.properties.HasThrowsClause.Predicates
- ThrowsClause<LOCATION extends HasParameterTypes & HasReturnType & HasName.AndFullName & CanBeAnnotated & HasOwner<JavaClass>> - Class in com.tngtech.archunit.core.domain
- ThrowsClause.Functions - Class in com.tngtech.archunit.core.domain
-
Predefined
functions
to transformThrowsClause
. - throwsClauseContainingType(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.core.domain.properties.HasThrowsClause.Predicates
- throwsClauseContainingType(Class<? extends Throwable>) - Static method in class com.tngtech.archunit.core.domain.properties.HasThrowsClause.Predicates
- throwsClauseContainingType(String) - Static method in class com.tngtech.archunit.core.domain.properties.HasThrowsClause.Predicates
- throwsClauseWithTypes(Class<? extends Throwable>...) - Static method in class com.tngtech.archunit.core.domain.properties.HasThrowsClause.Predicates
- throwsClauseWithTypes(String...) - Static method in class com.tngtech.archunit.core.domain.properties.HasThrowsClause.Predicates
- throwsClauseWithTypes(List<String>) - Static method in class com.tngtech.archunit.core.domain.properties.HasThrowsClause.Predicates
- ThrowsDeclaration<LOCATION extends HasParameterTypes & HasReturnType & HasName.AndFullName & CanBeAnnotated & HasOwner<JavaClass>> - Class in com.tngtech.archunit.core.domain
-
Represents one declared exception of a
ThrowsClause
. - ThrowsDeclaration.Functions - Class in com.tngtech.archunit.core.domain
-
Predefined
functions
to transformThrowsDeclaration
. - ThrowsDeclaration.Functions.Get - Class in com.tngtech.archunit.core.domain
- TO_ERASURE - Static variable in class com.tngtech.archunit.core.domain.JavaType.Functions
- TO_GROUPS - Static variable in class com.tngtech.archunit.core.domain.PackageMatcher
- toAnnotationOfType(Class<A>) - Static method in class com.tngtech.archunit.core.domain.properties.CanBeAnnotated.Utils
- toArray() - Method in class com.tngtech.archunit.base.ForwardingCollection
- toArray(T1[]) - Method in class com.tngtech.archunit.base.ForwardingCollection
- toArrayDescriptor() - Method in interface com.tngtech.archunit.core.domain.JavaClassDescriptor
- toClassDependencies() - Method in class com.tngtech.archunit.library.modules.ModuleDependency
- toErasure() - Method in class com.tngtech.archunit.core.domain.JavaClass
- toErasure() - Method in class com.tngtech.archunit.core.domain.JavaGenericArrayType
- toErasure() - Method in interface com.tngtech.archunit.core.domain.JavaType
-
Converts this
JavaType
into the erased type (compare the Java Language Specification). - toErasure() - Method in class com.tngtech.archunit.core.domain.JavaTypeVariable
- toErasure() - Method in class com.tngtech.archunit.core.domain.JavaWildcardType
- toModules(String...) - Method in class com.tngtech.archunit.library.modules.syntax.AllowedModuleDependencies.RequiringAllowedTargets
-
Defines the allowed target
module names
for the current originmodule name
- TOP_LEVEL_CLASSES - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- toString() - Method in class com.tngtech.archunit.base.DescribedFunction
- toString() - Method in class com.tngtech.archunit.base.DescribedPredicate
- toString() - Method in class com.tngtech.archunit.base.ForwardingCollection
- toString() - Method in class com.tngtech.archunit.core.domain.AccessTarget
- toString() - Method in class com.tngtech.archunit.core.domain.Dependency
- toString() - Method in class com.tngtech.archunit.core.domain.InstanceofCheck
- toString() - Method in class com.tngtech.archunit.core.domain.JavaAccess
- toString() - Method in class com.tngtech.archunit.core.domain.JavaAnnotation
- toString() - Method in class com.tngtech.archunit.core.domain.JavaClass
- toString() - Method in class com.tngtech.archunit.core.domain.JavaClasses
- toString() - Method in class com.tngtech.archunit.core.domain.JavaEnumConstant
- toString() - Method in class com.tngtech.archunit.core.domain.JavaGenericArrayType
- toString() - Method in class com.tngtech.archunit.core.domain.JavaMember
- toString() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- toString() - Method in class com.tngtech.archunit.core.domain.JavaParameter
- toString() - Method in class com.tngtech.archunit.core.domain.JavaTypeVariable
- toString() - Method in class com.tngtech.archunit.core.domain.JavaWildcardType
- toString() - Method in class com.tngtech.archunit.core.domain.PackageMatcher
- toString() - Method in class com.tngtech.archunit.core.domain.ReferencedClassObject
- toString() - Method in class com.tngtech.archunit.core.domain.Source.Md5sum
- toString() - Method in class com.tngtech.archunit.core.domain.Source
- toString() - Method in class com.tngtech.archunit.core.domain.SourceCodeLocation
- toString() - Method in class com.tngtech.archunit.core.domain.ThrowsClause
- toString() - Method in class com.tngtech.archunit.core.domain.ThrowsDeclaration
- toString() - Method in class com.tngtech.archunit.core.domain.TryCatchBlock
- toString() - Method in class com.tngtech.archunit.core.importer.Location
- toString() - Method in class com.tngtech.archunit.lang.AbstractClassesTransformer
- toString() - Method in class com.tngtech.archunit.lang.ArchCondition
- toString() - Method in class com.tngtech.archunit.lang.ArchRule.Transformation.As
- toString() - Method in class com.tngtech.archunit.lang.ArchRule.Transformation.Because
- toString() - Method in class com.tngtech.archunit.lang.conditions.AllDependenciesCondition
- toString() - Method in class com.tngtech.archunit.lang.conditions.AnyDependencyCondition
- toString() - Method in class com.tngtech.archunit.lang.FailureReport
- toString() - Method in class com.tngtech.archunit.lang.SimpleConditionEvent
- toString() - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture.LayerDefinition
- toString() - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture.LayerDependencySpecification
- toString() - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture
- toString() - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
- toString() - Method in class com.tngtech.archunit.library.dependencies.Slice
- toString() - Method in class com.tngtech.archunit.library.dependencies.SliceDependency
- toString() - Method in class com.tngtech.archunit.library.dependencies.SliceIdentifier
- toString() - Method in class com.tngtech.archunit.library.dependencies.SliceRule
- toString() - Method in class com.tngtech.archunit.library.freeze.FreezingArchRule
- toString() - Method in class com.tngtech.archunit.library.metrics.LakosMetrics
- toString() - Method in class com.tngtech.archunit.library.metrics.MetricsComponent
- toString() - Method in class com.tngtech.archunit.library.modules.ArchModule.Identifier
- toString() - Method in class com.tngtech.archunit.library.modules.ArchModule
- toString() - Method in class com.tngtech.archunit.library.modules.ModuleDependency
- toTargetClasses(Iterable<Dependency>) - Static method in class com.tngtech.archunit.core.domain.Dependency
- transform(JavaClasses) - Method in class com.tngtech.archunit.lang.AbstractClassesTransformer
- transform(JavaClasses) - Method in interface com.tngtech.archunit.lang.ClassesTransformer
-
Defines how to transform imported
JavaClasses
to the respective objects to test. - transform(JavaClasses) - Method in class com.tngtech.archunit.library.dependencies.Slices.Transformer
- transform(Iterable<Dependency>) - Method in class com.tngtech.archunit.library.dependencies.Slices.Transformer
- TRANSIENT - Enum constant in enum class com.tngtech.archunit.core.domain.JavaModifier
- TransitiveDependencyCondition - Class in com.tngtech.archunit.lang.conditions
- TransitiveDependencyCondition(DescribedPredicate<? super JavaClass>) - Constructor for class com.tngtech.archunit.lang.conditions.TransitiveDependencyCondition
- transitivelyDependOnClassesThat() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that all classes selected by this rule transitively depend on any matching classes.
It focuses on detecting all direct dependencies of the selected classes that are themselves matched or have any transitive dependencies on matched classes. - transitivelyDependOnClassesThat(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- transitivelyDependOnClassesThat(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that all classes selected by this rule transitively depend on any matching classes.
It focuses on detecting all direct dependencies of the selected classes that are themselves matched or have any transitive dependencies on matched classes. - traversePackageTree(Predicate<? super JavaClass>, JavaPackage.ClassVisitor) - Method in class com.tngtech.archunit.core.domain.JavaPackage
-
Traverses the package tree visiting each matching class.
- traversePackageTree(Predicate<? super JavaPackage>, JavaPackage.PackageVisitor) - Method in class com.tngtech.archunit.core.domain.JavaPackage
-
Traverses the package tree visiting each matching package.
- TryCatchBlock - Class in com.tngtech.archunit.core.domain
- tryGetAnnotationOfType(Class<A>) - Method in class com.tngtech.archunit.core.domain.JavaClass
- tryGetAnnotationOfType(Class<A>) - Method in class com.tngtech.archunit.core.domain.JavaMember
- tryGetAnnotationOfType(Class<A>) - Method in class com.tngtech.archunit.core.domain.JavaPackage
- tryGetAnnotationOfType(Class<A>) - Method in class com.tngtech.archunit.core.domain.JavaParameter
- tryGetAnnotationOfType(Class<A>) - Method in interface com.tngtech.archunit.core.domain.properties.HasAnnotations
- tryGetAnnotationOfType(String) - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Same as
JavaClass.tryGetAnnotationOfType(Class)
, but takes the type name. - tryGetAnnotationOfType(String) - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- tryGetAnnotationOfType(String) - Method in class com.tngtech.archunit.core.domain.JavaConstructor
- tryGetAnnotationOfType(String) - Method in class com.tngtech.archunit.core.domain.JavaField
- tryGetAnnotationOfType(String) - Method in class com.tngtech.archunit.core.domain.JavaMember
- tryGetAnnotationOfType(String) - Method in class com.tngtech.archunit.core.domain.JavaMethod
- tryGetAnnotationOfType(String) - Method in class com.tngtech.archunit.core.domain.JavaPackage
- tryGetAnnotationOfType(String) - Method in class com.tngtech.archunit.core.domain.JavaParameter
- tryGetAnnotationOfType(String) - Method in interface com.tngtech.archunit.core.domain.properties.HasAnnotations
- tryGetByIdentifier(String...) - Method in class com.tngtech.archunit.library.modules.ArchModules
- tryGetByName(String) - Method in class com.tngtech.archunit.library.modules.ArchModules
- tryGetCodeUnitWithParameterTypeNames(String, List<String>) - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Same as
JavaClass.getCodeUnitWithParameterTypeNames(String, List)
, but will returnOptional.empty()
if there is no suchJavaCodeUnit
. - tryGetCodeUnitWithParameterTypes(String, List<Class<?>>) - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Same as
JavaClass.getCodeUnitWithParameterTypes(String, List)
, but will returnOptional.empty()
if there is no suchJavaCodeUnit
. - tryGetComponent(String) - Method in class com.tngtech.archunit.library.metrics.MetricsComponents
- tryGetComponentType() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Returns the component type of this class, if this class is an array, otherwise
Optional.empty()
. - tryGetComponentType() - Method in interface com.tngtech.archunit.core.domain.JavaClassDescriptor
- tryGetConstructor() - Method in class com.tngtech.archunit.core.domain.JavaClass
- tryGetConstructor(Class<?>...) - Method in class com.tngtech.archunit.core.domain.JavaClass
- tryGetConstructor(String...) - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Same as
JavaClass.tryGetConstructor(Class[])
, but with parameter signature specified as fully qualified class names. - tryGetEnumConstant(String) - Method in class com.tngtech.archunit.core.domain.JavaClass
- tryGetExplicitlyDeclaredProperty(String) - Method in class com.tngtech.archunit.core.domain.JavaAnnotation
- tryGetField(String) - Method in class com.tngtech.archunit.core.domain.JavaClass
- tryGetMethod(String) - Method in class com.tngtech.archunit.core.domain.JavaClass
- tryGetMethod(String, Class<?>...) - Method in class com.tngtech.archunit.core.domain.JavaClass
- tryGetMethod(String, String...) - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Same as
JavaClass.tryGetMethod(String, Class[])
, but with parameter signature specified as fully qualified class names. - tryGetPackageInfo() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- tryImport(URI) - Method in interface com.tngtech.archunit.core.importer.resolvers.ClassResolver.ClassUriImporter
- tryResolve(String) - Method in interface com.tngtech.archunit.core.importer.resolvers.ClassResolver
-
ArchUnit will call this method, to resolve any missing
JavaClasses
, needed to build the class graph (i.e. - tryResolve(String) - Method in class com.tngtech.archunit.core.importer.resolvers.ClassResolverFromClasspath
- tryResolve(String) - Method in class com.tngtech.archunit.core.importer.resolvers.SelectedClassResolverFromClasspath
- type(Class<?>) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
U
- unsetClassResolver() - Method in class com.tngtech.archunit.ArchConfiguration
- UnsupportedUriSchemeException(URI) - Constructor for exception com.tngtech.archunit.base.ArchUnitException.UnsupportedUriSchemeException
- usage() - Element in annotation interface com.tngtech.archunit.PublicAPI
-
Marks how this API is supposed to be used.
- USE_JAVA_UTIL_LOGGING - Static variable in class com.tngtech.archunit.library.GeneralCodingRules
-
A condition that matches classes that access Java Util Logging.
- USE_JODATIME - Static variable in class com.tngtech.archunit.library.GeneralCodingRules
-
A condition that matches classes that access JodaTime.
V
- valueOf(String) - Static method in enum class com.tngtech.archunit.core.domain.JavaFieldAccess.AccessType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tngtech.archunit.core.domain.JavaModifier
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tngtech.archunit.core.importer.ImportOption.Predefined
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tngtech.archunit.core.PluginLoader.JavaVersion
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tngtech.archunit.lang.Priority
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tngtech.archunit.PublicAPI.State
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tngtech.archunit.PublicAPI.Usage
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.tngtech.archunit.core.domain.JavaFieldAccess.AccessType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tngtech.archunit.core.domain.JavaModifier
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tngtech.archunit.core.importer.ImportOption.Predefined
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tngtech.archunit.core.PluginLoader.JavaVersion
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tngtech.archunit.lang.Priority
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tngtech.archunit.PublicAPI.State
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tngtech.archunit.PublicAPI.Usage
-
Returns an array containing the constants of this enum class, in the order they are declared.
- violated(Object, String) - Static method in class com.tngtech.archunit.lang.SimpleConditionEvent
- ViolationHandler<T> - Interface in com.tngtech.archunit.lang
- ViolationLineMatcher - Interface in com.tngtech.archunit.library.freeze
-
Allows
FreezingArchRule
to decide when two lines of two violations count as "equivalent". - ViolationStore - Interface in com.tngtech.archunit.library.freeze
-
Provides some sort of storage for violations to
FreezingArchRule
. - ViolationStore.Delegate - Class in com.tngtech.archunit.library.freeze
-
A simple delegate for a
ViolationStore
to allow adjusting the behavior of anotherViolationStore
by delegation (e.g. - visibilityMetrics(MetricsComponents<JavaClass>) - Static method in class com.tngtech.archunit.library.metrics.ArchitectureMetrics
-
Calculates system component visibility metrics as defined by Herbert Dowalil.
- visibilityMetrics(MetricsComponents<T>, Predicate<? super T>) - Static method in class com.tngtech.archunit.library.metrics.ArchitectureMetrics
-
Calculates system component visibility metrics as defined by Herbert Dowalil.
- VisibilityMetrics - Class in com.tngtech.archunit.library.metrics
-
Calculates visibility metrics as defined by Herbert Dowalil in his book "Modulare Softwarearchitektur: Nachhaltiger Entwurf durch Microservices, Modulithen und SOA 2.0".
- visit(JavaClass) - Method in interface com.tngtech.archunit.core.domain.JavaPackage.ClassVisitor
- visit(JavaPackage) - Method in interface com.tngtech.archunit.core.domain.JavaPackage.PackageVisitor
- visitAnnotation(String, JavaAnnotation<?>) - Method in class com.tngtech.archunit.core.domain.JavaAnnotation.DefaultParameterVisitor
- visitAnnotation(String, JavaAnnotation<?>) - Method in interface com.tngtech.archunit.core.domain.JavaAnnotation.ParameterVisitor
- visitBoolean(String, boolean) - Method in class com.tngtech.archunit.core.domain.JavaAnnotation.DefaultParameterVisitor
- visitBoolean(String, boolean) - Method in interface com.tngtech.archunit.core.domain.JavaAnnotation.ParameterVisitor
- visitByte(String, byte) - Method in class com.tngtech.archunit.core.domain.JavaAnnotation.DefaultParameterVisitor
- visitByte(String, byte) - Method in interface com.tngtech.archunit.core.domain.JavaAnnotation.ParameterVisitor
- visitCharacter(String, Character) - Method in class com.tngtech.archunit.core.domain.JavaAnnotation.DefaultParameterVisitor
- visitCharacter(String, Character) - Method in interface com.tngtech.archunit.core.domain.JavaAnnotation.ParameterVisitor
- visitClass(String, JavaClass) - Method in class com.tngtech.archunit.core.domain.JavaAnnotation.DefaultParameterVisitor
- visitClass(String, JavaClass) - Method in interface com.tngtech.archunit.core.domain.JavaAnnotation.ParameterVisitor
- visitDouble(String, Double) - Method in class com.tngtech.archunit.core.domain.JavaAnnotation.DefaultParameterVisitor
- visitDouble(String, Double) - Method in interface com.tngtech.archunit.core.domain.JavaAnnotation.ParameterVisitor
- visitEnumConstant(String, JavaEnumConstant) - Method in class com.tngtech.archunit.core.domain.JavaAnnotation.DefaultParameterVisitor
- visitEnumConstant(String, JavaEnumConstant) - Method in interface com.tngtech.archunit.core.domain.JavaAnnotation.ParameterVisitor
- visitFloat(String, Float) - Method in class com.tngtech.archunit.core.domain.JavaAnnotation.DefaultParameterVisitor
- visitFloat(String, Float) - Method in interface com.tngtech.archunit.core.domain.JavaAnnotation.ParameterVisitor
- visitInteger(String, int) - Method in class com.tngtech.archunit.core.domain.JavaAnnotation.DefaultParameterVisitor
- visitInteger(String, int) - Method in interface com.tngtech.archunit.core.domain.JavaAnnotation.ParameterVisitor
- visitLong(String, Long) - Method in class com.tngtech.archunit.core.domain.JavaAnnotation.DefaultParameterVisitor
- visitLong(String, Long) - Method in interface com.tngtech.archunit.core.domain.JavaAnnotation.ParameterVisitor
- visitShort(String, Short) - Method in class com.tngtech.archunit.core.domain.JavaAnnotation.DefaultParameterVisitor
- visitShort(String, Short) - Method in interface com.tngtech.archunit.core.domain.JavaAnnotation.ParameterVisitor
- visitString(String, String) - Method in class com.tngtech.archunit.core.domain.JavaAnnotation.DefaultParameterVisitor
- visitString(String, String) - Method in interface com.tngtech.archunit.core.domain.JavaAnnotation.ParameterVisitor
- VOLATILE - Enum constant in enum class com.tngtech.archunit.core.domain.JavaModifier
W
- whereLayer(String) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture
-
Allows restricting accesses to or from this layer.
- withAnnotation(boolean) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaClassBuilder
- withBecause(ArchRule, String) - Static method in class com.tngtech.archunit.lang.ArchRule.Factory
- withImportOption(ImportOption) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
Allows filtering the class files to import by their
Location
(i.e. - withImportOptions(Collection<ImportOption>) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
Same as
ClassFileImporter.withImportOption(ImportOption)
but takes multipleImportOptions
. - withOptionalLayers(boolean) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture
-
By default, layers defined with
Architectures.LayeredArchitecture.layer(String)
must not be empty, i.e. - withOptionalLayers(boolean) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
- withSimpleClassName(String) - Method in interface com.tngtech.archunit.core.domain.JavaClassDescriptor
- withThreadLocalScope(Consumer<ArchConfiguration>) - Static method in class com.tngtech.archunit.ArchConfiguration
-
Same as
ArchConfiguration.withThreadLocalScope(Function)
but does not return a value. - withThreadLocalScope(Function<ArchConfiguration, T>) - Static method in class com.tngtech.archunit.ArchConfiguration
-
Sets up a thread local copy of the current
ArchConfiguration
to be freely modified.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form