langtools/src/share/classes/com/sun/tools/javac/code/Type.java
changeset 13844 56339cf983a3
parent 13631 dc1212c348f9
child 14048 308d1cf8fe46
equal deleted inserted replaced
13843:1ac97278d72b 13844:56339cf983a3
   690         int rank_field = -1;
   690         int rank_field = -1;
   691 
   691 
   692         /** A class type is raw if it misses some
   692         /** A class type is raw if it misses some
   693          *  of its type parameter sections.
   693          *  of its type parameter sections.
   694          *  After validation, this is equivalent to:
   694          *  After validation, this is equivalent to:
   695          *  allparams.isEmpty() && tsym.type.allparams.nonEmpty();
   695          *  {@code allparams.isEmpty() && tsym.type.allparams.nonEmpty(); }
   696          */
   696          */
   697         public boolean isRaw() {
   697         public boolean isRaw() {
   698             return
   698             return
   699                 this != tsym.type && // necessary, but not sufficient condition
   699                 this != tsym.type && // necessary, but not sufficient condition
   700                 tsym.type.allparams().nonEmpty() &&
   700                 tsym.type.allparams().nonEmpty() &&