Class ModifyableJavaTypeVariable<D extends com.thoughtworks.qdox.model.JavaGenericDeclaration>

  • All Implemented Interfaces:
    com.thoughtworks.qdox.model.JavaAnnotatedElement, com.thoughtworks.qdox.model.JavaClass, com.thoughtworks.qdox.model.JavaGenericDeclaration, com.thoughtworks.qdox.model.JavaModel, com.thoughtworks.qdox.model.JavaType, com.thoughtworks.qdox.model.JavaTypeVariable<D>, Serializable

    public class ModifyableJavaTypeVariable<D extends com.thoughtworks.qdox.model.JavaGenericDeclaration>
    extends ModifyableJavaType
    implements com.thoughtworks.qdox.model.JavaTypeVariable<D>
    This class exists to use a custom implementation of the methods that take care of the generics.
    See Also:
    Serialized Form
    • Constructor Detail

      • ModifyableJavaTypeVariable

        public ModifyableJavaTypeVariable​(String name,
                                          com.thoughtworks.qdox.type.TypeResolver typeResolver)
    • Method Detail

      • getBounds

        public List<com.thoughtworks.qdox.model.JavaType> getBounds()
        Specified by:
        getBounds in interface com.thoughtworks.qdox.model.JavaTypeVariable<D extends com.thoughtworks.qdox.model.JavaGenericDeclaration>
      • setBounds

        public void setBounds​(List<com.thoughtworks.qdox.model.JavaType> bounds)
        Parameters:
        bounds - the bounds to set
      • getGenericDeclaration

        public D getGenericDeclaration()
        Specified by:
        getGenericDeclaration in interface com.thoughtworks.qdox.model.JavaTypeVariable<D extends com.thoughtworks.qdox.model.JavaGenericDeclaration>
      • getName

        public String getName()
        Description copied from class: ModifyableJavaType
        Specified by:
        getName in interface com.thoughtworks.qdox.model.JavaClass
        Specified by:
        getName in interface com.thoughtworks.qdox.model.JavaTypeVariable<D extends com.thoughtworks.qdox.model.JavaGenericDeclaration>
        Overrides:
        getName in class ModifyableJavaType