Package com.tngtech.archunit.core.domain
package com.tngtech.archunit.core.domain
-
ClassDescriptionRepresents the target of a
JavaAccess
.Represents anAccessTarget
where the target is a code unit.Predefinedfunctions
to transformAccessTarget.CodeUnitAccessTarget
.Represents anAccessTarget
where the target is a code unit.Represents anAccessTarget
where the target is a code unit.Represents aAccessTarget.CodeUnitCallTarget
where the target is a constructor.Predefinedfunctions
to transformAccessTarget.ConstructorCallTarget
.Represents aAccessTarget.CodeUnitReferenceTarget
where the target is a constructor.Predefinedfunctions
to transformAccessTarget.ConstructorReferenceTarget
.Represents anAccessTarget
where the target is a field.Predefinedfunctions
to transformAccessTarget.FieldAccessTarget
.Predefinedfunctions
to transformAccessTarget
.Represents aAccessTarget.CodeUnitCallTarget
where the target is a method.Predefinedfunctions
to transformAccessTarget.MethodCallTarget
.Represents aAccessTarget.CodeUnitReferenceTarget
where the target is a method.Predefinedfunctions
to transformAccessTarget.MethodReferenceTarget
.Predefinedpredicates
targetingAccessTarget
.Represents a dependency of one Java class on another Java class.Predefinedfunctions
to transformDependency
.Predefinedpredicates
targetingDependency
.Together withDomainBuilders
, this class is the link to create domain objects from the import context.Resolved viaPluginLoader
JavaAccess<TARGET extends AccessTarget>Predefinedfunctions
to transformJavaAccess
.Predefinedpredicates
targetingJavaAccess
.JavaAnnotation<OWNER extends HasDescription>Represents an imported annotation on an annotated object like a class or a method.Default implementation ofJavaAnnotation.ParameterVisitor
implementing a no-op behavior, i.e.A Visitor (compareJavaAnnotation.accept(ParameterVisitor)
) offering possibilities to specify behavior when various types ofJavaAnnotation.getProperties()
are encountered.
The list of declared methods is exhaustive, thus any legal parameter type of anAnnotation
is represented by the respectivevisit
-method.JavaCall<T extends AccessTarget.CodeUnitCallTarget>Predefinedpredicates
targetingJavaCall
.Predefinedpredicates
targetingJavaClass
.Represents a unit of code containing accesses to other units of code.Predefinedfunctions
to transformJavaCodeUnit
.Predefinedpredicates
targetingJavaCodeUnit
.Predefinedpredicates
targetingJavaCodeUnitAccess
.Predefinedpredicates
targetingJavaCodeUnitReference
.Predefinedpredicates
targetingJavaFieldAccess
.Represents a generic array type used in signatures of parameterized types.
E.g.Predefinedpredicates
targetingJavaMember
.Represents a package of Java classes as defined by the Java Language Specification.Predefinedfunctions
to transformJavaPackage
.A parameter of aJavaCodeUnit
, i.e.AJavaParameterizedType
represents a concrete parameterization of a generic type.Represents the static initialization block of a class, e.g.JavaTypeVariable<OWNER extends HasDescription>Represents a type variable used by generic types and members.
E.g.Represents a wildcard type in a type signature (compare the JLS).Matches packages with a syntax similar to AspectJ.Predefinedfunctions
to transformReferencedClassObject
.Contains information about an imported class, i.e.Location in the source code of an ArchUnit domain object.ThrowsClause<LOCATION extends HasParameterTypes & HasReturnType & HasName.AndFullName & CanBeAnnotated & HasOwner<JavaClass>>Predefinedfunctions
to transformThrowsClause
.ThrowsDeclaration<LOCATION extends HasParameterTypes & HasReturnType & HasName.AndFullName & CanBeAnnotated & HasOwner<JavaClass>>Represents one declared exception of aThrowsClause
.Predefinedfunctions
to transformThrowsDeclaration
.