Package com.tngtech.archunit.core.domain
Class InstanceofCheck
java.lang.Object
com.tngtech.archunit.core.domain.InstanceofCheck
- All Implemented Interfaces:
HasOwner<JavaCodeUnit>
,HasSourceCodeLocation
,HasType
public final class InstanceofCheck extends java.lang.Object implements HasType, HasOwner<JavaCodeUnit>, HasSourceCodeLocation
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tngtech.archunit.core.domain.properties.HasOwner
HasOwner.Functions, HasOwner.Predicates
Nested classes/interfaces inherited from interface com.tngtech.archunit.core.domain.properties.HasType
HasType.Functions, HasType.Predicates
-
Method Summary
Modifier and Type Method Description int
getLineNumber()
JavaCodeUnit
getOwner()
JavaClass
getRawType()
SourceCodeLocation
getSourceCodeLocation()
JavaType
getType()
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Method Details
-
getRawType
- Specified by:
getRawType
in interfaceHasType
-
getType
-
getOwner
- Specified by:
getOwner
in interfaceHasOwner<JavaCodeUnit>
- Returns:
- The "owner" of this object, compare
HasOwner
-
getLineNumber
-
getSourceCodeLocation
- Specified by:
getSourceCodeLocation
in interfaceHasSourceCodeLocation
- Returns:
- The
SourceCodeLocation
of this object, i.e. how to locate the respective object within the set of source files.
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-