Esempio n. 1
0
 boolean storeClassLiteralsGuess(ObjVector parmSig, boolean isActual) {
   ExpressionType exprType0;
   if (isActual) {
     exprType0 = terms[0].actualExprType();
     int s0 = exprType0.objectSize();
     if (s0 < Type.CLASSINTERFACE) return false;
     if (s0 == Type.CLASSINTERFACE) {
       ClassDefinition cd = exprType0.receiverClass();
       exprType0 =
           cd.name().equals(Names.JAVAX_SWING_PLAF_COLORUIRESOURCE)
               ? cd.superClass()
               : cd.mapToPrimType();
     }
   } else {
     exprType0 = terms[0].classLiteralValGuess();
     if (exprType0 == null) return false;
     if (exprType0.signatureDimensions() == 0) {
       exprType0 = exprType0.receiverClass();
     }
   }
   parmSig.addElement(exprType0);
   return true;
 }