public Double getCredits() throws FenixFilterException, FenixServiceException {
public Double getCredits() {
    public Double getCredits() throws FenixFilterException, FenixServiceException {        if (getViewState().getAttribute("credits") == null) {            if (getCurricularRule() != null && getCurricularRule() instanceof AnyCurricularCourse) {                AnyCurricularCourse anyCurricularCourse = (AnyCurricularCourse) getCurricularRule();                if (anyCurricularCourse.getCredits() != null) {                    setCredits(anyCurricularCourse.getCredits());                                    }            }        }        return (Double) getViewState().getAttribute("credits");    }