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 189891 - Refactor class names in strings used by factories
Summary: Refactor class names in strings used by factories
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-26 09:18 UTC by martinvium
Modified: 2012-04-10 12:20 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description martinvium 2010-08-26 09:18:47 UTC
What about refactoring strings i cases like factories? e.g. renaming FooClass when there are use cases like this:

FactoryClass::newInstance('FooClass');

Maybe it could be done, based on a comment annotation e.g.

/**
 * @param Class $class 
 */
public function factory($class);

Class prefixing and namespaces might complicate things, both of which which are common here.
Comment 1 Filip Zamboj 2010-09-15 12:33:09 UTC
batch reassigning