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 Object
implements HasType, HasOwner<JavaCodeUnit>, HasSourceCodeLocation
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classPredefinedfunctionsto transformReferencedClassObject.Nested classes/interfaces inherited from interface com.tngtech.archunit.core.domain.properties.HasOwner
HasOwner.PredicatesNested classes/interfaces inherited from interface com.tngtech.archunit.core.domain.properties.HasType
HasType.Predicates -
Method Summary
-
Method Details
-
getType
-
getRawType
- Specified by:
getRawTypein interfaceHasType- Returns:
- The raw type of this object. This is effectively the same as calling
HasType.getType().toErasure(). E.g. given aJavaParameterizedTypejava.util.List<String>the raw type (i.e. type erasure) would be theJavaClassjava.util.List. - See Also:
-
getOwner
- Specified by:
getOwnerin interfaceHasOwner<JavaCodeUnit>- Returns:
- The "owner" of this object, compare
HasOwner
-
getValue
-
getLineNumber
-
getSourceCodeLocation
- Specified by:
getSourceCodeLocationin interfaceHasSourceCodeLocation- Returns:
- The
SourceCodeLocationof this object, i.e. how to locate the respective object within the set of source files.
-
isDeclaredInLambda
-
toString
-