Class MethodInvocationStrategy<N,E,T,B,MB extends B,TB extends B,S,I,QI,EV,PP,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.AbstractStrategy
de.monochromata.anaphors.ast.relatedexp.strategy.AbstractRelatedExpressionStrategy<N,E,T,B,MB,TB,S,I,QI,EV,PP,R>
de.monochromata.anaphors.ast.relatedexp.strategy.AbstractLocalTempVariableIntroducingStrategy<N,E,T,B,MB,TB,S,I,QI,EV,PP,R,A>
de.monochromata.anaphors.ast.relatedexp.strategy.MethodInvocationStrategy<N,E,T,B,MB,TB,S,I,QI,EV,PP,R,A>
- Type Parameters:
N- The node type in the ASTE- The expression typeT- The type typeB- The binding typeMB- The method binding typeTB- The type binding typeS- The scope type (optional)I- The type used to represent identifiersQI- The type used to represent qualified identifiersEV- The type of the event contained in the condition that is evaluated to check when the perspectivations shall be applied.PP- The type used for positions that carry perspectivationsR- The sub-type of related expression to useA- The sub-type of AST-based anaphora to use
- All Implemented Interfaces:
LocalTempVariableIntroducingStrategy<N,E,T,B,TB,S,I,QI,R,A>,RelatedExpressionStrategy<N,T,B,TB,S,QI,R>,Strategy
public class MethodInvocationStrategy<N,E,T,B,MB extends B,TB extends B,S,I,QI,EV,PP,R extends RelatedExpression<N,T,B,TB,S,QI,R>,A extends ASTBasedAnaphora<N,E,T,B,TB,S,I,QI,R,A>> extends AbstractLocalTempVariableIntroducingStrategy<N,E,T,B,MB,TB,S,I,QI,EV,PP,R,A>
Method invocation expressions functioning as related expression.
-
Field Summary
Fields inherited from class de.monochromata.anaphors.ast.relatedexp.strategy.AbstractRelatedExpressionStrategy
preferences, relatedExpressionsSpi -
Constructor Summary
Constructors Modifier Constructor Description protectedMethodInvocationStrategy()Used in contract testing.MethodInvocationStrategy(RelatedExpressionsSpi<N,E,T,B,MB,TB,S,I,QI,EV,PP,R> relatedExpressionsSpi, Preferences preferences) -
Method Summary
Methods inherited from class de.monochromata.anaphors.ast.relatedexp.strategy.AbstractLocalTempVariableIntroducingStrategy
getIdentifierForTempVariable, getLengthOfTypeForTempVariable, getLengthOfTypeForTempVariable, getTypeForTempVariable, getTypeForTempVariable, underspecifyRelatedExpression, underspecifyRelatedExpressionForLocalTempVariable, useLocalVariableTypeInferenceMethods inherited from class de.monochromata.anaphors.ast.relatedexp.strategy.AbstractRelatedExpressionStrategy
addToCollection, collectTo, stopCollectionMethods inherited from class de.monochromata.AbstractStrategy
equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface de.monochromata.anaphors.ast.relatedexp.strategy.RelatedExpressionStrategy
collectTo, getKindOfRelatedExpressionToBeRealized, stopCollection
-
Field Details
-
MI_KIND
- See Also:
- Constant Field Values
-
-
Constructor Details
-
MethodInvocationStrategy
protected MethodInvocationStrategy()Used in contract testing. -
MethodInvocationStrategy
public MethodInvocationStrategy(RelatedExpressionsSpi<N,E,T,B,MB,TB,S,I,QI,EV,PP,R> relatedExpressionsSpi, Preferences preferences)
-
-
Method Details
-
getKind
Description copied from interface:StrategyReturns a short mnemonic string that uniquely identifies this strategy among the type of strategies it belongs to.- Returns:
- the kind of strategy
-