📄 jdwp.spec
字号:
) ) (Command Modifiers=3 "Returns the modifiers (also known as access flags) for a reference type. " "The returned bit mask contains information on the declaration " "of the reference type. If the reference type is an array or " "a primitive class (for example, java.lang.Integer.TYPE), the " "value of the returned bit mask is undefined." (Out (referenceType refType "The reference type ID.") ) (Reply (int modBits "Modifier bits as defined in the " "<a href=\"http://java.sun.com/docs/books/vmspec/html/ClassFile.doc.html\">VM Specification</a>") ) (ErrorSet (Error INVALID_CLASS "refType is not the ID of a reference " "type.") (Error INVALID_OBJECT "refType is not a known ID.") (Error VM_DEAD) ) ) (Command Fields=4 "Returns information for each field in a reference type. " "Inherited fields are not included. " "The field list will include any synthetic fields created " "by the compiler. " "Fields are returned in the order they occur in the class file." (Out (referenceType refType "The reference type ID.") ) (Reply (Repeat declared "Number of declared fields." (Group FieldInfo (field fieldID "Field ID.") (string name "Name of field.") (string signature "JNI Signature of field.") (int modBits "The modifier bit flags (also known as access flags) " "which provide additional information on the " "field declaration. Individual flag values are " "defined in the " "<a href=\"http://java.sun.com/docs/books/vmspec/html/ClassFile.doc.html\">VM Specification</a>." "In addition, The <code>0xf0000000</code> bit identifies " "the field as synthetic, if the synthetic attribute " "<a href=\"#JDWP_VirtualMachine_Capabilities\">capability</a> is available.") ) ) ) (ErrorSet (Error CLASS_NOT_PREPARED) (Error INVALID_CLASS "refType is not the ID of a reference " "type.") (Error INVALID_OBJECT "refType is not a known ID.") (Error VM_DEAD) ) ) (Command Methods=5 "Returns information for each method in a reference type. " "Inherited methods are not included. The list of methods will " "include constructors (identified with the name \"<init>\"), " "the initialization method (identified with the name \"<clinit>\") " "if present, and any synthetic methods created by the compiler. " "Methods are returned in the order they occur in the class file." (Out (referenceType refType "The reference type ID.") ) (Reply (Repeat declared "Number of declared methods." (Group MethodInfo (method methodID "Method ID.") (string name "Name of method.") (string signature "JNI signature of method.") (int modBits "The modifier bit flags (also known as access flags) " "which provide additional information on the " "method declaration. Individual flag values are " "defined in the " "<a href=\"http://java.sun.com/docs/books/vmspec/html/ClassFile.doc.html\">VM Specification</a>." "In addition, The <code>0xf0000000</code> bit identifies " "the method as synthetic, if the synthetic attribute " "<a href=\"#JDWP_VirtualMachine_Capabilities\">capability</a> is available.") ) ) ) (ErrorSet (Error CLASS_NOT_PREPARED) (Error INVALID_CLASS "refType is not the ID of a reference " "type.") (Error INVALID_OBJECT "refType is not a known ID.") (Error VM_DEAD) ) ) (Command GetValues=6 "Returns the value of one or more static fields of the " "reference type. Each field must be member of the reference type " "or one of its superclasses, superinterfaces, or implemented interfaces. " "Access control is not enforced; for example, the values of private " "fields can be obtained." (Out (referenceType refType "The reference type ID.") (Repeat fields "The number of values to get" (Group Field (field fieldID "A field to get") ) ) ) (Reply (Repeat values "The number of values returned, always equal to fields, " "the number of values to get." (value value "The field value") ) ) (ErrorSet (Error INVALID_CLASS "refType is not the ID of a reference " "type.") (Error INVALID_OBJECT "refType is not a known ID.") (Error INVALID_FIELDID) (Error VM_DEAD) ) ) (Command SourceFile=7 "Returns the name of source file in which a reference type was " "declared. " (Out (referenceType refType "The reference type ID.") ) (Reply (string sourceFile "The source file name. No path information " "for the file is included") ) (ErrorSet (Error INVALID_CLASS "refType is not the ID of a reference " "type.") (Error INVALID_OBJECT "refType is not a known ID.") (Error ABSENT_INFORMATION "The source file attribute is absent.") (Error VM_DEAD) ) ) (Command NestedTypes=8 "Returns the classes and interfaces directly nested within this type." "Types further nested within those types are not included. " (Out (referenceType refType "The reference type ID.") ) (Reply (Repeat classes "The number of nested classes and interfaces" (Group TypeInfo (byte refTypeTag "<a href=\"#JDWP_TypeTag\">Kind</a> " "of following reference type. ") (referenceTypeID typeID "The nested class or interface ID.") ) ) ) (ErrorSet (Error INVALID_CLASS "refType is not the ID of a reference " "type.") (Error INVALID_OBJECT "refType is not a known ID.") (Error VM_DEAD) ) ) (Command Status=9 "Returns the current status of the reference type. The status " "indicates the extent to which the reference type has been " "initialized, as described in the " "<a href=\"http://java.sun.com/docs/books/vmspec/html/Concepts.doc.html#16491\">VM specification</a>. " "If the class is linked the PREPARED and VERIFIED bits in the returned status bits " "will be set. If the class is initialized the INITIALIZED bit in the returned " "status bits will be set. If an error occured during initialization then the " "ERROR bit in the returned status bits will be set. " "The returned status bits are undefined for array types and for " "primitive classes (such as java.lang.Integer.TYPE). " (Out (referenceType refType "The reference type ID.") ) (Reply (int status "<a href=\"#JDWP_ClassStatus\">Status</a> bits:" "See <a href=\"#JDWP_ClassStatus\">JDWP.ClassStatus</a>") ) (ErrorSet (Error INVALID_CLASS "refType is not the ID of a reference " "type.") (Error INVALID_OBJECT "refType is not a known ID.") (Error VM_DEAD) ) ) (Command Interfaces=10 "Returns the interfaces declared as implemented by this class. " "Interfaces indirectly implemented (extended by the implemented " "interface or implemented by a superclass) are not included." (Out (referenceType refType "The reference type ID.") ) (Reply (Repeat interfaces "The number of implemented interfaces" (interfaceType interfaceType "implemented interface.") ) ) (ErrorSet (Error INVALID_CLASS "refType is not the ID of a reference " "type.") (Error INVALID_OBJECT "refType is not a known ID.") (Error VM_DEAD) ) ) (Command ClassObject=11 "Returns the class object corresponding to this type. " (Out (referenceType refType "The reference type ID.") ) (Reply (classObject classObject "class object.") ) (ErrorSet (Error INVALID_CLASS "refType is not the ID of a reference " "type.") (Error INVALID_OBJECT "refType is not a known ID.") (Error VM_DEAD) ) ) (Command SourceDebugExtension=12 "Returns the value of the SourceDebugExtension attribute. " "Since JDWP version 1.4. Requires canGetSourceDebugExtension capability - see " "<a href=\"#JDWP_VirtualMachine_CapabilitiesNew\">CapabilitiesNew</a>." (Out (referenceType refType "The reference type ID.") ) (Reply (string extension "extension attribute") ) (ErrorSet (Error INVALID_CLASS "refType is not the ID of a reference " "type.") (Error INVALID_OBJECT "refType is not a known ID.") (Error ABSENT_INFORMATION "If the extension is not specified.") (Error NOT_IMPLEMENTED) (Error VM_DEAD) ) ) (Command SignatureWithGeneric=13 "Returns the JNI signature of a reference type along with the " "generic signature if there is one. " "Generic signatures are described in the signature attribute " "section in the " "<a href=\"http://java.sun.com/docs/books/vmspec\"> "Java Virtual Machine Specification, 3rd Edition.</a> " "Since JDWP version 1.5." "<p> (Out (referenceType refType "The reference type ID.") ) (Reply (string signature "The JNI signature for the reference type.") (string genericSignature "The generic signature for the reference type or an empty " "string if there is none.") ) (ErrorSet (Error INVALID_CLASS "refType is not the ID of a reference " "type.") (Error INVALID_OBJECT "refType is not a known ID.") (Error VM_DEAD) ) ) (Command FieldsWithGeneric=14 "Returns information, including the generic signature if any, " "for each field in a reference type. " "Inherited fields are not included. " "The field list will include any synthetic fields created " "by the compiler. " "Fields are returned in the order they occur in the class file. " "Generic signatures are described in the signature attribute " "section in the " "<a href=\"http://java.sun.com/docs/books/vmspec\"> "Java Virtual Machine Specification, 3rd Edition.</a> " "Since JDWP version 1.5." (Out (referenceType refType "The reference type ID.") ) (Reply (Repeat declared "Number of declared fields." (Group FieldInfo (field fieldID "Field ID.") (string name "The name of the field.") (string signature "The JNI signature of the field.") (string genericSignature "The generic signature of the " "field, or an empty string if there is none.") (int modBits "The modifier bit flags (also known as access flags) " "which provide additional information on the " "field declaration. Individual flag values are " "defined in the " "<a href=\"http://java.sun.com/docs/books/vmspec/html/ClassFile.doc.html\">VM Specification</a>." "In addition, The <code>0xf0000000</code> bit identifies " "the field as synthetic, if the synthetic attribute " "<a href=\"#JDWP_VirtualMachine_Capabilities\">capability</a> is available.") ) ) ) (ErrorSet (Error CLASS_NOT_PREPARED) (Error INVALID_CLASS "refType is not the ID of a reference " "type.") (Error INVALID_OBJECT "refType is not a known ID.") (Error VM_DEAD) ) ) (Command MethodsWithGeneric=15 "Returns information, including the generic signature if any, "
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -