com.ibm.wala.ssa
Interface IRFactory<T extends IMethod>

All Known Implementing Classes:
AstIRFactory, DefaultIRFactory, ShrikeIRFactory, SyntheticIRFactory

public interface IRFactory<T extends IMethod>

This is intended as an internal interface; clients probably shouldn't be using this directly. If you have a call graph in hand, to get the IR for a CGNode, use node.getIR(); Otherwise, look at SSACache.


Method Summary
 boolean contextIsIrrelevant(T method)
          Does this factory always return the same IR for a method, regardless of context?
 IR makeIR(T method, Context c, SSAOptions options)
          Build an SSA IR for a method in a particular context
 

Method Detail

makeIR

IR makeIR(T method,
          Context c,
          SSAOptions options)
Build an SSA IR for a method in a particular context


contextIsIrrelevant

boolean contextIsIrrelevant(T method)
Does this factory always return the same IR for a method, regardless of context?