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 229734

Summary: Add utility method to find span of a ClassTree's body in the source.
Product: java Reporter: Ralph Ruijs <ralphbenjamin>
Component: SourceAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED FIXED    
Severity: normal CC: apireviews, jlahoda, ralphbenjamin
Priority: P2 Keywords: API, API_REVIEW_FAST
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 146654    
Attachments: Proposed patch

Description Ralph Ruijs 2013-05-14 15:11:04 UTC
Add a utility method to find span of a ClassTree's body in the source. It returns starting and ending offset of the classtree's body in the source code that was parsed (ie. CompilationInfo.getText()).
Comment 1 Ralph Ruijs 2013-05-14 15:19:50 UTC
Created attachment 134432 [details]
Proposed patch
Comment 2 Ralph Ruijs 2013-05-14 15:24:06 UTC
Please review attached patch.
Comment 3 Ralph Ruijs 2013-05-27 12:42:35 UTC
changeset   : b48b333c6b20
author      : Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date        : Mon May 27 14:37:31 CEST 2013
summary     : #229734 - Add utility method to find span of a ClassTree's body in the source.
Comment 4 Quality Engineering 2013-05-28 14:14:26 UTC
Integrated into 'main-golden', will be available in build *201305281155* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b48b333c6b20
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #229734 - Add utility method to find span of a ClassTree's body in the source.