596597598599600601602603604
GoType types[] = literalExpression.getType(); if ( types.length == 0 || types[0] == null || !(types[0] instanceof GoTypePackage) ) return null; GoTypePackage typePackage = (GoTypePackage)types[0]; return typePackage.getPackage(); }