Class AbstractPreparatoryTransformation<N,E,T,B,TB extends B,S,I,QI,R extends RelatedExpression<N,T,B,TB,S,QI,R>,A extends ASTBasedAnaphora<N,E,T,B,TB,S,I,QI,R,A>>
java.lang.Object
de.monochromata.anaphors.cog.transform.AbstractPreparatoryTransformation<N,E,T,B,TB,S,I,QI,R,A>
- Type Parameters:
N- The node type in the ASTE- The expression typeT- The type typeB- The binding typeTB- The type binding typeS- The scope type (optional)I- The type used to represent identifiersQI- The type used to represent qualified identifiersR- The sub-type of related expression to useA- The sub-type of AST-based anaphora to use
- All Implemented Interfaces:
PreparatoryTransformation<N,E,T,B,TB,S,I,QI,R,A>,Strategy
- Direct Known Subclasses:
AddParameterToCallChain,NoPreparationRequired
public abstract class AbstractPreparatoryTransformation<N,E,T,B,TB extends B,S,I,QI,R extends RelatedExpression<N,T,B,TB,S,QI,R>,A extends ASTBasedAnaphora<N,E,T,B,TB,S,I,QI,R,A>> extends Object implements PreparatoryTransformation<N,E,T,B,TB,S,I,QI,R,A>
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractPreparatoryTransformation()Used in contract testing.AbstractPreparatoryTransformation(TransformationsSpi<N,E,T,B,TB,S,I,QI,R,A> transformationsSpi) -
Method Summary
Modifier and Type Method Description protected <C extends CheckResult<N, E, S>>
voidrequireInstanceOf(CheckResult<N,E,S> result, Class<C> clazz)protected voidrequireSuccessfulCheck(CheckResult<N,E,S> result)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.monochromata.anaphors.cog.transform.PreparatoryTransformation
canPerform, perform
-
Field Details
-
transformationsSpi
-
-
Constructor Details
-
AbstractPreparatoryTransformation
protected AbstractPreparatoryTransformation()Used in contract testing. -
AbstractPreparatoryTransformation
-
-
Method Details
-
requireSuccessfulCheck
-
requireInstanceOf
protected <C extends CheckResult<N, E, S>> void requireInstanceOf(CheckResult<N,E,S> result, Class<C> clazz)
-