public static enum TypePool.CacheProvider.NoOp extends java.lang.Enum<TypePool.CacheProvider.NoOp> implements TypePool.CacheProvider
TypePool.CacheProvider.NoOp, TypePool.CacheProvider.Simple| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
UNRESOLVED| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears this cache.
|
TypePool.Resolution |
find(java.lang.String name)
Attempts to find a resolution in this cache.
|
TypePool.Resolution |
register(java.lang.String name,
TypePool.Resolution resolution)
Registers a resolution in this cache.
|
static TypePool.CacheProvider.NoOp |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TypePool.CacheProvider.NoOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypePool.CacheProvider.NoOp INSTANCE
public static TypePool.CacheProvider.NoOp[] values()
for (TypePool.CacheProvider.NoOp c : TypePool.CacheProvider.NoOp.values()) System.out.println(c);
public static TypePool.CacheProvider.NoOp valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic TypePool.Resolution find(java.lang.String name)
find in interface TypePool.CacheProvidername - The name of the type to describe.null if no such resolution can be found in the cache..public TypePool.Resolution register(java.lang.String name, TypePool.Resolution resolution)
register in interface TypePool.CacheProvidername - The name of the type that is to be registered.resolution - The resolution to register.public void clear()
clear in interface TypePool.CacheProvider