META-INF.modules.java.base.classes.jdk.internal.reflect.UnsafeFieldAccessorImpl.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java.base Show documentation
Show all versions of java.base Show documentation
Bytecoder java.base Module
???? : ?
&jdk/internal/reflect/FieldAccessorImpl ()V
,jdk/internal/reflect/UnsafeFieldAccessorImpl field Ljava/lang/reflect/Field;
java/lang/reflect/Field getModifiers ()I
java/lang/reflect/Modifier isStatic (I)Z unsafe Ljdk/internal/misc/Unsafe;
! " jdk/internal/misc/Unsafe staticFieldOffset (Ljava/lang/reflect/Field;)J $ % & fieldOffset J
( ) " objectFieldOffset
+ , isFinal . , / Z
1 2 3 getDeclaringClass ()Ljava/lang/Class;
5 6 7 8 3 java/lang/Object getClass
: ; < = > java/lang/Class isAssignableFrom (Ljava/lang/Class;)Z
@ A B throwSetIllegalArgumentException (Ljava/lang/Object;)V D java/lang/StringBuilder
C
: G H I getName ()Ljava/lang/String;
C K L M append -(Ljava/lang/String;)Ljava/lang/StringBuilder; O .
G
C R S I toString U "java/lang/IllegalArgumentException W Attempt to get
Y Z 3 getType \ field "
^ _ I getQualifiedFieldName a '" with illegal data type conversion to
T c d (Ljava/lang/String;)V f java/lang/IllegalAccessException
h i j
getSetMessage 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
e c m
o p q %throwFinalFieldIllegalAccessException '(Ljava/lang/String;Ljava/lang/String;)V s boolean
u v w S x java/lang/Boolean (Z)Ljava/lang/String; z char
| } ~ S java/lang/Character (C)Ljava/lang/String; ? byte
? ? ? S ? java/lang/Byte (B)Ljava/lang/String; ? short
? ? ? S ? java/lang/Short (S)Ljava/lang/String; ? int
? ? ? S ? java/lang/Integer (I)Ljava/lang/String; ? long
? ? ? S ? java/lang/Long (J)Ljava/lang/String; ? float
? ? ? S ? java/lang/Float (F)Ljava/lang/String; ? double
? ? ? S ? java/lang/Double (D)Ljava/lang/String;
? ? ? newGetIllegalArgumentException 8(Ljava/lang/String;)Ljava/lang/IllegalArgumentException; ? Can not set ? static ? final ? ? field ? to
? ? ? ? ? java/lang/String isEmpty ()Z ? ( ? ) ?
null value
? A q
? ? ? getUnsafe ()Ljdk/internal/misc/Unsafe; (Ljava/lang/reflect/Field;)V Code LineNumberTable LocalVariableTable this .Ljdk/internal/reflect/UnsafeFieldAccessorImpl;
StackMapTable ensureObj o Ljava/lang/Object; type Ljava/lang/String;
attemptedType attemptedValue
Exceptions (Z)V z (C)V b C (B)V B (S)V S (I)V i I (J)V (F)V f F (D)V D %newGetBooleanIllegalArgumentException &()Ljava/lang/IllegalArgumentException; "newGetByteIllegalArgumentException "newGetCharIllegalArgumentException #newGetShortIllegalArgumentException !newGetIntIllegalArgumentException "newGetLongIllegalArgumentException #newGetFloatIllegalArgumentException $newGetDoubleIllegalArgumentException err c s l d
SourceFile UnsafeFieldAccessorImpl.java % &