public class MopWriter
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | MopWriter.Factory | 
| Modifier and Type | Field and Description | 
|---|---|
| static MopWriter.Factory | FACTORY | 
| Constructor and Description | 
|---|
| MopWriter(WriterController wc) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | createMopMethods() | 
| static boolean | equalParameterTypes(Parameter[] p1,
                   Parameter[] p2) | 
| protected void | generateMopCalls(java.util.LinkedList<MethodNode> mopCalls,
                boolean useThis)generates a Meta Object Protocol method, that is used to call a non public
 method, or to make a call to super. | 
| static java.lang.String | getMopMethodName(MethodNode method,
                boolean useThis)creates a MOP method name from a method | 
| static boolean | isMopMethod(java.lang.String methodName)method to determine if a method is a MOP method. | 
public static final MopWriter.Factory FACTORY
public MopWriter(WriterController wc)
public void createMopMethods()
public static java.lang.String getMopMethodName(MethodNode method, boolean useThis)
method - the method to be called by the mop methoduseThis - if true, then it is a call on "this", "super" elsepublic static boolean isMopMethod(java.lang.String methodName)
methodName - name of the method to testprotected void generateMopCalls(java.util.LinkedList<MethodNode> mopCalls, boolean useThis)
mopCalls - list of methods a mop call method should be generated foruseThis - true if "this" should be used for the naming