ISourceRange[] superRefOffsert= reverseSortByOffset(SuperReferenceFinder.findSuperReferenceRanges(method));  StringBuffer originalSource= new StringBuffer(SourceReferenceSourceRangeComputer.computeSource(method)); ISourceRange originalMethodRange= SourceReferenceSourceRangeComputer.computeSourceRange(method, method.getCompilationUnit());  for (int i= 0; i < superRefOffsert.length; i++) { int start= superRefOffsert[i].getOffset() - originalMethodRange.getOffset(); int end= start + superRefOffsert[i].getLength(); originalSource.replace(start, end, "this"); }
String source= replaceSuperCalls(method);
	private static String computeNewMethodSource(IMethod method) throws JavaModelException {		ISourceRange[] superRefOffsert= reverseSortByOffset(SuperReferenceFinder.findSuperReferenceRanges(method));				StringBuffer originalSource= new StringBuffer(SourceReferenceSourceRangeComputer.computeSource(method));		ISourceRange originalMethodRange= SourceReferenceSourceRangeComputer.computeSourceRange(method, method.getCompilationUnit());				for (int i= 0; i < superRefOffsert.length; i++) {			int start= superRefOffsert[i].getOffset() - originalMethodRange.getOffset();			int end= start + superRefOffsert[i].getLength();			originalSource.replace(start, end, "this");		}		if (Flags.isPrivate(method.getFlags()))			return substitutePrivateWithProtected(originalSource.toString());		return "protected " + originalSource.toString();	}