Interface ClassResolver

    • Method Detail

      • tryResolve

        Optional<JavaClass> tryResolve​(java.lang.String typeName)
        ArchUnit will call this method, to resolve any missing JavaClasses, needed to build the class graph (i.e. targets of method calls, field accesses, super classes, interfaces, ...)
        typeName - The type name to resolve as JavaClass
        Optional.of(resolvedClass), if the JavaClass could be successfully imported, otherwise Optional.absent()