public interface JClassItem
Modifier and Type | Interface and Description |
---|---|
static class |
JClassItem.Kind
The kind of class item.
|
Modifier and Type | Field and Description |
---|---|
static Comparator<JClassItem> |
SMART_NAME_SORT |
Modifier and Type | Method and Description |
---|---|
JClassItem.Kind |
getItemKind()
Get the kind of item.
|
int |
getModifiers()
Get the modifiers of this item.
|
String |
getName()
Get the name of this element, if there is one.
|
boolean |
hasAllModifiers(int mods)
Determine whether this item has all of the modifiers specified by the given bitwise-OR-joined argument.
|
boolean |
hasAnyModifier(int mods)
Determine whether this item has any of the modifiers specified by the given bitwise-OR-joined argument.
|
static final Comparator<JClassItem> SMART_NAME_SORT
JClassItem.Kind getItemKind()
int getModifiers()
JMod
boolean hasAllModifiers(int mods)
mods
- the modifier(s)true
if all of the modifiers are present, false
otherwiseboolean hasAnyModifier(int mods)
mods
- the modifier(s)true
if any if the modifiers are present, false
otherwiseString getName()
null
if there is noneCopyright © 2019 JBoss by Red Hat. All rights reserved.