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.
I am having one problem though. See example abstract class SimpleObject { public function methodOne() { } public function methodTwo() { } } class ComplexObject extends SimpleObject { public function methodThree() { } } class Foo { /** * @var SimpleObject */ private $_object; public function __construct(SimpleObject $example) { $this->_object = $example; } /** * Example method returns something like SimpleObject * * @return SimpleObject */ public function getOject() { return $this->_object; } } $foo = new Foo(); $fooObject = $foo->getOject(); /* @var $fooObject ComplexObject */ $fooObject-> Here I would want the vardoc to change what the editor thinks it has in $fooObject. It currently only shows only methods from the SimpleObject because thats what the getObject method says. But I want the vardoc to override what the method says it is, because I know what the object type is. It's also possible that I would want to reuse the varible name.
*** Issue 156614 has been marked as a duplicate of this issue. ***
http://hg.netbeans.org/web-main/rev/f7d4cd51aa63 Fixed for 6.8
Integrated into 'main-golden', will be available in build *200905290201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/f7d4cd51aa63 User: Radek Matous <rmatous@netbeans.org> Log: #159970 vardoc - wrong type problem