This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 184334 - [69cat] fields of classes annotated with @lombok.Data marked as unused
Summary: [69cat] fields of classes annotated with @lombok.Data marked as unused
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Linux
: P4 normal with 1 vote (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-16 09:08 UTC by aldobrucale
Modified: 2016-07-07 07:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aldobrucale 2010-04-16 09:08:32 UTC
[ JDK VERSION : 1.6.* ]

In this case:

import java.awt.Color;
import lombok.Data;

@Data
public class NewClass {
    private final Color color;
    private int number;

    public NewClass(Color color, int number) {
        this.color = color;
        this.number = number;
    }
}

the fields are marked as unused even if the generated public accessors exist.
Comment 1 Jan Lahoda 2010-04-16 11:34:47 UTC
P4, IMO.
Comment 2 Martin Balin 2016-07-07 07:17:52 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss