P
Добавляем туда строчку
lombok.anyconstructor.addconstructorproperties=true
Size: a a a
P
lombok.anyconstructor.addconstructorproperties=true
P
D𝔇
DS
ИВ
ЕТ
Metric
, так?ИВ
Metric
, так?ИВ
Metric
, так?V
List<Annotation> result = list.stream().filter(a -> a instanseof Metric).collect(Collectors.toList());
if (result.size() > 0) {
. . .
}
ЕТ
if (list.stream().anyMatch(l -> l instanceOf Metric) {
...
}
ИВ
ИВ
if (list.stream().anyMatch(l -> l instanceOf Metric) {
...
}
V
if (list.stream().anyMatch(l -> l instanceOf Metric) {
...
}
Д
GV
V
GV
ИВ
GV
ИВ