- absent() - Static method in class com.tngtech.archunit.base.Optional
-
- AbstractClassesTransformer<T> - Class in com.tngtech.archunit.lang
-
- AbstractClassesTransformer(String) - Constructor for class com.tngtech.archunit.lang.AbstractClassesTransformer
-
- ACCESS_STANDARD_STREAMS - Static variable in class com.tngtech.archunit.library.GeneralCodingRules
-
- accessClassesThat(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
-
- accessClassesThat() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that all classes selected by this rule access certain classes.
NOTE: This usually makes more sense the negated way, e.g.
- 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.
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(String, 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) - 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.ConstructorCallTarget - Class in com.tngtech.archunit.core.domain
-
- AccessTarget.FieldAccessTarget - Class in com.tngtech.archunit.core.domain
-
- AccessTarget.MethodCallTarget - 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(String) - Method in interface com.tngtech.archunit.lang.CollectsLines
-
- add(ConditionEvent) - Method in class com.tngtech.archunit.lang.ConditionEvents
-
- add(EvaluationResult) - Method in class com.tngtech.archunit.lang.EvaluationResult
-
- add(String) - Method in class com.tngtech.archunit.lang.FailureReport
-
- add(DescribedPredicate<? super T>) - Method in class com.tngtech.archunit.lang.syntax.PredicateAggregator
-
- 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
-
- 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
-
- alwaysFalse() - Static method in class com.tngtech.archunit.base.DescribedPredicate
-
- alwaysTrue() - Static method in class com.tngtech.archunit.base.DescribedPredicate
-
- and(DescribedPredicate<? super T>) - Method in class com.tngtech.archunit.base.DescribedPredicate
-
- and(ArchCondition<? super T>) - Method in class com.tngtech.archunit.lang.ArchCondition
-
- and(DescribedPredicate<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenClassesConjunction
-
- and() - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenClassesConjunction
-
- and(DescribedPredicate<? super OBJECTS>) - Method in interface com.tngtech.archunit.lang.syntax.elements.GivenConjunction
-
Combines the current predicate (e.g.
- and(DescribedPredicate<? super Slice>) - Method in interface com.tngtech.archunit.library.dependencies.syntax.GivenSlicesConjunction
-
- andShould(ArchCondition<? super JavaClass>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShouldConjunction
-
- andShould() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShouldConjunction
-
- 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
-
- annotatedWith(DescribedPredicate<? super JavaAnnotation>) - Static method in class com.tngtech.archunit.core.domain.properties.CanBeAnnotated.Predicates
-
- apply(T) - Method in class com.tngtech.archunit.base.DescribedPredicate
-
- apply(F) - Method in interface com.tngtech.archunit.base.Function
-
- apply(String) - Method in class com.tngtech.archunit.base.PackageMatchers
-
- 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
-
- 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
-
- ArchConfiguration.ExtensionProperties - Class in com.tngtech.archunit
-
- Architectures - Class in com.tngtech.archunit.library
-
- 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.Assertions - Class in com.tngtech.archunit.lang
-
- ArchRule.Factory - Class in com.tngtech.archunit.lang
-
- ArchRule.Factory() - Constructor for class com.tngtech.archunit.lang.ArchRule.Factory
-
- ArchRule.Transformation - Interface in com.tngtech.archunit.lang
-
- ArchRule.Transformation.As - Class in com.tngtech.archunit.lang
-
- ArchRule.Transformation.As(String) - Constructor for class com.tngtech.archunit.lang.ArchRule.Transformation.As
-
- ArchRule.Transformation.Because - Class in com.tngtech.archunit.lang
-
- ArchRule.Transformation.Because(String) - Constructor for class com.tngtech.archunit.lang.ArchRule.Transformation.Because
-
- 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.InconsistentClassPathException(String, Throwable) - Constructor for exception com.tngtech.archunit.base.ArchUnitException.InconsistentClassPathException
-
- ArchUnitException.LocationException - Exception in com.tngtech.archunit.base
-
- ArchUnitException.LocationException(Exception) - Constructor for exception com.tngtech.archunit.base.ArchUnitException.LocationException
-
- ArchUnitException.ReflectionException - Exception in com.tngtech.archunit.base
-
- ArchUnitException.ReflectionException(Throwable) - Constructor for exception com.tngtech.archunit.base.ArchUnitException.ReflectionException
-
- ArchUnitException.UnsupportedUriSchemeException - Exception in com.tngtech.archunit.base
-
- ArchUnitException.UnsupportedUriSchemeException(URI) - Constructor for exception com.tngtech.archunit.base.ArchUnitException.UnsupportedUriSchemeException
-
- 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(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.
- 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.
- 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.
- 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.
- 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.
- 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.
- areInterfaces() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches interfaces.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- areNotInterfaces() - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches everything except interfaces.
- 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(String, Object...) - Method in class com.tngtech.archunit.base.DescribedPredicate
-
- 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, Object...) - Method in class com.tngtech.archunit.lang.ArchCondition
-
- 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
-
- 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(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
-
- assignableFrom(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
-
- assignableTo(DescribedPredicate<? super JavaClass>) - 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
-
- be(DescribedPredicate<T>) - Static method in class com.tngtech.archunit.lang.conditions.ArchPredicates
-
This method is just syntactic sugar, e.g.
- beAnnotatedWith(Class<? extends Annotation>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
-
- beAnnotatedWith(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
-
- beAnnotatedWith(DescribedPredicate<? super JavaAnnotation>) - 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) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are annotated with a certain type of annotation.
- 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.
- beAssignableFrom(Class<?>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
-
- beAssignableFrom(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
-
- beAssignableFrom(DescribedPredicate<? super JavaClass>) - 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) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are assignable from a certain type with the given type name.
- 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.
- beAssignableTo(Class<?>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
-
- beAssignableTo(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
-
- beAssignableTo(DescribedPredicate<? super JavaClass>) - 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) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are assignable to a certain type with the given type name.
- 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.
- 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
-
- 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.
- 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
-
- handle(Collection<?>, String) - Method in interface com.tngtech.archunit.lang.ConditionEvent.Handler
-
- 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<T>, String) - Method in interface com.tngtech.archunit.lang.ViolationHandler
-
- handleViolations(ViolationHandler<?>) - Method in class com.tngtech.archunit.lang.ConditionEvents
-
- 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
-
- haveModifier(JavaModifier) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
- 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.
- 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.
- identity() - Static method in class com.tngtech.archunit.base.Function.Functions
-
- ignoreDependency(Class<?>, Class<?>) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture
-
- ignoreDependency(String, String) - Method in class com.tngtech.archunit.library.Architectures.LayeredArchitecture
-
- ignoreDependency(DescribedPredicate<? super JavaClass>, DescribedPredicate<? super JavaClass>) - 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.dependencies.SliceRule
-
- ignoreDependency(DescribedPredicate<? super JavaClass>, DescribedPredicate<? super JavaClass>) - Method in class com.tngtech.archunit.library.dependencies.SliceRule
-
- implement(Class<?>) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
-
- implement(String) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
-
- implement(DescribedPredicate<? super JavaClass>) - Static method in class com.tngtech.archunit.core.domain.JavaClass.Predicates
-
- implement(Class<?>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
-
- implement(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
-
- implement(DescribedPredicate<? super JavaClass>) - 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(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes implement a certain interface with the given type name.
- 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(Class<?>) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes that implement a certain interface.
- implement(String) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesThat
-
Matches classes that implement a certain interface with the given type name.
- 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.
- importClass(Class<?>) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
- importClasses(Class<?>...) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
- importClasses(Collection<Class<?>>) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
- importClasspath() - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
Imports classes from the whole classpath without JARs.
- importClasspath(ImportOptions) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
- ImportContext - Interface in com.tngtech.archunit.core.domain
-
- importJar(JarFile) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
- importJars(JarFile...) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
- importJars(Iterable<JarFile>) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
- importLocations(Collection<Location>) - Method in class com.tngtech.archunit.core.importer.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.DontIncludeJars - Class in com.tngtech.archunit.core.importer
-
- ImportOption.DontIncludeJars() - Constructor for class com.tngtech.archunit.core.importer.ImportOption.DontIncludeJars
-
- 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.DontIncludeTests() - Constructor for class com.tngtech.archunit.core.importer.ImportOption.DontIncludeTests
-
- ImportOption.Predefined - Enum in com.tngtech.archunit.core.importer
-
- ImportOptions - Class in com.tngtech.archunit.core.importer
-
- ImportOptions() - Constructor for class com.tngtech.archunit.core.importer.ImportOptions
-
- importPackages(Collection<String>) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
- importPackages(String...) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
- importPackagesOf(Class<?>...) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
- importPackagesOf(Collection<Class<?>>) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
- importPath(String) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
- importPath(Path) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
- importPaths(String...) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
- importPaths(Path...) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
- importPaths(Collection<Path>) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
- importUrl(URL) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
- importUrls(Collection<URL>) - Method in class com.tngtech.archunit.core.importer.ClassFileImporter
-
- inClassPath() - Static method in class com.tngtech.archunit.core.importer.Locations
-
- 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
-
- 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.
- 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.
- 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(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(String) - Method in class com.tngtech.archunit.core.domain.AccessTarget
-
- 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(Class<? extends Annotation>) - Method in class com.tngtech.archunit.core.domain.JavaClass
-
- isAnnotatedWith(String) - Method in class com.tngtech.archunit.core.domain.JavaClass
-
- isAnnotatedWith(DescribedPredicate<? super JavaAnnotation>) - Method in class com.tngtech.archunit.core.domain.JavaClass
-
- isAnnotatedWith(Class<? extends Annotation>) - Method in class com.tngtech.archunit.core.domain.JavaMember
-
- isAnnotatedWith(String) - Method in class com.tngtech.archunit.core.domain.JavaMember
-
- isAnnotatedWith(DescribedPredicate<? super JavaAnnotation>) - 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 interface com.tngtech.archunit.core.domain.properties.CanBeAnnotated
-
- isAnnotatedWith(DescribedPredicate<? super JavaAnnotation>) - 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
-
- isArray() - Method in interface com.tngtech.archunit.core.domain.JavaType
-
- isAssignableFrom(Class<?>) - Method in class com.tngtech.archunit.core.domain.JavaClass
-
- isAssignableFrom(String) - Method in class com.tngtech.archunit.core.domain.JavaClass
-
- isAssignableFrom(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
-
- isAssignableTo(DescribedPredicate<? super JavaClass>) - 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
-
- 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
-
- isPresent() - Method in class com.tngtech.archunit.base.Optional
-
- isPresent() - Method in class com.tngtech.archunit.lang.syntax.PredicateAggregator
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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 like RuntimeException
.
- 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.
- 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
-
- notBeAnnotatedWith(Class<? extends Annotation>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
-
- notBeAnnotatedWith(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
-
- notBeAnnotatedWith(DescribedPredicate<? super JavaAnnotation>) - 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) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes are not annotated with a certain type of annotation.
- 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.
- notBeAssignableFrom(Class<?>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
-
- notBeAssignableFrom(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
-
- notBeAssignableFrom(DescribedPredicate<? super JavaClass>) - 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) - 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.
- 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.
- notBeAssignableTo(Class<?>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
-
- notBeAssignableTo(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
-
- notBeAssignableTo(DescribedPredicate<? super JavaClass>) - 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) - 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.
- 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.
- 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.
- 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(Class<?>) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
-
- notImplement(String) - Static method in class com.tngtech.archunit.lang.conditions.ArchConditions
-
- notImplement(DescribedPredicate<? super JavaClass>) - 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) - Method in interface com.tngtech.archunit.lang.syntax.elements.ClassesShould
-
Asserts that classes don't implement a certain interface with the given type name.
- 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.
- 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 respective Class
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 owning Class
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
-
- 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).
- 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
-
- 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.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.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
-