org.fuin.jmsmvc4swing.model
Class AbstractMethodGenerator<I extends Controller,T>
java.lang.Object
org.fuin.jmsmvc4swing.model.AbstractGenerator<I,T>
org.fuin.jmsmvc4swing.model.AbstractMethodGenerator<I,T>
- Type Parameters:
I - The controller interface the created class is for.T - Type of the class the generator will create.
- Direct Known Subclasses:
- ArgumentsGenerator, MethodCallSenderGenerator, MethodHandlerGenerator, MethodResultReceiverGenerator, MethodResultSenderGenerator
public abstract class AbstractMethodGenerator<I extends Controller,T>
- extends AbstractGenerator<I,T>
Generates classes depending on a method.
|
Constructor Summary |
AbstractMethodGenerator(org.fuin.srcgen4javassist.SgClassPool pool,
ControllerModel<I> model,
java.lang.String basePackage,
org.fuin.srcgen4javassist.SgMethod intfMethod,
java.lang.String simpleDestClass)
Constructor. |
|
Method Summary |
protected org.fuin.srcgen4javassist.SgMethod |
getIntfMethod()
Returns the method this class depends on. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractMethodGenerator
public AbstractMethodGenerator(org.fuin.srcgen4javassist.SgClassPool pool,
ControllerModel<I> model,
java.lang.String basePackage,
org.fuin.srcgen4javassist.SgMethod intfMethod,
java.lang.String simpleDestClass)
- Constructor.
- Parameters:
pool - Class pool to use.model - Controller model.basePackage - Base package.intfMethod - Method from the interface the class depends on.simpleDestClass - Name of the destination class (without package).
getIntfMethod
protected final org.fuin.srcgen4javassist.SgMethod getIntfMethod()
- Returns the method this class depends on.
- Returns:
- Interface method.
Copyright © 2010 Future Invent Informationsmanagement GmbH. All Rights Reserved.