9596979899100101102103104105
Parameter param = new Parameter( ); param.setClassName( "java.lang.String" ); //$NON-NLS-1$ param.setIdentifier( "s" ); param.setComment( "param comment" ); //$NON-NLS-1$ rule.addParameter( param ); ruleSet.addRule( rule ); return ruleSet; }