java.lang.Object | |
↳ | com.pnfsoftware.jeb.core.output.tree.CodeNodeUtil |
Convenience methods to filter ICodeNode
s.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | IS_ARTIFICIAL | The code item is artificial | |||||||||
int | IS_CLASS | The code item implements ICodeClass |
|||||||||
int | IS_FIELD | The code item implements ICodeField |
|||||||||
int | IS_INTERNAL | The code item is internal | |||||||||
int | IS_METHOD | The code item implements ICodeMethod |
|||||||||
int | IS_PACKAGE | The code item implements ICodePackage |
|||||||||
int | IS_TYPE | The code item implements ICodeType |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CodeNodeUtil() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static boolean | cannotBe(ICodeNode node, int flags) | ||||||||||
static List<? extends ICodeNode> |
getChildren(ICodeNode node, int included, int excluded)
Get the children nodes that meet the provided criteria.
| ||||||||||
static boolean |
meetsConditions(ICodeNode node, int included, int excluded)
Verify if this node meets the provided criteria.
| ||||||||||
static boolean | mustBe(ICodeNode node, int flags) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
The code item is artificial
The code item implements ICodeClass
The code item implements ICodeField
The code item is internal
The code item implements ICodeMethod
The code item implements ICodePackage
The code item implements ICodeType
Get the children nodes that meet the provided criteria. Refer to the IS_xxx
possible flags returned by #getItemFlags().
included | if non-0, candidates children MUST have the flags set |
---|---|
excluded | if non-0, candidates children MUST NOT have the flags set |
Verify if this node meets the provided criteria. Refer to the IS_xxx
possible
flags returned by #getItemFlags().
included | these flags MUST be set |
---|---|
excluded | these flags MUST NOT be set |