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

Summary: Code folds in nested/inner classes - 2 (continuation of #248676)
Product: java Reporter: Shredder_121
Component: EditorAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal CC: sdedic
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 10 x64   
Issue Type: DEFECT Exception Reporter:

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.