Home » openjdk-7 » javax.lang » model » type » [javadoc | source]
javax.lang.model.type
public interface: WildcardType [javadoc | source]

All Implemented Interfaces:
    TypeMirror

Represents a wildcard type argument. Examples include:

  ?
  ? extends Number
  ? super T

A wildcard may have its upper bound explicitly set by an {@code extends} clause, its lower bound explicitly set by a {@code super} clause, or neither (but not both).

Method from javax.lang.model.type.WildcardType Summary:
getExtendsBound,   getSuperBound
Method from javax.lang.model.type.WildcardType Detail:
 public TypeMirror getExtendsBound()
    Returns the upper bound of this wildcard. If no upper bound is explicitly declared, {@code null} is returned.
 public TypeMirror getSuperBound()
    Returns the lower bound of this wildcard. If no lower bound is explicitly declared, {@code null} is returned.