Class CommentExampleGen
java.lang.Object
de.japkit.test.members.common.comment.CommentExampleGen
@CommentTrigger(shadow=true) @Generated(src="de.japkit.test.members.common.comment.CommentExample") public class CommentExampleGen extends java.lang.Object
The generated class for the example.
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.String
someString1
This comment is just copied as it is.(package private) java.lang.String
someString2
Since the comment is not just copied, but evaluated as a Java EL expression, it is for example possible to use the name of the generated class: CommentExample.(package private) java.lang.String
someString3
The real comment.(package private) java.lang.String
srcField1Copy
This is the comment on srcField1 fromCommentExample
.(package private) java.lang.String
srcField2Copy
This is the comment on srcField2 fromCommentExample
. -
Constructor Summary
Constructors Constructor Description CommentExampleGen()
-
Method Summary
-
Field Details
-
someString1
java.lang.String someString1This comment is just copied as it is. -
someString2
java.lang.String someString2Since the comment is not just copied, but evaluated as a Java EL expression, it is for example possible to use the name of the generated class: CommentExample.This is also a nice debugging tool for showing the result expressions: [srcField1, srcField2]
-
someString3
java.lang.String someString3The real comment. -
srcField1Copy
java.lang.String srcField1CopyThis is the comment on srcField1 fromCommentExample
. -
srcField2Copy
java.lang.String srcField2CopyThis is the comment on srcField2 fromCommentExample
.
-
-
Constructor Details
-
CommentExampleGen
public CommentExampleGen()
-