src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotResolvedJavaField.java
changeset 50858 2d3e99a72541
parent 47216 71c04702a3d5
equal deleted inserted replaced
50857:a9938374a9f4 50858:2d3e99a72541
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 package jdk.vm.ci.hotspot;
    23 package jdk.vm.ci.hotspot;
    24 
    24 
       
    25 import jdk.vm.ci.meta.JavaConstant;
    25 import jdk.vm.ci.meta.ResolvedJavaField;
    26 import jdk.vm.ci.meta.ResolvedJavaField;
    26 
    27 
    27 /**
    28 /**
    28  * Represents a field in a HotSpot type.
    29  * Represents a field in a HotSpot type.
    29  */
    30  */
    33      * Determines if a given object contains this field.
    34      * Determines if a given object contains this field.
    34      *
    35      *
    35      * @return true iff this is a non-static field and its declaring class is assignable from
    36      * @return true iff this is a non-static field and its declaring class is assignable from
    36      *         {@code object}'s class
    37      *         {@code object}'s class
    37      */
    38      */
    38     boolean isInObject(Object object);
    39     boolean isInObject(JavaConstant object);
    39 
       
    40     int offset();
       
    41 
    40 
    42     /**
    41     /**
    43      * Determines if this field should be treated as a constant.
    42      * Determines if this field should be treated as a constant.
    44      */
    43      */
    45     boolean isStable();
    44     boolean isStable();