public interface TypePool
TypeDescription
by its name.Modifier and Type | Interface and Description |
---|---|
static class |
TypePool.AbstractBase
A base implementation of a
TypePool that is managing a cache provider and
that handles the description of array and primitive types. |
static interface |
TypePool.CacheProvider
A cache provider for a
TypePool . |
static class |
TypePool.Default
A default implementation of a
TypePool that models binary data in the
Java byte code format into a TypeDescription . |
static class |
TypePool.Empty
An empty type pool that cannot describe any type.
|
static class |
TypePool.LazyFacade
A lazy facade of a type pool that delegates any lookups to another type pool only if another value than the type's name is looked up.
|
static interface |
TypePool.Resolution
A resolution of a
TypePool which was queried for a description. |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears this type pool's cache.
|
TypePool.Resolution |
describe(String name)
Locates and describes the given type by its name.
|
TypePool.Resolution describe(String name)
name
- The name of the type to describe. The name is to be written as when calling Object.toString()
on a loaded Class
.TypePool.Resolution
represents this type. Otherwise, an illegal resolution is returned.void clear()
Copyright © 2014–2016. All rights reserved.