コード例 #1
0
 @Override
 public void visitPolyadicExpression(PsiPolyadicExpression expression) {
   super.visitPolyadicExpression(expression);
   if (!ExpressionUtils.hasStringType(expression)) {
     return;
   }
   final PsiExpression[] operands = expression.getOperands();
   for (PsiExpression operand : operands) {
     checkExpression(operand);
   }
 }
コード例 #2
0
 @Override
 public void visitPolyadicExpression(PsiPolyadicExpression expression) {
   super.visitPolyadicExpression(expression);
   checkExpression(expression);
 }