Class ImplJTypeParamDef

    • Field Detail

      • name

        private final java.lang.String name
      • _extends

        private java.util.ArrayList<JType> _extends
      • _super

        private java.util.ArrayList<JType> _super
    • Constructor Detail

      • ImplJTypeParamDef

        ImplJTypeParamDef​(java.lang.String name)
    • Method Detail

      • _extends

        public JTypeParamDef _extends​(java.lang.String type)
        Description copied from interface: JTypeParamDef
        Add an extends bound to this parameter.
        Specified by:
        _extends in interface JTypeParamDef
        Parameters:
        type - the bound type
        Returns:
        this type parameter definition
      • _extends

        public JTypeParamDef _extends​(JType type)
        Description copied from interface: JTypeParamDef
        Add an extends bound to this parameter.
        Specified by:
        _extends in interface JTypeParamDef
        Parameters:
        type - the bound type
        Returns:
        this type parameter definition
      • _extends

        public JTypeParamDef _extends​(java.lang.Class<?> type)
        Description copied from interface: JTypeParamDef
        Add an extends bound to this parameter.
        Specified by:
        _extends in interface JTypeParamDef
        Parameters:
        type - the bound type
        Returns:
        this type parameter definition
      • _super

        public JTypeParamDef _super​(java.lang.String type)
        Description copied from interface: JTypeParamDef
        Add a super bound to this parameter.
        Specified by:
        _super in interface JTypeParamDef
        Parameters:
        type - the bound type
        Returns:
        this type parameter definition
      • _super

        public JTypeParamDef _super​(JType type)
        Description copied from interface: JTypeParamDef
        Add a super bound to this parameter.
        Specified by:
        _super in interface JTypeParamDef
        Parameters:
        type - the bound type
        Returns:
        this type parameter definition
      • _super

        public JTypeParamDef _super​(java.lang.Class<?> type)
        Description copied from interface: JTypeParamDef
        Add a super bound to this parameter.
        Specified by:
        _super in interface JTypeParamDef
        Parameters:
        type - the bound type
        Returns:
        this type parameter definition
      • getName

        java.lang.String getName()
      • getExtends

        java.lang.Iterable<JType> getExtends()
      • getSuper

        java.lang.Iterable<JType> getSuper()
      • writeList

        private void writeList​(SourceFileWriter sourceFileWriter,
                               java.util.ArrayList<JType> list,
                               Tokens.$KW keyword)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • write

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