Package com.tngtech.archunit.core.domain
package com.tngtech.archunit.core.domain
-
ClassDescriptionRepresents the target of a
JavaAccess.Represents anAccessTargetwhere the target is a code unit.Predefinedfunctionsto transformAccessTarget.CodeUnitAccessTarget.Represents anAccessTargetwhere the target is a code unit.Represents anAccessTargetwhere the target is a code unit.Represents aAccessTarget.CodeUnitCallTargetwhere the target is a constructor.Predefinedfunctionsto transformAccessTarget.ConstructorCallTarget.Represents aAccessTarget.CodeUnitReferenceTargetwhere the target is a constructor.Predefinedfunctionsto transformAccessTarget.ConstructorReferenceTarget.Represents anAccessTargetwhere the target is a field.Predefinedfunctionsto transformAccessTarget.FieldAccessTarget.Predefinedfunctionsto transformAccessTarget.Represents aAccessTarget.CodeUnitCallTargetwhere the target is a method.Predefinedfunctionsto transformAccessTarget.MethodCallTarget.Represents aAccessTarget.CodeUnitReferenceTargetwhere the target is a method.Predefinedfunctionsto transformAccessTarget.MethodReferenceTarget.PredefinedpredicatestargetingAccessTarget.Represents a dependency of one Java class on another Java class.Predefinedfunctionsto transformDependency.PredefinedpredicatestargetingDependency.Together withDomainBuilders, this class is the link to create domain objects from the import context.Resolved viaPluginLoaderJavaAccess<TARGET extends AccessTarget>Predefinedfunctionsto transformJavaAccess.PredefinedpredicatestargetingJavaAccess.JavaAnnotation<OWNER extends HasDescription>Represents an imported annotation on an annotated object like a class or a method.Default implementation ofJavaAnnotation.ParameterVisitorimplementing 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 anAnnotationis represented by the respectivevisit-method.JavaCall<T extends AccessTarget.CodeUnitCallTarget>PredefinedpredicatestargetingJavaCall.PredefinedpredicatestargetingJavaClass.Represents a unit of code containing accesses to other units of code.Predefinedfunctionsto transformJavaCodeUnit.PredefinedpredicatestargetingJavaCodeUnit.PredefinedpredicatestargetingJavaCodeUnitAccess.PredefinedpredicatestargetingJavaCodeUnitReference.PredefinedpredicatestargetingJavaFieldAccess.Represents a generic array type used in signatures of parameterized types.
E.g.PredefinedpredicatestargetingJavaMember.Represents a package of Java classes as defined by the Java Language Specification.Predefinedfunctionsto transformJavaPackage.A parameter of aJavaCodeUnit, i.e.AJavaParameterizedTyperepresents a concrete parameterization of a generic type.Represents the static initialization block of a class, e.g.Represents a general Java type.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.Predefinedfunctionsto 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>>Predefinedfunctionsto transformThrowsClause.ThrowsDeclaration<LOCATION extends HasParameterTypes & HasReturnType & HasName.AndFullName & CanBeAnnotated & HasOwner<JavaClass>>Represents one declared exception of aThrowsClause.Predefinedfunctionsto transformThrowsDeclaration.