Uses of Enum Class
net.sourceforge.pmd.lang.java.ast.BinaryOp
Packages that use BinaryOp
Package
Description
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 BinaryOpModifier and TypeFieldDescriptionBinaryOp.COMPARISON_OPS
Set of<
,<=
,>=
and>
.BinaryOp.CONDITIONAL_OPS
Set of&&
and||
.BinaryOp.EQUALITY_OPS
Set of==
and!=
.BinaryOp.SHIFT_OPS
Set of<<
,>>
and>>>
.Methods in net.sourceforge.pmd.lang.java.ast that return BinaryOpModifier and TypeMethodDescription@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
Returns the enum constant of this class with the specified name.static BinaryOp[]
BinaryOp.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.sourceforge.pmd.lang.java.ast that return types with arguments of type BinaryOpModifier and TypeMethodDescriptionBinaryOp.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 BinaryOpModifier and TypeMethodDescriptionint
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.BinaryOp.opsWithGreaterPrecedence
(BinaryOp op) Returns the ops with strictly greater precedence than the given op.