Class ExecutableStatementCountCheck.Context

    • Field Detail

      • count

        private int count
        Counter for context elements.
    • Constructor Detail

      • Context

        private Context​(DetailAST ast)
        Creates new member context.
        Parameters:
        ast - member AST node.
    • Method Detail

      • addCount

        public void addCount​(int addition)
        Increase count.
        Parameters:
        addition - the count increment.
      • getAST

        public DetailAST getAST()
        Gets the member AST node.
        Returns:
        the member AST node.
      • getCount

        public int getCount()
        Gets the count.
        Returns:
        the count.