()
| 3303 | } |
| 3304 | |
| 3305 | public boolean canEmitPrimitive(){ |
| 3306 | try |
| 3307 | { |
| 3308 | return thenExpr instanceof MaybePrimitiveExpr |
| 3309 | && elseExpr instanceof MaybePrimitiveExpr |
| 3310 | && (thenExpr.getJavaClass() == elseExpr.getJavaClass() |
| 3311 | || thenExpr.getJavaClass() == RECUR_CLASS |
| 3312 | || elseExpr.getJavaClass() == RECUR_CLASS) |
| 3313 | && ((MaybePrimitiveExpr)thenExpr).canEmitPrimitive() |
| 3314 | && ((MaybePrimitiveExpr)elseExpr).canEmitPrimitive(); |
| 3315 | } |
| 3316 | catch(Exception e) |
| 3317 | { |
| 3318 | return false; |
| 3319 | } |
| 3320 | } |
| 3321 | |
| 3322 | public Class getJavaClass() { |
| 3323 | Class thenClass = thenExpr.getJavaClass(); |
nothing calls this directly
no test coverage detected