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 JClassItem
Deprecated.An item contained within a class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
JClassItem.Kind
Deprecated.
-
Field Summary
Fields Modifier and Type Field Description static java.util.Comparator<JClassItem>
SMART_NAME_SORT
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description JClassItem.Kind
getItemKind()
Deprecated.int
getModifiers()
Deprecated.java.lang.String
getName()
Deprecated.boolean
hasAllModifiers(int mods)
Deprecated.boolean
hasAnyModifier(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:
true
if all of the modifiers are present,false
otherwise
-
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:
true
if any if the modifiers are present,false
otherwise
-
getName
@Deprecated java.lang.String getName()
Deprecated.Get the name of this element, if there is one.- Returns:
- the name, or
null
if there is none
-
-