those annotations are only a field level

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1338004 13f79535-47bb-0310-9956-ffa450edef68
master
Olivier Lamy 2012-05-13 23:05:11 +00:00
parent 34c68c011d
commit a608a24dbe
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ import java.lang.annotation.Target;
*/
@Documented
@Retention( RetentionPolicy.CLASS )
@Target( { ElementType.FIELD, ElementType.METHOD } )
@Target( { ElementType.FIELD } )
@Inherited
public @interface Component
{

View File

@ -32,7 +32,7 @@ import java.lang.annotation.Target;
*/
@Documented
@Retention( RetentionPolicy.CLASS )
@Target( { ElementType.FIELD, ElementType.METHOD } )
@Target( { ElementType.FIELD } )
@Inherited
public @interface Parameter
{