A method for producing a surface treatment solution for reforming a surface of an element by providing to a part of the surface a functional group, the solution comprising a polymer comprising a first part having a functional group and a second part having an interfacial energy different from that of the functional group and approximately equal to a surface energy of the part of the surface of the element, a volatile solvent, which is sufficiently wettable to the part of the surface of the element and which is a good solvent for the polymer, and a cleaving catalyst for the polymer, the method comprising:
- dissolving the polymer in the volatile solvent to produce a solution;
- and
- mixing the solution with a second volatile solvent, which is not wettable to the part of the surface of the element and which is a good solvent for the polymer.