Uses of Enum Class
net.sourceforge.pmd.lang.java.ast.UnaryOp
Packages that use UnaryOp
Package
Description
Contains the classes and interfaces modelling the Java AST.
-
Uses of UnaryOp in net.sourceforge.pmd.lang.java.ast
Methods in net.sourceforge.pmd.lang.java.ast that return UnaryOpModifier and TypeMethodDescriptionASTUnaryExpression.getOperator()Returns the constant representing the operator of this expression.static UnaryOpReturns the enum constant of this class with the specified name.static UnaryOp[]UnaryOp.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 with parameters of type UnaryOpModifier and TypeMethodDescriptionstatic booleanUnaryOp.isUnaryExprWithOperator(@Nullable JavaNode e, UnaryOp operator) Tests if the node is anASTUnaryExpressionwith the given operator.Method parameters in net.sourceforge.pmd.lang.java.ast with type arguments of type UnaryOpModifier and TypeMethodDescriptionstatic booleanUnaryOp.isUnaryExprWithOperator(@Nullable JavaNode e, Set<UnaryOp> operators) Tests if the node is anASTUnaryExpressionwith one of the given operators.