current_class

Alexandre Petit-Bianco apbianco@cygnus.com
Thu Oct 11 12:44:00 GMT 2001


Dachuan Yu writes:

> I just found out that "make_class_ref (current_class)" seems to be
> giving me the right thing. I'm not quite sure yet.

current_class contains the class being processed or NULL if not
applicable. It's a RECORD_TYPE. To get a hold on its DECL, use
TYPE_NAME (current_class).

Note that current_class is a macro defined in java-tree.h. For
debugging purposes, use java_global_trees [JTI_CURRENT_CLASS].

./A



More information about the Java mailing list