Interface CtSynchronized

    • Method Detail

      • getExpression

        CtExpression<?> getExpression()
        Gets the expression that defines the monitored object if any.
        Returns:
        the monitored object if defined, null otherwise
      • setExpression

        <T extends CtSynchronized> T setExpression​(CtExpression<?> expression)
        Sets the expression that defines the monitored.
      • getBlock

        CtBlock<?> getBlock()
        Gets the synchronized block.