Class ImplJParamDeclaration

    • Field Detail

      • type

        private final JType type
      • name

        private final java.lang.String name
      • mods

        private final int mods
    • Constructor Detail

      • ImplJParamDeclaration

        ImplJParamDeclaration​(int mods,
                              JType type,
                              java.lang.String name)
    • Method Detail

      • name

        public java.lang.String name()
        Description copied from interface: JParamDeclaration
        Get the parameter name.
        Specified by:
        name in interface JParamDeclaration
        Returns:
        the parameter name
      • mods

        public int mods()
        Description copied from interface: JParamDeclaration
        Get the parameter modifiers.
        Specified by:
        mods in interface JParamDeclaration
        Returns:
        the parameter modifiers
      • varargs

        public boolean varargs()
        Description copied from interface: JParamDeclaration
        Determine whether the parameter is a vararg parameter.
        Specified by:
        varargs in interface JParamDeclaration
        Returns:
        true if the parameter is vararg, false otherwise
      • write

        void write​(SourceFileWriter writer)
            throws java.io.IOException
        Throws:
        java.io.IOException