Mobile Tools for Java
Release 1.0

org.eclipse.mtj.preverifier.results
Class PreverificationErrorLocation

java.lang.Object
  extended by org.eclipse.mtj.preverifier.results.PreverificationErrorLocation

public class PreverificationErrorLocation
extends Object

The location of the error.


Constructor Summary
PreverificationErrorLocation(PreverificationErrorLocationType locationType, IClassErrorInformation classInformation, IMethodErrorInformation methodInformation, IFieldErrorInformation fieldInformation, int lineNumber)
          Construct a new location object.
 
Method Summary
 IClassErrorInformation getClassInformation()
          Return information about the class in which the error occurred or null if there is not class information.
 IFieldErrorInformation getFieldInformation()
          Return information about the field in which the error occurred or null if there is not field information.
 int getLineNumber()
           
 PreverificationErrorLocationType getLocationType()
          Return information about the type of the location in which the error occurred or null if there is not location type information.
 IMethodErrorInformation getMethodInformation()
          Return information about the method in which the error occurred or null if there is not method information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreverificationErrorLocation

public PreverificationErrorLocation(PreverificationErrorLocationType locationType,
                                    IClassErrorInformation classInformation,
                                    IMethodErrorInformation methodInformation,
                                    IFieldErrorInformation fieldInformation,
                                    int lineNumber)
Construct a new location object.

Parameters:
locationType -
classInformation -
methodInformation -
fieldInformation -
lineNumber -
Method Detail

getClassInformation

public IClassErrorInformation getClassInformation()
Return information about the class in which the error occurred or null if there is not class information.

Returns:
Returns the class information.

getFieldInformation

public IFieldErrorInformation getFieldInformation()
Return information about the field in which the error occurred or null if there is not field information.

Returns:
Returns the field information.

getLineNumber

public int getLineNumber()
Returns:
Returns the lineNumber.

getLocationType

public PreverificationErrorLocationType getLocationType()
Return information about the type of the location in which the error occurred or null if there is not location type information.

Returns:
Returns the locationType.

getMethodInformation

public IMethodErrorInformation getMethodInformation()
Return information about the method in which the error occurred or null if there is not method information.

Returns:
Returns the methodInformation.

Mobile Tools for Java
Release 1.0