public class

CUtil

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.CUtil

Class Overview

Utility methods for ICElement.

Summary

Public Constructors
CUtil()
Public Methods
static ICElement findParent(ICElement root, ICElement elt)
Retrieve the parent of an AST element (or first parent, if the element is reusable and has potentially multiple parents - e.g.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CUtil ()

Public Methods

public static ICElement findParent (ICElement root, ICElement elt)

Retrieve the parent of an AST element (or first parent, if the element is reusable and has potentially multiple parents - e.g. ICIdentifier).

Parameters
root a root element, typically, an ICMethod
elt the element for which the first parent is to be found
Returns
  • the parent or null