abc.polyglot.util
Class ErrorInfoFactory

java.lang.Object
  extended by abc.polyglot.util.ErrorInfoFactory

public class ErrorInfoFactory
extends java.lang.Object

A helper class for constructing polyglot errors

Author:
Ganesh Sittampalam

Constructor Summary
ErrorInfoFactory()
           
 
Method Summary
static Position getPosition(SootMethod container, Host host)
           
static ErrorInfo newErrorInfo(int kind, java.lang.String message, SootMethod container, Host host)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorInfoFactory

public ErrorInfoFactory()
Method Detail

getPosition

public static Position getPosition(SootMethod container,
                                   Host host)

newErrorInfo

public static ErrorInfo newErrorInfo(int kind,
                                     java.lang.String message,
                                     SootMethod container,
                                     Host host)