aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-07-10Implement prefixed settersCaleb Brinkman
Related to #1805, this change adds an optional `setterPrefix` parameter to the `Builder` annotation; if this parameter is unspecified or blank the behavior of the `Builder` annotation is unchanged, but if it is present the value specified will be prefixed to the generated methods. For example, using: ``` @Builder(setterPrefix = "include") class Foo { private int someValue; } ``` will result in a generated `Builder` class containing an `includeSomeValue(int someValue)` method instead of the default `someValue(int someValue)`.
2019-07-10Add setterPrefix to Builder annotationCaleb Brinkman
2019-07-09Merge branch 'customlog'Reinier Zwitserloot
2019-07-09Merge pull request #2155 from brychcy/masterReinier Zwitserloot
Avoid Eclipse warnings about lombok.NonNull when NonNullByDefault is used
2019-07-09Merge pull request #2138 from ↵Reinier Zwitserloot
bulgakovalexander/feature/typeInferenceImprovements val. override error handling policy for problemReporter to guarantee AbortCompilation is throwing.
2019-07-09[builder] added a feature: you can now configure builder class name via the ↵Reinier Zwitserloot
config system
2019-07-08Fixes #2165: Generated equals fails on annotated array typeRoel Spilker
2019-06-18[fixes #2140] when pretty-printing (delombok) varargs, only turn array ↵Reinier Zwitserloot
brackets into varargs for the actual top-level type, not for arrays inside the type, such as an array as generics component.
2019-06-15Avoid Eclipse warnings about null checks generated for lombok.NonNull when ↵Till Brychcy
NonNullByDefault is used
2019-05-29Fix custom logger when topic presence != allowanceAdam Juraszek
2019-05-24[val]. Sets false to ReferenceContexts' ignoreFurtherInvestigationField ↵Bulgakov Alexander
fields for generating bytecode correctly. Resolves the False part type of a conditional expression.
2019-05-24#1976. override error handling policy for problemReporter to guarantee ↵Bulgakov Alexander
AbortCompilation is throwing.
2019-05-22Fixes for CustomLog, AUTHORS entry, extended changlogAdam Juraszek
2019-05-21Code review + mention in changelog for the improvement to val handling vs. ↵Reinier Zwitserloot
lambdas and conditional (ternary) expressions.
2019-05-21Code review for `@CustomLog`, and added documentation and a changelog entry.Reinier Zwitserloot
2019-05-20Merge branch 'master' into feature/typeInferenceImprovementsBulgakov Alexander
2019-05-14Custom log declarationAdam Juraszek
2019-05-14Configuration types without explicit registrationAdam Juraszek
2019-05-14IdentifierName instead of StringAdam Juraszek
2019-05-09post-release version bump (to be clear, the static constructor feature 2 ↵Reinier Zwitserloot
commits before this is NOT in the 1.18.8 release; this post-release bump is slightly late).
2019-05-08#1976. [@val] improved raw generic type inference by eclipse compiler.Bulgakov Alexander
2019-05-07[Feature] staticConstructor should use already defined private constructor ↵daliclass
if available
2019-05-07Merge remote-tracking branch 'lombok/master' into ↵Bulgakov Alexander
feature/typeInferenceImprovements
2019-05-07#1976. naive fix of the eclipse compiler's error 'The target type of this ↵Bulgakov Alexander
expression must be a functional interface' in code like 'lombok.val foo = (System.currentTimeMillis() > 0) ? (Runnable)()-> {} : System.out::println;'
2019-05-07pre-release version bumpReinier Zwitserloot
2019-05-07[fixes #1981][fixes #1961] Hardcoded some knowledge about how to copy ↵Reinier Zwitserloot
jackson’s `@JsonProperty`.
2019-05-06[fixes #2120] ecj was not generating explicit nullchecks for builder-setters.Reinier Zwitserloot
2019-05-06[trivial] replacing all calls to Class.newInstance() with ↵Reinier Zwitserloot
Class.getConstructor().newInstance to avoid warnings which are default in many JDK11+ environments, and it shouldn’t change anything (we handle the change from sneaky throwing to InvocationTargetException appropriately).
2019-05-03Revert "[val] in ecj we were constructing a different type than for javac, ↵Bulgakov Alexander
when using ‘val’ on an intersection type." This reverts commit 1730a991
2019-05-03Merge remote-tracking branch 'lombok/master' into ↵Bulgakov Alexander
feature/typeInferenceImprovements
2019-05-01[fixes #2104] superbuilder + non-list-singulars wouldn’t work due to ↵Reinier Zwitserloot
hardcoded call to emptyList.
2019-05-01[issue #2092] Add an uppercase option to FieldNameConstantsReinier Zwitserloot
2019-05-01Merge branch 'master' of github.com:rzwitserloot/lombokReinier Zwitserloot
2019-05-01[fixes #2083] adds feature ‘access level’ to `@Builder`Reinier Zwitserloot
2019-05-01Update documentationRoel Spilker
2019-04-30[trivial] update a comment to be more accurate about the priority of handler ↵Reinier Zwitserloot
for val.
2019-04-30Merge pull request #2114 from bulgakovalexander/bugfix/#1976Reinier Zwitserloot
#1976. A handlers' order has been changed.
2019-04-30[i2084] Rename .dll to .binary to prevent OWASP Dependency-Check from ↵Roel Spilker
reporting "problems"
2019-04-28#1976. A handlers' order has been changed. The javac's HandleDelegate ↵Bulgakov Alexander
generates code before the HandleVal.
2019-04-24[trivial] adding a comment to give context to the fix for delombok being ↵Reinier Zwitserloot
overly liberal with applying "var" to things.
2019-04-24[jdk11] delombok was printing most variable declarations that are generated ↵Reinier Zwitserloot
by lombok with ‘var’.
2019-04-24[val] in ecj we were constructing a different type than for javac, when ↵Reinier Zwitserloot
using ‘val’ on an intersection type.
2019-04-24[jdk12] adding support for the new nodes introduced for the improvements to ↵Reinier Zwitserloot
switch statements, and the ‘switch expression’ preview feature, as well as support for the concept of preview features in general.
2019-04-24improvements type inference of type intersections (affects ValLambda.java, ↵Bulgakov Alexander
ValWeirdTypes.java tests)
2019-04-24[fixes #2085] JDK12 compatibility. Also acknowledging @nqzero for the ↵Reinier Zwitserloot
permit-reflect library which is inspiring our shenanigans :)
2019-04-18#1040 remove createFormat() methodmonosoul
Method createFormat() causes ambiguous behavior and shouldn't be used with addFormat(), especially because the created format instance doesn't being added to the formatOptions
2019-03-26[fixes #2050] [fixes #2061] javac would fail to skip generating build() ↵Reinier Zwitserloot
method if it is already there
2019-03-26[fixes #2049] Delombok now figures out usages of ‘var’ and delomboks ↵Reinier Zwitserloot
them as just ‘var’ instead of their actual type.
2019-03-26[#2046] Extend suppress builder feature to `@SuperBuilder`Reinier Zwitserloot
2019-03-26[i2066] Map#putIfAbsent does not exist in java6Roel Spilker