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.
Often builder pattern uses an inner class for the builder class. NetBeans refactoring fails if I try to replace ctor in com.foo.Bar with new builder com.foo.Bar.Builder - it generated new corrupted source.
The current implementation has no support for inner classes. => enhancement I do not think we want to make the configuration more strict, as the current outcome is easily fixed after running the refactoring.
There is no way to find out that it is not supported. I used IDE and it corrupted my sources and you say it is not defect ... And again: it is common to use inner class. Look at some existing libraries like Guava or some talk on design pattern like one by Joshua Bloch.
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.