You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by ge...@apache.org on 2009/03/13 23:28:06 UTC

svn commit: r753455 - /incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/inject/Obtains.java

Author: gerdogdu
Date: Fri Mar 13 22:28:06 2009
New Revision: 753455

URL: http://svn.apache.org/viewvc?rev=753455&view=rev
Log:
Update ElementType.

Modified:
    incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/inject/Obtains.java

Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/inject/Obtains.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/inject/Obtains.java?rev=753455&r1=753454&r2=753455&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/inject/Obtains.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/inject/Obtains.java Fri Mar 13 22:28:06 2009
@@ -13,6 +13,7 @@
  */
 package javax.inject;
 
+import java.lang.annotation.Documented;
 import java.lang.annotation.ElementType;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
@@ -20,7 +21,8 @@
 
 @BindingType
 @Retention(RetentionPolicy.RUNTIME)
-@Target( { ElementType.FIELD, ElementType.PARAMETER })
+@Target( { ElementType.METHOD, ElementType.TYPE, ElementType.FIELD, ElementType.PARAMETER })
+@Documented
 public @interface Obtains
 {