randoop
Class Statement

Object
  extended by Statement
All Implemented Interfaces:
Serializable

public final class Statement
extends Object
implements Serializable

The elements of a Sequence. Each of these contains two pieces of information: (1) A statement kind, and (2) inputs to the statement.

See Also:
Serialized Form

Field Summary
Modifier and Type Field and Description
 List<Sequence.RelativeNegativeIndex> inputs
           
 StatementKind statement
           
 
Constructor Summary
Constructor and Description
Statement(StatementKind statement, List<Sequence.RelativeNegativeIndex> inputVariables)
          Create a new statement of type statement that takes as input the given values.
 
Method Summary
Modifier and Type Method and Description
 boolean equals(Object o)
           
 int hashCode()
           
 boolean isVoidMethodCall()
          True iff this statement is a void method call.
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

statement

public final StatementKind statement

inputs

public final List<Sequence.RelativeNegativeIndex> inputs
Constructor Detail

Statement

public Statement(StatementKind statement,
                 List<Sequence.RelativeNegativeIndex> inputVariables)
Create a new statement of type statement that takes as input the given values.

Method Detail

isVoidMethodCall

public boolean isVoidMethodCall()
True iff this statement is a void method call.


equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object