Link Details

Link 203579 thumbnail
User 324056 avatar

By farazdagi
via phpmag.ru
Published: Jul 17 2009 / 03:50

When using factory method, returned object can be of different types so @return directive cannot suggest NetBeans the exact type of returned variable (its generally marked as mixed or some base type). If you still want to use auto-completion feature with objects returned from factories, here is how.
  • 9
  • 0
  • 1161
  • 243

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (9)



Voters Against This Link (0)