forked from kherud/java-llama.cpp
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathlombok.config
More file actions
36 lines (30 loc) · 1.62 KB
/
Copy pathlombok.config
File metadata and controls
36 lines (30 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# SPDX-FileCopyrightText: 2026 Bernard Ladenthin <bernard.ladenthin@gmail.com>
#
# SPDX-License-Identifier: Apache-2.0
# Stop the config-resolution from bubbling up into parent directories.
config.stopBubbling = true
# Emit @lombok.Generated on every generated member. SpotBugs / JaCoCo /
# SonarQube special-case this annotation and skip the synthetic methods
# from coverage requirements and bug detectors.
lombok.addLombokGeneratedAnnotation = true
# Default to "skip" on @EqualsAndHashCode / @ToString: we inherit from
# Object in almost all cases; "skip" is the right default for
# Object-extending classes. Classes that extend a non-Object base override
# per-annotation with @EqualsAndHashCode(callSuper = true) /
# @ToString(callSuper = true).
lombok.equalsAndHashCode.callSuper = skip
lombok.toString.callSuper = skip
# Force Lombok's @EqualsAndHashCode / @ToString to read FIELDS directly
# instead of routing through `this.getX()` (the default). Rationale lives
# in ../workspace/policies/lombok-config.md. Cross-repo invariant: all
# three Lombok-using repos ship the same setting. Without it,
# fb-contrib's OI_OPTIONAL_ISSUES_CHECKING_REFERENCE fires on every
# Lombok-generated `this$x == null` branch when `x` is an Optional, and
# Optional/unmodifiable-wrapper getters allocate fresh wrappers on every
# equals call.
lombok.equalsAndHashCode.doNotUseGetters = true
lombok.toString.doNotUseGetters = true
# Do NOT generate Spring-style @ConstructorProperties; java.beans is not
# needed by this codebase and pulls in the desktop module on some JDKs.
lombok.anyConstructor.addConstructorProperties = false
lombok.accessors.flagUsage = ALLOW