A B C D E F G H I J L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- absent() - Static method in class com.tngtech.archunit.base.Optional
- 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.
- 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
-
For information about checking this condition, refer to
GeneralCodingRules
. - 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 an
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(String) - Method in interface com.tngtech.archunit.lang.CollectsLines
-
Deprecated.See
CollectsLines
. This method will be removed in the future and was never intended to be called by clients anyway. - add(String) - Method in class com.tngtech.archunit.lang.FailureReport
-
Deprecated.
- 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
- 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<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
- AnyDependencyCondition - Class in com.tngtech.archunit.lang.conditions
- anyElementThat(DescribedPredicate<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
- Architectures - Class in com.tngtech.archunit.library
-
Offers convenience to assert typical architectures, like a
Architectures.layeredArchitecture()
. - 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<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.
- 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.
- 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.
- areInterfaces() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches interfaces.
- 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.
- 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.
- 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.
- 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.
- areNotInterfaces() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches everything except interfaces.
- 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.
- 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.
- 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.
- 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.
- 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.
- as(Class<A>) - Method in class com.tngtech.archunit.core.domain.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
- 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
- assignableTo(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- 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
- 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<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.
- 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.
- 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.
- 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
- 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.
- 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.
- 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.
- 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.
- 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.
- build(JavaClass, ClassesByTypeName) - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaMemberBuilder
- 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.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
- classes() - Static method in class com.tngtech.archunit.lang.syntax.ClassesIdentityTransformer
-
Deprecated.
- ClassesIdentityTransformer - Class in com.tngtech.archunit.lang.syntax
-
Deprecated.There is no use for this as part of the ArchUnit API, since users should always use
ArchRuleDefinition.classes()
- 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
- CollectsLines - Interface in com.tngtech.archunit.lang
-
Deprecated.The API induced by this interface feels clumsy in most places and at best "not harmful". There seem to be more clients that are interested in the raw lines than meaningful implementations of this interface. In particular it seems hard to imagine any implementation that would not simply add
ConditionEvent.getDescriptionLines()
to the suppliedCollectsLines
. Moreover this interface violates ArchUnit's typical pattern of immutability. - 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.plantuml - package com.tngtech.archunit.library.plantuml
- compareTo(Dependency) - Method in class com.tngtech.archunit.core.domain.Dependency
- completeClassHierarchy(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
- 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
- containNumberOfElements(DescribedPredicate<Integer>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- containNumberOfElements(DescribedPredicate<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
- 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
- createFieldAccessTarget(DomainBuilders.FieldAccessTargetBuilder) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createFields(JavaClass) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createInterfaces(JavaClass) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createJavaAnnotation(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>, Map<String, JavaClass>, ImportContext) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createJavaClassList(List<JavaClass>) - 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) - 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
- createMethodCallTarget(DomainBuilders.MethodCallTargetBuilder) - Static method in class com.tngtech.archunit.core.domain.DomainObjectCreationContext
- createMethods(JavaClass) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- createSource(URI, Optional<String>) - 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
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<JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShould
-
Asserts that
JavaCodeUnits
declare aThrowable
which matches the given predicate. - declareThrowableOfType(DescribedPredicate<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. - 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.core.domain.JavaClassList
- delegate() - Method in class com.tngtech.archunit.library.dependencies.Slice
- 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
- 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. - describe(String, Predicate<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
- describeFailuresTo(CollectsLines) - Method in class com.tngtech.archunit.lang.ConditionEvents
-
Deprecated.Use the result of
ConditionEvents.getFailureDescriptionLines()
instead.describeFailuresTo(lineCollector)
has the same behavior as simply adding allConditionEvents.getFailureDescriptionLines()
to thelineCollector
. - describeTo(CollectsLines) - Method in interface com.tngtech.archunit.lang.ConditionEvent
-
Deprecated.This method will be removed in the future in favor of the simpler
ConditionEvent.getDescriptionLines()
.
describeTo(lineCollector)
has the same behavior as simply adding allConditionEvent.getDescriptionLines()
to thelineCollector
. - describeTo(CollectsLines) - Method in class com.tngtech.archunit.lang.SimpleConditionEvent
-
Deprecated.
- 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
- 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<T>) - Static method in class com.tngtech.archunit.base.DescribedPredicate
- doesnt(DescribedPredicate<T>) - Static method in class com.tngtech.archunit.base.DescribedPredicate
-
Deprecated.Decided to consistently never use contractions -> use
DescribedPredicate.doesNot(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.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<T>) - Static method in class com.tngtech.archunit.base.DescribedPredicate
- doNotDeclareThrowableOfType(DescribedPredicate<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<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<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
- dont(DescribedPredicate<T>) - Static method in class com.tngtech.archunit.base.DescribedPredicate
-
Deprecated.Decided to consistently never use contractions -> use
DescribedPredicate.doNot(DescribedPredicate)
- DONT_INCLUDE_ARCHIVES - com.tngtech.archunit.core.importer.ImportOption.Predefined
-
Deprecated.Decided to consistently never use contractions -> use
ImportOption.Predefined.DO_NOT_INCLUDE_ARCHIVES
- DONT_INCLUDE_JARS - com.tngtech.archunit.core.importer.ImportOption.Predefined
-
Deprecated.Decided to consistently never use contractions -> use
ImportOption.Predefined.DO_NOT_INCLUDE_JARS
- DONT_INCLUDE_TESTS - com.tngtech.archunit.core.importer.ImportOption.Predefined
-
Deprecated.Decided to consistently never use contractions -> use
ImportOption.Predefined.DO_NOT_INCLUDE_TESTS
- dontHaveFullyQualifiedName(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Deprecated.Decided to consistently never use contractions -> use
ClassesThat.doNotHaveFullyQualifiedName(String)
- dontHaveModifier(JavaModifier) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Deprecated.Decided to consistently never use contractions -> use
ClassesThat.doNotHaveModifier(JavaModifier)
- dontHaveSimpleName(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Deprecated.Decided to consistently never use contractions -> use
ClassesThat.doNotHaveSimpleName(String)
- dontImplement(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Deprecated.Decided to consistently never use contractions -> use
ClassesThat.doNotImplement(DescribedPredicate)
- dontImplement(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Deprecated.Decided to consistently never use contractions -> use
ClassesThat.doNotImplement(Class)
- dontImplement(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Deprecated.Decided to consistently never use contractions -> use
ClassesThat.doNotImplement(String)
- DontIncludeArchives() - Constructor for class com.tngtech.archunit.core.importer.ImportOption.DontIncludeArchives
-
Deprecated.
- DontIncludeJars() - Constructor for class com.tngtech.archunit.core.importer.ImportOption.DontIncludeJars
-
Deprecated.
- DontIncludeTests() - Constructor for class com.tngtech.archunit.core.importer.ImportOption.DontIncludeTests
-
Deprecated.
- doTransform(JavaClasses) - Method in class com.tngtech.archunit.lang.AbstractClassesTransformer
- doTransform(JavaClasses) - Method in class com.tngtech.archunit.lang.syntax.ClassesIdentityTransformer
-
Deprecated.
E
- ENABLE_MD5_IN_CLASS_SOURCES - Static variable in class com.tngtech.archunit.ArchConfiguration
- ensureSimpleName(String) - Static method in class com.tngtech.archunit.core.domain.Formatters
- 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.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
- 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. - formatLocation(JavaClass, int) - Static method in class com.tngtech.archunit.core.domain.Formatters
-
Deprecated.
- formatMethod(String, String, JavaClassList) - Static method in class com.tngtech.archunit.core.domain.Formatters
- 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
- 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
- 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() - Constructor for class com.tngtech.archunit.core.domain.JavaType.From
- fromNullable(T) - Static method in class com.tngtech.archunit.base.Optional
- 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
-
When checking these rules, it is always important to remember that all necessary classes need to be imported.
- get() - Static method in class com.tngtech.archunit.ArchConfiguration
- get() - Method in class com.tngtech.archunit.base.Optional
- 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.JavaClassList
- 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.JavaCodeUnit.Functions
-
Deprecated.Use
HasReturnType.Functions.GET_RAW_RETURN_TYPE
instead - GET_RETURN_TYPE - Static variable in class com.tngtech.archunit.core.domain.properties.HasReturnType.Functions
-
Deprecated.Use
HasReturnType.Functions.GET_RAW_RETURN_TYPE
instead. - GET_SIMPLE_NAME - 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_TYPE - Static variable in class com.tngtech.archunit.core.domain.properties.HasType.Functions
-
Deprecated.Use
HasType.Functions.GET_RAW_TYPE
instead - GET_TYPES - Static variable in class com.tngtech.archunit.core.domain.ThrowsClause.Functions
- 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
- 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
- getAllInterfaces() - 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
- getAllSubClasses() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getAllSubPackages() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getAllSuperClasses() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getAnnotationDefaultValue() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaMethodBuilder
- 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 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.JavaMember
- 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.JavaMember
- getAnnotations() - Method in interface com.tngtech.archunit.core.domain.properties.HasAnnotations
- getAnnotations() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaMemberBuilder
- 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
- getConstructor() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.ConstructorCallTargetBuilder
- getConstructor(Class<?>...) - Method in class com.tngtech.archunit.core.domain.JavaClass
- getConstructorCallsFor(JavaCodeUnit) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- 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
- getConstructorsWithParameterOfType(JavaClass) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- getConstructorsWithParameterTypeOfSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getConstructorsWithThrowsDeclarationTypeOfSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getConstructorThrowsDeclarationsOfType(JavaClass) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- 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.
- getDependencies() - Method in class com.tngtech.archunit.library.dependencies.Slice
-
Deprecated.
- 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.Dependency
- getDescription() - Method in class com.tngtech.archunit.core.domain.JavaAccess
- 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.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.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. - getEnclosingClass() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getExceptionTypes() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getExtensionProperties(String) - Method in class com.tngtech.archunit.ArchConfiguration
- getFailureDescriptionLines() - 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
- getFieldAccessesFor(JavaCodeUnit) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- 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
- getFieldsOfType(JavaClass) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- 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
- 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
- getGroup(int) - Method in class com.tngtech.archunit.base.PackageMatcher.Result
- getIdentifierOf(JavaClass) - Method in interface com.tngtech.archunit.library.dependencies.SliceAssignment
- getInterfaces() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getJavaType() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaClassBuilder
- getLineNumber() - Method in class com.tngtech.archunit.core.domain.JavaAccess
- getLineNumber() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaAccessBuilder
- getLocation() - Method in class com.tngtech.archunit.core.domain.ThrowsDeclaration
- getMd5sum() - Method in class com.tngtech.archunit.core.domain.Source
- getMembers() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getMethod(String, Class<?>...) - Method in class com.tngtech.archunit.core.domain.JavaClass
- getMethodCallsFor(JavaCodeUnit) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- 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
- getMethods() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getMethods() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.MethodCallTargetBuilder
- getMethodsWithParameterOfType(JavaClass) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- getMethodsWithParameterTypeOfSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getMethodsWithReturnType(JavaClass) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- getMethodsWithReturnTypeOfSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getMethodThrowsDeclarationsOfType(JavaClass) - Method in interface com.tngtech.archunit.core.domain.ImportContext
- 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.JavaMember
- getName() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getName() - Method in interface com.tngtech.archunit.core.domain.JavaType
- getName() - Method in interface com.tngtech.archunit.core.domain.properties.HasName
- 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.
- getNames() - Method in class com.tngtech.archunit.core.domain.JavaClassList
- 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(RuntimeException) - Method in class com.tngtech.archunit.base.Optional
- getOwner() - Method in class com.tngtech.archunit.core.domain.AccessTarget
- getOwner() - Method in class com.tngtech.archunit.core.domain.JavaAccess
- getOwner() - Method in class com.tngtech.archunit.core.domain.JavaMember
- getOwner() - Method in interface com.tngtech.archunit.core.domain.properties.HasOwner
- 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.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
- getPackageName() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getPackageName() - Method in interface com.tngtech.archunit.core.domain.JavaType
- getParameters() - Method in class com.tngtech.archunit.core.domain.AccessTarget.CodeUnitCallTarget
-
Deprecated.
- getParameters() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
-
Deprecated.Use
JavaCodeUnit.getRawParameterTypes()
instead - getParameters() - Method in interface com.tngtech.archunit.core.domain.properties.HasParameterTypes
-
Deprecated.Use
HasParameterTypes.getRawParameterTypes()
instead - getParameters() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.CodeUnitCallTargetBuilder
- getParameters() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaCodeUnitBuilder
- 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
- 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
- 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
- getRawType() - Method in class com.tngtech.archunit.core.domain.AccessTarget.FieldAccessTarget
- 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.ThrowsDeclaration
- getRelativeName() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getResult() - Method in interface com.tngtech.archunit.lang.extension.EvaluatedRule
- getReturnType() - Method in class com.tngtech.archunit.core.domain.AccessTarget.CodeUnitCallTarget
-
Deprecated.Use
AccessTarget.CodeUnitCallTarget.getRawReturnType()
instead. - getReturnType() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
-
Deprecated.Use
JavaCodeUnit.getRawReturnType()
instead. - getReturnType() - Method in interface com.tngtech.archunit.core.domain.properties.HasReturnType
-
Deprecated.Use
HasReturnType.getRawReturnType()
instead. - getReturnType() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.CodeUnitCallTargetBuilder
- getReturnType() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaCodeUnitBuilder
- getRule() - Method in interface com.tngtech.archunit.lang.extension.EvaluatedRule
- getSimpleName() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getSimpleName() - Method in interface com.tngtech.archunit.core.domain.JavaType
- 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.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
- getStaticInitializer() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getSubClasses() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getSubPackages() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- getSubProperties(String) - Method in class com.tngtech.archunit.ArchConfiguration
-
Returns a set of properties where all keys share a common prefix.
- getSuperClass() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getTarget() - Method in class com.tngtech.archunit.core.domain.JavaAccess
- getTarget() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaAccessBuilder
- getTarget() - Method in 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
- getType() - Method in class com.tngtech.archunit.core.domain.AccessTarget.FieldAccessTarget
-
Deprecated.Use
AccessTarget.FieldAccessTarget.getRawType()
instead - getType() - Method in class com.tngtech.archunit.core.domain.JavaAnnotation
-
Deprecated.Use
JavaAnnotation.getRawType()
instead - getType() - Method in class com.tngtech.archunit.core.domain.JavaField
-
Deprecated.Use
JavaField.getRawType()
instead - getType() - Method in interface com.tngtech.archunit.core.domain.properties.HasType
-
Deprecated.Use
HasType.getRawType()
instead - getType() - Method in class com.tngtech.archunit.core.domain.ThrowsDeclaration
-
Deprecated.Use
ThrowsDeclaration.getRawType()
instead - getType() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.FieldAccessTargetBuilder
- getType() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaAnnotationBuilder
- getType() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaFieldBuilder
- getTypes() - Method in class com.tngtech.archunit.core.domain.ThrowsClause
- getUniqueIdentifier() - Method in interface com.tngtech.archunit.lang.extension.ArchUnitExtension
-
A unique String, identifying this extension, so ArchUnit can associate configured properties.
- getUri() - Method in class com.tngtech.archunit.core.domain.Source
- getValues() - 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<T>) - Static method in class com.tngtech.archunit.lang.conditions.ArchPredicates
-
This method is just syntactic sugar, e.g.
- HasAnnotations - Interface in com.tngtech.archunit.core.domain.properties
- HasDescription - Interface in com.tngtech.archunit.base
- HasDescriptor - Interface in com.tngtech.archunit.core.domain.properties
- 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.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
- HasOwner<T> - Interface in com.tngtech.archunit.core.domain.properties
- 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
- hasViolation() - Method in class com.tngtech.archunit.lang.EvaluationResult
- have(DescribedPredicate<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.
- 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.
- 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.
- 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<List<JavaClass>>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveRawParameterTypes(DescribedPredicate<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<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<JavaClass>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
- haveRawReturnType(DescribedPredicate<JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShould
-
Asserts that
JavaCodeUnits
have raw return types matching the given predicate. - haveRawReturnType(DescribedPredicate<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 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.dependencies.SliceRule
- ignoreDependency(DescribedPredicate<Dependency>) - Method in class com.tngtech.archunit.lang.conditions.AllDependenciesCondition
- ignoreDependency(DescribedPredicate<Dependency>) - Method in class com.tngtech.archunit.lang.conditions.AnyDependencyCondition
- ignoreDependency(Class<?>, Class<?>) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture
- 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.dependencies.SliceRule
- implement(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- 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
- 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
-
NOTE: This excludes all class files residing in some directory ../target/test-classes/.., ../build/classes/test/..
- ImportOption.DontIncludeArchives - Class in com.tngtech.archunit.core.importer
-
Deprecated.Decided to consistently never use contractions -> use
ImportOption.DoNotIncludeArchives
- ImportOption.DontIncludeJars - Class in com.tngtech.archunit.core.importer
-
Deprecated.Decided to consistently never use contractions -> use
ImportOption.DoNotIncludeJars
- ImportOption.DontIncludeTests - Class in com.tngtech.archunit.core.importer
-
Deprecated.Decided to consistently never use contractions -> use
ImportOption.DoNotIncludeTests
- 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 class com.tngtech.archunit.core.importer.ImportOption.DontIncludeArchives
-
Deprecated.
- includes(Location) - Method in class com.tngtech.archunit.core.importer.ImportOption.DontIncludeJars
-
Deprecated.
- includes(Location) - Method in class com.tngtech.archunit.core.importer.ImportOption.DontIncludeTests
-
Deprecated.
- includes(Location) - Method in interface com.tngtech.archunit.core.importer.ImportOption
- 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
. - 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<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 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 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 interface com.tngtech.archunit.core.domain.properties.CanBeAnnotated
- isAnnotatedWith(Collection<JavaAnnotation>, DescribedPredicate<? super JavaAnnotation>) - Static method in class com.tngtech.archunit.core.domain.properties.CanBeAnnotated.Utils
- isAnonymous() - Method in class com.tngtech.archunit.core.domain.JavaClass
- 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.JavaType
- 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
- isInnerClass() - Method in class com.tngtech.archunit.core.domain.JavaClass
- 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
- 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 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 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 interface com.tngtech.archunit.core.domain.properties.CanBeAnnotated
- isMetaAnnotatedWith(Collection<JavaAnnotation>, DescribedPredicate<? super JavaAnnotation>) - Static method in class com.tngtech.archunit.core.domain.properties.CanBeAnnotated.Utils
- 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.JavaType
- 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_9 - com.tngtech.archunit.core.PluginLoader.JavaVersion
- 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 - Class in com.tngtech.archunit.core.domain
-
Represents an imported annotation on an annotated object like a class or a method.
- JavaCall<T extends AccessTarget.CodeUnitCallTarget> - Class in com.tngtech.archunit.core.domain
- JavaCall.Predicates - Class in com.tngtech.archunit.core.domain
- 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
- JavaClasses - Class in com.tngtech.archunit.core.domain
- JavaClassList - 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
- 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
- JavaStaticInitializer - Class in com.tngtech.archunit.core.domain
- JavaType - Interface in com.tngtech.archunit.core.domain
- JavaType.From - Class in com.tngtech.archunit.core.domain
L
- lastIndexOf(Object) - Method in class com.tngtech.archunit.base.ForwardingList
- layer(String) - Method in class com.tngtech.archunit.library.Architectures.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
- 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
- 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
- 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
- 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
- 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.JavaType.From
- name(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(Class<?>...) - Static method in class com.tngtech.archunit.core.domain.JavaClass
- namesOf(List<Class<?>>) - Static method in class com.tngtech.archunit.core.domain.JavaClass
- 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
- 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
-
It is generally good practice to use correct logging instead of writing to the console.
- NO_CLASSES_SHOULD_THROW_GENERIC_EXCEPTIONS - Static variable in class com.tngtech.archunit.library.GeneralCodingRules
-
It is generally good practice to throw specific exceptions like
IllegalArgumentException
or custom exceptions, instead of throwing generic exceptions likeRuntimeException
. - NO_CLASSES_SHOULD_USE_JAVA_UTIL_LOGGING - Static variable in class com.tngtech.archunit.library.GeneralCodingRules
-
Most projects use the more powerful LOG4J or Logback instead of java.util.logging, often hidden behind SLF4J.
- NO_CLASSES_SHOULD_USE_JODATIME - Static variable in class com.tngtech.archunit.library.GeneralCodingRules
-
Modern Java projects use the [java.time] API instead of the JodaTime library
For information about checking this rule, refer toGeneralCodingRules
. - 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<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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- notDeclareThrowableOfType(DescribedPredicate<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<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<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(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(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<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. - 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
- 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
- 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
- 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
- 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<T>) - Method in class com.tngtech.archunit.base.Optional
- or(ArchCondition<? super T>) - Method in class com.tngtech.archunit.lang.ArchCondition
- or(T) - 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
- 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
- parameterTypes(DescribedPredicate<JavaClassList>) - Static method in class com.tngtech.archunit.core.domain.properties.HasParameterTypes.Predicates
- parameterTypes(Class<?>...) - Static method in class com.tngtech.archunit.core.domain.properties.HasParameterTypes.Predicates
-
Deprecated.
- parameterTypes(String...) - Static method in class com.tngtech.archunit.core.domain.properties.HasParameterTypes.Predicates
-
Deprecated.
- parameterTypes(List<String>) - Static method in class com.tngtech.archunit.core.domain.properties.HasParameterTypes.Predicates
-
Deprecated.
- 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
- 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
- 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<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
- 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.JavaType
- resolveClass(ClassLoader) - Method in interface com.tngtech.archunit.core.domain.JavaType
- 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
- returnType(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.core.domain.properties.HasReturnType.Predicates
-
Deprecated.
- returnType(Class<?>) - Static method in class com.tngtech.archunit.core.domain.properties.HasReturnType.Predicates
-
Deprecated.Use
HasReturnType.Predicates.rawReturnType(Class)
instead. - returnType(String) - Static method in class com.tngtech.archunit.core.domain.properties.HasReturnType.Predicates
-
Deprecated.Use
HasReturnType.Predicates.rawReturnType(String)
instead.
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.
- 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
- SYNCHRONIZED - 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
-
For information about checking this condition, refer to
GeneralCodingRules
. - 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_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
- 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
- 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.JavaAccess
- 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.JavaMember
- toString() - Method in class com.tngtech.archunit.core.domain.JavaPackage
- 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.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.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
- 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
- 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
- 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 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.JavaMember
- tryGetAnnotationOfType(String) - Method in interface com.tngtech.archunit.core.domain.properties.HasAnnotations
- tryGetComponentType() - Method in interface com.tngtech.archunit.core.domain.JavaType
- tryGetField(String) - Method in class com.tngtech.archunit.core.domain.JavaClass
- tryGetMethod(String, Class<?>...) - Method in class com.tngtech.archunit.core.domain.JavaClass
- 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(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.core.domain.properties.HasType.Predicates
-
Deprecated.Use
HasType.Predicates.rawType(DescribedPredicate)
instead - type(Class<?>) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
- type(Class<?>) - Static method in class com.tngtech.archunit.core.domain.properties.HasType.Predicates
-
Deprecated.Use
HasType.Predicates.rawType(Class)
instead - type(String) - Static method in class com.tngtech.archunit.core.domain.properties.HasType.Predicates
-
Deprecated.Use
HasType.Predicates.rawType(String)
instead
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
-
For information about checking this condition, refer to
GeneralCodingRules
. - USE_JODATIME - Static variable in class com.tngtech.archunit.library.GeneralCodingRules
-
For information about checking this condition, refer to
GeneralCodingRules
.
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
. - visit(JavaClass) - Method in interface com.tngtech.archunit.core.domain.JavaPackage.ClassVisitor
- visit(JavaPackage) - Method in interface com.tngtech.archunit.core.domain.JavaPackage.PackageVisitor
- 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
- 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.
All Classes All Packages