Class J.Parentheses<J2 extends J>

  • All Implemented Interfaces:
    java.io.Serializable, Expression, J, org.openrewrite.Tree
    Enclosing interface:
    J

    public static class J.Parentheses<J2 extends J>
    extends java.lang.Object
    implements J, Expression
    See Also:
    Serialized Form
    • Constructor Detail

      • Parentheses

        public Parentheses()
    • Method Detail

      • getTree

        public J2 getTree()
      • getSideEffects

        public java.util.List<J> getSideEffects()
        Specified by:
        getSideEffects in interface Expression
        Returns:
        A list of the side effects emitted by the statement, if the statement was decomposed. So for a binary operation, there are up to two potential side effects (the left and right side) and as few as zero if both sides of the expression are something like constants or variable references.