return result.get().booleanValue();
}
public static boolean isTypeCastSemantical(PsiTypeCastExpression typeCast) {
PsiExpression operand = typeCast.getOperand();
if (operand != null) {
<BUG>PsiType opType = operand.getType();
PsiType castType = typeCast.getCastType().getType();
</BUG>
if (castType instanceof PsiPrimitiveType) {
if (opType instanceof PsiPrimitiveType) {

return result.get().booleanValue();
}
public static boolean isTypeCastSemantical(PsiTypeCastExpression typeCast) {
PsiExpression operand = typeCast.getOperand();
if (operand != null) {
PsiType opType = operand.getType();
PsiTypeElement typeElement = typeCast.getCastType();
if (typeElement == null) return false;
PsiType castType = typeElement.getType();
if (castType instanceof PsiPrimitiveType) {
if (opType instanceof PsiPrimitiveType) {
