final MethodDeclaration declaration = resolvedMethod.getDeclaration();
MutableTypeDeclaration _declaringType = delegate.getDeclaringType();
String _simpleName = declaration.getSimpleName();
final Procedure1<MutableMethodDeclaration> _function = new Procedure1<MutableMethodDeclaration>() {
public void apply(final MutableMethodDeclaration impl) {
Element _primarySourceElement = Util.this.context.getPrimarySourceElement(delegate);
Util.this.context.setPrimarySourceElement(impl, _primarySourceElement);
final HashMap<TypeReference, TypeReference> typeParameterMappings = CollectionLiterals.<TypeReference, TypeReference>newHashMap();
Iterable<? extends ResolvedTypeParameter> _resolvedTypeParameters = resolvedMethod.getResolvedTypeParameters();
final Procedure1<ResolvedTypeParameter> _function = new Procedure1<ResolvedTypeParameter>() {
public void apply(final ResolvedTypeParameter param) {