mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 16:21:25 +00:00
Fixes #2165: Generated equals fails on annotated array type
This commit is contained in:
@@ -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