Interface INodeItemVisitable

All Known Subinterfaces:
IAssemblyInstanceGroupedNodeItem, IAssemblyNodeItem, IAtomicValuedNodeItem, ICycledAssemblyNodeItem, IDefinitionNodeItem<D,I>, IDocumentBasedNodeItem, IDocumentNodeItem, IFeatureChildNodeItem, IFeatureFlagContainerItem, IFeatureModelContainerItem, IFeatureOrhpanedDefinitionNodeItem<D,I>, IFieldNodeItem, IFlagNodeItem, IModelNodeItem<D,I>, IModuleNodeItem, INodeItem, IRootAssemblyNodeItem
All Known Implementing Classes:
AbstractDefinitionNodeItem, AbstractFlagInstanceNodeItem, AbstractGlobalDefinitionNodeItem, AbstractInstanceNodeItem, AbstractNodeItem, AbstractOrphanedDefinitionNodeItem
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface INodeItemVisitable
Marks a node item as visitable by a INodeItemVisitor.
  • Method Summary

    Modifier and Type
    Method
    Description
    <CONTEXT, RESULT>
    RESULT
    accept(INodeItemVisitor<CONTEXT,RESULT> visitor, CONTEXT context)
    A visitor callback.
  • Method Details

    • accept

      <CONTEXT, RESULT> RESULT accept(@NonNull INodeItemVisitor<CONTEXT,RESULT> visitor, CONTEXT context)
      A visitor callback.
      Type Parameters:
      CONTEXT - the type of the context parameter
      RESULT - the type of the visitor result
      Parameters:
      visitor - the calling visitor
      context - a parameter used to pass contextual information between visitors
      Returns:
      the visitor result