Class AbstractJGeneric

    • Constructor Detail

      • AbstractJGeneric

        AbstractJGeneric()
    • Method Detail

      • typeParam

        public JTypeParamDef typeParam​(java.lang.String name)
        Description copied from interface: JGenericDef
        Define a type parameter.
        Specified by:
        typeParam in interface JGenericDef
        Parameters:
        name - the type parameter name
        Returns:
        the type parameter definition
      • typeParams

        public JTypeParamDef[] typeParams()
        Description copied from interface: JGenericDef
        Get all the type parameters defined at the time of invocation.
        Specified by:
        typeParams in interface JGenericDef
        Returns:
        the type parameters
      • typeParamsToArgs

        JType[] typeParamsToArgs()
      • writeTypeParams

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