Class CDMethod


  • public class CDMethod
    extends java.lang.Object
    • Method Detail

      • param

        public CDVariable param​(CDType type,
                                java.lang.String name)
        Adds a new parameter to this method and returns a reference to it.
      • body

        public CDBlock body()
        Gets a reference to the method body.
      • writeTo

        public void writeTo​(CDFormatter f)
                     throws java.io.IOException
        Throws:
        java.io.IOException