Interface ArtifactContainerDescriptor

    • Method Detail

      • containerNameOf

        Optional<String> containerNameOf​(com.tngtech.archunit.core.domain.JavaClass javaClass)
        Returns the name of the ArtifactContainer. Implementations are free to return Optional.empty() to indicate that they cannot determine a container for the given JavaClass.
        Parameters:
        javaClass - The JavaClass to be evaluated
        Returns:
        the name of the container (if present), otherwise Optional.empty(). Cannot be null.