Class TypeWildcardM

    • Constructor Detail

      • TypeWildcardM

        public TypeWildcardM()
    • Method Detail

      • getGenericType

        public java.lang.String getGenericType()
        Description copied from class: TypeM
        Returns a String representation of the minimal generics definition of this type. This can be used for variable, parameter or return types such as field declarations.

        Named generic types are represented without bounds, because they are defined in the class or method signature. To get a representation of the full definition including bounds see TypeM.getGenericTypeDefinition()

        Example Output: "Map<T, ? extends List<? super Number>>"

        Overrides:
        getGenericType in class TypeM
        Returns:
        the generic type
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class TypeVariableM