summaryrefslogtreecommitdiff
path: root/libjava/gnu/classpath/jdwp/VMVirtualMachine.h
blob: 1f7d03abd449561f1b948764e4c83610f96243a6 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_classpath_jdwp_VMVirtualMachine__
#define __gnu_classpath_jdwp_VMVirtualMachine__

#pragma interface

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

extern "Java"
{
  namespace gnu
  {
    namespace classpath
    {
      namespace jdwp
      {
          class VMFrame;
          class VMMethod;
          class VMVirtualMachine;
        namespace event
        {
            class EventRequest;
        }
        namespace util
        {
            class MethodResult;
            class MonitorInfo;
        }
        namespace value
        {
            class Value;
        }
      }
    }
  }
}

class gnu::classpath::jdwp::VMVirtualMachine : public ::java::lang::Object
{

public:
  VMVirtualMachine();
  static void initialize();
  static void suspendThread(::java::lang::Thread *);
  static void suspendAllThreads();
  static void resumeThread(::java::lang::Thread *);
  static void resumeAllThreads();
  static jint getSuspendCount(::java::lang::Thread *);
  static ::java::util::Collection * getAllLoadedClasses();
  static jint getClassStatus(::java::lang::Class *);
  static JArray< ::gnu::classpath::jdwp::VMMethod * > * getAllClassMethods(::java::lang::Class *);
  static ::gnu::classpath::jdwp::VMMethod * getClassMethod(::java::lang::Class *, jlong);
  static ::java::util::ArrayList * getFrames(::java::lang::Thread *, jint, jint);
  static ::gnu::classpath::jdwp::VMFrame * getFrame(::java::lang::Thread *, jlong);
  static jint getFrameCount(::java::lang::Thread *);
  static jint getThreadStatus(::java::lang::Thread *);
  static ::java::util::ArrayList * getLoadRequests(::java::lang::ClassLoader *);
  static ::gnu::classpath::jdwp::util::MethodResult * executeMethod(::java::lang::Object *, ::java::lang::Thread *, ::java::lang::Class *, ::gnu::classpath::jdwp::VMMethod *, JArray< ::gnu::classpath::jdwp::value::Value * > *, jint);
  static ::java::lang::String * getSourceFile(::java::lang::Class *);
  static void registerEvent(::gnu::classpath::jdwp::event::EventRequest *);
  static void unregisterEvent(::gnu::classpath::jdwp::event::EventRequest *);
  static void clearEvents(jbyte);
  static void redefineClasses(JArray< ::java::lang::Class * > *, JArray< JArray< jbyte > * > *);
  static void setDefaultStratum(::java::lang::String *);
  static ::java::lang::String * getSourceDebugExtension(::java::lang::Class *);
  static JArray< jbyte > * getBytecodes(::gnu::classpath::jdwp::VMMethod *);
  static ::gnu::classpath::jdwp::util::MonitorInfo * getMonitorInfo(::java::lang::Object *);
  static JArray< ::java::lang::Object * > * getOwnedMonitors(::java::lang::Thread *);
  static ::java::lang::Object * getCurrentContendedMonitor(::java::lang::Thread *);
  static void popFrames(::java::lang::Thread *, jlong);
  static const jboolean canWatchFieldModification = 0;
  static const jboolean canWatchFieldAccess = 0;
  static const jboolean canGetBytecodes = 0;
  static const jboolean canGetSyntheticAttribute = 0;
  static const jboolean canGetOwnedMonitorInfo = 0;
  static const jboolean canGetCurrentContendedMonitor = 0;
  static const jboolean canGetMonitorInfo = 0;
  static const jboolean canRedefineClasses = 0;
  static const jboolean canAddMethod = 0;
  static const jboolean canUnrestrictedlyRedefineClasses = 0;
  static const jboolean canPopFrames = 0;
  static const jboolean canUseInstanceFilters = 0;
  static const jboolean canGetSourceDebugExtension = 0;
  static const jboolean canRequestVMDeathEvent = 0;
  static const jboolean canSetDefaultStratum = 0;
private:
  static ::java::util::Hashtable * _jdwp_suspend_counts;
public: // actually package-private
  static ::java::util::Hashtable * _stepping_threads;
  static ::java::util::ArrayList * _event_list;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_classpath_jdwp_VMVirtualMachine__