Skip to content

Commit

Permalink
New: @parameters can now be used with cglib proxies
Browse files Browse the repository at this point in the history
  • Loading branch information
kjpoalses committed Dec 21, 2012
1 parent e96931e commit 74678a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
<dependency>
<groupId>com.beust</groupId>
<artifactId>jcommander</artifactId>
<version>1.13</version>
<version>1.31-SNAPSHOT</version>
<!--
<version>${project.version}</version>
-->
Expand Down
6 changes: 4 additions & 2 deletions src/main/java/com/beust/jcommander/Parameters.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,20 @@

package com.beust.jcommander;

import static java.lang.annotation.ElementType.TYPE;

import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.TYPE;

/**
* An annotation used to specify settings for parameter parsing.
*
* @author cbeust
*/
@Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
@Target({ TYPE })
@Inherited
public @interface Parameters {

public static final String DEFAULT_OPTION_PREFIXES = "-";
Expand Down

0 comments on commit 74678a3

Please sign in to comment.