Class WildcardType

java.lang.Object
com.thoughtworks.qdox.model.Type
com.thoughtworks.qdox.model.WildcardType
All Implemented Interfaces:
Serializable, Comparable

public class WildcardType extends Type
This class supports both the 'super' and 'extends' wildcards. For <?> you must use the normal Type, because ? itself can't be generic
Author:
Robert Scholte
See Also:
  • Constructor Details

  • Method Details

    • getGenericValue

      public String getGenericValue()
      Description copied from class: Type
      The FQN representation of an Object for code usage This implementation ignores generics Some examples how Objects will be translated
       Object > java.lang.object
       java.util.List > java.util.List
       ? > ?
       T > T
       anypackage.Outer.Inner > anypackage.Outer.Inner
       
      Overrides:
      getGenericValue in class Type
      Returns:
      generic type representation for code usage