Class J.NewClass

    • Constructor Detail

      • NewClass

        public NewClass()
    • Method Detail

      • getEnclosing

        @Nullable
        public @Nullable Expression getEnclosing()
      • getNew

        public Space getNew()
      • getArguments

        @Nullable
        public @Nullable java.util.List<Expression> getArguments()
      • withArguments

        public J.NewClass withArguments​(@Nullable
                                        @Nullable java.util.List<Expression> arguments)
      • 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.