Package com.tngtech.archunit.core.domain
Class TryCatchBlock
java.lang.Object
com.tngtech.archunit.core.domain.TryCatchBlock
- All Implemented Interfaces:
HasOwner<JavaCodeUnit>,HasSourceCodeLocation
@PublicAPI(usage=ACCESS)
public final class TryCatchBlock
extends Object
implements HasOwner<JavaCodeUnit>, HasSourceCodeLocation
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tngtech.archunit.core.domain.properties.HasOwner
HasOwner.Functions, HasOwner.Predicates -
Method Summary
-
Method Details
-
getOwner
- Specified by:
getOwnerin interfaceHasOwner<JavaCodeUnit>- Returns:
- The "owner" of this object, compare
HasOwner
-
getCaughtThrowables
-
getSourceCodeLocation
- Specified by:
getSourceCodeLocationin interfaceHasSourceCodeLocation- Returns:
- The
SourceCodeLocationof this object, i.e. how to locate the respective object within the set of source files.
-
getAccessesContainedInTryBlock
-
isDeclaredInLambda
-
toString
-