Index
All Classes|All Packages
A
- absent() - Static method in class com.tngtech.archunit.base.Optional
-
Deprecated.
- ABSTRACT - 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(Predicate<? super JavaClass>, JavaPackage.ClassVisitor) - Method in class com.tngtech.archunit.core.domain.JavaPackage
-
Traverses the package tree visiting each matching class.
- accept(Predicate<? super JavaPackage>, JavaPackage.PackageVisitor) - Method in class com.tngtech.archunit.core.domain.JavaPackage
-
Traverses the package tree visiting each matching package.
- accept(JavaAnnotation.ParameterVisitor) - Method in class com.tngtech.archunit.core.domain.JavaAnnotation
-
Simple implementation of the Visitor pattern (compare e.g.
- ACCESS - 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.CodeUnitCallTarget - Class in com.tngtech.archunit.core.domain
-
Represents an
AccessTarget
where the target is a code unit. - AccessTarget.CodeUnitCallTarget.Functions - Class in com.tngtech.archunit.core.domain
- AccessTarget.ConstructorCallTarget - Class in com.tngtech.archunit.core.domain
- AccessTarget.ConstructorCallTarget.Functions - Class in com.tngtech.archunit.core.domain
- 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
- AccessTarget.Functions - Class in com.tngtech.archunit.core.domain
- 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
- AccessTarget.Predicates - Class in com.tngtech.archunit.core.domain
- 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, String...) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
- 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 class com.tngtech.archunit.lang.ConditionEvents
- 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
- addInvertedTo(ConditionEvents) - Method in interface com.tngtech.archunit.lang.ConditionEvent
-
Adds the 'opposite' of the event.
- addInvertedTo(ConditionEvents) - Method in class com.tngtech.archunit.lang.SimpleConditionEvent
- 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.PlantUmlArchCondition
- adhereToPlantUmlDiagram(String, PlantUmlArchCondition.Configuration) - Static method in class com.tngtech.archunit.library.plantuml.PlantUmlArchCondition
- adhereToPlantUmlDiagram(URL, PlantUmlArchCondition.Configuration) - Static method in class com.tngtech.archunit.library.plantuml.PlantUmlArchCondition
- adhereToPlantUmlDiagram(Path, PlantUmlArchCondition.Configuration) - Static method in class com.tngtech.archunit.library.plantuml.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
- alwaysFalse() - Static method in class com.tngtech.archunit.base.DescribedPredicate
- alwaysFalse() - Static method in class com.tngtech.archunit.base.Predicate.Defaults
- alwaysTrue() - Static method in class com.tngtech.archunit.base.DescribedPredicate
- alwaysTrue() - Static method in class com.tngtech.archunit.base.Predicate.Defaults
- 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
- 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 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(ArchCondition<? super T>) - Method in class com.tngtech.archunit.lang.ArchCondition
- and(ArchRule) - Method in class com.tngtech.archunit.lang.CompositeArchRule
- andShould() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShouldConjunction
- 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
- andShould() - Method in interface com.tngtech.archunit.lang.syntax.elements.MethodsShouldConjunction
- 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
- 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 MEMBER>) - Method in interface com.tngtech.archunit.lang.syntax.elements.MembersShouldConjunction
- annotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Static method in class com.tngtech.archunit.core.domain.properties.CanBeAnnotated.Predicates
- annotatedWith(Class<? extends Annotation>) - Static method in class com.tngtech.archunit.core.domain.properties.CanBeAnnotated.Predicates
- annotatedWith(String) - Static method in class com.tngtech.archunit.core.domain.properties.CanBeAnnotated.Predicates
- 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(String...) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
- 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(F) - Method in interface com.tngtech.archunit.base.Function
- apply(String) - Method in class com.tngtech.archunit.base.PackageMatchers
- apply(T) - Method in interface com.tngtech.archunit.base.Predicate
- ArchCondition<T> - Class in com.tngtech.archunit.lang
- ArchCondition(String, Object...) - Constructor for class com.tngtech.archunit.lang.ArchCondition
- ArchConditions - Class in com.tngtech.archunit.lang.conditions
- 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.LayerDefinition - Class in com.tngtech.archunit.library
- Architectures.LayeredArchitecture.LayerDependencySpecification - Class in com.tngtech.archunit.library
- Architectures.OnionArchitecture - Class in com.tngtech.archunit.library
- ArchPredicates - Class in com.tngtech.archunit.lang.conditions
- 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 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 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 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 interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches annotations.
- areAnonymousClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
- 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 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 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 interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes assignable to a certain type matching the given predicate.
- 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 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 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 interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
- areInterfaces() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches interfaces.
- areLocalClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
- areMemberClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
- 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 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 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 interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
- 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 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 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 interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches everything except annotations.
- areNotAnonymousClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
- 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 interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes not assignable from a certain type.
- 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 interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes not assignable to a certain type matching the given predicate.
- areNotAssignableTo(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes not assignable to a certain type.
- 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 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 interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
- areNotInterfaces() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches everything except interfaces.
- areNotLocalClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
- areNotMemberClasses() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
- 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 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 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 interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
- 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 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 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 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 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 interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
- 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 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 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 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 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 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
- as(String) - Method in class com.tngtech.archunit.library.freeze.FreezingArchRule
- as(String, Object...) - Method in class com.tngtech.archunit.base.DescribedPredicate
- as(String, Object...) - Method in class com.tngtech.archunit.lang.ArchCondition
- 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) - Constructor for class com.tngtech.archunit.lang.ArchRule.Transformation.As
- asBytes() - Method in class com.tngtech.archunit.core.domain.Source.Md5sum
- assertNoViolation(EvaluationResult) - Static method in class com.tngtech.archunit.lang.ArchRule.Assertions
- asSet() - Method in class com.tngtech.archunit.base.Optional
- 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 toA
. - 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
- 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 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.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.
- 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) - 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
- 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
- belongToAnyOf(Class<?>...) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
-
A predicate to determine if a
JavaClass
"belongs" to one of the passedclasses
, where we define "belong" as being equivalent to the class itself or any inner/anonymous class of this class. - 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 - com.tngtech.archunit.core.domain.JavaModifier
- build(JavaClass, ClassesByTypeName) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaMemberBuilder
- build(OWNER, ClassesByTypeName) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaTypeParameterBuilder
- build(OWNER, Iterable<JavaTypeVariable<?>>, ClassesByTypeName) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaWildcardTypeBuilder
- build(T, ImportContext) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaAnnotationBuilder
- 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(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.OnlyBeAccessedSpecification
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
- 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.AllDependenciesCondition
- check(JavaClass, ConditionEvents) - Method in class com.tngtech.archunit.lang.conditions.AnyDependencyCondition
- check(JavaClass, ConditionEvents) - Method in class com.tngtech.archunit.library.plantuml.PlantUmlArchCondition
- check(ArchRule, JavaClasses) - Static method in class com.tngtech.archunit.lang.ArchRule.Assertions
- check(T, ConditionEvents) - Method in class com.tngtech.archunit.lang.ArchCondition
- 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
- ClassesThat<CONJUNCTION> - Interface in com.tngtech.archunit.lang.syntax.elements
- 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(ImportOptions) - 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 extends GivenCodeUnitsConjunction<?>> - 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.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.plantuml - package com.tngtech.archunit.library.plantuml
- 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
- 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 - Class in com.tngtech.archunit.lang
- ConditionEvents() - Constructor for class com.tngtech.archunit.lang.ConditionEvents
- 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() - Static method in class com.tngtech.archunit.library.plantuml.PlantUmlArchCondition.Configurations
-
Considers all dependencies of every imported class, including basic Java classes like
Object
- consideringOnlyDependenciesInAnyPackage(String, String...) - Static method in class com.tngtech.archunit.library.plantuml.PlantUmlArchCondition.Configurations
-
Considers only dependencies of the imported classes that have targets in the package identifiers.
- consideringOnlyDependenciesInDiagram() - Static method in class com.tngtech.archunit.library.plantuml.PlantUmlArchCondition.Configurations
-
Considers only dependencies of the imported classes that are contained within diagram components.
- 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 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 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 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 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 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 moreconstructors
matching the supplied predicate. - 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.
- containPackage(String) - Method in class com.tngtech.archunit.core.domain.JavaClasses
- contains(ArchRule) - Method in interface com.tngtech.archunit.library.freeze.ViolationStore
- 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 class com.tngtech.archunit.lang.ConditionEvents
- create() - Method in class com.tngtech.archunit.core.importer.resolvers.ClassResolver.Factory
- create(ClassesTransformer<T>, ArchCondition<T>, Priority) - Static method in class com.tngtech.archunit.lang.ArchRule.Factory
- createAnnotations(JavaClass) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createAnnotations(JavaMember) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createConstructorCallsFor(JavaCodeUnit) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createConstructorCallTarget(DomainBuilders.ConstructorCallTargetBuilder) - 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) - 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) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- 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
- 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
- createJavaStaticInitializer(DomainBuilders.JavaStaticInitializerBuilder) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createMethodCallsFor(JavaCodeUnit) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createMethodCallTarget(DomainBuilders.MethodCallTargetBuilder) - 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) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- 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
- 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
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
- definedBy(DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture.LayerDefinition
- definedBy(String...) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture.LayerDefinition
- 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.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
- 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
- Dependency.Predicates - Class in com.tngtech.archunit.core.domain
- 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.
- describe(String, Predicate<? super T>) - Static method in class com.tngtech.archunit.base.DescribedPredicate
- 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
- 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.JavaFieldAccess
- descriptionVerb() - Method in class com.tngtech.archunit.core.domain.JavaMethodCall
- 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 - com.tngtech.archunit.core.importer.ImportOption.Predefined
-
Since Java 9 there are JARs and JRTs, this will exclude both
- DO_NOT_INCLUDE_JARS - com.tngtech.archunit.core.importer.ImportOption.Predefined
- DO_NOT_INCLUDE_TESTS - com.tngtech.archunit.core.importer.ImportOption.Predefined
- doesNot(DescribedPredicate<? super T>) - Static method in class com.tngtech.archunit.base.DescribedPredicate
- DomainBuilders - Class in com.tngtech.archunit.core.importer
- DomainBuilders.CodeUnitCallTargetBuilder<SELF extends DomainBuilders.CodeUnitCallTargetBuilder<SELF>> - Class in com.tngtech.archunit.core.importer
- DomainBuilders.ConstructorCallTargetBuilder - 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.JavaConstructorBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaConstructorCallBuilder - 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.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.MethodCallTargetBuilder - Class in com.tngtech.archunit.core.importer
- domainModels(String...) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
- 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(String...) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
- doNot(DescribedPredicate<? super T>) - Static method in class com.tngtech.archunit.base.DescribedPredicate
- 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 interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes that do not have a certain fully qualified class name.
- 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 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 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 interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes that do not implement a certain interface.
- 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
- DoNotIncludeJars() - Constructor for class com.tngtech.archunit.core.importer.ImportOption.DoNotIncludeJars
- DoNotIncludeTests() - Constructor for class com.tngtech.archunit.core.importer.ImportOption.DoNotIncludeTests
- doTransform(JavaClasses) - Method in class com.tngtech.archunit.lang.AbstractClassesTransformer
E
- empty() - Static method in class com.tngtech.archunit.base.DescribedPredicate
- empty() - Static method in class com.tngtech.archunit.base.Optional
- ENABLE_MD5_IN_CLASS_SOURCES - Static variable in class com.tngtech.archunit.ArchConfiguration
- 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 - 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.JavaAccess
- 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.JavaFieldAccess
- 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
- 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 - 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 extends GivenFieldsConjunction> - Interface in com.tngtech.archunit.lang.syntax.elements
- filter(Iterable<T>, DescribedPredicate<? super T>) - Static method in class com.tngtech.archunit.base.Guava.Iterables
- filterDescriptionsMatching(Predicate<String>) - Method in class com.tngtech.archunit.lang.EvaluationResult
-
Filters all recorded
ConditionEvents
by their textual description. - filterValues(Map<K, V>, DescribedPredicate<? super V>) - Static method in class com.tngtech.archunit.base.Guava.Maps
- FINAL - 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. - 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<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 com.tngtech.archunit.core.domain.JavaFieldAccess.AccessType
- forSubtype() - Method in class com.tngtech.archunit.base.DescribedPredicate
-
Workaround for the limitations of the Java type system
->
Can't specify this contravariant type at the language level - forSubtype() - Method in class com.tngtech.archunit.lang.ArchCondition
- forSubType() - Method in class com.tngtech.archunit.base.DescribedPredicate
-
Deprecated.Use
DescribedPredicate.forSubtype()
instead. - forSubType() - Method in class com.tngtech.archunit.lang.ArchCondition
-
Deprecated.Use
ArchCondition.forSubtype()
instead. - 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(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() - 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. - fromNullable(T) - Static method in class com.tngtech.archunit.base.Optional
-
Deprecated.use
Optional.ofNullable(Object)
instead - 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
- Function<F,T> - Interface in com.tngtech.archunit.base
- Function.Functions - Class in com.tngtech.archunit.base
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.base.Optional
- get() - Method in interface com.tngtech.archunit.base.Supplier
- 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 - 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_FROM_SELF - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_CLASSES - Static variable in class com.tngtech.archunit.core.domain.JavaPackage.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_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_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. - 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
- 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
- getAllClasses() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- 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
- getAllMembers() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getAllMethods() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getAllowed() - Method in class com.tngtech.archunit.lang.ConditionEvents
- 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
- getAllSubClasses() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Deprecated.Use
JavaClass.getAllSubclasses()
instead. - getAllSubpackages() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getAllSubPackages() - Method in class com.tngtech.archunit.core.domain.JavaPackage
-
Deprecated.Use
JavaPackage.getAllSubpackages()
instead. - getAllSuperClasses() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Deprecated.Use
JavaClass.getAllRawSuperclasses()
instead. - 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. - 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 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 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 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. - getCallsFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Returns all calls of this class to methods or constructors.
- getCallsFromSelf() - 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
- getClass(Class<?>) - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getClassDependenciesFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getClassDependenciesToSelf() - 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
- 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
- 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() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.ConstructorCallTargetBuilder
- 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
- 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
- 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.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.FieldAccessTarget
- getDescription() - Method in class com.tngtech.archunit.core.domain.AccessTarget.MethodCallTarget
- 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.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
- 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
- getDetails() - Method in class com.tngtech.archunit.lang.FailureReport
- getDirectDependenciesFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Returns all dependencies originating directly from this class (i.e.
- getDirectDependenciesToSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Like
JavaClass.getDirectDependenciesFromSelf()
, but instead returns all dependencies where this class is target. - 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
- getFailureDescriptionLines() - Method in class com.tngtech.archunit.lang.ConditionEvents
-
Deprecated.Use
ConditionEvents.getFailureMessages()
instead - getFailureMessages() - Method in class com.tngtech.archunit.lang.ConditionEvents
- getFailureReport() - Method in class com.tngtech.archunit.lang.EvaluationResult
- getField() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.FieldAccessTargetBuilder
- 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.CodeUnitCallTargetBuilder
- 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
- 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.base.PackageMatcher.Result
- getIdentifier() - Method in class com.tngtech.archunit.library.metrics.MetricsComponent
- getIdentifierOf(JavaClass) - Method in interface com.tngtech.archunit.library.dependencies.SliceAssignment
- 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.JavaCodeUnit
- getInstanceofChecks(JavaCodeUnit) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaCodeUnitBuilder
- 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.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
- 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
- getMethodReturnType(String, String) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- getMethods() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getMethods() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.MethodCallTargetBuilder
- 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 com.tngtech.archunit.core.domain.JavaModifier
- getModifiersForField(int) - Static method in enum com.tngtech.archunit.core.domain.JavaModifier
- getModifiersForMethod(int) - Static method in enum com.tngtech.archunit.core.domain.JavaModifier
- 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.MethodCallTargetBuilder
- getName() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaEnumConstantBuilder
- getName() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaMemberBuilder
- getNamePart(int) - Method in class com.tngtech.archunit.library.dependencies.Slice
-
Returns a matching part of this slice.
- 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.base.PackageMatcher.Result
- getOrigin() - Method in class com.tngtech.archunit.core.domain.JavaAccess
- getOrigin() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaAccessBuilder
- getOrigin() - Method in class com.tngtech.archunit.library.dependencies.SliceDependency
- getOriginClass() - Method in class com.tngtech.archunit.core.domain.Dependency
- getOriginOwner() - Method in class com.tngtech.archunit.core.domain.JavaAccess
- getOrThrow(Supplier<? extends RuntimeException>) - Method in class com.tngtech.archunit.base.Optional
-
Deprecated.Use
Optional.orElseThrow(Supplier)
instead - getOrThrow(RuntimeException) - Method in class com.tngtech.archunit.base.Optional
-
Deprecated.Use
Optional.getOrThrow(Supplier)
instead (this version always instantiates the exception, no matter if needed) - 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.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.importer.DomainBuilders.MethodCallTargetBuilder
- getOwner() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaMemberBuilder
- 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
- getPackageDependenciesFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getPackageDependenciesToSelf() - 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
- getParameters() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.CodeUnitCallTargetBuilder
- getParameterTypes() - Method in class com.tngtech.archunit.core.domain.AccessTarget.CodeUnitCallTarget
- 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
- 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.CodeUnitCallTarget
- 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.CodeUnitCallTarget
- getRawReturnType() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getRawReturnType() - Method in interface com.tngtech.archunit.core.domain.properties.HasReturnType
- 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 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
- getReferencedClassObjects(JavaCodeUnit) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaCodeUnitBuilder
- 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.CodeUnitCallTarget
- 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.CodeUnitCallTargetBuilder
- getReturnType(JavaCodeUnit) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaCodeUnitBuilder
- 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
- 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
- getStaticInitializer() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getSubclasses() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getSubClasses() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Deprecated.Use
JavaClass.getSubclasses()
instead. - getSubpackages() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getSubPackages() - Method in class com.tngtech.archunit.core.domain.JavaPackage
-
Deprecated.Use
JavaPackage.getSubpackages()
instead. - 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
- getSuperClass() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Deprecated.Use
JavaClass.getRawSuperclass()
instead - getTarget() - Method in class com.tngtech.archunit.core.domain.JavaAccess
- getTarget() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaAccessBuilder
- getTarget() - Method in class com.tngtech.archunit.library.dependencies.SliceDependency
- 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.CodeUnitCallTarget
- 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
- getTransitiveDependenciesFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Returns the transitive closure of all dependencies originating from this class, i.e.
- 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
-
Note: This is still work in progress and thus does not support generic types at the moment.
- 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
- 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 class com.tngtech.archunit.lang.ConditionEvents
- 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
- 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
- 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
- Guava - Class in com.tngtech.archunit.base
-
NOTE: We keep Google Guava out of the public API and use the Gradle Shadow plugin to repackage the internally used Guava classes.
- Guava() - Constructor for class com.tngtech.archunit.base.Guava
- Guava.Iterables - Class in com.tngtech.archunit.base
- Guava.Maps - Class in com.tngtech.archunit.base
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<?>) - Method in class com.tngtech.archunit.lang.ConditionEvents
-
Passes violations to the supplied
ViolationHandler
. - handleViolations(ViolationHandler<?>) - Method in class com.tngtech.archunit.lang.EvaluationResult
- 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.JavaAccess
- 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.JavaFieldAccess
- 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
- HasModifiers - Interface in com.tngtech.archunit.core.domain.properties
- HasModifiers.Predicates - Class in com.tngtech.archunit.core.domain.properties
- 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
- HasName.Functions - Class in com.tngtech.archunit.core.domain.properties
- HasName.Predicates - Class in com.tngtech.archunit.core.domain.properties
- 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
- 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
- HasReturnType - Interface in com.tngtech.archunit.core.domain.properties
- HasReturnType.Functions - Class in com.tngtech.archunit.core.domain.properties
- HasReturnType.Predicates - Class in com.tngtech.archunit.core.domain.properties
- 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
- 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
- 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.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 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 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 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 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 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 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 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 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 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 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 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 - com.tngtech.archunit.lang.Priority
I
- identity() - Static method in class com.tngtech.archunit.base.Function.Functions
- ifVersionGreaterOrEqualTo(PluginLoader.JavaVersion) - Method in class com.tngtech.archunit.core.PluginLoader.Creator
- ignore() - Static method in class com.tngtech.archunit.library.dependencies.SliceIdentifier
- ignoreDependencies(DescribedPredicate<? super Dependency>) - Method in class com.tngtech.archunit.library.plantuml.PlantUmlArchCondition
- ignoreDependencies(Class<?>, Class<?>) - Method in class com.tngtech.archunit.library.plantuml.PlantUmlArchCondition
- ignoreDependencies(String, String) - Method in class com.tngtech.archunit.library.plantuml.PlantUmlArchCondition
- ignoreDependenciesWithOrigin(DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.library.plantuml.PlantUmlArchCondition
- ignoreDependenciesWithTarget(DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.library.plantuml.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
- ignoreDependency(DescribedPredicate<? super JavaClass>, DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
- 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
- ignoreDependency(Class<?>, Class<?>) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
- ignoreDependency(Class<?>, Class<?>) - Method in class com.tngtech.archunit.library.dependencies.SliceRule
- ignoreDependency(String, String) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture
- ignoreDependency(String, String) - Method in class com.tngtech.archunit.library.Architectures.OnionArchitecture
- ignoreDependency(String, String) - Method in class com.tngtech.archunit.library.dependencies.SliceRule
- 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 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 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 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 without archives (JARs or JRTs).
- importClasspath(ImportOptions) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
Imports classes from the whole classpath considering the supplied
ImportOptions
.
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.DoNotIncludeJars - Class in com.tngtech.archunit.core.importer
- 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 in com.tngtech.archunit.core.importer
- ImportOptions - Class in com.tngtech.archunit.core.importer
-
A collection of
ImportOption
to filter class locations. - ImportOptions() - Constructor for class com.tngtech.archunit.core.importer.ImportOptions
- 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.DoNotIncludeJars
- 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 - com.tngtech.archunit.PublicAPI.Usage
-
This API is intended to be used via inheritance, i.e.
- init(Iterable<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 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 Type 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
- 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 interface com.tngtech.archunit.core.domain.properties.CanBeAnnotated
- 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 interface com.tngtech.archunit.core.domain.properties.CanBeAnnotated
- 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 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
- isAnonymous() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Deprecated.use
JavaClass.isAnonymousClass()
instead - 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
- isEmpty() - Method in class com.tngtech.archunit.base.ForwardingCollection
- isEmpty() - Method in class com.tngtech.archunit.lang.ConditionEvents
- 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 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
- 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 interface com.tngtech.archunit.core.domain.properties.CanBeAnnotated
- isMetaAnnotatedWith(Class<? extends Annotation>) - Method in class com.tngtech.archunit.core.domain.AccessTarget
- 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 interface com.tngtech.archunit.core.domain.properties.CanBeAnnotated
- 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 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
- 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.base.Optional
- 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
- 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
- Iterables() - Constructor for class com.tngtech.archunit.base.Guava.Iterables
- 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.lang.ConditionEvents
- iterator() - Method in class com.tngtech.archunit.library.dependencies.Slices
J
- JAVA_14 - com.tngtech.archunit.core.PluginLoader.JavaVersion
- JAVA_9 - 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
- JavaAccess.Functions.Get - Class in com.tngtech.archunit.core.domain
- JavaAccess.Predicates - Class in com.tngtech.archunit.core.domain
- 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
- 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
- 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
- JavaCodeUnit.Functions.Get - Class in com.tngtech.archunit.core.domain
- JavaCodeUnit.Predicates - Class in com.tngtech.archunit.core.domain
- JavaConstructor - Class in com.tngtech.archunit.core.domain
- JavaConstructorCall - 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 in com.tngtech.archunit.core.domain
- JavaFieldAccess.Predicates - Class in com.tngtech.archunit.core.domain
- 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
- JavaMethod - Class in com.tngtech.archunit.core.domain
- JavaMethodCall - Class in com.tngtech.archunit.core.domain
- JavaModifier - Enum in com.tngtech.archunit.core.domain
- JavaPackage - Class in com.tngtech.archunit.core.domain
- JavaPackage.ClassVisitor - Interface in com.tngtech.archunit.core.domain
- JavaPackage.Functions - Class in com.tngtech.archunit.core.domain
- JavaPackage.PackageVisitor - Interface in com.tngtech.archunit.core.domain
- 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
- 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).
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
- 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 - com.tngtech.archunit.lang.Priority
M
- map(Function<? super T, ? extends U>) - Method in class com.tngtech.archunit.base.Optional
- Maps() - Constructor for class com.tngtech.archunit.base.Guava.Maps
- match(String) - Method in class com.tngtech.archunit.base.PackageMatcher
-
Returns a matching
Result
against the provided package name. - matches(String) - Method in class com.tngtech.archunit.base.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
- mayNotBeAccessedByAnyLayer() - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture.LayerDependencySpecification
- mayOnlyAccessLayers(String...) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture.LayerDependencySpecification
- mayOnlyBeAccessedByLayers(String...) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture.LayerDependencySpecification
- MayResolveTypesViaReflection - Annotation Type in com.tngtech.archunit.core
-
Marks the methods or classes, where resolving types via reflection is allowed.
- md5InClassSourcesEnabled() - Method in class com.tngtech.archunit.ArchConfiguration
- MEDIUM - 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
- MembersThat<CONJUNCTION extends GivenMembersConjunction<?>> - Interface in com.tngtech.archunit.lang.syntax.elements
- metaAnnotatedWith(DescribedPredicate<? super JavaAnnotation<?>>) - Static method in class com.tngtech.archunit.core.domain.properties.CanBeAnnotated.Predicates
- metaAnnotatedWith(Class<? extends Annotation>) - Static method in class com.tngtech.archunit.core.domain.properties.CanBeAnnotated.Predicates
- metaAnnotatedWith(String) - Static method in class com.tngtech.archunit.core.domain.properties.CanBeAnnotated.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 extends GivenMethodsConjunction> - 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
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(Class<?>...) - Static method in class com.tngtech.archunit.core.domain.JavaClass
-
Deprecated.use
Formatters.formatNamesOf(Class[])
instead - namesOf(Iterable<? extends HasName>) - Static method in class com.tngtech.archunit.core.domain.properties.HasName.Utils
- namesOf(Iterable<Class<?>>) - Static method in class com.tngtech.archunit.core.domain.JavaClass
-
Deprecated.use
Formatters.formatNamesOf(Iterable)
instead - 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 - 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
- newInstanceOf(Class<T>) - Static method in class com.tngtech.archunit.base.ReflectionUtils
- 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.
- 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.base.PackageMatcher
-
Creates a new
PackageMatcher
- of(String...) - Static method in class com.tngtech.archunit.base.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.base.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
- of(T) - Static method in class com.tngtech.archunit.base.Optional
- 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. - ofNullable(T) - Static method in class com.tngtech.archunit.base.Optional
- 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 - 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
- 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.
- 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. - 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
- Optional<T> - Class in com.tngtech.archunit.base
- optionalLayer(String) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture
-
Starts the definition of a new optional layer within the current
LayeredArchitecture
. - 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
- 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 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(Optional<? extends T>) - Method in class com.tngtech.archunit.base.Optional
-
Deprecated.This method will be removed in the future, use
Optional.orElseGet(Supplier)
instead. - or(ArchCondition<? super T>) - Method in class com.tngtech.archunit.lang.ArchCondition
- or(T) - Method in class com.tngtech.archunit.base.Optional
-
Deprecated.Use
Optional.orElse(Object)
instead. - orElse(T) - Method in class com.tngtech.archunit.base.Optional
- orElseGet(Supplier<? extends T>) - Method in class com.tngtech.archunit.base.Optional
- orElseThrow(Supplier<? extends X>) - Method in class com.tngtech.archunit.base.Optional
- 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
- orNull() - Method in class com.tngtech.archunit.base.Optional
-
Deprecated.Use
orElse(null)
instead. - orShould() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShouldConjunction
- 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
- 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
- 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
- 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.base
-
Matches packages with a syntax similar to AspectJ.
- PackageMatcher.Result - Class in com.tngtech.archunit.base
- PackageMatchers - Class in com.tngtech.archunit.base
- 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
-
Allows to evaluate PlantUML Component Diagrams as ArchUnit rules.
- PlantUmlArchCondition.Configurations - Class in com.tngtech.archunit.library.plantuml
- 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 in com.tngtech.archunit.core
- Predicate<T> - Interface in com.tngtech.archunit.base
- Predicate.Defaults - Class in com.tngtech.archunit.base
- PredicateAggregator<T> - Class in com.tngtech.archunit.lang.syntax
- PredicateAggregator() - Constructor for class com.tngtech.archunit.lang.syntax.PredicateAggregator
- 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 in com.tngtech.archunit.lang
- PRIVATE - com.tngtech.archunit.core.domain.JavaModifier
- PROTECTED - 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 - com.tngtech.archunit.core.domain.JavaModifier
- PublicAPI - Annotation Type in com.tngtech.archunit
-
Marks classes and members that are part of ArchUnit's public API.
- PublicAPI.State - Enum in com.tngtech.archunit
- PublicAPI.Usage - Enum 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() - Method in annotation type com.tngtech.archunit.core.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
- reflect() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Resolves the respective
Class
from the classpath.
NOTE: This method will throw an exception, if the respectiveClass
or any of its dependencies can't be found on the classpath. - 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
-
Resolves the respective
Member
from the classpath.
NOTE: This method will throw an exception, if the owningClass
or any of its dependencies can't be found on the classpath. - 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
- ReflectionUtils() - Constructor for class com.tngtech.archunit.base.ReflectionUtils
- 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 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 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 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 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() - Method in class com.tngtech.archunit.core.domain.AccessTarget.CodeUnitCallTarget
-
Tries to resolve the targeted method or constructor.
- resolve() - Method in class com.tngtech.archunit.core.domain.AccessTarget.ConstructorCallTarget
- resolve() - Method in class com.tngtech.archunit.core.domain.AccessTarget.FieldAccessTarget
- resolve() - Method in class com.tngtech.archunit.core.domain.AccessTarget.MethodCallTarget
-
Attempts to resolve imported methods that match this target.
- resolve() - Method in class com.tngtech.archunit.core.domain.AccessTarget
-
Tries to resolve the targeted members (methods, fields or constructors).
- RESOLVE - Static variable in class com.tngtech.archunit.core.domain.AccessTarget.CodeUnitCallTarget.Functions
- RESOLVE - Static variable in class com.tngtech.archunit.core.domain.AccessTarget.ConstructorCallTarget.Functions
- RESOLVE - Static variable in class com.tngtech.archunit.core.domain.AccessTarget.FieldAccessTarget.Functions
- RESOLVE - Static variable in class com.tngtech.archunit.core.domain.AccessTarget.Functions
- RESOLVE - Static variable in class com.tngtech.archunit.core.domain.AccessTarget.MethodCallTarget.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
- resolveConstructor() - Method in class com.tngtech.archunit.core.domain.AccessTarget.ConstructorCallTarget
- resolveField() - Method in class com.tngtech.archunit.core.domain.AccessTarget.FieldAccessTarget
- resolveMissingDependenciesFromClassPath() - Method in class com.tngtech.archunit.ArchConfiguration
- ResolvesTypesViaReflection - Annotation Type in com.tngtech.archunit.core
-
Marks the methods or classes that resolve types via reflection so we can use it for architecture assertions.
- retainAll(Collection<?>) - Method in class com.tngtech.archunit.base.ForwardingCollection
S
- satisfied(Object, String) - Static method in class com.tngtech.archunit.lang.SimpleConditionEvent
- 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 - 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 class 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
- 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
- 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
- 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
- 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 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 - 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() - Method in annotation type com.tngtech.archunit.PublicAPI
-
Marks the state of this API, i.e.
- STATIC - com.tngtech.archunit.core.domain.JavaModifier
- STATIC_INITIALIZER_NAME - Static variable in class com.tngtech.archunit.core.domain.JavaStaticInitializer
- subList(int, int) - Method in class com.tngtech.archunit.base.ForwardingList
- Supplier<T> - Interface in com.tngtech.archunit.base
- SYNCHRONIZED - com.tngtech.archunit.core.domain.JavaModifier
- SYNTHETIC - com.tngtech.archunit.core.domain.JavaModifier
T
- target() - Static method in class com.tngtech.archunit.core.domain.JavaAccess.Functions.Get
- target(DescribedPredicate<? super AccessTarget.CodeUnitCallTarget>) - Static method in class com.tngtech.archunit.core.domain.JavaCall.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
- 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 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
- 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
- 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.base.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
- 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
- toGuava(DescribedPredicate<T>) - Static method in class com.tngtech.archunit.base.Guava
- toGuava(Function<F, T>) - Static method in class com.tngtech.archunit.base.Guava
- TOP_LEVEL_CLASSES - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- 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.base.PackageMatcher
- 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.JavaTypeVariable
- toString() - Method in class com.tngtech.archunit.core.domain.JavaWildcardType
- 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.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.ConditionEvents
- 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.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
- toTargetClasses(Iterable<Dependency>) - Static method in class com.tngtech.archunit.core.domain.Dependency
- transform(Function<? super T, U>) - Method in class com.tngtech.archunit.base.Optional
-
Deprecated.Use
Optional.map(Function)
instead. - 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 - com.tngtech.archunit.core.domain.JavaModifier
- transitivelyDependOnClassesThat() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that all classes selected by this rule transitively depend on certain classes.
NOTE: This usually makes more sense the negated way, e.g. - 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 certain classes.
NOTE: This usually makes more sense the negated way, e.g. - 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 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 interface com.tngtech.archunit.core.domain.properties.HasAnnotations
- tryGetCodeUnitWithParameterTypeNames(String, List<String>) - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Same as
JavaClass.getCodeUnitWithParameterTypeNames(String, List)
, but will returnOptional.absent()
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.absent()
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.absent()
. - 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
-
Try to import a
JavaClass
from the givenURI
, i.e. - 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() - Method in annotation type 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 com.tngtech.archunit.core.domain.JavaFieldAccess.AccessType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tngtech.archunit.core.domain.JavaModifier
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tngtech.archunit.core.importer.ImportOption.Predefined
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tngtech.archunit.core.PluginLoader.JavaVersion
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tngtech.archunit.lang.Priority
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tngtech.archunit.PublicAPI.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.tngtech.archunit.PublicAPI.Usage
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.tngtech.archunit.core.domain.JavaFieldAccess.AccessType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tngtech.archunit.core.domain.JavaModifier
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tngtech.archunit.core.importer.ImportOption.Predefined
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tngtech.archunit.core.PluginLoader.JavaVersion
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tngtech.archunit.lang.Priority
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tngtech.archunit.PublicAPI.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.tngtech.archunit.PublicAPI.Usage
-
Returns an array containing the constants of this enum type, 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
. - 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 - com.tngtech.archunit.core.domain.JavaModifier
W
- whereLayer(String) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture
- with(ImportOption) - Method in class com.tngtech.archunit.core.importer.ImportOptions
- 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. - 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
All Classes|All Packages
Optional.empty()
instead