Class AbstractReferent<N,E,T,B,VB extends B,FB extends B,MB extends 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.feature.DefaultFeatureContainer<QI>
de.monochromata.anaphors.ast.reference.AbstractReferent<N,E,T,B,VB,FB,MB,TB,S,I,QI,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 identifiersR- The sub-type of related expression to useA- The sub-type of AST-based anaphora to use
- All Implemented Interfaces:
FeatureContainer<QI>,Referent<TB,S,I,QI>
- Direct Known Subclasses:
DA1ReStrategy.DA1Referent,IA1MrStrategy.IA1MrReferent,IA2FStrategy.IA2FReferent,IA2MgStrategy.IA2MgReferent
public abstract class AbstractReferent<N,E,T,B,VB extends B,FB extends B,MB extends 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 DefaultFeatureContainer<QI> implements Referent<TB,S,I,QI>
An abstract base class for referents.
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractReferent()Used in contract testing.AbstractReferent(R relatedExpression, String description, 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> anaphorResolutionSpi) -
Method Summary
Modifier and Type Method Description booleanequals(Object obj)StringgetDescription()protected RgetRelatedExpression()inthashCode()StringtoString()Methods inherited from class de.monochromata.anaphors.ast.feature.DefaultFeatureContainer
add, addAll, containsFeaturesOf, getFeatures, isEmpty, remove, removeAllMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface de.monochromata.anaphors.ast.feature.FeatureContainer
containsFeaturesOf, getFeatures, isEmptyMethods inherited from interface de.monochromata.anaphors.ast.reference.Referent
canBeUsedInsteadOf, getMemento, getMethodName, getName, hasMethodName, hasName, resolveType
-
Field Details
-
anaphorResolutionSpi
-
-
Constructor Details
-
AbstractReferent
protected AbstractReferent()Used in contract testing. -
AbstractReferent
-
-
Method Details
-
getRelatedExpression
-
getDescription
-
hashCode
- Overrides:
hashCodein classDefaultFeatureContainer<QI>
-
equals
- Overrides:
equalsin classDefaultFeatureContainer<QI>
-
toString
- Overrides:
toStringin classDefaultFeatureContainer<QI>
-