KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > spoon > reflect > code > UnaryOperatorKind


1 package spoon.reflect.code;
2
3 /**
4  * This enumeration defines all the kinds of unary operators.
5  */

6 public enum UnaryOperatorKind {
7     /**
8      * Positivation.
9      */

10     POS, // +
11
/**
12      * Negation.
13      */

14     NEG, // -
15
/**
16      * Logical inversion.
17      */

18     NOT, // !
19
/**
20      * Binary complement.
21      */

22     COMPL, // ~
23
/**
24      * Incrementation pre assignment.
25      */

26     PREINC, // ++ _
27
/**
28      * Decrementation pre assignment.
29      */

30     PREDEC, // -- _
31
/**
32      * Incrementation post assignment.
33      */

34     POSTINC, // _ ++
35
/**
36      * Decrementation post assignment.
37      */

38     POSTDEC // _ --
39
}
40
Popular Tags