PsiElement parent = element.getParent();
GoPsiType type = null;
GoLiteralIdentifier[] identifiers = GoLiteralIdentifier.EMPTY_ARRAY;
GoExpr[] expressions = GoExpr.EMPTY_ARRAY;
if (parent instanceof GoVarDeclaration) {
GoVarDeclaration vd = (GoVarDeclaration) parent;
type = vd.getIdentifiersType();
identifiers = vd.getIdentifiers();
expressions = vd.getExpressions();
} else if (parent instanceof GoConstDeclaration) {
GoConstDeclaration cd = (GoConstDeclaration) parent;
type = cd.getIdentifiersType();
identifiers = cd.getIdentifiers();
expressions = cd.getExpressions();