Mobile Tools for Java
Release 1.0

org.eclipse.mtj.preverifier.results
Class PreverificationErrorLocationType

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

public class PreverificationErrorLocationType
extends Object

Enumeration type to represent the location of a preverication error.


Field Summary
static PreverificationErrorLocationType CLASS_DEFINITION
          A class declaration
static int CLASS_DEFINITION_CODE
          The code representing a class declaration
static PreverificationErrorLocationType CLASS_FIELD
          A class field location
static int CLASS_FIELD_CODE
          The code representing a class field
static PreverificationErrorLocationType METHOD_FIELD
          A method field location
static int METHOD_FIELD_CODE
          The code representing a method field definition error
static PreverificationErrorLocationType METHOD_INSTRUCTION
          A method instruction location
static int METHOD_INSTRUCTION_CODE
          The method instruction location code
static PreverificationErrorLocationType METHOD_SIGNATURE
          The method definition location
static int METHOD_SIGNATURE_CODE
          The code representing a method definition error
static PreverificationErrorLocationType UNKNOWN_LOCATION
          The location of the error is unknown
static int UNKNOWN_LOCATION_CODE
          The code when the location of the error is unknown
 
Method Summary
 int getTypeCode()
          Return the location type code.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_DEFINITION_CODE

public static final int CLASS_DEFINITION_CODE
The code representing a class declaration

See Also:
Constant Field Values

CLASS_DEFINITION

public static final PreverificationErrorLocationType CLASS_DEFINITION
A class declaration


CLASS_FIELD_CODE

public static final int CLASS_FIELD_CODE
The code representing a class field

See Also:
Constant Field Values

CLASS_FIELD

public static final PreverificationErrorLocationType CLASS_FIELD
A class field location


METHOD_SIGNATURE_CODE

public static final int METHOD_SIGNATURE_CODE
The code representing a method definition error

See Also:
Constant Field Values

METHOD_SIGNATURE

public static final PreverificationErrorLocationType METHOD_SIGNATURE
The method definition location


METHOD_FIELD_CODE

public static final int METHOD_FIELD_CODE
The code representing a method field definition error

See Also:
Constant Field Values

METHOD_FIELD

public static final PreverificationErrorLocationType METHOD_FIELD
A method field location


METHOD_INSTRUCTION_CODE

public static final int METHOD_INSTRUCTION_CODE
The method instruction location code

See Also:
Constant Field Values

METHOD_INSTRUCTION

public static final PreverificationErrorLocationType METHOD_INSTRUCTION
A method instruction location


UNKNOWN_LOCATION_CODE

public static final int UNKNOWN_LOCATION_CODE
The code when the location of the error is unknown

See Also:
Constant Field Values

UNKNOWN_LOCATION

public static final PreverificationErrorLocationType UNKNOWN_LOCATION
The location of the error is unknown

Method Detail

getTypeCode

public int getTypeCode()
Return the location type code.

Returns:

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()

Mobile Tools for Java
Release 1.0