Package de.monochromata.anaphors.ast
Class DefaultDirectAnaphora<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.ast.AbstractASTBasedAnaphora<N,E,T,B,TB,S,I,QI,R,A>
de.monochromata.anaphors.ast.DefaultDirectAnaphora<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:
AnaphorPart<N,E,T,B,TB,S,I,QI,R,A>,ASTBasedAnaphora<N,E,T,B,TB,S,I,QI,R,A>,DirectAnaphora<N,E,T,B,TB,S,I,QI,R,A>,RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R>
public class DefaultDirectAnaphora<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 AbstractASTBasedAnaphora<N,E,T,B,TB,S,I,QI,R,A> implements DirectAnaphora<N,E,T,B,TB,S,I,QI,R,A>
A default implementation of a direct anaphora relation.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description StringgetReferenceDescription()Returns a description of the anaphora relation, to enable users to distinguish multiple anaphora relations that are referentially ambiguous.StringtoString()Methods inherited from class de.monochromata.anaphors.ast.AbstractASTBasedAnaphora
equals, getAnaphorPart, getRelatedExpressionPart, hashCode, isExplicated, isUnderspecifiedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface de.monochromata.anaphors.ast.ASTBasedAnaphora
getAnaphor, getAnaphorExpression, getAnaphorPart, getAnaphorResolutionStrategy, getBinding, getKind, getReferent, getReferentializationStrategy, getRelatedExpression, getRelatedExpressionPart, getRelatedExpressionStrategy, isExplicated, isUnderspecified, resolveTypeMethods inherited from interface de.monochromata.anaphors.ast.DirectAnaphora
getAntecedent
-
Constructor Details
-
DefaultDirectAnaphora
protected DefaultDirectAnaphora()Used in contract testing. -
DefaultDirectAnaphora
-
-
Method Details
-
getReferenceDescription
Description copied from interface:ASTBasedAnaphoraReturns a description of the anaphora relation, to enable users to distinguish multiple anaphora relations that are referentially ambiguous.The reference description does not contain information about the anaphor, but only information on the related expression and the referent.
-
toString
-