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.



Add your comment