public interface ClassFactory
Modifier and Type | Method and Description |
---|---|
ClassFab |
newClass(java.lang.String name,
java.lang.Class superClass)
Creates a
ClassFab object for the given name; the new class is a subclass of the
indicated class. |
InterfaceFab |
newInterface(java.lang.String name)
Creates a new
InterfaceFab object with the given name. |
ClassFab newClass(java.lang.String name, java.lang.Class superClass)
ClassFab
object for the given name; the new class is a subclass of the
indicated class. The new class is public and concrete.
Incompatible change from 1.0: The module parameter has been removed.
name
- the full qualified name of the class to createsuperClass
- the parent class, which is often java.lang.ObjectInterfaceFab newInterface(java.lang.String name)
InterfaceFab
object with the given name.