public boolean processClassMapping(String className, String newClassName) { boolean result = false; for (int index = 0; index < mappingProcessors.length; index++) { result |= mappingProcessors[index].processClassMapping(className, newClassName); } return result; }
public void processFieldMapping(String className, String fieldType, String fieldName, String newFieldName) { for (int index = 0; index < mappingProcessors.length; index++) { mappingProcessors[index].processFieldMapping(className, fieldType, fieldName, newFieldName); } }
public void processMethodMapping(String className, int firstLineNumber, int lastLineNumber, String methodReturnType, String methodName, String methodArguments, String newMethodName) { for (int index = 0; index < mappingProcessors.length; index++) { mappingProcessors[index].processMethodMapping(className, firstLineNumber, lastLineNumber, methodReturnType, methodName, methodArguments, newMethodName); } } }
mappingProcessor.processFieldMapping(className, type, name, newName); mappingProcessor.processMethodMapping(className, firstLineNumber, lastLineNumber,
mappingProcessor.processFieldMapping(className, type, name, mappingProcessor.processMethodMapping(className, firstLineNumber, lastLineNumber,
mappingProcessor.processFieldMapping(className, type, name, mappingProcessor.processMethodMapping(className, firstLineNumber, lastLineNumber,
public boolean processClassMapping(String className, String newClassName) { boolean result = false; for (int index = 0; index < mappingProcessors.length; index++) { result |= mappingProcessors[index].processClassMapping(className, newClassName); } return result; }
public void processFieldMapping(String className, String fieldType, String fieldName, String newClassName, String newFieldName) { for (int index = 0; index < mappingProcessors.length; index++) { mappingProcessors[index].processFieldMapping(className, fieldType, fieldName, newClassName, newFieldName); } }
public void processMethodMapping(String className, int firstLineNumber, int lastLineNumber, String methodReturnType, String methodName, String methodArguments, String newClassName, int newFirstLineNumber, int newLastLineNumber, String newMethodName) { for (int index = 0; index < mappingProcessors.length; index++) { mappingProcessors[index].processMethodMapping(className, firstLineNumber, lastLineNumber, methodReturnType, methodName, methodArguments, newClassName, newFirstLineNumber, newLastLineNumber, newMethodName); } } }
mappingProcessor.processFieldMapping(className, type, name, mappingProcessor.processMethodMapping(className, firstLineNumber, lastLineNumber,
public boolean processClassMapping(String className, String newClassName) { boolean result = false; for (int index = 0; index < mappingProcessors.length; index++) { result |= mappingProcessors[index].processClassMapping(className, newClassName); } return result; }
public void processFieldMapping(String className, String fieldType, String fieldName, String newClassName, String newFieldName) { for (int index = 0; index < mappingProcessors.length; index++) { mappingProcessors[index].processFieldMapping(className, fieldType, fieldName, newClassName, newFieldName); } }
public void processMethodMapping(String className, int firstLineNumber, int lastLineNumber, String methodReturnType, String methodName, String methodArguments, String newClassName, int newFirstLineNumber, int newLastLineNumber, String newMethodName) { for (int index = 0; index < mappingProcessors.length; index++) { mappingProcessors[index].processMethodMapping(className, firstLineNumber, lastLineNumber, methodReturnType, methodName, methodArguments, newClassName, newFirstLineNumber, newLastLineNumber, newMethodName); } } }
public boolean processClassMapping(String className, String newClassName) { boolean result = false; for (int index = 0; index < mappingProcessors.length; index++) { result |= mappingProcessors[index].processClassMapping(className, newClassName); } return result; }
public void processFieldMapping(String className, String fieldType, String fieldName, String newClassName, String newFieldName) { for (int index = 0; index < mappingProcessors.length; index++) { mappingProcessors[index].processFieldMapping(className, fieldType, fieldName, newClassName, newFieldName); } }
public void processMethodMapping(String className, int firstLineNumber, int lastLineNumber, String methodReturnType, String methodName, String methodArguments, String newClassName, int newFirstLineNumber, int newLastLineNumber, String newMethodName) { for (int index = 0; index < mappingProcessors.length; index++) { mappingProcessors[index].processMethodMapping(className, firstLineNumber, lastLineNumber, methodReturnType, methodName, methodArguments, newClassName, newFirstLineNumber, newLastLineNumber, newMethodName); } } }
/** * Parses the given line with a class mapping and processes the * results with the given mapping processor. Returns the old class name, * or null if any subsequent class member lines can be ignored. */ private String processClassMapping(String line, MappingProcessor mappingProcessor) { // See if we can parse "___ -> ___:", containing the original // class name and the new class name. int arrowIndex = line.indexOf("->"); if (arrowIndex < 0) { return null; } int colonIndex = line.indexOf(':', arrowIndex + 2); if (colonIndex < 0) { return null; } // Extract the elements. String className = line.substring(0, arrowIndex).trim(); String newClassName = line.substring(arrowIndex + 2, colonIndex).trim(); // Process this class name mapping. boolean interested = mappingProcessor.processClassMapping(className, newClassName); return interested ? className : null; }
/** * Parses the given line with a class mapping and processes the * results with the given mapping processor. Returns the old class name, * or null if any subsequent class member lines can be ignored. */ private String processClassMapping(String line, MappingProcessor mappingProcessor) { // See if we can parse "___ -> ___:", containing the original // class name and the new class name. int arrowIndex = line.indexOf("->"); if (arrowIndex < 0) { return null; } int colonIndex = line.indexOf(':', arrowIndex + 2); if (colonIndex < 0) { return null; } // Extract the elements. String className = line.substring(0, arrowIndex).trim(); String newClassName = line.substring(arrowIndex + 2, colonIndex).trim(); // Process this class name mapping. boolean interested = mappingProcessor.processClassMapping(className, newClassName); return interested ? className : null; }
/** * Parses the given line with a class mapping and processes the * results with the given mapping processor. Returns the old class name, * or null if any subsequent class member lines can be ignored. */ private String processClassMapping(String line, MappingProcessor mappingProcessor) { // See if we can parse "___ -> ___:", containing the original // class name and the new class name. int arrowIndex = line.indexOf("->"); if (arrowIndex < 0) { return null; } int colonIndex = line.indexOf(':', arrowIndex + 2); if (colonIndex < 0) { return null; } // Extract the elements. String className = line.substring(0, arrowIndex).trim(); String newClassName = line.substring(arrowIndex + 2, colonIndex).trim(); // Process this class name mapping. boolean interested = mappingProcessor.processClassMapping(className, newClassName); return interested ? className : null; }
/** * Parses the given line with a class mapping and processes the * results with the given mapping processor. Returns the old class name, * or null if any subsequent class member lines can be ignored. */ private String processClassMapping(String line, MappingProcessor mappingProcessor) { // See if we can parse "___ -> ___:", containing the original // class name and the new class name. int arrowIndex = line.indexOf("->"); if (arrowIndex < 0) { return null; } int colonIndex = line.indexOf(':', arrowIndex + 2); if (colonIndex < 0) { return null; } // Extract the elements. String className = line.substring(0, arrowIndex).trim(); String newClassName = line.substring(arrowIndex + 2, colonIndex).trim(); // Process this class name mapping. boolean interested = mappingProcessor.processClassMapping(className, newClassName); return interested ? className : null; }