aboutsummaryrefslogtreecommitdiff
path: root/usage_examples/ConstructorExample_post.jpage
diff options
context:
space:
mode:
Diffstat (limited to 'usage_examples/ConstructorExample_post.jpage')
-rw-r--r--usage_examples/ConstructorExample_post.jpage28
1 files changed, 0 insertions, 28 deletions
diff --git a/usage_examples/ConstructorExample_post.jpage b/usage_examples/ConstructorExample_post.jpage
deleted file mode 100644
index 8a2d5069..00000000
--- a/usage_examples/ConstructorExample_post.jpage
+++ /dev/null
@@ -1,28 +0,0 @@
-public class ConstructorExample<T> {
- private int x, y;
- @NonNull private T description;
-
- private ConstructorExample(T description) {
- if (description == null) throw new NullPointerException("description");
- this.description = description;
- }
-
- public static <T> ConstructorExample<T> of(T description) {
- return new ConstructorExample<T>(description);
- }
-
- @java.beans.ConstructorProperties({"x", "y", "description"})
- protected ConstructorExample(int x, int y, T description) {
- if (description == null) throw new NullPointerException("description");
- this.x = x;
- this.y = y;
- this.description = description;
- }
-
- public static class NoArgsExample {
- @NonNull private String field;
-
- public NoArgsExample() {
- }
- }
-}