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

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

php - Redirect and hide target URL -