Package com.tngtech.archunit.core.domain
Class ReferencedClassObject
java.lang.Object
com.tngtech.archunit.core.domain.ReferencedClassObject
- All Implemented Interfaces:
HasOwner<JavaCodeUnit>
,HasSourceCodeLocation
,HasType
@PublicAPI(usage=ACCESS) public final class ReferencedClassObject extends java.lang.Object implements HasType, HasOwner<JavaCodeUnit>, HasSourceCodeLocation
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReferencedClassObject.Functions
Nested classes/interfaces inherited from interface com.tngtech.archunit.core.domain.properties.HasOwner
HasOwner.Predicates
Nested classes/interfaces inherited from interface com.tngtech.archunit.core.domain.properties.HasType
HasType.Predicates
-
Method Summary
Modifier and Type Method Description int
getLineNumber()
JavaCodeUnit
getOwner()
JavaClass
getRawType()
SourceCodeLocation
getSourceCodeLocation()
JavaType
getType()
JavaClass
getValue()
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Method Details
-
getType
-
getRawType
- Specified by:
getRawType
in interfaceHasType
-
getOwner
- Specified by:
getOwner
in interfaceHasOwner<JavaCodeUnit>
- Returns:
- The "owner" of this object, compare
HasOwner
-
getValue
-
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
-