JDR, minor: clarifying comment

This commit is contained in:
Pavel V. Talanov
2014-06-06 17:14:48 +04:00
parent 68b4b8e946
commit 5ce8f4b892
@@ -184,6 +184,7 @@ public class LazyPackageFragmentScopeForJavaClass(
.map { c -> c.getFqName().sure("Nested class has no fqName: $c}") }.toList()
override fun computeNonDeclaredFunctions(result: MutableCollection<SimpleFunctionDescriptor>, name: Name) {
//NOTE: assuming that all sam constructors are created for interfaces which are static and should be placed in this scope
val samConstructor = getContainingDeclaration().getCorrespondingClass().getUnsubstitutedInnerClassesScope().getClassifier(name)
?.createSamConstructor()
if (samConstructor != null) {