Package randoop.operation
package randoop.operation
-
ClassDescription
ArrayCreation
is aOperation
representing the construction of a one-dimensional array of a given type.Created by bjkeller on 8/19/16.CallableOperation is an abstract implementation of the Operation interface to provide default implementations of Operation predicates that are false except for a few kinds of operations.ConstructorCall is anOperation
that represents a call to a constructor, and holds a reference to a reflectiveConstructor
object.EnumConstant is anOperation
representing a constant value from an enum.FieldGetter is an adapter that creates aOperation
from aAccessibleField
and behaves like a getter for the field.FieldSetter is an adapter for aAccessibleField
as aOperation
that acts like a setter for the field.InitializedArrayCreation is anOperation
representing the construction of a one-dimensional array with a given element type and length.MethodCall is aOperation
that represents a call to a method.Represents a value that either cannot (primitive or null values), or we don't care to have (String, Class) be a receiver for a method call as anOperation
.Operation represents the constructs that can occur in a statement as part of a test sequence.Parser for text serialization (string representation) ofOperation
s.Represents an array creation using reflection, and corresponds to the code(List<String>[])(Array.newInstance(componentType, length));
TypeArguments provides static methods for creating and recognizing strings representing the type arguments of a method or constructor.Represents a TypedOperation and its declaring class.Represents a method with a return type that is a type variable that must be instantiated, and for which execution performs a cast to the instantiating type to emulate handling of casts that are not done in reflection.Type decorator ofOperation
objects.RankedTypedOperation is a wrapper around a TypedOperation and a number.Represents operations that have no declaring class, such as literal value, cast, or array creation/access/assignment.AnOperation
to perform an explicit cast.