Class PrintingContext.Writable

    • Constructor Detail

      • Writable

        protected Writable()
    • Method Detail

      • setStatement

        public <T extends PrintingContext.Writable> T setStatement​(CtStatement stmt)
        There are statements (e.g. invocation), which may play role of expression too. They have to be suffixed by semicolon depending on the printing context. Call this method to inform printer that invocation is used as statement.
        Parameters:
        stmt - the instance of the actually printed statement. Such statement will be finished by semicolon.