Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.programmer Subject: Re: Passing a Method Name to a Method Date: Thu, 23 Jun 2011 11:22:47 -0700 Organization: A noiseless patient Spider Lines: 11 Message-ID: References: <81h4075t4gfjglji1n033rb20025ebho68@4ax.com> <96hclnFf52U1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 23 Jun 2011 18:22:49 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="20GYBuezvHpp83lA3Rh62Q"; logging-data="27072"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+6isQccnL3VsgkmaX68WhY0wpdMtjibiY=" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 In-Reply-To: <96hclnFf52U1@mid.individual.net> Cancel-Lock: sha1:Kj5e1u135m1QxCnUac5k+1k38T4= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5594 On 6/23/2011 10:49 AM, blmblm@myrealbox.com wrote: > I think this is about the best you can do if you insist on (ab)using [*] > an interface whose methods don't have the parameters you want. I think it's a hack, but it's available if you need to use it. I'm not recommending it, just pointing it out. Very occasionally, I could see working with some legacy code where this might be the most economical solution.