aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2016-05-11 22:35:57 +0200
committerRoel Spilker <r.spilker@gmail.com>2016-05-11 23:56:19 +0200
commitb1b35aacd3980da44e942afda58cf6590cb5e725 (patch)
tree74107e5774e90820bb443ddc6dfd17a99635414b /src
parent886feac4b5aae6933822eabac7196346ddad3e10 (diff)
downloadlombok-b1b35aacd3980da44e942afda58cf6590cb5e725.tar.gz
lombok-b1b35aacd3980da44e942afda58cf6590cb5e725.tar.bz2
lombok-b1b35aacd3980da44e942afda58cf6590cb5e725.zip
add constructors to the list of targets for the Generated annotation
Diffstat (limited to 'src')
-rw-r--r--src/core/lombok/Generated.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/lombok/Generated.java b/src/core/lombok/Generated.java
index 18411b3d..b99a1b58 100644
--- a/src/core/lombok/Generated.java
+++ b/src/core/lombok/Generated.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2015 The Project Lombok Authors.
+ * Copyright (C) 2015-2016 The Project Lombok Authors.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -27,7 +27,7 @@ import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
- * Lombok will eventually automatically add this annotation to all generated methods, fields, and classes.
+ * Lombok will eventually automatically add this annotation to all generated constructors, methods, fields, and types.
*
* You can mark the presence of this annotation as 'ignore it' for all code style and bug finding tools.
* <p>
@@ -35,7 +35,7 @@ import java.lang.annotation.Target;
* it up so that lombok jars in widespread use start having this, which will make it easier to actually apply it
* later on.
*/
-@Target({ElementType.FIELD, ElementType.METHOD, ElementType.TYPE})
+@Target({ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.FIELD, ElementType.TYPE})
@Retention(RetentionPolicy.CLASS)
public @interface Generated {
}