Add back field and method targets, note in javadoc that only required to be supported on method params.
svn path=/trunk/; revision=466
diff --git a/src/jsr311-api/src/javax/ws/rs/FormParam.java b/src/jsr311-api/src/javax/ws/rs/FormParam.java
index 29638cd..0da56a2 100644
--- a/src/jsr311-api/src/javax/ws/rs/FormParam.java
+++ b/src/jsr311-api/src/javax/ws/rs/FormParam.java
@@ -45,11 +45,15 @@
*
* <p>If the type is not one of those listed in 4 above then the first value
* (lexically) of the parameter is used.</p>
+ *
+ * <p>Note that, whilst the annotation target permits use on fields and methods,
+ * this annotation is only required to be supported on resource method
+ * parameters.</p>
*
* @see DefaultValue
* @see Encoded
*/
-@Target({ElementType.PARAMETER})
+@Target({ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface FormParam {
/**