Class FeatureRecurrence<N,​E,​CI extends N,​B,​TB extends B,​S,​I,​QI,​EV,​PP>

java.lang.Object
de.monochromata.AbstractStrategy
de.monochromata.anaphors.ast.reference.strategy.AbstractReferentializationStrategy<N,​E,​TB,​S,​I,​QI,​EV,​PP>
de.monochromata.anaphors.ast.reference.strategy.feature.FeatureRecurrence<N,​E,​CI,​B,​TB,​S,​I,​QI,​EV,​PP>
Type Parameters:
N - The node type in the AST
E - The expression type
CI - The class instance creation expression node type
B - The binding type
TB - The type binding type
S - The scope type (optional)
I - The type used to represent identifiers
QI - The type used to represent qualified identifiers
EV - 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 perspectivations
All Implemented Interfaces:
FeatureReferentializationStrategy<E,​TB,​S,​I,​QI>, ReferentializationStrategy<E,​TB,​S,​I,​QI>, Strategy

public class FeatureRecurrence<N,​E,​CI extends N,​B,​TB extends B,​S,​I,​QI,​EV,​PP>
extends AbstractReferentializationStrategy<N,​E,​TB,​S,​I,​QI,​EV,​PP>
implements FeatureReferentializationStrategy<E,​TB,​S,​I,​QI>
Referentialization based on feature recurrence (i.e. matching referents whose type is equal to a suffix of the simple name that acts as definite expression and that declare a feature in the constructor invocation that recurs in the non-empty prefix to the suffix of the simple name).

Note

TODO: Ensure non-empty prefix to the type name in the simple name TODO: Make sure all features from the simple name are found in the referent TODO: Collect features not only from the constructor, but also from other downstream accesses TODO: Implement matching of multiple features and flexible length of type names ...