Package com.tngtech.archunit.core.domain
Class AccessTarget.CodeUnitReferenceTarget
java.lang.Object
com.tngtech.archunit.core.domain.AccessTarget
com.tngtech.archunit.core.domain.AccessTarget.CodeUnitAccessTarget
com.tngtech.archunit.core.domain.AccessTarget.CodeUnitReferenceTarget
- All Implemented Interfaces:
HasDescription
,CanBeAnnotated
,HasName
,HasName.AndFullName
,HasOwner<JavaClass>
,HasParameterTypes
,HasReturnType
,HasThrowsClause<AccessTarget.CodeUnitAccessTarget>
- Direct Known Subclasses:
AccessTarget.ConstructorReferenceTarget
,AccessTarget.MethodReferenceTarget
- Enclosing class:
- AccessTarget
@PublicAPI(usage=ACCESS)
public abstract static class AccessTarget.CodeUnitReferenceTarget
extends AccessTarget.CodeUnitAccessTarget
Represents an
AccessTarget
where the target is a code unit. For further elaboration about the necessity to distinguish
CodeUnitReferenceTarget
from JavaCodeUnit
refer to the documentation at AccessTarget
.-
Nested Class Summary
Nested classes/interfaces inherited from class com.tngtech.archunit.core.domain.AccessTarget.CodeUnitAccessTarget
AccessTarget.CodeUnitAccessTarget.Functions
Nested classes/interfaces inherited from class com.tngtech.archunit.core.domain.AccessTarget
AccessTarget.CodeUnitAccessTarget, AccessTarget.CodeUnitCallTarget, AccessTarget.CodeUnitReferenceTarget, AccessTarget.ConstructorCallTarget, AccessTarget.ConstructorReferenceTarget, AccessTarget.FieldAccessTarget, AccessTarget.MethodCallTarget, AccessTarget.MethodReferenceTarget, AccessTarget.Predicates
Nested classes/interfaces inherited from interface com.tngtech.archunit.core.domain.properties.CanBeAnnotated
CanBeAnnotated.Utils
Nested classes/interfaces inherited from interface com.tngtech.archunit.core.domain.properties.HasName
HasName.AndFullName, HasName.Utils
Nested classes/interfaces inherited from interface com.tngtech.archunit.core.domain.properties.HasParameterTypes
HasParameterTypes.Predicates
Nested classes/interfaces inherited from interface com.tngtech.archunit.core.domain.properties.HasReturnType
HasReturnType.Predicates
Nested classes/interfaces inherited from interface com.tngtech.archunit.core.domain.properties.HasThrowsClause
HasThrowsClause.Predicates
-
Method Summary
Methods inherited from class com.tngtech.archunit.core.domain.AccessTarget.CodeUnitAccessTarget
getParameterTypes, getRawParameterTypes, getRawReturnType, getReturnType, resolveMember
Methods inherited from class com.tngtech.archunit.core.domain.AccessTarget
equals, getFullName, getName, getOwner, hashCode, isAnnotatedWith, isAnnotatedWith, isAnnotatedWith, isMetaAnnotatedWith, isMetaAnnotatedWith, isMetaAnnotatedWith, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.tngtech.archunit.base.HasDescription
getDescription
-
Method Details
-
getThrowsClause
@PublicAPI(usage=ACCESS) public ThrowsClause<? extends AccessTarget.CodeUnitReferenceTarget> getThrowsClause()- Specified by:
getThrowsClause
in interfaceHasThrowsClause<AccessTarget.CodeUnitAccessTarget>
- Overrides:
getThrowsClause
in classAccessTarget.CodeUnitAccessTarget
-