public static enum TypePool.Empty extends Enum<TypePool.Empty> implements TypePool
TypePool.AbstractBase, TypePool.CacheProvider, TypePool.ClassLoading, TypePool.Default, TypePool.Empty, TypePool.Explicit, TypePool.LazyFacade, TypePool.Resolution
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
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.
|
String |
toString() |
static TypePool.Empty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypePool.Empty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypePool.Empty INSTANCE
public static TypePool.Empty[] values()
for (TypePool.Empty c : TypePool.Empty.values()) System.out.println(c);
public static TypePool.Empty valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic TypePool.Resolution describe(String name)
TypePool
describe
in interface TypePool
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.public void clear()
TypePool
public String toString()
toString
in class Enum<TypePool.Empty>
Copyright © 2014–2016. All rights reserved.