Iterable<PsiRequiresStatement> () { PsiJavaModuleStub stub = getGreenStub(); if (stub != null) { return JBIterable.of(stub.getChildrenByType(JavaElementType.REQUIRES_STATEMENT, PsiRequiresStatement.EMPTY_ARRAY)); } else { return psiTraverser().children(this).filter(PsiRequiresStatement.class); } }