public interface JvmReferenceType extends JvmType
While Class and TypeVariable
are types because they are resolved at runtime,
this interface defines the contract for delaying actual resolution of the type declaration.
ParameterizedType| Modifier and Type | Field and Description |
|---|---|
static JvmReferenceType[] |
EMPTY_ARRAY |
| Modifier and Type | Method and Description |
|---|---|
default <T> T |
accept(JvmTypeVisitor<T> visitor) |
java.lang.String |
getName() |
default JvmTypeDeclaration |
resolve() |
JvmTypeResolveResult |
resolveType() |
java.lang.Iterable<JvmType> |
typeArguments() |
getAnnotationsstatic final JvmReferenceType[] EMPTY_ARRAY
java.lang.String getName()
default JvmTypeDeclaration resolve()
null if it cannot be resolvedJvmTypeResolveResult resolveType()
null if it cannot be resolvedjava.lang.Iterable<JvmType> typeArguments()
ParameterizedType.getActualTypeArguments()default <T> T accept(JvmTypeVisitor<T> visitor)