Mobile Tools for Java
Release 1.0

org.eclipse.mtj.preverifier.results
Class PreverificationResults

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

public class PreverificationResults
extends Object

Results of the preverification.


Constructor Summary
PreverificationResults(ClassNode preverifiedClassNode, byte[] preverifiedClassBytes, PreverificationError[] errors)
          Construct a new preverication result.
 
Method Summary
 String getDisassembledOutput()
          Return the disassembled class output or null if there were errors while doing the preverification.
 PreverificationError[] getErrors()
           
 byte[] getPreverifiedClassBytes()
           
 ClassNode getPreverifiedClassNode()
           
 boolean isErrorResult()
          Return a boolean indicating whether the result was an error result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreverificationResults

public PreverificationResults(ClassNode preverifiedClassNode,
                              byte[] preverifiedClassBytes,
                              PreverificationError[] errors)
Construct a new preverication result.

Parameters:
preverifiedClassBytes -
errors -
Method Detail

getErrors

public PreverificationError[] getErrors()
Returns:
Returns the errors.

getPreverifiedClassBytes

public byte[] getPreverifiedClassBytes()
Returns:
Returns the preverifiedClassBytes.

getPreverifiedClassNode

public ClassNode getPreverifiedClassNode()
Returns:
Returns the preverifiedClassNode.

getDisassembledOutput

public String getDisassembledOutput()
Return the disassembled class output or null if there were errors while doing the preverification.

Returns:

isErrorResult

public boolean isErrorResult()
Return a boolean indicating whether the result was an error result.

Returns:

Mobile Tools for Java
Release 1.0