< prev index next >

src/jdk.jdi/share/classes/com/sun/jdi/Value.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 29,39 **** * The mirror for a value in the target VM. * This interface is the root of a * value hierarchy encompassing primitive values and object values. * <P> * Some examples of where values may be accessed: ! * <BLOCKQUOTE><TABLE SUMMARY="layout"> * <TR> * <TD>{@link ObjectReference#getValue(com.sun.jdi.Field) * ObjectReference.getValue(Field)} * <TD>- value of a field * <TR> --- 29,39 ---- * The mirror for a value in the target VM. * This interface is the root of a * value hierarchy encompassing primitive values and object values. * <P> * Some examples of where values may be accessed: ! * <BLOCKQUOTE><TABLE><CAPTION style="display:none">layout</CAPTION> * <TR> * <TD>{@link ObjectReference#getValue(com.sun.jdi.Field) * ObjectReference.getValue(Field)} * <TD>- value of a field * <TR>
*** 50,68 **** * <TD>- returned with an event * </TABLE></BLOCKQUOTE> * <P> * The following table illustrates which subinterfaces of Value * are used to mirror values in the target VM -- ! * <TABLE BORDER=1 SUMMARY="Maps each kind of value to a mirrored ! * instance of a subinterface of Value"> ! * <TR BGCOLOR="#EEEEFF"> * <TH id="primval" colspan=4>Subinterfaces of {@link PrimitiveValue}</TH> ! * <TR BGCOLOR="#EEEEFF"> ! * <TH id="kind" align="left">Kind of value</TH> ! * <TH id="example" align="left">For example -<br>expression in target</TH> ! * <TH id="mirrored" align="left">Is mirrored as an<br>instance of</TH> ! * <TH id="type" align="left">{@link Type} of value<br>{@link #type() Value.type()}</TH> * <TR> * <TD headers="primval kind"> a boolean</TD> * <TD headers="primval example"> {@code true}</TD> * <TD headers="primval mirrored"> {@link BooleanValue}</TD> * <TD headers="primval type"> {@link BooleanType}</TD> --- 50,69 ---- * <TD>- returned with an event * </TABLE></BLOCKQUOTE> * <P> * The following table illustrates which subinterfaces of Value * are used to mirror values in the target VM -- ! * <TABLE BORDER="1"> ! * <CAPTION style="display:none">Maps each kind of value to a mirrored ! * instance of a subinterface of Value</CAPTION> ! * <TR style="background-color:#EEEEFF"> * <TH id="primval" colspan=4>Subinterfaces of {@link PrimitiveValue}</TH> ! * <TR style="background-color:#EEEEFF"> ! * <TH id="kind" style="text-align:left">Kind of value</TH> ! * <TH id="example" style="text-align:left">For example -<br>expression in target</TH> ! * <TH id="mirrored" style="text-align:left">Is mirrored as an<br>instance of</TH> ! * <TH id="type" style="text-align:left">{@link Type} of value<br>{@link #type() Value.type()}</TH> * <TR> * <TD headers="primval kind"> a boolean</TD> * <TD headers="primval example"> {@code true}</TD> * <TD headers="primval mirrored"> {@link BooleanValue}</TD> * <TD headers="primval type"> {@link BooleanType}</TD>
*** 104,120 **** * <TR> * <TD headers="primval kind"> a void</TD> * <TD headers="primval example"> </TD> * <TD headers="primval mirrored"> {@link VoidValue}</TD> * <TD headers="primval type"> {@link VoidType}</TD> ! * <TR BGCOLOR="#EEEEFF"> * <TH id="objref" colspan=4>Subinterfaces of {@link ObjectReference}</TH> ! * <TR BGCOLOR="#EEEEFF"> ! * <TH id="kind2" align="left">Kind of value</TH> ! * <TH id="example2" align="left">For example -<br>expression in target</TH> ! * <TH id="mirrored2" align="left">Is mirrored as an<br>instance of</TH> ! * <TH id="type2" align="left">{@link Type} of value<br>{@link #type() Value.type()}</TH> * <TR> * <TD headers="objref kind2"> a class instance</TD> * <TD headers="objref example2"> {@code this}</TD> * <TD headers="objref mirrored2"> {@link ObjectReference}</TD> * <TD headers="objref type2"> {@link ClassType}</TD> --- 105,121 ---- * <TR> * <TD headers="primval kind"> a void</TD> * <TD headers="primval example"> </TD> * <TD headers="primval mirrored"> {@link VoidValue}</TD> * <TD headers="primval type"> {@link VoidType}</TD> ! * <TR style="background-color:#EEEEFF"> * <TH id="objref" colspan=4>Subinterfaces of {@link ObjectReference}</TH> ! * <TR style="background-color:#EEEEFF"> ! * <TH id="kind2" style="text-align:left">Kind of value</TH> ! * <TH id="example2" style="text-align:left">For example -<br>expression in target</TH> ! * <TH id="mirrored2" style="text-align:left">Is mirrored as an<br>instance of</TH> ! * <TH id="type2" style="text-align:left">{@link Type} of value<br>{@link #type() Value.type()}</TH> * <TR> * <TD headers="objref kind2"> a class instance</TD> * <TD headers="objref example2"> {@code this}</TD> * <TD headers="objref mirrored2"> {@link ObjectReference}</TD> * <TD headers="objref type2"> {@link ClassType}</TD>
*** 146,162 **** * <TR> * <TD headers="objref kind2"> a class loader</TD> * <TD headers="objref example2"> {@code this.getClass()}<br>&nbsp;&nbsp;{@code .getClassLoader()}</TD> * <TD headers="objref mirrored2"> {@link ClassLoaderReference}</TD> * <TD headers="objref type2"> {@link ClassType}</TD> ! * <TR BGCOLOR="#EEEEFF"> * <TH id="other" colspan=4>Other</TH> ! * <TR BGCOLOR="#EEEEFF"> ! * <TD id="kind3" align="left">Kind of value</TD> ! * <TD id="example3" align="left">For example -<br>expression in target</TD> ! * <TD id="mirrored3" align="left">Is mirrored as</TD> ! * <TD id="type3" align="left">{@link Type} of value</TD> * <TR> * <TD headers="other kind3"> null</TD> * <TD headers="other example3"> {@code null}</TD> * <TD headers="other mirrored3"> {@code null}</TD> * <TD headers="other type3"> n/a</TD> --- 147,163 ---- * <TR> * <TD headers="objref kind2"> a class loader</TD> * <TD headers="objref example2"> {@code this.getClass()}<br>&nbsp;&nbsp;{@code .getClassLoader()}</TD> * <TD headers="objref mirrored2"> {@link ClassLoaderReference}</TD> * <TD headers="objref type2"> {@link ClassType}</TD> ! * <TR style="background-color:#EEEEFF"> * <TH id="other" colspan=4>Other</TH> ! * <TR style="background-color:#EEEEFF"> ! * <TD id="kind3" style="text-align:left">Kind of value</TD> ! * <TD id="example3" style="text-align:left">For example -<br>expression in target</TD> ! * <TD id="mirrored3" style="text-align:left">Is mirrored as</TD> ! * <TD id="type3" style="text-align:left">{@link Type} of value</TD> * <TR> * <TD headers="other kind3"> null</TD> * <TD headers="other example3"> {@code null}</TD> * <TD headers="other mirrored3"> {@code null}</TD> * <TD headers="other type3"> n/a</TD>
< prev index next >