public class TypedClassOperationWithCast extends TypedClassOperation
TypedOperation.RankedTypeOperationcompareRankedTypeOperation, inputTypes| Constructor and Description |
|---|
TypedClassOperationWithCast(CallableOperation op,
ClassOrInterfaceType declaringType,
TypeTuple inputTypes,
Type outputType) |
TypedClassOperationWithCast(CallableOperation op,
ClassOrInterfaceType declaringType,
TypeTuple inputTypes,
Type outputType,
ExecutableSpecification execSpec) |
| Modifier and Type | Method and Description |
|---|---|
TypedClassOperationWithCast |
applyCaptureConversion()
Applies a capture conversion to the wildcard types of this operation, and returns a new
operation with new type variables for the wildcard types.
|
ExecutionOutcome |
execute(java.lang.Object[] input)
Performs this operation using the array of input values.
|
TypedClassOperationWithCast |
substitute(Substitution substitution)
Applies the given substitution to the generic types in this operation, and returns a new
operation with the instantiated types.
|
appendCode, equals, getDeclaringType, getFullyQualifiedSignature, getName, getOperationForType, getRawSignature, getTypeParameters, getUnqualifiedBinaryName, hashCode, hasWildcardTypes, toParsableString, toStringcheckPrestate, compareTo, createArrayCreation, createArrayElementAssignment, createCast, createGetterForField, createInitializedArrayCreation, createNonreceiverInitialization, createNullOrZeroInitializationForType, createPrimitiveInitialization, createSetterForField, forConstructor, forMethod, getExecutableSpecification, getInputTypes, getOperation, getOutputType, getSignatureString, getValue, isConstantField, isConstructorCall, isGeneric, isGeneric, isMessage, isMethodCall, isNonreceivingValue, isStatic, isUncheckedCast, satisfies, setExecutableSpecificationTypedClassOperationWithCast(CallableOperation op, ClassOrInterfaceType declaringType, TypeTuple inputTypes, Type outputType)
TypedClassOperationWithCast(CallableOperation op, ClassOrInterfaceType declaringType, TypeTuple inputTypes, Type outputType, ExecutableSpecification execSpec)
public TypedClassOperationWithCast substitute(Substitution substitution)
TypedClassOperationApplies the substitution to the declaring type, all input types, and the output type.
substitute in class TypedClassOperationsubstitution - the substitutionpublic TypedClassOperationWithCast applyCaptureConversion()
TypedOperationapplyCaptureConversion in class TypedClassOperationpublic ExecutionOutcome execute(java.lang.Object[] input)
Performs cast to output type of this operation to ensure that any ClassCastException
that would be thrown in JVM execution is also thrown.
execute in class TypedOperationinput - array containing appropriate inputs to operation