Exact (TypeConstraintFactory factory) { String qualifiedName = classDef.getQualifiedName(); if (qualifiedName != null) { return factory.create(qualifiedName); } return unresolved(classDef.toString()); }