Package de.monochromata.anaphors.ast
Class DefaultRelatedExpressionPart<N,E,T,B,VB extends B,TB extends B,S,I,QI,R extends RelatedExpression<N,T,B,TB,S,QI,R>>
java.lang.Object
de.monochromata.anaphors.ast.DefaultRelatedExpressionPart<N,E,T,B,VB,TB,S,I,QI,R>
- Type Parameters:
N- The node type in the ASTE- The expression typeT- The type typeB- The binding typeVB- The variable 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 use
- All Implemented Interfaces:
RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R>
public class DefaultRelatedExpressionPart<N,E,T,B,VB extends B,TB extends B,S,I,QI,R extends RelatedExpression<N,T,B,TB,S,QI,R>> extends Object implements RelatedExpressionPart<N,E,T,B,TB,S,I,QI,R>
An default implementation of the
RelatedExpressionPart interface.-
Constructor Summary
Constructors Modifier Constructor Description protectedDefaultRelatedExpressionPart()Used in contract testing.DefaultRelatedExpressionPart(R relatedExpression) -
Method Summary
Modifier and Type Method Description booleanequals(Object obj)RgetRelatedExpression()Get the related expression of the anaphora relation.RelatedExpressionStrategy<N,T,B,TB,S,QI,R>getRelatedExpressionStrategy()Get the related expression strategy that was used to find the related expression of this anaphora relation.inthashCode()StringtoString()
-
Constructor Details
-
DefaultRelatedExpressionPart
protected DefaultRelatedExpressionPart()Used in contract testing. -
DefaultRelatedExpressionPart
-
-
Method Details
-
getRelatedExpression
Description copied from interface:RelatedExpressionPartGet the related expression of the anaphora relation. -
getRelatedExpressionStrategy
Description copied from interface:RelatedExpressionPartGet the related expression strategy that was used to find the related expression of this anaphora relation. -
hashCode
-
equals
-
toString
-