Example usage for Java org.eclipse.jdt.core.dom WildcardType fields, constructors, methods, implement or subclass
The text is from its open source code.
ChildPropertyDescriptor | BOUND_PROPERTY The "bound" structural property of this node type (child type: Type ). |
boolean | isUpperBound Indicates whether the wildcard bound is an upper bound ("extends") as opposed to a lower bound ("super"). |
WildcardType(AST ast) Creates a new unparented node for a wildcard type owned by the given AST. |
List | annotations() Returns the live ordered list of annotations for this Type node (added in JLS8 API). |
Type | getBound() Returns the bound of this wildcard type if it has one. |
void | setBound(Type type, boolean isUpperBound) Sets the bound of this wildcard type to the given type and marks it as an upper or a lower bound. |
void | setBound(Type type) Sets the bound of this wildcard type to the given type. |
void | setUpperBound(boolean isUpperBound) Sets whether this wildcard type is an upper bound ("extends") as opposed to a lower bound ("super"). |