Package com.tngtech.archunit.core.domain
Class JavaAccess<TARGET extends AccessTarget>
java.lang.Object
com.tngtech.archunit.core.domain.JavaAccess<TARGET>
- All Implemented Interfaces:
HasDescription
,HasName
,HasOwner<JavaCodeUnit>
,HasSourceCodeLocation
- Direct Known Subclasses:
JavaCodeUnitAccess
,JavaFieldAccess
public abstract class JavaAccess<TARGET extends AccessTarget>
extends Object
implements HasName, HasDescription, HasOwner<JavaCodeUnit>, HasSourceCodeLocation
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
static final class
Nested classes/interfaces inherited from interface com.tngtech.archunit.core.domain.properties.HasName
HasName.AndFullName, HasName.Utils
-
Method Summary
-
Method Details
-
getName
-
getOrigin
-
getOriginOwner
-
getTargetOwner
-
getTarget
-
getLineNumber
-
getOwner
- Specified by:
getOwner
in interfaceHasOwner<TARGET extends AccessTarget>
- Returns:
- The "owner" of this object, compare
HasOwner
-
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.
-
hashCode
public int hashCode() -
equals
-
toString
-
getDescription
- Specified by:
getDescription
in interfaceHasDescription
-
descriptionVerb
-