Class ASTState


  • public class ASTState
    extends java.lang.Object
    • Field Detail

      • NON_CYCLE

        public static final ASTState.Cycle NON_CYCLE
        The iteration ID used outside of circular evaluation.

        This is the iteration ID when no circular evaluation is ongoing.

    • Constructor Detail

      • ASTState

        protected ASTState()
    • Method Detail

      • inCircle

        protected boolean inCircle()
      • calledByLazyAttribute

        protected boolean calledByLazyAttribute()
      • enterLazyAttribute

        protected void enterLazyAttribute()
      • leaveLazyAttribute

        protected void leaveLazyAttribute()
      • enterCircle

        protected void enterCircle()
      • checkAndSetVisited

        protected boolean checkAndSetVisited​(java.lang.Object attribute,
                                             int cycle)
        Check if attribute was already visited during the current cycle.
        Returns:
        true if the attribute was already visited.
      • clearVisited

        protected void clearVisited()
        Reset visited cycle tracking for this thread.
      • resetVisited

        protected void resetVisited​(java.lang.Object attribute)
        Reset visit tracker for a single attribute.
      • leaveCircle

        protected void leaveCircle()
      • setChangeInCycle

        protected void setChangeInCycle()
      • testAndClearChangeInCycle

        protected boolean testAndClearChangeInCycle()
      • changeInCycle

        protected boolean changeInCycle()
      • lastCycle

        protected boolean lastCycle()
      • startLastCycle

        protected void startLastCycle()
      • reset

        public void reset()