Skip to content

Commit

Permalink
#43 mark HawtJNI annotations @documented
Browse files Browse the repository at this point in the history
  • Loading branch information
hboutemy committed Dec 4, 2017
1 parent 11ae58c commit 45e8a55
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@

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

import java.lang.annotation.Documented;

@Documented
@Target({PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
public @interface JniArg {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@

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

import java.lang.annotation.Documented;

@Documented
@Target({TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface JniClass {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@

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

import java.lang.annotation.Documented;

/**
*
* @author <a href="http://hiramchirino.com">Hiram Chirino</a>
*/
@Documented
@Target({FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface JniField {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@

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

import java.lang.annotation.Documented;

/**
*
* @author <a href="http://hiramchirino.com">Hiram Chirino</a>
*/
@Documented
@Target({METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface JniMethod {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.*;

import java.lang.annotation.Documented;

@Documented
@Target({FIELD, METHOD, PARAMETER, LOCAL_VARIABLE})
@Retention(RetentionPolicy.RUNTIME)
public @interface T32 {
Expand Down

0 comments on commit 45e8a55

Please sign in to comment.