* src/vm/jit/powerpc/emit.c (emit_replacement_stubs): Do not
[cacao.git] / src / vm / class.h
index 50ee3633583220d0f01a1ffa1e37f84c0cbc4886..cf103a0f8a25d9d8d9a5cffcfa6280d874b039e1 100644 (file)
@@ -26,9 +26,7 @@
 
    Authors: Christian Thalinger
 
-   Changes:
-
-   $Id: class.h 5492 2006-09-14 18:20:28Z edwin $
+   $Id: class.h 6085 2006-11-29 17:08:27Z twisti $
 
 */
 
@@ -38,6 +36,7 @@
 
 /* forward typedefs ***********************************************************/
 
+typedef struct classinfo      classinfo; 
 typedef struct innerclassinfo innerclassinfo;
 typedef struct extra_classref extra_classref;
 
@@ -49,6 +48,11 @@ typedef struct extra_classref extra_classref;
 #include "native/include/java_lang_Class.h"
 
 #include "toolbox/list.h"
+
+#if defined(ENABLE_JAVASE)
+# include "vm/annotation.h"
+#endif
+
 #include "vm/field.h"
 #include "vm/linker.h"
 #include "vm/method.h"
@@ -119,7 +123,12 @@ struct classinfo {                /* class structure                          */
        innerclassinfo *innerclass;
 
        utf        *packagename;      /* full name of the package                 */
-       utf        *sourcefile;       /* classfile name containing this class     */
+       utf        *sourcefile;       /* SourceFile attribute                     */
+#if defined(ENABLE_JAVASE)
+       utf        *signature;        /* Signature attribute                      */
+       s4            runtimevisibleannotationscount;
+       annotation_t *runtimevisibleannotations;
+#endif
        java_objectheader *classloader; /* NULL for bootstrap classloader         */
 };