public interface

ICodeNode

implements IActionableNode
com.pnfsoftware.jeb.core.output.tree.ICodeNode

Class Overview

A special interface for nodes holding code items.

This interface has no equivalent for text or table documents.

See Also

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.output.IActionableItem
Public Methods
abstract ICodeNode findNodeByObject(ICodeItem target)
Find the first child node that holds the provided code item.
abstract List<? extends ICodeNode> getChildren()
Get the children of this node.
abstract int getCountOfChildren()
abstract ICodeItem getObject()
Get the underlying code object help by the node.
abstract ICodeNode getParent()
Get the parent code node.
abstract boolean hasChildren()
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.output.IActionableItem
From interface com.pnfsoftware.jeb.core.output.IVisualItem
From interface com.pnfsoftware.jeb.core.output.tree.INode
From interface com.pnfsoftware.jeb.core.output.tree.IVisualNode

Public Methods

public abstract ICodeNode findNodeByObject (ICodeItem target)

Find the first child node that holds the provided code item. The current node is also examined.

Parameters
target the target code item
Returns
  • reference to the first child node that wraps the target code item, null if none

public abstract List<? extends ICodeNode> getChildren ()

Get the children of this node.

Returns
  • a list of children nodes, possibly empty

public abstract int getCountOfChildren ()

public abstract ICodeItem getObject ()

Get the underlying code object help by the node.

Returns
  • the code object

public abstract ICodeNode getParent ()

Get the parent code node.

Returns
  • the parent node

public abstract boolean hasChildren ()