public class MultiMappingProcessor extends java.lang.Object implements MappingProcessor
| Constructor and Description |
|---|
MultiMappingProcessor(MappingProcessor[] mappingProcessors)
Creates a new MultiMappingProcessor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
processClassMapping(java.lang.String className,
java.lang.String newClassName)
Processes the given class name mapping.
|
void |
processFieldMapping(java.lang.String className,
java.lang.String fieldType,
java.lang.String fieldName,
java.lang.String newClassName,
java.lang.String newFieldName)
Processes the given field name mapping.
|
void |
processMethodMapping(java.lang.String className,
int firstLineNumber,
int lastLineNumber,
java.lang.String methodReturnType,
java.lang.String methodName,
java.lang.String methodArguments,
java.lang.String newClassName,
int newFirstLineNumber,
int newLastLineNumber,
java.lang.String newMethodName)
Processes the given method name mapping.
|
public MultiMappingProcessor(MappingProcessor[] mappingProcessors)
mappingProcessors - the mapping processors to which method calls
will be delegated.public boolean processClassMapping(java.lang.String className,
java.lang.String newClassName)
MappingProcessorprocessClassMapping in interface MappingProcessorclassName - the original class name.newClassName - the new class name.public void processFieldMapping(java.lang.String className,
java.lang.String fieldType,
java.lang.String fieldName,
java.lang.String newClassName,
java.lang.String newFieldName)
MappingProcessorprocessFieldMapping in interface MappingProcessorclassName - the original class name.fieldType - the original external field type.fieldName - the original field name.newClassName - the new class name.newFieldName - the new field name.public void processMethodMapping(java.lang.String className,
int firstLineNumber,
int lastLineNumber,
java.lang.String methodReturnType,
java.lang.String methodName,
java.lang.String methodArguments,
java.lang.String newClassName,
int newFirstLineNumber,
int newLastLineNumber,
java.lang.String newMethodName)
MappingProcessorprocessMethodMapping in interface MappingProcessorclassName - the original class name.firstLineNumber - the first line number of the method, or 0 if
it is not known.lastLineNumber - the last line number of the method, or 0 if
it is not known.methodReturnType - the original external method return type.methodName - the original external method name.methodArguments - the original external method arguments.newClassName - the new class name.newFirstLineNumber - the new first line number of the method, or 0
if it is not known.newLastLineNumber - the new last line number of the method, or 0
if it is not known.newMethodName - the new method name.