langtools/src/share/classes/com/sun/tools/javac/code/Types.java
changeset 14057 b4b0377b8dba
parent 14048 308d1cf8fe46
child 14058 c7ec7facdd20
equal deleted inserted replaced
14056:0ea78d6e0b7b 14057:b4b0377b8dba
  3152                     return syms.typeOfTag[i];
  3152                     return syms.typeOfTag[i];
  3153             }
  3153             }
  3154         }
  3154         }
  3155         return Type.noType;
  3155         return Type.noType;
  3156     }
  3156     }
       
  3157 
       
  3158     /**
       
  3159      * Return the unboxed type if 't' is a boxed class, otherwise return 't' itself.
       
  3160      */
       
  3161     public Type unboxedTypeOrType(Type t) {
       
  3162         Type unboxedType = unboxedType(t);
       
  3163         return unboxedType.tag == NONE ? t : unboxedType;
       
  3164     }
  3157     // </editor-fold>
  3165     // </editor-fold>
  3158 
  3166 
  3159     // <editor-fold defaultstate="collapsed" desc="Capture conversion">
  3167     // <editor-fold defaultstate="collapsed" desc="Capture conversion">
  3160     /*
  3168     /*
  3161      * JLS 5.1.10 Capture Conversion:
  3169      * JLS 5.1.10 Capture Conversion: