void () { final PyFile file = getTestFile(); final PyFunction func = file.findTopLevelFunction("func"); final PyFunctionStub funcStub = func.getStub(); assertNull(funcStub.findChildStubByType(PyElementTypes.ANNOTATION)); }