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.
new wizard for creating constraint. Ask just for constrain package and class name and generate constraint for (METHOD, FIELD and ANNOTATION_TYPE). Message can be defaulted to package name and @Documented should be set. The wizard should have checkbox for "Generate Validator class" which if checked shows two editable fields: validator class name which is by default constraint class name + "Validator" and field for type which will be used to generate validator class. Both fields are mandatory. Wizard would generate constrain annotation and validator class.
Initial commit: http://hg.netbeans.org/web-main/rev/bc8683c9d28d
Wizard moved to separate module http://hg.netbeans.org/web-main/rev/fc6737f62722
Close as fixed, since wizard is implemented. Lets consider type validation as a enhancement, which would be nice to have, but it requires some investigation first.
Integrated into 'main-golden', will be available in build *201007240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/bc8683c9d28d User: Alexey Butenko <alexeybutenko@netbeans.org> Log: #188823 New wizard for creating constraint