Class ListContext


public class ListContext extends CollectionContext<List<?>>
defines a list context
  • Constructor Details

    • ListContext

      public ListContext(CtElement element, CtRole role, List<?> original)
    • ListContext

      public ListContext(CtElement element, CtRole role, List<?> original, int position)
  • Method Details

    • getPosition

      public int getPosition()
      the position where the change has been made (returns -1 if no position is defined).
      Returns:
      the position of the change