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-ffa450edef68master
parent
34c68c011d
commit
a608a24dbe
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue