A B C D E F G H I J L M N O P R S T U V W
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
- 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
- AccessTarget.CodeUnitCallTarget - Class in com.tngtech.archunit.core.domain
- 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
- 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
- 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
- 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
- add(String) - Method in class com.tngtech.archunit.lang.FailureReport
- 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
- alwaysFalse() - Static method in class com.tngtech.archunit.base.DescribedPredicate
- alwaysTrue() - Static method in class com.tngtech.archunit.base.DescribedPredicate
- and() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenClassesConjunction
- and(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenClassesConjunction
- and(DescribedPredicate<? super Slice>) - Method in interface com.tngtech.archunit.library.dependencies.syntax.GivenSlicesConjunction
- 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
- andShould() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShouldConjunction
- andShould(ArchCondition<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShouldConjunction
- 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
- 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 class com.tngtech.archunit.base.DescribedPredicate
- ArchCondition<T> - Class in com.tngtech.archunit.lang
- ArchCondition(String) - 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
- 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.AssertionError - Error in com.tngtech.archunit.lang
- 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(Class<? extends Annotation>) - 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.ClassesThat
-
Matches classes 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.
- 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(Class<? extends Annotation>) - 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.ClassesThat
-
Matches classes 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(Class<? extends Annotation>) - 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.ClassesThat
-
Matches classes 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.
- 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(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(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes 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.
- areNotPrivate() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches non-private classes.
- areNotProtected() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches non-protected classes.
- areNotPublic() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches non-public classes.
- arePackagePrivate() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches package private classes.
- arePrivate() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches private classes.
- areProtected() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches protected classes.
- arePublic() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches public classes.
- 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
- 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.library.Architectures.LayeredArchitecture
- 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, 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
- 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(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(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.
- 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.library.Architectures.LayeredArchitecture
- because(String) - Method in class com.tngtech.archunit.library.dependencies.SliceRule
- Because(String) - Constructor for class com.tngtech.archunit.lang.ArchRule.Transformation.Because
- 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.
- 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(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(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.
- 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.
- 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.
- 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.
- 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.
- 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.library.Architectures.LayeredArchitecture
- check(JavaClasses) - Method in class com.tngtech.archunit.library.dependencies.SliceRule
- 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
- ClassesIdentityTransformer - Class in com.tngtech.archunit.lang.syntax
-
A
ClassesTransformer
that simply returns the supplied collection ofJavaClass
(i.e. - ClassesShould - Interface in com.tngtech.archunit.lang.syntax.elements
- ClassesShouldConjunction - Interface in com.tngtech.archunit.lang.syntax.elements
- ClassesShouldThat - 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
. - ClassFileImporter() - Constructor for class com.tngtech.archunit.core.importer.ClassFileImporter
- ClassFileImporter(ImportOptions) - Constructor for class com.tngtech.archunit.core.importer.ClassFileImporter
- 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
- CollectsLines - Interface in com.tngtech.archunit.lang
-
Generic interface for an object that gathers lines of text.
- 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.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
- 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
- contain(Class<?>) - 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.
- contains(String) - Method in class com.tngtech.archunit.core.importer.Location
- 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>, 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
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
- definedBy(String...) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture.LayerDefinition
- 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. - 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
- describeTo(CollectsLines) - Method in interface com.tngtech.archunit.lang.ConditionEvent
-
Adds a textual description of this event to the supplied
CollectsLines
. - describeTo(CollectsLines) - Method in class com.tngtech.archunit.lang.SimpleConditionEvent
- 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
- doesnt(DescribedPredicate<T>) - Static method in class com.tngtech.archunit.base.DescribedPredicate
- DomainBuilders - Class in com.tngtech.archunit.core.importer
- DomainBuilders.CodeUnitCallTargetBuilder<SELF extends DomainBuilders.CodeUnitCallTargetBuilder<SELF>> - Class in com.tngtech.archunit.core.importer
- DomainBuilders.ConstructorCallTargetBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.FieldAccessTargetBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaAccessBuilder<TARGET extends AccessTarget,SELF extends DomainBuilders.JavaAccessBuilder<TARGET,SELF>> - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaAnnotationBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaClassBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaCodeUnitBuilder<OUTPUT,SELF extends DomainBuilders.JavaCodeUnitBuilder<OUTPUT,SELF>> - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaConstructorBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaConstructorCallBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaEnumConstantBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaFieldAccessBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaFieldBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaMemberBuilder<OUTPUT,SELF extends DomainBuilders.JavaMemberBuilder<OUTPUT,SELF>> - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaMethodBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaMethodCallBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.JavaStaticInitializerBuilder - Class in com.tngtech.archunit.core.importer
- DomainBuilders.MethodCallTargetBuilder - Class in com.tngtech.archunit.core.importer
- 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
- dont(DescribedPredicate<T>) - Static method in class com.tngtech.archunit.base.DescribedPredicate
- DONT_INCLUDE_ARCHIVES - com.tngtech.archunit.core.importer.ImportOption.Predefined
-
Since Java 9 there are JARs and JRTs, this will exclude both
- DONT_INCLUDE_JARS - com.tngtech.archunit.core.importer.ImportOption.Predefined
- DONT_INCLUDE_TESTS - com.tngtech.archunit.core.importer.ImportOption.Predefined
- dontHaveFullyQualifiedName(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes that don't have a certain fully qualified class name.
- dontHaveModifier(JavaModifier) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes not having a certain
JavaModifier
(e.g. - dontHaveSimpleName(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes that don't have a certain simple class name.
- dontImplement(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes that don't implement a certain interface matching the given predicate.
- dontImplement(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes that don't implement a certain interface.
- dontImplement(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes that don't implement a certain interface with the given type name.
- DontIncludeArchives() - Constructor for class com.tngtech.archunit.core.importer.ImportOption.DontIncludeArchives
- DontIncludeJars() - Constructor for class com.tngtech.archunit.core.importer.ImportOption.DontIncludeJars
- DontIncludeTests() - Constructor for class com.tngtech.archunit.core.importer.ImportOption.DontIncludeTests
- doTransform(JavaClasses) - Method in class com.tngtech.archunit.lang.AbstractClassesTransformer
- doTransform(JavaClasses) - Method in class com.tngtech.archunit.lang.syntax.ClassesIdentityTransformer
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.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.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.importer.Location
- equals(Object) - Method in class com.tngtech.archunit.library.dependencies.SliceDependency
- 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.library.Architectures.LayeredArchitecture
- evaluate(JavaClasses) - Method in class com.tngtech.archunit.library.dependencies.SliceRule
- 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
- filter(Iterable<T>, DescribedPredicate<? super T>) - Static method in class com.tngtech.archunit.base.Guava.Iterables
- 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
- 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
- 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
- From() - Constructor for class com.tngtech.archunit.core.domain.JavaType.From
- fromNullable(T) - Static method in class com.tngtech.archunit.base.Optional
- 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(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_CONSTRUCTOR_CALLS_FROM_SELF - 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_METHOD_CALLS_FROM_SELF - 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
-
Deprecated.This was named poorly, 'getPackage' should return a real object, not a mere String. Compare notes on
JavaClass.getPackage()
. This function will be refactored to return an object in a future release. UseJavaClass.Functions.GET_PACKAGE_NAME
instead. - GET_PACKAGE_NAME - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_RETURN_TYPE - Static variable in class com.tngtech.archunit.core.domain.JavaCodeUnit.Functions
- GET_RETURN_TYPE - Static variable in class com.tngtech.archunit.core.domain.properties.HasReturnType.Functions
- GET_SIMPLE_NAME - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
- GET_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
- getAccessesFromSelf() - Method in class com.tngtech.archunit.core.domain.JavaClass
- 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
- 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
- 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.
- getCallsOfSelf() - Method in class com.tngtech.archunit.core.domain.JavaConstructor
- getCallsOfSelf() - Method in class com.tngtech.archunit.core.domain.JavaMethod
- 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
- 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
- getDeclaringClass() - Method in class com.tngtech.archunit.core.domain.JavaEnumConstant
- getDeclaringClass() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaEnumConstantBuilder
- 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
- 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.JavaClasses
- 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.library.Architectures.LayeredArchitecture
- 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
- 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
- getDirectDependencies() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Deprecated.Use
JavaClass.getDirectDependenciesFromSelf()
instead - 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
- getExtensionProperties(String) - Method in class com.tngtech.archunit.ArchConfiguration
- 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.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
- 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
- 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
- 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 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.importer.DomainBuilders.JavaMemberBuilder
- getPackage() - Method in class com.tngtech.archunit.core.domain.JavaClass
-
Deprecated.
- 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
- getParameters() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getParameters() - Method in interface com.tngtech.archunit.core.domain.properties.HasParameterTypes
- getParameters() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.CodeUnitCallTargetBuilder
- getParameters() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.JavaCodeUnitBuilder
- getProperties() - Method in class com.tngtech.archunit.core.domain.JavaAnnotation
- getResult() - Method in error com.tngtech.archunit.lang.ArchRule.AssertionError
- getResult() - Method in interface com.tngtech.archunit.lang.extension.EvaluatedRule
- getReturnType() - Method in class com.tngtech.archunit.core.domain.AccessTarget.CodeUnitCallTarget
- getReturnType() - Method in class com.tngtech.archunit.core.domain.JavaCodeUnit
- getReturnType() - Method in interface com.tngtech.archunit.core.domain.properties.HasReturnType
- getReturnType() - Method in class com.tngtech.archunit.core.importer.DomainBuilders.CodeUnitCallTargetBuilder
- getReturnType() - 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
- getStaticInitializer() - Method in class com.tngtech.archunit.core.domain.JavaClass
- getSubClasses() - Method in class com.tngtech.archunit.core.domain.JavaClass
- 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
- getType() - Method in class com.tngtech.archunit.core.domain.AccessTarget.FieldAccessTarget
- getType() - Method in class com.tngtech.archunit.core.domain.JavaAnnotation
- getType() - Method in class com.tngtech.archunit.core.domain.JavaField
- getType() - Method in interface com.tngtech.archunit.core.domain.properties.HasType
- 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
- getUniqueIdentifier() - Method in interface com.tngtech.archunit.lang.extension.ArchUnitExtension
-
An 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
- 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
- GivenClassesThat - Interface in com.tngtech.archunit.lang.syntax.elements
- GivenConjunction<OBJECTS> - 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.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.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.importer.Location
- hashCode() - Method in class com.tngtech.archunit.library.dependencies.SliceDependency
- 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.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
- HasType - Interface in com.tngtech.archunit.core.domain.properties
- HasType.Functions - 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.
- 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. - 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.
- 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.
- 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.
- 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
- ignoreDependencies(DescribedPredicate<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<JavaClass>) - Method in class com.tngtech.archunit.library.plantuml.PlantUmlArchCondition
- ignoreDependenciesWithTarget(DescribedPredicate<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
-
For information about the impact of the imported classes on the evaluation of rules, as well as configuration and details, refer to
ClassFileImporter
. - importClasses(Class<?>...) - 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
. - importClasses(Collection<Class<?>>) - 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
. - 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
-
For information about the impact of the imported classes on the evaluation of rules, as well as configuration and details, refer to
ClassFileImporter
. - 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
-
For information about the impact of the imported classes on the evaluation of rules, as well as configuration and details, refer to
ClassFileImporter
. - importJars(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
. - importLocations(Collection<Location>) - 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
. - 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.DontIncludeArchives - Class in com.tngtech.archunit.core.importer
- ImportOption.DontIncludeJars - Class in com.tngtech.archunit.core.importer
- ImportOption.DontIncludeTests - Class in com.tngtech.archunit.core.importer
-
NOTE: This excludes all class files residing in some directory ../target/test-classes/.., ../build/classes/test/..
- 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
-
For information about the impact of the imported classes on the evaluation of rules, as well as configuration and details, refer to
ClassFileImporter
. - 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...)
For information about the impact of the imported classes on the evaluation of rules, as well as configuration and details, refer toClassFileImporter
. - importPath(String) - 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
. - importPath(Path) - 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
. - importPaths(String...) - 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
. - importPaths(Path...) - 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
. - importPaths(Collection<Path>) - 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
. - importUrl(URL) - 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
. - importUrls(Collection<URL>) - 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
. - inClassPath() - Static method in class com.tngtech.archunit.core.importer.Locations
- includes(Location) - Method in class com.tngtech.archunit.core.importer.ImportOption.DontIncludeArchives
- includes(Location) - Method in class com.tngtech.archunit.core.importer.ImportOption.DontIncludeJars
- includes(Location) - Method in class com.tngtech.archunit.core.importer.ImportOption.DontIncludeTests
- includes(Location) - Method in interface com.tngtech.archunit.core.importer.ImportOption
- InconsistentClassPathException(String, Throwable) - Constructor for exception com.tngtech.archunit.base.ArchUnitException.InconsistentClassPathException
- 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
- 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 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.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.core.domain.JavaClasses
- 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.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
- 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
- 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
- load() - Method in class com.tngtech.archunit.core.PluginLoader
- load(String) - Method in class com.tngtech.archunit.core.PluginLoader.Creator.PluginEntry
- 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
- 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(Pattern) - Method in class com.tngtech.archunit.core.importer.Location
- matching(String) - Method in class com.tngtech.archunit.library.dependencies.Slices.Creator
-
Supports partitioning a set of
JavaClasses
into different slices by matching the supplied package identifier. - matching(String) - Static method in class com.tngtech.archunit.library.dependencies.Slices
- 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
- 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
- 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
- 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.
- 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
- not(DescribedPredicate<T>) - Static method in class com.tngtech.archunit.base.DescribedPredicate
- 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(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(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.
- 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.
- 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(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(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.
- 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.
- 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.
- 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.
- 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.
- notDependOnEachOther() - Method in interface com.tngtech.archunit.library.dependencies.syntax.SlicesShould
- 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 don't 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 don't have a certain
JavaModifier
(e.g. - 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 don't 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 don't 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 don't 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 don't implement a certain interface with the given type name.
O
- of(JavaClasses) - Method in class com.tngtech.archunit.library.dependencies.Slices.Transformer
- of(Iterable<URL>) - Static method in class com.tngtech.archunit.core.importer.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(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(T) - Static method in class com.tngtech.archunit.base.Optional
- ofClass(Class<?>) - Static method in class com.tngtech.archunit.core.importer.Locations
- 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
- 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(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenClassesConjunction
- or(DescribedPredicate<? super Slice>) - Method in interface com.tngtech.archunit.library.dependencies.syntax.GivenSlicesConjunction
- 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(ArchCondition<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShouldConjunction
- 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
- parameterTypes(String...) - Static method in class com.tngtech.archunit.core.domain.properties.HasParameterTypes.Predicates
- parameterTypes(List<String>) - Static method in class com.tngtech.archunit.core.domain.properties.HasParameterTypes.Predicates
- 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
- 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.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
- 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
- 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 don't 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 don't 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.
- returnType(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.core.domain.properties.HasReturnType.Predicates
- returnType(Class<?>) - Static method in class com.tngtech.archunit.core.domain.properties.HasReturnType.Predicates
- returnType(String) - Static method in class com.tngtech.archunit.core.domain.properties.HasReturnType.Predicates
S
- satisfied(Object, String) - Static method in class com.tngtech.archunit.lang.SimpleConditionEvent
- 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(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
- 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
- should() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenClassesConjunction
- should() - Method in interface com.tngtech.archunit.library.dependencies.syntax.GivenNamedSlices
- should() - Method in interface com.tngtech.archunit.library.dependencies.syntax.GivenSlicesConjunction
- should(ArchCondition<JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenClass
- should(ArchCondition<JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenClassesConjunction
- should(ArchCondition<OBJECTS>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenConjunction
- should(ArchCondition<T>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenObjects
- SIMPLE_NAME - Static variable in class com.tngtech.archunit.core.domain.JavaClass.Functions
-
Deprecated.Violates the conventions for Functions.* that simply reflect class methods. Use
JavaClass.Functions.GET_SIMPLE_NAME
- 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.core.domain.JavaClasses
- Slice - Class in com.tngtech.archunit.library.dependencies
- SliceDependency - Class in com.tngtech.archunit.library.dependencies
- SliceRule - Class in com.tngtech.archunit.library.dependencies
- slices() - Static method in class com.tngtech.archunit.library.dependencies.SlicesRuleDefinition
- Slices - Class in com.tngtech.archunit.library.dependencies
-
Basic collection of
Slice
for tests on dependencies of package slices, e.g. - Slices.Creator - Class in com.tngtech.archunit.library.dependencies
- Slices.Transformer - Class in com.tngtech.archunit.library.dependencies
- SlicesRuleDefinition - Class in com.tngtech.archunit.library.dependencies
- 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
- 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
- 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
- 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
- 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 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
- 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
. - 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
- toGuava(DescribedPredicate<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.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.Source.Md5sum
- toString() - Method in class com.tngtech.archunit.core.domain.Source
- toString() - Method in class com.tngtech.archunit.core.importer.Location
- 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.SliceRule
- 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(Class<?>) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
U
- unsetClassResolver() - Method in class com.tngtech.archunit.ArchConfiguration
- UnsupportedUriSchemeException(URI) - Constructor for exception com.tngtech.archunit.base.ArchUnitException.UnsupportedUriSchemeException
- usage() - Method in annotation type com.tngtech.archunit.PublicAPI
-
Marks how this API is supposed to be used.
- USE_JAVA_UTIL_LOGGING - Static variable in class com.tngtech.archunit.library.GeneralCodingRules
-
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
- 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