public class MopWriter extends Object
Modifiers | Name | Description |
---|---|---|
interface |
MopWriter.Factory |
Constructor and description |
---|
MopWriter(WriterController controller) |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
createMopMethods() |
|
public static boolean |
equalParameterTypes(Parameter[] p1, Parameter[] p2) |
|
public static String |
getMopMethodName(MethodNode method, boolean useThis) Creates a MOP method name from a method. |
|
public static boolean |
isMopMethod(String methodName) Determines if a method is a MOP method. |
Creates a MOP method name from a method.
method
- the method to be called by the mop methoduseThis
- if true, then it is a call on "this", "super" elseDetermines if a method is a MOP method. This is done by the method name. If the name starts with "this$" or "super$" but does not contain "$dist$", then it is an MOP method.
methodName
- name of the method to testCopyright © 2003-2022 The Apache Software Foundation. All rights reserved.