posted 19 years ago
You can do this -- but the JLS says that those methods that you access must be final.
Problem is, your code still can't compile because Inner1 is not a member of the class Outer1 -- it's just a local class in your method. (I think it very odd that the compiler allows this, as I can't think of a useful reason for doing this.)
Remove the amethod() declaration and this should work:
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.