PTP
Release 7.0

org.eclipse.ptp.debug.core.pdi
Class PDILocationFactory

java.lang.Object
  extended by org.eclipse.ptp.debug.core.pdi.PDILocationFactory

public class PDILocationFactory
extends Object

Factory for creating debugger locations


Constructor Summary
PDILocationFactory()
           
 
Method Summary
static IPDIAddressLocation newAddressLocation(BigInteger addr)
          Create an address location
static IPDIFileLocation newFileLocationLocation(String file)
          Create a file location
static IPDIFunctionLocation newFunctionLocation(String file, String function)
          Create a function location
static IPDILineLocation newLineLocation(String file, int line)
          Create a line location
static IPDILocator newLocator(String file, String function, int line, BigInteger address)
          Create a locator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDILocationFactory

public PDILocationFactory()
Method Detail

newAddressLocation

public static IPDIAddressLocation newAddressLocation(BigInteger addr)
Create an address location

Parameters:
addr -
Returns:

newFileLocationLocation

public static IPDIFileLocation newFileLocationLocation(String file)
Create a file location

Parameters:
file -
Returns:

newFunctionLocation

public static IPDIFunctionLocation newFunctionLocation(String file,
                                                       String function)
Create a function location

Parameters:
file -
function -
Returns:

newLineLocation

public static IPDILineLocation newLineLocation(String file,
                                               int line)
Create a line location

Parameters:
file -
line -
Returns:

newLocator

public static IPDILocator newLocator(String file,
                                     String function,
                                     int line,
                                     BigInteger address)
Create a locator

Parameters:
file -
function -
line -
address -
Returns:

PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.