A resolved type.
An intersection type is defined in java as list of types separates by ampersands.
A ReferenceType like a class, an interface or an enum.
From JLS 4.4: A type variable is introduced by the declaration of a type parameter of a generic class, interface, method, or constructor (§8.1.2, §9.1.2, §8.4.4, §8.8.4).
A union type is defined in java as list of types separates by pipes.
The special type void.
A wildcard can be: - unbounded (?) - have a lower bound (? super Number) - have an upper bound (? extends Number) It is not possible to have both a lower and an upper bound at the same time.
Copyright © 2007–2019. All rights reserved.