Uses of Class
net.sourceforge.pmd.lang.java.ast.BinaryOp
-
Packages that use BinaryOp Package Description net.sourceforge.pmd.lang.java.ast Contains the classes and interfaces modelling the Java AST. -
-
Uses of BinaryOp in net.sourceforge.pmd.lang.java.ast
Fields in net.sourceforge.pmd.lang.java.ast with type parameters of type BinaryOp Modifier and Type Field Description static Set<BinaryOp>BinaryOp. COMPARISON_OPSSet of<,<=,>=and>.static Set<BinaryOp>BinaryOp. CONDITIONAL_OPSSet of&&and||.static Set<BinaryOp>BinaryOp. EQUALITY_OPSSet of==and!=.static Set<BinaryOp>BinaryOp. SHIFT_OPSSet of<<,>>and>>>.Methods in net.sourceforge.pmd.lang.java.ast that return BinaryOp Modifier and Type Method Description @Nullable BinaryOpAssignmentOp. getBinaryOp()Returns the binary operator this corresponds to if this is a compound operator, otherwise returns null.@Nullable BinaryOpBinaryOp. getComplement()Complement, for boolean operators.@NonNull BinaryOpASTInfixExpression. getOperator()Returns the operator.static BinaryOpBinaryOp. valueOf(String name)Returns the enum constant of this type with the specified name.static BinaryOp[]BinaryOp. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.sourceforge.pmd.lang.java.ast that return types with arguments of type BinaryOp Modifier and Type Method Description static Set<BinaryOp>BinaryOp. opsWithGreaterPrecedence(BinaryOp op)Returns the ops with strictly greater precedence than the given op.Methods in net.sourceforge.pmd.lang.java.ast with parameters of type BinaryOp Modifier and Type Method Description intBinaryOp. comparePrecedence(@NonNull BinaryOp other)Compare the precedence of this operator with that of the other, as if with aComparator.booleanBinaryOp. hasSamePrecedenceAs(@NonNull BinaryOp other)Returns true if this operator has the same relative precedence as the argument.static Set<BinaryOp>BinaryOp. opsWithGreaterPrecedence(BinaryOp op)Returns the ops with strictly greater precedence than the given op.
-