protected static interface JavaType.TypeLookup
Modifier and Type | Interface and Description |
---|---|
static class |
JavaType.TypeLookup.ForLoadedType
Represents information on a loaded type.
|
static class |
JavaType.TypeLookup.ForNamedType
Represents information on a type that cannot be loaded.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isAssignableFrom(TypeDescription typeDescription)
Checks if a type is assignable from this type.
|
Class<?> |
load()
Loads the provided type if this is possible or throws an exception if not.
|
boolean |
represents(TypeDescription typeDescription)
Checks if this type represents the provided type.
|
boolean isAssignableFrom(TypeDescription typeDescription)
typeDescription
- The type that is to be checked.true
if this type is assignable from the provided type.boolean represents(TypeDescription typeDescription)
typeDescription
- The type that is to be checked.true
if this type represents the provided type.Class<?> load()
Copyright © 2014–2015. All rights reserved.