setup intellij to ask type parameter when using generics in java -


i'm new intellij idea. used use eclipse.

by default, intellij doesn't ask give parameter type java generics type.

// following code doesn't give warning list list = null;  // want make intellij ask me specify type parameter (say long) list<long> list = null; // i.e  if want list of long 

how can set intellij ask me give generic type parameters while using generics java types?

i'm using jdk 8 if matters.

intellij provide inspection name raw use of parameterized class

enter image description here

after enabling inspection.

enter image description here


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -