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.
An item contained within a class.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.int
Deprecated.getName()
Deprecated.boolean
hasAllModifiers
(int mods) Deprecated.boolean
hasAnyModifier
(int mods) Deprecated.
-
Field Details
-
SMART_NAME_SORT
Deprecated.
-
-
Method Details
-
getItemKind
Deprecated.Get the kind of item.- Returns:
- the item kind
-
getModifiers
Deprecated.Get the modifiers of this item.- Returns:
- the modifiers
- See Also:
-
hasAllModifiers
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.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.Get the name of this element, if there is one.- Returns:
- the name, or
null
if there is none
-