public class

EPrototypeHandler

extends Object
implements IEPrototypeHandler
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.EPrototypeHandler

Class Overview

Handler for wildcard prototypes. This class may be subclassed and offered by converters.

Summary

Fields
protected IERoutineContext ctx
Public Constructors
EPrototypeHandler(IERoutineContext ctx)
Public Methods
boolean applyKnownPrototype(boolean createCopies)
This implementation may need data chains, will calculate them if so, and invalidate them upon return if the prototype application rendered them stale.
int refinePrototype()
Pulling type info from the IR-CFG to update the prototype itself.
boolean retrieveFromPrototype(List<IEGeneric> params, List<IWildcardType> rettypes)
Collect parameter EVars and return type(s).
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.IEPrototypeHandler

Fields

protected IERoutineContext ctx

Public Constructors

public EPrototypeHandler (IERoutineContext ctx)

Public Methods

public boolean applyKnownPrototype (boolean createCopies)

This implementation may need data chains, will calculate them if so, and invalidate them upon return if the prototype application rendered them stale.

Returns
  • success indicator

public int refinePrototype ()

Pulling type info from the IR-CFG to update the prototype itself.

To be performed after typing and EReturn insertion, ie after stage 600.

public boolean retrieveFromPrototype (List<IEGeneric> params, List<IWildcardType> rettypes)

Collect parameter EVars and return type(s). A prototype must exist.

Parameters
params output array to collect parameters info
Returns
  • success indicator