| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private static final AbstractClassGenerator. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public Class | |
| protected Object | firstInstance(Class<T> type)
Implements abstract org. |
| public void | |
| protected ClassLoader | |
| protected Object | nextInstance(Object instance)
Implements abstract org. |
| signatures | back to summary |
|---|---|
| private Map<K, V> signatures | |
| SOURCE | back to summary |
|---|---|
| private static final AbstractClassGenerator. | |
| InterfaceMaker | back to summary |
|---|---|
| public InterfaceMaker() Create a new | |
| add | back to summary |
|---|---|
| public void add(Signature sig, Type[] exceptions) Add a method signature to the interface. | |
| add | back to summary |
|---|---|
| public void add(Method method) Add a method signature to the interface. The method modifiers are ignored, since interface methods are by definition abstract and public.
| |
| add | back to summary |
|---|---|
| public void add(Class<T> clazz) Add all the public methods in the specified class.
Methods from superclasses are included, except for methods declared in the base
Object class (e.g.
| |
| create | back to summary |
|---|---|
| public Class Create an interface using the current set of method signatures. | |
| firstInstance | back to summary |
|---|---|
| protected Object firstInstance(Class<T> type) Implements abstract org.
| |
| generateClass | back to summary |
|---|---|
| public void generateClass(ClassVisitor v) throws Exception Implements org.
| |
| getDefaultClassLoader | back to summary |
|---|---|
| protected ClassLoader getDefaultClassLoader() Implements abstract org.
| |
| nextInstance | back to summary |
|---|---|
| protected Object nextInstance(Object instance) Implements abstract org.
| |