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_OPSSet of<,<=,>=and>.BinaryOp.CONDITIONAL_OPSSet of&&and||.BinaryOp.EQUALITY_OPSSet of==and!=.BinaryOp.SHIFT_OPSSet of<<,>>and>>>.Methods in net.sourceforge.pmd.lang.java.ast that return BinaryOpModifier and TypeMethodDescription@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 BinaryOpReturns 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 TypeMethodDescriptionintBinaryOp.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.BinaryOp.opsWithGreaterPrecedence(BinaryOp op) Returns the ops with strictly greater precedence than the given op.