hotspot/agent/src/share/classes/sun/jvm/hotspot/types/basic/BasicFieldWrapper.java

Print this page
rev 611 : Merge
   1 /*
   2  * Copyright 2000 Sun Microsystems, Inc.  All Rights Reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
  20  * CA 95054 USA or visit www.sun.com if you need additional information or
  21  * have any questions.
  22  *  


  78   }
  79   public int        getJInt     (Address addr) throws UnmappedAddressException, UnalignedAddressException, WrongTypeException {
  80     return field.getJInt(addr);
  81   }
  82   public long       getJLong    (Address addr) throws UnmappedAddressException, UnalignedAddressException, WrongTypeException {
  83     return field.getJLong(addr);
  84   }
  85   public short      getJShort   (Address addr) throws UnmappedAddressException, UnalignedAddressException, WrongTypeException {
  86     return field.getJShort(addr);
  87   }
  88   public long       getCInteger (Address addr, CIntegerType type) throws UnmappedAddressException, UnalignedAddressException {
  89     return field.getCInteger(addr, type);
  90   }
  91   public Address    getAddress  (Address addr) throws UnmappedAddressException, UnalignedAddressException {
  92     return field.getAddress(addr);
  93   }
  94   public OopHandle  getOopHandle(Address addr)
  95     throws UnmappedAddressException, UnalignedAddressException, NotInHeapException {
  96     return field.getOopHandle(addr);
  97   }




  98 
  99   public boolean    getJBoolean () throws UnmappedAddressException, UnalignedAddressException, WrongTypeException {
 100     return field.getJBoolean();
 101   }
 102   public byte       getJByte    () throws UnmappedAddressException, UnalignedAddressException, WrongTypeException {
 103     return field.getJByte();
 104   }
 105   public char       getJChar    () throws UnmappedAddressException, UnalignedAddressException, WrongTypeException {
 106     return field.getJChar();
 107   }
 108   public double     getJDouble  () throws UnmappedAddressException, UnalignedAddressException, WrongTypeException {
 109     return field.getJDouble();
 110   }
 111   public float      getJFloat   () throws UnmappedAddressException, UnalignedAddressException, WrongTypeException {
 112     return field.getJFloat();
 113   }
 114   public int        getJInt     () throws UnmappedAddressException, UnalignedAddressException, WrongTypeException {
 115     return field.getJInt();
 116   }
 117   public long       getJLong    () throws UnmappedAddressException, UnalignedAddressException, WrongTypeException {
 118     return field.getJLong();
 119   }
 120   public short      getJShort   () throws UnmappedAddressException, UnalignedAddressException, WrongTypeException {
 121     return field.getJShort();
 122   }
 123   public long       getCInteger (CIntegerType type) throws UnmappedAddressException, UnalignedAddressException {
 124     return field.getCInteger(type);
 125   }
 126   public Address    getAddress  () throws UnmappedAddressException, UnalignedAddressException {
 127     return field.getAddress();
 128   }
 129   public OopHandle  getOopHandle()
 130     throws UnmappedAddressException, UnalignedAddressException, NotInHeapException {
 131     return field.getOopHandle();
 132   }




 133 }
   1 /*
   2  * Copyright 2000-2008 Sun Microsystems, Inc.  All Rights Reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
  20  * CA 95054 USA or visit www.sun.com if you need additional information or
  21  * have any questions.
  22  *  


  78   }
  79   public int        getJInt     (Address addr) throws UnmappedAddressException, UnalignedAddressException, WrongTypeException {
  80     return field.getJInt(addr);
  81   }
  82   public long       getJLong    (Address addr) throws UnmappedAddressException, UnalignedAddressException, WrongTypeException {
  83     return field.getJLong(addr);
  84   }
  85   public short      getJShort   (Address addr) throws UnmappedAddressException, UnalignedAddressException, WrongTypeException {
  86     return field.getJShort(addr);
  87   }
  88   public long       getCInteger (Address addr, CIntegerType type) throws UnmappedAddressException, UnalignedAddressException {
  89     return field.getCInteger(addr, type);
  90   }
  91   public Address    getAddress  (Address addr) throws UnmappedAddressException, UnalignedAddressException {
  92     return field.getAddress(addr);
  93   }
  94   public OopHandle  getOopHandle(Address addr)
  95     throws UnmappedAddressException, UnalignedAddressException, NotInHeapException {
  96     return field.getOopHandle(addr);
  97   }
  98   public OopHandle  getNarrowOopHandle(Address addr)
  99     throws UnmappedAddressException, UnalignedAddressException, NotInHeapException {
 100     return field.getNarrowOopHandle(addr);
 101   }
 102 
 103   public boolean    getJBoolean () throws UnmappedAddressException, UnalignedAddressException, WrongTypeException {
 104     return field.getJBoolean();
 105   }
 106   public byte       getJByte    () throws UnmappedAddressException, UnalignedAddressException, WrongTypeException {
 107     return field.getJByte();
 108   }
 109   public char       getJChar    () throws UnmappedAddressException, UnalignedAddressException, WrongTypeException {
 110     return field.getJChar();
 111   }
 112   public double     getJDouble  () throws UnmappedAddressException, UnalignedAddressException, WrongTypeException {
 113     return field.getJDouble();
 114   }
 115   public float      getJFloat   () throws UnmappedAddressException, UnalignedAddressException, WrongTypeException {
 116     return field.getJFloat();
 117   }
 118   public int        getJInt     () throws UnmappedAddressException, UnalignedAddressException, WrongTypeException {
 119     return field.getJInt();
 120   }
 121   public long       getJLong    () throws UnmappedAddressException, UnalignedAddressException, WrongTypeException {
 122     return field.getJLong();
 123   }
 124   public short      getJShort   () throws UnmappedAddressException, UnalignedAddressException, WrongTypeException {
 125     return field.getJShort();
 126   }
 127   public long       getCInteger (CIntegerType type) throws UnmappedAddressException, UnalignedAddressException {
 128     return field.getCInteger(type);
 129   }
 130   public Address    getAddress  () throws UnmappedAddressException, UnalignedAddressException {
 131     return field.getAddress();
 132   }
 133   public OopHandle  getOopHandle()
 134     throws UnmappedAddressException, UnalignedAddressException, NotInHeapException {
 135     return field.getOopHandle();
 136   }
 137   public OopHandle  getNarrowOopHandle()
 138     throws UnmappedAddressException, UnalignedAddressException, NotInHeapException {
 139     return field.getNarrowOopHandle();
 140   }
 141 }