summaryrefslogtreecommitdiff
path: root/libjava/gnu/gcj/util/Debug.h
blob: 3ad59ef6d60a77a944c79862062af1ed6ed68c53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_gcj_util_Debug__
#define __gnu_gcj_util_Debug__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace gcj
    {
      namespace util
      {
          class Debug;
      }
    }
  }
}

class gnu::gcj::util::Debug : public ::java::lang::Object
{

public: // actually package-private
  Debug(::java::io::PrintStream *, jint, jint, jboolean);
  Debug(::java::io::PrintStream *);
  Debug(jint, jboolean);
  Debug(jint);
  Debug();
private:
  void indent();
  static JArray< ::java::lang::reflect::Field * > * getDeclaredFields(::java::lang::Class *);
  static ::java::lang::Object * getField(::java::lang::Object *, ::java::lang::reflect::Field *);
  static jlong getAddr(::java::lang::Object *);
  JArray< ::java::lang::reflect::Field * > * internalGetFields(::java::lang::Class *);
  static ::java::lang::Class * getItsClass(::java::lang::Object *);
  void print(::java::lang::Object *);
  void print0(::java::lang::Object *, ::java::lang::Class *);
public:
  virtual void write(::java::lang::Object *);
private:
  ::java::io::PrintStream * __attribute__((aligned(__alignof__( ::java::lang::Object)))) p;
  jint maxdepth;
  jint maxArrayLength;
  jboolean printStaticFields;
  jint depth;
  ::java::util::IdentityHashMap * h;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_gcj_util_Debug__