Package | Description |
---|---|
org.sonar.java.model | |
org.sonar.java.model.declaration | |
org.sonar.java.resolve | |
org.sonar.plugins.java.api.tree |
Provides interfaces to represent Java source code as syntax tree.
|
Modifier and Type | Method | Description |
---|---|---|
Modifier |
KindMaps.getModifier(JavaKeyword keyword) |
Modifier and Type | Method | Description |
---|---|---|
static Optional<ModifierKeywordTree> |
ModifiersUtils.findModifier(ModifiersTree modifiersTree,
Modifier expectedModifier) |
|
static ModifierKeywordTree |
ModifiersUtils.getModifier(ModifiersTree modifiers,
Modifier expectedModifier) |
|
static boolean |
ModifiersUtils.hasModifier(ModifiersTree modifiers,
Modifier expectedModifier) |
Modifier and Type | Method | Description |
---|---|---|
Modifier |
ModifierKeywordTreeImpl.modifier() |
Constructor | Description |
---|---|
ModifierKeywordTreeImpl(Modifier modifier,
InternalSyntaxToken internalSyntaxToken) |
Modifier and Type | Method | Description |
---|---|---|
static int |
Flags.flagForModifier(Modifier modifier) |
Modifier and Type | Method | Description |
---|---|---|
Modifier |
ModifierKeywordTree.modifier() |
|
static Modifier |
Modifier.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Modifier[] |
Modifier.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2012–2018 SonarSource. All rights reserved.