| Modifier and Type | Field and Description |
|---|---|
static Wildcard |
TYPE
The canonical wildcard.
|
| Constructor and Description |
|---|
Wildcard()
Create a new wildcard.
|
Wildcard(Type template)
Create a new wildcard.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(Type type)
Bind this wildcard.
|
Wildcard |
copy()
Create a deep copy of this type.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isWildcard()
Determine whether this type is a wildcard.
|
Type.Tag |
tag()
Get this type's tag.
|
Wildcard |
toWildcard()
Get this type as a wildcard.
|
isParameter, lookup, toParameteraddAttribute, annotate, attribute, attribute, attribute, attributes, cast, checkNotSealed, constant, constant, copy, deannotate, getAttribute, getAttribute, getConstant, getConstant, getLanguage, getLanguage, getLocation, getLocation, getScope, getScope, getShape, getShape, hasAlias, hasAnnotated, hasAttribute, hasAttribute, hasAttribute, hasAttribute, hasAttributes, hasConstant, hasConstant, hasEnum, hasEnumerator, hasError, hasInstantiated, hasLanguage, hasLanguage, hasLocation, hasLocation, hasParameterized, hasScope, hasScope, hasShape, hasShape, hasStructOrUnion, hasTag, hasTagged, hasVariable, hasWTag, isAlias, isAnnotated, isArray, isBoolean, isClass, isConcrete, isDerived, isEnum, isEnumerator, isError, isFloat, isFunction, isInstantiated, isInteger, isInterface, isInternal, isInternalParameter, isLabel, isMethod, isNamedParameter, isNumber, isPackage, isParameterized, isPointer, isSealed, isStruct, isTuple, isUnion, isUnit, isVariable, isVariant, isVoid, isWrapped, language, locate, locate, mark, properties, removeAttribute, removeProperty, resolve, resolve, scope, seal, seal, setLocation, setLocation, setProperty, shape, shape, toAlias, toAnnotated, toArray, toBoolean, toClass, toEnum, toEnumerator, toFloat, toFunction, toInstantiated, toInteger, toInterface, toInternal, toInternalParameter, toLabel, toMethod, toNamedParameter, toNumber, toPackage, toParameterized, toPointer, toStruct, toStructOrUnion, toTagged, toTuple, toUnion, toUnit, toVariable, toVariant, toVoid, toWrapped, trace, wtagadd, add, addAll, addAll, addAll, addAll, addAllTo, addNode, contains, get, getBoolean, getBooleanProperty, getGeneric, getList, getName, getNode, getProperty, getString, getStringProperty, getTokenText, hasName, hasProperty, hasTraversal, indexOf, isAnnotation, isEmpty, isGeneric, isList, isToken, iterator, lastIndexOf, remove, set, size, strip, toAnnotation, toList, toString, toToken, writepublic static final Wildcard TYPE
public Wildcard()
public Wildcard(Type template)
template - The type whose annotations to copy.public Wildcard copy()
Typepublic Type.Tag tag()
Typetag in class TypeType.wtag()public boolean isWildcard()
TypeisWildcard in class Typetrue if this type is a wildcard.public Wildcard toWildcard()
TypetoWildcard in class Typepublic void bind(Type type)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.ObjectCopyright © 2014. All Rights Reserved.