[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: access$i-methods
On Sat, Mar 08, 2003 at 11:42:20AM -0000, Eric Bodden wrote:
> Hello!
>
> Still another question: While working on my example bytecode, I found
> that one class had some methods access$i (i = 1 to 4) in the compiled
> class file, which were not coded in the source code at all (at least
> that seems so to me). They resolve to something like...
> --
> static char access$0(vis.Visualization )
> {
> vis.Visualization r0;
> char $c0;
>
> r0 := @parameter0: vis.Visualization;
> $c0 = r0.<vis.Visualization: char zeichen>;
> 403
> return $c0;
> 403
> }
> --
> So when exactly are such methods generated? (appropriate files attached
> for your information)
I believe javac generates them. Try looking at the class files with
javap.
Ondrej
>
> Cheers,
> Eric
>
>
> ------------------------------------------------------------
> Eric Bodden
> CS-DIP full time student @ University of Kent at Canterbury
> UKC internal phone: 5095
> ICQ UIN: 12656220, secure mail on demand
> Website: http://www.bodden.de