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_OPS
Set of<
,<=
,>=
and>
.static Set<BinaryOp>
BinaryOp. CONDITIONAL_OPS
Set of&&
and||
.static Set<BinaryOp>
BinaryOp. EQUALITY_OPS
Set of==
and!=
.static Set<BinaryOp>
BinaryOp. SHIFT_OPS
Set of<<
,>>
and>>>
.Methods in net.sourceforge.pmd.lang.java.ast that return BinaryOp Modifier and Type Method Description @Nullable BinaryOp
AssignmentOp. getBinaryOp()
Returns the binary operator this corresponds to if this is a compound operator, otherwise returns null.@Nullable BinaryOp
BinaryOp. getComplement()
Complement, for boolean operators.@NonNull BinaryOp
ASTInfixExpression. getOperator()
Returns the operator.static BinaryOp
BinaryOp. 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 int
BinaryOp. comparePrecedence(@NonNull BinaryOp other)
Compare the precedence of this operator with that of the other, as if with aComparator
.boolean
BinaryOp. 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.
-