Skip to content

Commit 49da8a1

Browse files
author
zhourenjian
committed
Support @j2sIgnore for fields and initializer blocks
1 parent 5d7f500 commit 49da8a1

File tree

1 file changed

+1
-1
lines changed
  • sources/net.sf.j2s.ajax/annotation/net/sf/j2s/annotation

1 file changed

+1
-1
lines changed

sources/net.sf.j2s.ajax/annotation/net/sf/j2s/annotation/J2SIgnore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import java.lang.annotation.Target;
1717
import static java.lang.annotation.ElementType.*;
1818

19-
@Target({METHOD, CONSTRUCTOR})
19+
@Target({METHOD, CONSTRUCTOR, FIELD})
2020
@Retention(RetentionPolicy.SOURCE)
2121
public @interface J2SIgnore {
2222

0 commit comments

Comments
 (0)