String (@NotNull final SourcePosition position) { return ReadAction.compute(()->{ PsiClass typeDefinition = findEnclosingTypeDefinition(position); if (typeDefinition != null) { return getClassNameForJvm(typeDefinition); } return getScriptQualifiedName(position); }); }