void printCollection(Collection<?> c) { ... }
boolean addAll(Collection<? extends E> c)
Reference(T referent, ReferenceQueue<? super T> queue)
| Modifier and Type | Field and Description |
|---|---|
| private ReferenceType | |
| private ReferenceType |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | WildcardType(final ReferenceType extendedType, final ReferenceType superType, final NodeList<AnnotationExpr> annotations)
|
| public | WildcardType(TokenRange tokenRange, ReferenceType extendedType, ReferenceType superType, NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private. |
| public | WildcardType(TokenRange tokenRange, ReferenceType extendedType, ReferenceType superType)
This constructor is used by the parser and is considered private. |
| Modifier and Type | Method and Description |
|---|---|
| public <R, A> R | accept(final GenericVisitor<R, A>
the visitor implementation v, final A the argument passed to the visitor (of type A) arg)Implements com. |
| public <A> void | accept(final VoidVisitor<A>
the visitor implementation v, final A any value relevant for the visitor (of type A) arg)Implements com. |
| public String | |
| public WildcardType | |
| public WildcardType | clone()
Overrides com. |
| public Optional | |
| public WildcardTypeMetaModel | |
| public Optional | |
| public void | ifWildcardType(Consumer<WildcardType> action)
Overrides com. |
| public boolean | |
| public boolean | |
| public WildcardType | |
| public WildcardType | |
| public boolean | |
| public ResolvedWildcard | resolve()
Implements abstract com. Implements com. |
| public WildcardType | setAnnotations(NodeList<AnnotationExpr> annotations)
Overrides com. Implements com. |
| public WildcardType | Returns: this, the WildcardTypethe extends, can be null extendedType)Sets the extended type |
| public WildcardType | Returns: this, the WildcardTypethe super, can be null superType)Sets the supertype |
| public Optional |
| extendedType | back to summary |
|---|---|
| private ReferenceType extendedType
| |
| superType | back to summary |
|---|---|
| private ReferenceType superType
| |
| WildcardType | back to summary |
|---|---|
| public WildcardType() | |
| WildcardType | back to summary |
|---|---|
| public WildcardType(final ReferenceType extendedType) | |
| WildcardType | back to summary |
|---|---|
public WildcardType(final ReferenceType extendedType, final ReferenceType superType, final NodeList<AnnotationExpr> annotations)
| |
| WildcardType | back to summary |
|---|---|
| public WildcardType(TokenRange tokenRange, ReferenceType extendedType, ReferenceType superType, NodeList<AnnotationExpr> annotations) This constructor is used by the parser and is considered private.
| |
| WildcardType | back to summary |
|---|---|
| public WildcardType(TokenRange tokenRange, ReferenceType extendedType, ReferenceType superType) This constructor is used by the parser and is considered private.
| |
| accept | back to summary |
|---|---|
| public <R, A> R accept(final GenericVisitor<R, A> v, final A arg) Implements com. Doc from com. Accept method for visitor support.
| |
| accept | back to summary |
|---|---|
| public <A> void accept(final VoidVisitor<A> v, final A arg) Implements com. Doc from com. Accept method for visitor support.
| |
| asString | back to summary |
|---|---|
| public String asString() Implements abstract com.
| |
| asWildcardType | back to summary |
|---|---|
| public WildcardType asWildcardType() Overrides com.
| |
| clone | back to summary |
|---|---|
| public WildcardType clone() Overrides com. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| getExtendedType | back to summary |
|---|---|
public Optional
| |
| getMetaModel | back to summary |
|---|---|
| public WildcardTypeMetaModel getMetaModel() Overrides com.
| |
| getSuperType | back to summary |
|---|---|
public Optional
| |
| ifWildcardType | back to summary |
|---|---|
| public void ifWildcardType(Consumer<WildcardType> action) Overrides com.
| |
| isWildcardType | back to summary |
|---|---|
| public boolean isWildcardType() Overrides com.
| |
| remove | back to summary |
|---|---|
| public boolean remove(Node node) Overrides com.
| |
| removeExtendedType | back to summary |
|---|---|
public WildcardType removeExtendedType()
| |
| removeSuperType | back to summary |
|---|---|
public WildcardType removeSuperType()
| |
| replace | back to summary |
|---|---|
| public boolean replace(Node node, Node replacementNode) Overrides com.
| |
| resolve | back to summary |
|---|---|
| public ResolvedWildcard resolve() Implements abstract com. Implements com.
| |
| setAnnotations | back to summary |
|---|---|
| public WildcardType setAnnotations(NodeList<AnnotationExpr> annotations) Overrides com. Implements com.
| |
| setExtendedType | back to summary |
|---|---|
| public WildcardType setExtendedType(final ReferenceType extendedType) Sets the extended type
| |
| setSuperType | back to summary |
|---|---|
| public WildcardType setSuperType(final ReferenceType superType) Sets the supertype
| |
| toWildcardType | back to summary |
|---|---|
| public Optional Overrides com.
| |