Package org.revapi

Class Reference<E extends Element<E>>

  • Type Parameters:
    E - the base type of elements

    public class Reference<E extends Element<E>>
    extends Object
    Represents a reference between two elements determined in some way by the API analyzer. The type of the relationship is specified by the Reference.Type interface which is basically opaque outside of the API analyzer.

    Note that, generally speaking, the references should not be used in TreeFilter implementations because the filters are used during the construction of the ElementForest meaning that the references are not yet finalized at that point in time.