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 244758

Summary: Eliminate PositionRef/Bounds from API
Product: java Reporter: Svata Dedic <sdedic>
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Linux   
Issue Type: TASK Exception Reporter:

Description Svata Dedic 2014-05-28 06:36:30 UTC
The task is just to track email discussion. The java.source.base now does not depend at all on openide.text. That openide.text API is treated as an unfortunate necessity anyway :)
Refactoring API still exposes PositionBounds in its API - it might be for a design reason, but ties Refactoring API to openide.text, whose charter is to bound editors and its environment; this is probably not the appropriate dependency.

I am filing the issue not to forget that additional code relies on Refactoring API and now contains hacky interim solution until this issue is resolved:

java.hints.ui/src/org/netbeans/modules/java/hints/spiimpl/refactoring/AbstractApplyHintsRefactoringPlugin.java

Please reassign to me when the API is solved; thanks.