AbstractClassesTransformer<T> |
|
AccessTarget |
|
AccessTarget.CodeUnitCallTarget |
|
AccessTarget.CodeUnitCallTarget.Functions |
|
AccessTarget.ConstructorCallTarget |
|
AccessTarget.ConstructorCallTarget.Functions |
|
AccessTarget.FieldAccessTarget |
|
AccessTarget.FieldAccessTarget.Functions |
|
AccessTarget.Functions |
|
AccessTarget.MethodCallTarget |
|
AccessTarget.MethodCallTarget.Functions |
|
AccessTarget.Predicates |
|
AllDependenciesCondition |
|
AnyDependencyCondition |
|
ArchCondition<T> |
|
ArchConditions |
|
ArchConfiguration |
|
ArchitectureMetrics |
|
Architectures |
|
Architectures.LayeredArchitecture |
|
Architectures.OnionArchitecture |
|
ArchPredicates |
|
ArchRule |
Represents a rule about a specified set of objects of interest (e.g.
|
ArchRule.Assertions |
|
ArchRule.Factory |
|
ArchRule.Transformation |
|
ArchRule.Transformation.As |
|
ArchRule.Transformation.Because |
|
ArchRuleDefinition |
|
ArchRuleDefinition.Creator |
|
ArchUnitException |
|
ArchUnitException.ClassResolverConfigurationException |
|
ArchUnitException.InconsistentClassPathException |
|
ArchUnitException.InvalidSyntaxUsageException |
|
ArchUnitException.LocationException |
|
ArchUnitException.ReflectionException |
|
ArchUnitException.UnsupportedUriSchemeException |
|
ArchUnitExtension |
ArchUnit extensions need to implement this interface.
|
ArchUnitExtensions |
|
CanBeAnnotated |
|
CanBeAnnotated.Predicates |
|
CanBeAnnotated.Utils |
|
CanBeEvaluated |
|
CanOverrideDescription<SELF> |
|
ChainableFunction<F,T> |
|
ClassesShould |
|
ClassesShouldConjunction |
|
ClassesThat<CONJUNCTION> |
|
ClassesTransformer<T> |
|
ClassFileImporter |
The central API to import JavaClasses from compiled Java class files.
|
ClassLoaders |
|
ClassResolver |
The ClassFileImporter will use the configured ClassResolver , to determine how to
resolve further dependencies.
For example, if you import the package com.foo.bar , and some class com.foo.bar.FooBar
calls a method of com.other.Dependency , the ClassResolver will decide how this dependency should
be treated, i.e.
|
ClassResolver.ClassUriImporter |
Provides a way to import a JavaClass from a given URI .
|
ClassResolver.Factory |
|
ClassResolverFromClasspath |
A ClassResolver that tries to locate missing dependencies on the classpath.
|
CodeUnitsShould<CONJUNCTION extends CodeUnitsShouldConjunction<?>> |
|
CodeUnitsShouldConjunction<CODE_UNIT extends JavaCodeUnit> |
|
CodeUnitsThat<CONJUNCTION extends GivenCodeUnitsConjunction<?>> |
|
ComponentDependencyMetrics |
Calculates architecture metrics as defined by Robert C.
|
CompositeArchRule |
|
CompositeArchRule.Creator |
|
ConditionEvent |
|
ConditionEvent.Handler |
|
ConditionEvents |
|
Dependency |
Represents a dependency of one Java class on another Java class.
|
Dependency.Functions |
|
Dependency.Predicates |
|
DependencyRules |
|
DescribedIterable<T> |
|
DescribedIterable.From |
|
DescribedPredicate<T> |
A predicate holding a description.
|
DomainBuilders |
|
DomainBuilders.CodeUnitCallTargetBuilder<SELF extends DomainBuilders.CodeUnitCallTargetBuilder<SELF>> |
|
DomainBuilders.ConstructorCallTargetBuilder |
|
DomainBuilders.FieldAccessTargetBuilder |
|
DomainBuilders.JavaAccessBuilder<TARGET extends AccessTarget,SELF extends DomainBuilders.JavaAccessBuilder<TARGET,SELF>> |
|
DomainBuilders.JavaAnnotationBuilder |
|
DomainBuilders.JavaClassBuilder |
|
DomainBuilders.JavaCodeUnitBuilder<OUTPUT,SELF extends DomainBuilders.JavaCodeUnitBuilder<OUTPUT,SELF>> |
|
DomainBuilders.JavaConstructorBuilder |
|
DomainBuilders.JavaConstructorCallBuilder |
|
DomainBuilders.JavaEnumConstantBuilder |
|
DomainBuilders.JavaFieldAccessBuilder |
|
DomainBuilders.JavaFieldBuilder |
|
DomainBuilders.JavaMemberBuilder<OUTPUT,SELF extends DomainBuilders.JavaMemberBuilder<OUTPUT,SELF>> |
|
DomainBuilders.JavaMethodBuilder |
|
DomainBuilders.JavaMethodCallBuilder |
|
DomainBuilders.JavaStaticInitializerBuilder |
|
DomainBuilders.JavaTypeParameterBuilder<OWNER extends HasDescription> |
|
DomainBuilders.JavaWildcardTypeBuilder<OWNER extends HasDescription> |
|
DomainBuilders.MethodCallTargetBuilder |
|
DomainObjectCreationContext |
Together with DomainBuilders , this class is the link to create domain objects from the import
context.
|
EvaluatedRule |
|
EvaluationResult |
|
FailureDisplayFormat |
Allows to customize violation messages and rule text of ArchRules .
|
FailureMessages |
|
FailureReport |
|
FieldsShould<CONJUNCTION extends FieldsShouldConjunction> |
|
FieldsShouldConjunction |
|
FieldsThat<CONJUNCTION extends GivenFieldsConjunction> |
|
Formatters |
|
ForwardingCollection<T> |
|
ForwardingList<T> |
|
ForwardingSet<T> |
|
FreezingArchRule |
A decorator around an existing ArchRule that "freezes" the state of all violations on the first call instead of failing the test.
|
Function<F,T> |
|
Function.Functions |
|
GeneralCodingRules |
GeneralCodingRules provides a set of very general ArchConditions
and ArchRules for coding that might be useful in various projects.
|
GivenClass |
|
GivenClasses |
|
GivenClassesConjunction |
|
GivenCodeUnits<CODE_UNIT extends JavaCodeUnit> |
|
GivenCodeUnitsConjunction<CODE_UNIT extends JavaCodeUnit> |
|
GivenConjunction<OBJECTS> |
|
GivenConstructors |
|
GivenConstructorsConjunction |
|
GivenFields |
|
GivenFieldsConjunction |
|
GivenMembers<MEMBER extends JavaMember> |
|
GivenMembersConjunction<MEMBER extends JavaMember> |
|
GivenMethods |
|
GivenMethodsConjunction |
|
GivenNamedSlices |
|
GivenObjects<T> |
|
GivenSlices |
|
GivenSlicesConjunction |
|
Guava |
NOTE: We keep Google Guava out of the public API and use the Gradle Shadow plugin to repackage the internally
used Guava classes.
|
Guava.Iterables |
|
Guava.Maps |
|
HasAnnotations<SELF extends HasAnnotations<SELF>> |
|
HasDescription |
|
HasDescriptor |
|
HasModifiers |
|
HasModifiers.Predicates |
|
HasName |
|
HasName.AndFullName |
|
HasName.AndFullName.Functions |
|
HasName.AndFullName.Predicates |
|
HasName.Functions |
|
HasName.Predicates |
|
HasOwner<T> |
A highly context dependent definition of something that has a higher order "owner".
|
HasOwner.Functions |
|
HasOwner.Functions.Get |
|
HasOwner.Predicates |
|
HasOwner.Predicates.With |
|
HasParameterTypes |
|
HasParameterTypes.Predicates |
|
HasReturnType |
|
HasReturnType.Functions |
|
HasReturnType.Predicates |
|
HasSourceCodeLocation |
|
HasThrowsClause<LOCATION extends HasParameterTypes & HasReturnType & HasName.AndFullName & CanBeAnnotated & HasOwner<JavaClass>> |
|
HasThrowsClause.Predicates |
|
HasType |
|
HasType.Functions |
|
HasType.Predicates |
|
HasUpperBounds |
|
ImportContext |
|
ImportOption |
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 |
|
ImportOption.DoNotIncludeJars |
|
ImportOption.DoNotIncludeTests |
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 |
|
ImportOption.Predefined |
|
ImportOptions |
|
InitialConfiguration<T> |
|
InstanceofCheck |
|
Internal |
Any element annotated with this annotation, is meant for internal use ONLY.
|
Java14DomainPlugin |
|
JavaAccess<TARGET extends AccessTarget> |
|
JavaAccess.Functions |
|
JavaAccess.Functions.Get |
|
JavaAccess.Predicates |
|
JavaAnnotation<OWNER extends HasDescription> |
Represents an imported annotation on an annotated object like a class or a method.
|
JavaAnnotation.DefaultParameterVisitor |
|
JavaAnnotation.ParameterVisitor |
|
JavaCall<T extends AccessTarget.CodeUnitCallTarget> |
|
JavaCall.Predicates |
|
JavaClass |
|
JavaClass.Functions |
|
JavaClass.Predicates |
|
JavaClassDescriptor |
|
JavaClassDescriptor.From |
|
JavaClasses |
|
JavaClassList |
|
JavaCodeUnit |
Represents a unit of code containing accesses to other units of code.
|
JavaCodeUnit.Functions |
|
JavaCodeUnit.Functions.Get |
|
JavaCodeUnit.Predicates |
|
JavaConstructor |
|
JavaConstructorCall |
|
JavaEnumConstant |
|
JavaField |
|
JavaFieldAccess |
|
JavaFieldAccess.AccessType |
|
JavaFieldAccess.Predicates |
|
JavaGenericArrayType |
Represents a generic array type used in signatures of parameterized types.
E.g.
|
JavaMember |
|
JavaMember.Predicates |
|
JavaMethod |
|
JavaMethodCall |
|
JavaModifier |
|
JavaPackage |
|
JavaPackage.ClassVisitor |
|
JavaPackage.Functions |
|
JavaPackage.PackageVisitor |
|
JavaParameterizedType |
|
JavaStaticInitializer |
Represents the static initialization block of a class, e.g.
|
JavaType |
|
JavaType.Functions |
|
JavaTypeVariable<OWNER extends HasDescription> |
Represents a type variable used by generic types and members.
E.g.
|
JavaWildcardType |
Represents a wildcard type in a type signature (compare the JLS).
|
LakosMetrics |
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.
|
Location |
Handles various forms of location from where classes can be imported in a consistent way.
|
Locations |
Represents a set of locations of Java class files.
|
MayResolveTypesViaReflection |
Marks the methods or classes, where resolving types via reflection is allowed.
|
MembersShould<CONJUNCTION extends MembersShouldConjunction<?>> |
|
MembersShouldConjunction<MEMBER extends JavaMember> |
|
MembersThat<CONJUNCTION extends GivenMembersConjunction<?>> |
|
MethodsShould<CONJUNCTION extends MethodsShouldConjunction> |
|
MethodsShouldConjunction |
|
MethodsThat<CONJUNCTION extends GivenMethodsConjunction> |
|
MetricsComponent<T> |
Represents a component of the software system.
|
MetricsComponents<T> |
|
OnlyBeAccessedSpecification<CONJUNCTION> |
|
Optional<T> |
|
PackageMatcher |
Matches packages with a syntax similar to AspectJ.
|
PackageMatcher.Result |
|
PackageMatchers |
|
PlantUmlArchCondition |
|
PlantUmlArchCondition.Configurations |
|
PluginLoader<T> |
|
PluginLoader.Creator<T> |
|
PluginLoader.JavaVersion |
|
Predicate<T> |
|
Predicate.Defaults |
|
PredicateAggregator<T> |
|
Priority |
|
ProxyRules |
|
PublicAPI |
Marks classes and members that are part of ArchUnit's public API.
|
PublicAPI.State |
|
PublicAPI.Usage |
|
ReferencedClassObject |
|
ReferencedClassObject.Functions |
|
ReflectionUtils |
|
ResolvesTypesViaReflection |
Marks the methods or classes that resolve types via reflection so we can use it for architecture
assertions.
|
SelectedClassResolverFromClasspath |
Only resolves classes from classpath that are beneath the configured SelectedClassResolverFromClasspath.packageRoots .
|
SimpleConditionEvent |
|
Slice |
A collection of JavaClasses modelling some domain aspect of a code basis.
|
SliceAssignment |
|
SliceDependency |
|
SliceIdentifier |
A unique identifier of a Slice .
|
SliceRule |
|
Slices |
Basic collection of Slice for tests of dependencies between different domain packages, e.g.
|
Slices.Transformer |
Specifies how to transform a set of JavaClass into a set of Slice , e.g.
|
SlicesRuleDefinition |
Allows to specify ArchRules for "slices" of a code base.
|
SlicesRuleDefinition.Creator |
|
SlicesShould |
|
Source |
Contains information about an imported class, i.e.
|
Source.Md5sum |
|
SourceCodeLocation |
Location in the source code of an ArchUnit domain object.
|
Supplier<T> |
|
ThrowsClause<LOCATION extends HasParameterTypes & HasReturnType & HasName.AndFullName & CanBeAnnotated & HasOwner<JavaClass>> |
|
ThrowsClause.Functions |
|
ThrowsDeclaration<LOCATION extends HasParameterTypes & HasReturnType & HasName.AndFullName & CanBeAnnotated & HasOwner<JavaClass>> |
|
ThrowsDeclaration.Functions |
|
ThrowsDeclaration.Functions.Get |
|
ViolationHandler<T> |
|
ViolationLineMatcher |
Allows FreezingArchRule to decide when two lines of two violations count as "equivalent".
|
ViolationStore |
|
VisibilityMetrics |
Calculates visibility metrics as defined by Herbert Dowalil in his book
"Modulare Softwarearchitektur: Nachhaltiger Entwurf durch Microservices, Modulithen und SOA 2.0".
|