Package org.jboss.jdeparser
Interface JClassItem
-
- All Known Implementing Classes:
AnnotationJClassDef,AnnotationJMethodDef,BlankLine,BlockJComment,ConstructorJMethodDef,EnumJClassDef,FirstJVarDeclaration,ImplJEnumConstant,InitJBlock,InterfaceJClassDef,LineJComment,MethodJMethodDef,PlainJClassDef,StaticInitJBlock,TryJVarDeclaration
@Deprecated public interface JClassItemDeprecated.An item contained within a class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classJClassItem.KindDeprecated.
-
Field Summary
Fields Modifier and Type Field Description static java.util.Comparator<JClassItem>SMART_NAME_SORTDeprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description JClassItem.KindgetItemKind()Deprecated.intgetModifiers()Deprecated.java.lang.StringgetName()Deprecated.booleanhasAllModifiers(int mods)Deprecated.booleanhasAnyModifier(int mods)Deprecated.
-
-
-
Field Detail
-
SMART_NAME_SORT
@Deprecated static final java.util.Comparator<JClassItem> SMART_NAME_SORT
Deprecated.
-
-
Method Detail
-
getItemKind
@Deprecated JClassItem.Kind getItemKind()
Deprecated.Get the kind of item.- Returns:
- the item kind
-
getModifiers
@Deprecated int getModifiers()
Deprecated.Get the modifiers of this item.- Returns:
- the modifiers
- See Also:
JMod
-
hasAllModifiers
@Deprecated boolean hasAllModifiers(int mods)
Deprecated.Determine whether this item has all of the modifiers specified by the given bitwise-OR-joined argument.- Parameters:
mods- the modifier(s)- Returns:
trueif all of the modifiers are present,falseotherwise
-
hasAnyModifier
@Deprecated boolean hasAnyModifier(int mods)
Deprecated.Determine whether this item has any of the modifiers specified by the given bitwise-OR-joined argument.- Parameters:
mods- the modifier(s)- Returns:
trueif any if the modifiers are present,falseotherwise
-
getName
@Deprecated java.lang.String getName()
Deprecated.Get the name of this element, if there is one.- Returns:
- the name, or
nullif there is none
-
-