GrTypeElement () { final GrMethodStub stub = getStub(); if (stub != null) { final String typeText = stub.getTypeText(); if (typeText != null) { return GroovyPsiElementFactory.getInstance(getProject()).createTypeElement(typeText, this); } else { return null; } } return findChildByType(TokenSets.TYPE_ELEMENTS); }