mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-12 16:15:29 +00:00
Fixes #2165: Generated equals fails on annotated array type
This commit is contained in:
1 parent
11065b564f
commit
2ccd3f5f5d
4 files changed
+106
-6
No files matched your search
@@ -0,0 +1,19 @@
|
||||
//version 8
|
||||
import java.lang.annotation.*;
|
||||
|
||||
@lombok.EqualsAndHashCode
|
||||
class EqualsAndHashCodeAnnotated {
|
||||
@Annotated int primitive;
|
||||
@Annotated Object object;
|
||||
|
||||
int @Annotated [] primitiveValues;
|
||||
int @Annotated [] @Annotated [] morePrimitiveValues;
|
||||
|
||||
Integer @Annotated [] objectValues;
|
||||
Integer @Annotated [] @Annotated [] moreObjectValues;
|
||||
|
||||
@Target(ElementType.TYPE_USE)
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
@interface Annotated {
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user