|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Tree.Kind>
org.sonar.plugins.java.api.tree.Tree.Kind
public static enum Tree.Kind
| Method Summary | |
|---|---|
Class<? extends Tree> |
getAssociatedInterface()
|
static Tree.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Tree.Kind[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Tree.Kind COMPILATION_UNIT
CompilationUnitTree
public static final Tree.Kind CLASS
ClassTree
public static final Tree.Kind ENUM
ClassTree
public static final Tree.Kind INTERFACE
ClassTree
public static final Tree.Kind ANNOTATION_TYPE
ClassTree
public static final Tree.Kind ENUM_CONSTANT
EnumConstantTree
public static final Tree.Kind INITIALIZER
BlockTree
public static final Tree.Kind STATIC_INITIALIZER
BlockTree
public static final Tree.Kind CONSTRUCTOR
MethodTree
public static final Tree.Kind METHOD
MethodTree
public static final Tree.Kind BLOCK
BlockTree
public static final Tree.Kind EMPTY_STATEMENT
EmptyStatementTree
public static final Tree.Kind LABELED_STATEMENT
LabeledStatementTree
public static final Tree.Kind EXPRESSION_STATEMENT
ExpressionStatementTree
public static final Tree.Kind IF_STATEMENT
IfStatementTree
public static final Tree.Kind ASSERT_STATEMENT
AssertStatementTree
public static final Tree.Kind SWITCH_STATEMENT
SwitchStatementTree
public static final Tree.Kind CASE_GROUP
CaseGroupTree
public static final Tree.Kind CASE_LABEL
CaseLabelTree
public static final Tree.Kind WHILE_STATEMENT
WhileStatementTree
public static final Tree.Kind DO_STATEMENT
DoWhileStatementTree
public static final Tree.Kind FOR_STATEMENT
ForStatementTree
public static final Tree.Kind FOR_EACH_STATEMENT
ForEachStatement
public static final Tree.Kind BREAK_STATEMENT
BreakStatementTree
public static final Tree.Kind CONTINUE_STATEMENT
ContinueStatementTree
public static final Tree.Kind RETURN_STATEMENT
ReturnStatementTree
public static final Tree.Kind THROW_STATEMENT
ThrowStatementTree
public static final Tree.Kind SYNCHRONIZED_STATEMENT
SynchronizedStatementTree
public static final Tree.Kind TRY_STATEMENT
TryStatementTree
public static final Tree.Kind CATCH
CatchTree
public static final Tree.Kind POSTFIX_INCREMENT
UnaryExpressionTree
++
public static final Tree.Kind POSTFIX_DECREMENT
UnaryExpressionTree
--
public static final Tree.Kind PREFIX_INCREMENT
UnaryExpressionTree
++
public static final Tree.Kind PREFIX_DECREMENT
UnaryExpressionTree
--
public static final Tree.Kind UNARY_PLUS
UnaryExpressionTree
+
public static final Tree.Kind UNARY_MINUS
UnaryExpressionTree
-
public static final Tree.Kind BITWISE_COMPLEMENT
UnaryExpressionTree
~
public static final Tree.Kind LOGICAL_COMPLEMENT
UnaryExpressionTree
!
public static final Tree.Kind MULTIPLY
BinaryExpressionTree
*
public static final Tree.Kind DIVIDE
BinaryExpressionTree
/
public static final Tree.Kind REMAINDER
BinaryExpressionTree
%
public static final Tree.Kind PLUS
BinaryExpressionTree
+
public static final Tree.Kind MINUS
BinaryExpressionTree
-
public static final Tree.Kind LEFT_SHIFT
BinaryExpressionTree
<<
public static final Tree.Kind RIGHT_SHIFT
BinaryExpressionTree
>>
public static final Tree.Kind UNSIGNED_RIGHT_SHIFT
BinaryExpressionTree
>>>
public static final Tree.Kind LESS_THAN
BinaryExpressionTree
<
public static final Tree.Kind GREATER_THAN
BinaryExpressionTree
>
public static final Tree.Kind LESS_THAN_OR_EQUAL_TO
BinaryExpressionTree
<=
public static final Tree.Kind GREATER_THAN_OR_EQUAL_TO
BinaryExpressionTree
>=
public static final Tree.Kind EQUAL_TO
BinaryExpressionTree
==
public static final Tree.Kind NOT_EQUAL_TO
BinaryExpressionTree
!=
public static final Tree.Kind AND
BinaryExpressionTree
&
public static final Tree.Kind XOR
BinaryExpressionTree
^
public static final Tree.Kind OR
BinaryExpressionTree
|
public static final Tree.Kind CONDITIONAL_AND
BinaryExpressionTree
&&
public static final Tree.Kind CONDITIONAL_OR
BinaryExpressionTree
||
public static final Tree.Kind CONDITIONAL_EXPRESSION
ConditionalExpressionTree
public static final Tree.Kind ARRAY_ACCESS_EXPRESSION
ArrayAccessExpressionTree
public static final Tree.Kind MEMBER_SELECT
MemberSelectExpressionTree
public static final Tree.Kind NEW_CLASS
NewClassTree
public static final Tree.Kind NEW_ARRAY
NewArrayTree
public static final Tree.Kind METHOD_INVOCATION
MethodInvocationTree
public static final Tree.Kind TYPE_CAST
TypeCastTree
public static final Tree.Kind INSTANCE_OF
InstanceOfTree
public static final Tree.Kind PARENTHESIZED_EXPRESSION
ParenthesizedTree
public static final Tree.Kind ASSIGNMENT
AssignmentExpressionTree
=
public static final Tree.Kind MULTIPLY_ASSIGNMENT
AssignmentExpressionTree
*=
public static final Tree.Kind DIVIDE_ASSIGNMENT
AssignmentExpressionTree
/=
public static final Tree.Kind REMAINDER_ASSIGNMENT
AssignmentExpressionTree
%=
public static final Tree.Kind PLUS_ASSIGNMENT
AssignmentExpressionTree
+=
public static final Tree.Kind MINUS_ASSIGNMENT
AssignmentExpressionTree
-=
public static final Tree.Kind LEFT_SHIFT_ASSIGNMENT
AssignmentExpressionTree
<<=
public static final Tree.Kind RIGHT_SHIFT_ASSIGNMENT
AssignmentExpressionTree
>>=
public static final Tree.Kind UNSIGNED_RIGHT_SHIFT_ASSIGNMENT
AssignmentExpressionTree
>>>=
public static final Tree.Kind AND_ASSIGNMENT
AssignmentExpressionTree
&=
public static final Tree.Kind XOR_ASSIGNMENT
AssignmentExpressionTree
^=
public static final Tree.Kind OR_ASSIGNMENT
AssignmentExpressionTree
|=
public static final Tree.Kind INT_LITERAL
LiteralTree
int
public static final Tree.Kind LONG_LITERAL
LiteralTree
long
public static final Tree.Kind FLOAT_LITERAL
LiteralTree
float
public static final Tree.Kind DOUBLE_LITERAL
LiteralTree
double
public static final Tree.Kind BOOLEAN_LITERAL
LiteralTree
boolean
public static final Tree.Kind CHAR_LITERAL
LiteralTree
char
public static final Tree.Kind STRING_LITERAL
LiteralTree
public static final Tree.Kind NULL_LITERAL
LiteralTree
null
public static final Tree.Kind IDENTIFIER
IdentifierTree
public static final Tree.Kind VARIABLE
VariableTree
public static final Tree.Kind ARRAY_TYPE
ArrayTypeTree
public static final Tree.Kind PARAMETERIZED_TYPE
ParameterizedTypeTree
public static final Tree.Kind UNION_TYPE
public static final Tree.Kind UNBOUNDED_WILDCARD
WildcardTree
public static final Tree.Kind EXTENDS_WILDCARD
WildcardTree
public static final Tree.Kind SUPER_WILDCARD
WildcardTree
public static final Tree.Kind ANNOTATION
AnnotationTree
public static final Tree.Kind MODIFIERS
ModifiersTree
public static final Tree.Kind LAMBDA_EXPRESSION
LambdaExpressionTree
public static final Tree.Kind OTHER
| Method Detail |
|---|
public static Tree.Kind[] values()
for (Tree.Kind c : Tree.Kind.values()) System.out.println(c);
public static Tree.Kind valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic Class<? extends Tree> getAssociatedInterface()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||