Completion optimizations: do not search classes in java package when no SAM-constructors needed or when only singleton classifiers needed