Class AbstractAnchoringStrategy<N,E,T,B,VB extends B,FB extends 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.strategy.AbstractAnaphorResolutionStrategy<N,E,T,B,VB,FB,MB,TB,S,I,QI,EV,PP,R,A>
de.monochromata.anaphors.ast.strategy.AbstractAnchoringStrategy<N,E,T,B,VB,FB,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 typeVB- The variable binding typeFB- The field 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:
AnaphorResolutionStrategy<N,E,T,B,TB,S,I,QI,R,A>,AnchoringStrategy<N,E,T,B,TB,S,I,QI,R,A>,Strategy
- Direct Known Subclasses:
IA1MrStrategy,IA2FStrategy,IA2MgStrategy
public abstract class AbstractAnchoringStrategy<N,E,T,B,VB extends B,FB extends 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 AbstractAnaphorResolutionStrategy<N,E,T,B,VB,FB,MB,TB,S,I,QI,EV,PP,R,A> implements AnchoringStrategy<N,E,T,B,TB,S,I,QI,R,A>
An abstract base class for strategies used to for resolve or construct the
referents of indirect anaphors.
-
Field Summary
Fields inherited from class de.monochromata.anaphors.ast.strategy.AbstractAnaphorResolutionStrategy
anaphoraResolutionSpi, anaphorsSpi, relatedExpressionsSpi, supportedRelatedExpressionStrategies -
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractAnchoringStrategy()Used in contract testing.AbstractAnchoringStrategy(List<Class<? extends RelatedExpressionStrategy>> supportedRelatedExpressionStrategies, AnaphorsSpi<N,E,TB,S,I,QI,EV,PP> anaphorsSpi, RelatedExpressionsSpi<N,E,T,B,MB,TB,S,I,QI,EV,PP,R> relatedExpressionsSpi, AnaphoraResolutionSpi<N,E,T,B,VB,FB,MB,TB,S,I,QI,R,A> anaphoraResolutionSpi) -
Method Summary
Modifier and Type Method Description protected QIgetQualifierForIA(R relatedExpression, String anaphor, S scope)Methods inherited from class de.monochromata.anaphors.ast.strategy.AbstractAnaphorResolutionStrategy
canRelateTo, couldBeAPreviousRealization, createPotentialReferents, generatePotentialAnaphora, generatePotentialAnaphora, getIdForDefiniteExpression, getIdForPreviousRealization, requireThisAnaphorResolutionStrategyMethods 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.strategy.AnaphorResolutionStrategy
canRelateTo, createAnaphora, createReferent, generatePotentialAnaphora, getAnaphorToBeRealized, getKindOfAnaphorResolutionStrategyToBeRealized, getKindOfReferentializationStrategyToBeRealized, getLocalTempVariableContents, realize, underspecifyAnaphor
-
Constructor Details
-
AbstractAnchoringStrategy
protected AbstractAnchoringStrategy()Used in contract testing. -
AbstractAnchoringStrategy
public AbstractAnchoringStrategy(List<Class<? extends RelatedExpressionStrategy>> supportedRelatedExpressionStrategies, AnaphorsSpi<N,E,TB,S,I,QI,EV,PP> anaphorsSpi, RelatedExpressionsSpi<N,E,T,B,MB,TB,S,I,QI,EV,PP,R> relatedExpressionsSpi, AnaphoraResolutionSpi<N,E,T,B,VB,FB,MB,TB,S,I,QI,R,A> anaphoraResolutionSpi)
-
-
Method Details
-
getQualifierForIA
-