Uses of Class
net.sourceforge.pmd.lang.java.ast.UnaryOp
-
Packages that use UnaryOp Package Description net.sourceforge.pmd.lang.java.ast 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 UnaryOp Modifier and Type Method Description UnaryOp
ASTUnaryExpression. getOperator()
Returns the constant representing the operator of this expression.static UnaryOp
UnaryOp. valueOf(String name)
Returns the enum constant of this type with the specified name.static UnaryOp[]
UnaryOp. 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 with parameters of type UnaryOp Modifier and Type Method Description static boolean
UnaryOp. isUnaryExprWithOperator(@Nullable JavaNode e, UnaryOp operator)
Tests if the node is anASTUnaryExpression
with the given operator.Method parameters in net.sourceforge.pmd.lang.java.ast with type arguments of type UnaryOp Modifier and Type Method Description static boolean
UnaryOp. isUnaryExprWithOperator(@Nullable JavaNode e, Set<UnaryOp> operators)
Tests if the node is anASTUnaryExpression
with one of the given operators.
-