Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.glorb.com!usenet.stanford.edu!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: Poll: Is a Java Method an Instance of the Java Class java.lang.reflect.Method? Please reply with YES or NO. Date: Tue, 7 Feb 2012 11:04:46 -0800 (PST) Organization: http://groups.google.com Lines: 41 Message-ID: <33410681.96.1328641486659.JavaMail.geo-discussion-forums@pbcov1> References: <7747b7da-e579-4514-bdff-a9eb8842cc51@l16g2000vbl.googlegroups.com> Reply-To: comp.lang.java.programmer@googlegroups.com NNTP-Posting-Host: 173.164.137.214 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1328641487 1412 127.0.0.1 (7 Feb 2012 19:04:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 7 Feb 2012 19:04:47 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=173.164.137.214; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T User-Agent: G2/1.0 X-Google-Web-Client: true Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:11825 Stefan Ram wrote: > Paka Small writes: >> Poll: Is a Java Method an Instance of the Java Class >> java.lang.reflect.Method? > It's =BBmethod=AB, =BBinstance=AB, and =BBclass=AB; > not =BBMethod=AB, =BBInstance=AB, and =BBClass=AB. Right on! Case counts, Paka. Carelessness is harmful. > The JLS3 says: >=20 > =BBA method declares executable code that can be invoked, > passing a fixed number of values as arguments.=AB, 8.4. >=20 > (So, and when a method already declares something, > what then is a =BBmethod declaration=AB? The declaration > of a declaration?) Good point, Stefan. I have to conclude that "declares" in the cited passage means the usual English meaning, not the specific Java meaning. They should= =20 have said, "A method comprises executable code that ..." > JDK 1.0 and 1.1 have no reflection, so when then answer > would be =BByes=AB, then they would have no methods. But really, Paka, taking a poll about what is real is stupid and pointless.= =20 Opinion doesn't alter reality. However, the correct, factual, real answers = that=20 you get from everyone agree with each other. What does that tell you, Paka? It's time to start arguing that there's no train bearing down on you and to= =20 step off the tracks, Paka. --=20 Lew