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 267238 - Code folds in nested/inner classes - 2 (continuation of #248676)
Summary: Code folds in nested/inner classes - 2 (continuation of #248676)
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-21 11:08 UTC by Shredder_121
Modified: 2016-07-21 11:14 UTC (History)
1 user (show)

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 Shredder_121 2016-07-21 11:08:53 UTC
Sometime ago, #248676 was fixed.

However I noticed something.
The issue also occurs with nested annotation classes.

See for example 'javax.validation.constraints.NotNull' :

This code:
	@Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER })
	@Retention(RUNTIME)
	@Documented
	@interface List {
	// omitted
	}

Is collapsed to this:
	@Target([{...7 lines }]
Comment 1 Shredder_121 2016-07-21 11:09:47 UTC
@sdedic I hope you don't mind, but I included you as well.
Comment 2 Svata Dedic 2016-07-21 11:14:26 UTC
Mine.