亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? field.java

?? java virtual machince kaffe
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
/* java.lang.reflect.Field - reflection of Java fields   Copyright (C) 1998, 2001, 2005 Free Software Foundation, Inc.This file is part of GNU Classpath.GNU Classpath is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2, or (at your option)any later version. GNU Classpath is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNUGeneral Public License for more details.You should have received a copy of the GNU General Public Licensealong with GNU Classpath; see the file COPYING.  If not, write to theFree Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA02110-1301 USA.Linking this library statically or dynamically with other modules ismaking a combined work based on this library.  Thus, the terms andconditions of the GNU General Public License cover the wholecombination.As a special exception, the copyright holders of this library give youpermission to link this library with independent modules to produce anexecutable, regardless of the license terms of these independentmodules, and to copy and distribute the resulting executable underterms of your choice, provided that you also meet, for each linkedindependent module, the terms and conditions of the license of thatmodule.  An independent module is a module which is not derived fromor based on this library.  If you modify this library, you may extendthis exception to your version of the library, but you are notobligated to do so.  If you do not wish to do so, delete thisexception statement from your version. */package java.lang.reflect;import gnu.java.lang.ClassHelper;import gnu.java.lang.reflect.FieldSignatureParser;/** * The Field class represents a member variable of a class. It also allows * dynamic access to a member, via reflection. This works for both * static and instance fields. Operations on Field objects know how to * do widening conversions, but throw {@link IllegalArgumentException} if * a narrowing conversion would be necessary. You can query for information * on this Field regardless of location, but get and set access may be limited * by Java language access controls. If you can't do it in the compiler, you * can't normally do it here either.<p> * * <B>Note:</B> This class returns and accepts types as Classes, even * primitive types; there are Class types defined that represent each * different primitive type.  They are <code>java.lang.Boolean.TYPE, * java.lang.Byte.TYPE,</code>, also available as <code>boolean.class, * byte.class</code>, etc.  These are not to be confused with the * classes <code>java.lang.Boolean, java.lang.Byte</code>, etc., which are * real classes.<p> * * Also note that this is not a serializable class.  It is entirely feasible * to make it serializable using the Externalizable interface, but this is * on Sun, not me. * * @author John Keiser * @author Eric Blake <ebb9@email.byu.edu> * @see Member * @see Class * @see Class#getField(String) * @see Class#getDeclaredField(String) * @see Class#getFields() * @see Class#getDeclaredFields() * @since 1.1 * @status updated to 1.4 */public final class Fieldextends AccessibleObject implements Member{  private Class declaringClass;  private String name;  private int slot;  private Class type;  private static final int FIELD_MODIFIERS    = Modifier.FINAL | Modifier.PRIVATE | Modifier.PROTECTED      | Modifier.PUBLIC | Modifier.STATIC | Modifier.TRANSIENT      | Modifier.VOLATILE;  /**   * This class is uninstantiable except natively.   */  private Field(Class declaringClass, String name, int slot)  {    this.declaringClass = declaringClass;    this.name = name;    this.slot = slot;  }  /**   * Gets the class that declared this field, or the class where this field   * is a non-inherited member.   * @return the class that declared this member   */  public Class getDeclaringClass()  {    return declaringClass;  }  /**   * Gets the name of this field.   * @return the name of this field   */  public String getName()  {    return name;  }  /**   * Return the raw modifiers for this field.   * @return the field's modifiers   */  private native int getModifiersInternal();  /**   * Gets the modifiers this field uses.  Use the <code>Modifier</code>   * class to interpret the values.  A field can only have a subset of the   * following modifiers: public, private, protected, static, final,   * transient, and volatile.   *   * @return an integer representing the modifiers to this Member   * @see Modifier   */  public int getModifiers()  {    return getModifiersInternal() & FIELD_MODIFIERS;  }  /**   * Return true if this field is synthetic, false otherwise.   * @since 1.5   */  public boolean isSynthetic()  {    return (getModifiersInternal() & Modifier.SYNTHETIC) != 0;  }  /**   * Return true if this field represents an enum constant,   * false otherwise.   * @since 1.5   */  public boolean isEnumConstant()  {    return (getModifiersInternal() & Modifier.ENUM) != 0;  }  /**   * Gets the type of this field.   * @return the type of this field   */  public Class getType()  {    return type;  }  /**   * Compare two objects to see if they are semantically equivalent.   * Two Fields are semantically equivalent if they have the same declaring   * class, name, and type. Since you can't creat a Field except through   * the VM, this is just the == relation.   *   * @param o the object to compare to   * @return <code>true</code> if they are equal; <code>false</code> if not   */  public boolean equals(Object o)  {    if (!(o instanceof Field))      return false;    Field that = (Field)o;     if (this.getDeclaringClass() != that.getDeclaringClass())      return false;    if (!this.getName().equals(that.getName()))      return false;    if (this.getType() != that.getType())      return false;    return true;  }  /**   * Get the hash code for the Field. The Field hash code is the hash code   * of its name XOR'd with the hash code of its class name.   *   * @return the hash code for the object.   */  public int hashCode()  {    return getDeclaringClass().getName().hashCode() ^ getName().hashCode();  }  /**   * Get a String representation of the Field. A Field's String   * representation is "&lt;modifiers&gt; &lt;type&gt;   * &lt;class&gt;.&lt;fieldname&gt;".<br> Example:   * <code>public transient boolean gnu.parse.Parser.parseComplete</code>   *   * @return the String representation of the Field   */  public String toString()  {    // 64 is a reasonable buffer initial size for field    StringBuilder sb = new StringBuilder(64);    Modifier.toString(getModifiers(), sb).append(' ');    sb.append(ClassHelper.getUserName(getType())).append(' ');    sb.append(getDeclaringClass().getName()).append('.');    sb.append(getName());    return sb.toString();  }   public String toGenericString()  {    StringBuilder sb = new StringBuilder(64);    Modifier.toString(getModifiers(), sb).append(' ');    sb.append(getGenericType()).append(' ');    sb.append(getDeclaringClass().getName()).append('.');    sb.append(getName());    return sb.toString();  }  /**   * Get the value of this Field.  If it is primitive, it will be wrapped   * in the appropriate wrapper type (boolean = java.lang.Boolean).<p>   *   * If the field is static, <code>o</code> will be ignored. Otherwise, if   * <code>o</code> is null, you get a <code>NullPointerException</code>,   * and if it is incompatible with the declaring class of the field, you   * get an <code>IllegalArgumentException</code>.<p>   *   * Next, if this Field enforces access control, your runtime context is   * evaluated, and you may have an <code>IllegalAccessException</code> if   * you could not access this field in similar compiled code. If the field   * is static, and its class is uninitialized, you trigger class   * initialization, which may end in a   * <code>ExceptionInInitializerError</code>.<p>   *   * Finally, the field is accessed, and primitives are wrapped (but not   * necessarily in new objects). This method accesses the field of the   * declaring class, even if the instance passed in belongs to a subclass   * which declares another field to hide this one.   *   * @param o the object to get the value of this Field from   * @return the value of the Field   * @throws IllegalAccessException if you could not normally access this field   *         (i.e. it is not public)   * @throws IllegalArgumentException if <code>o</code> is not an instance of   *         the class or interface declaring this field   * @throws NullPointerException if <code>o</code> is null and this field   *         requires an instance   * @throws ExceptionInInitializerError if accessing a static field triggered   *         class initialization, which then failed   * @see #getBoolean(Object)   * @see #getByte(Object)   * @see #getChar(Object)   * @see #getShort(Object)   * @see #getInt(Object)   * @see #getLong(Object)   * @see #getFloat(Object)   * @see #getDouble(Object)   */  public Object get(Object o)    throws IllegalAccessException  {    if (type == Double.TYPE)      return new Double(getDouble0(o));    if (type == Float.TYPE)      return new Float(getFloat0(o));    if (type == Long.TYPE)      return new Long(getLong0(o));    if (type == Integer.TYPE)      return new Integer(getInt0(o));    if (type == Short.TYPE)      return new Short(getShort0(o));    if (type == Byte.TYPE)      return new Byte(getByte0(o));    if (type == Character.TYPE)      return new Character(getChar0(o));    if (type == Boolean.TYPE)      return getBoolean0(o) ? Boolean.TRUE : Boolean.FALSE;    return getObject0(o);  }  /**   * Get the value of this boolean Field. If the field is static,   * <code>o</code> will be ignored.   *   * @param o the object to get the value of this Field from   * @return the value of the Field   * @throws IllegalAccessException if you could not normally access this field   *         (i.e. it is not public)   * @throws IllegalArgumentException if this is not a boolean field of   *         <code>o</code>, or if <code>o</code> is not an instance of the   *         declaring class of this field   * @throws NullPointerException if <code>o</code> is null and this field   *         requires an instance   * @throws ExceptionInInitializerError if accessing a static field triggered   *         class initialization, which then failed

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
综合久久久久久久| 亚洲国产人成综合网站| 亚洲人精品一区| 91麻豆产精品久久久久久| 国产精品黄色在线观看 | 日韩一区在线播放| av毛片久久久久**hd| 久久人人爽爽爽人久久久| 国产精品蜜臀av| 99re热这里只有精品免费视频| 亚洲欧洲在线观看av| 欧美日韩国产电影| 经典三级在线一区| 亚洲一区二区三区国产| 欧美亚洲丝袜传媒另类| 国产美女精品一区二区三区| 国产精品午夜在线观看| 在线亚洲一区观看| 国产在线播放一区| 天堂久久一区二区三区| 久久午夜免费电影| 欧美麻豆精品久久久久久| 午夜伦理一区二区| 亚洲欧美综合在线精品| 久久久久国产精品麻豆ai换脸| 欧美网站一区二区| 国产91精品久久久久久久网曝门| 日韩国产高清影视| 午夜视频久久久久久| 亚洲卡通动漫在线| 自拍偷拍国产精品| 亚洲男同性恋视频| 亚洲综合999| 亚洲自拍偷拍九九九| 欧美高清在线一区二区| 在线观看国产91| 色国产综合视频| 国产一区二区三区香蕉| 久久99国产精品免费| 久久99精品久久久久| 久久精品国产秦先生| 精品在线亚洲视频| 麻豆视频观看网址久久| 麻豆91精品91久久久的内涵| 全部av―极品视觉盛宴亚洲| 亚洲在线中文字幕| 色噜噜狠狠成人网p站| 美女一区二区在线观看| 蜜桃视频免费观看一区| 国产一区二区三区在线观看免费视频 | 久久99热国产| 国产精品热久久久久夜色精品三区| 亚洲资源中文字幕| 欧美日韩综合不卡| 亚洲精品乱码久久久久久| 黑人巨大精品欧美一区| 一本色道久久综合亚洲91| 欧美精品v国产精品v日韩精品 | 麻豆精品新av中文字幕| 国产高清一区日本| 欧美性猛片aaaaaaa做受| 欧美成人r级一区二区三区| 久久精子c满五个校花| 亚洲欧美另类久久久精品| 麻豆91在线播放| 日韩欧美一级片| 日韩中文字幕亚洲一区二区va在线| 91久久香蕉国产日韩欧美9色| 亚洲成人自拍一区| 欧美日韩国产欧美日美国产精品| 伊人一区二区三区| 日本精品一区二区三区四区的功能| 亚洲天堂免费在线观看视频| 高清av一区二区| 亚洲欧洲日韩综合一区二区| 成人在线综合网| 久久人人超碰精品| 狠狠色综合日日| 久久精品男人的天堂| 99久久er热在这里只有精品15 | 亚洲国产高清不卡| 日本在线不卡一区| 欧美一区二区三区四区视频| 九一九一国产精品| 亚洲精品高清在线观看| 91精品欧美综合在线观看最新| 欧美影院一区二区| 五月天视频一区| 精品一区二区三区在线播放视频| 欧美电影免费观看高清完整版在线 | 欧美一区二区三区不卡| 成人av电影在线观看| 捆绑变态av一区二区三区| 亚洲婷婷综合久久一本伊一区| 欧美日韩国产系列| 成人国产视频在线观看| 精品一区二区三区在线观看| 亚洲高清三级视频| 国产精品毛片高清在线完整版| 欧美精品久久久久久久多人混战 | 日韩电影一二三区| 337p亚洲精品色噜噜噜| 精品一区二区免费视频| 亚洲一区二区三区四区不卡| 欧美国产精品专区| 欧美在线综合视频| 国产亚洲欧美在线| 日韩免费福利电影在线观看| 国产成人啪免费观看软件| 亚洲黄网站在线观看| 久久久综合视频| 久久精子c满五个校花| 7878成人国产在线观看| 91在线观看污| 播五月开心婷婷综合| 国内精品久久久久影院一蜜桃| 亚洲1区2区3区视频| 一区二区三区中文字幕电影 | 国产福利一区二区三区视频| 亚洲线精品一区二区三区八戒| 性欧美疯狂xxxxbbbb| 男女激情视频一区| 青青草成人在线观看| 国产99精品视频| 国产美女久久久久| 色婷婷亚洲精品| 久久久久久麻豆| 亚洲黄色av一区| 欧美成人在线直播| 亚洲成人av中文| 午夜欧美电影在线观看| 日韩高清一区二区| 免费看欧美女人艹b| 亚洲午夜影视影院在线观看| 亚洲精选在线视频| 偷拍日韩校园综合在线| 国产精品自拍三区| 色综合咪咪久久| 欧美一区2区视频在线观看| 国产欧美精品一区二区色综合| www国产精品av| 一区二区三区色| 久久99热这里只有精品| 国产精品18久久久久久久久 | 国产精品一区二区在线观看网站| 成人高清在线视频| 日韩欧美在线综合网| 一区二区理论电影在线观看| 国产精品99久| 国产精品乱子久久久久| 亚洲a一区二区| 色悠悠久久综合| 中文字幕一区二区三区视频| 亚洲精品精品亚洲| 国产99久久精品| 中文字幕色av一区二区三区| 在线精品国精品国产尤物884a| 久久中文字幕电影| 国产精品一区二区黑丝| 1区2区3区国产精品| 成人黄色片在线观看| 中文字幕一区二区在线观看| 成人精品视频一区二区三区 | 欧美色图一区二区三区| 久久久久九九视频| 亚洲美女视频在线| 欧美日韩亚洲综合一区二区三区| 亚洲色欲色欲www| 91久久奴性调教| 亚洲一区二区三区四区在线| 欧美一a一片一级一片| 精品一区二区三区日韩| 精品日韩av一区二区| 国产成人一级电影| 亚洲色图20p| 一本久久a久久精品亚洲| 久久精品久久久精品美女| 中文在线一区二区| 在线观看视频一区二区欧美日韩| 日韩高清在线一区| 亚洲美女在线国产| 欧美刺激午夜性久久久久久久| 国产麻豆精品一区二区| 亚洲综合视频网| 国产日韩精品一区二区浪潮av | 中文字幕免费不卡在线| 欧美丝袜第三区| 亚洲影院久久精品| 亚洲国产裸拍裸体视频在线观看乱了| 欧美一区二区三区在线观看| 国内精品伊人久久久久影院对白| 337p粉嫩大胆噜噜噜噜噜91av| 日韩欧美一级精品久久| 欧美亚洲国产bt| 一本色道久久综合亚洲精品按摩 | 亚洲午夜视频在线| 亚洲品质自拍视频| 亚洲影院免费观看| 亚洲精品视频免费看| 亚洲人一二三区|