return type != null;
}
@Override
public void invoke(@NotNull Project project, Editor editor, PsiFile file) throws IncorrectOperationException {
ErlangTypeDefinition type = findType(file, editor.getCaretModel().getOffset());
assert type != null;
ErlangExportTypeFix.processType(project, type);
}