public class com.fasterxml.jackson.databind.node.TextNode extends com.fasterxml.jackson.databind.node.ValueNode
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.fasterxml.jackson.databind.node.TextNode
super_class: com.fasterxml.jackson.databind.node.ValueNode
{
static final com.fasterxml.jackson.databind.node.TextNode EMPTY_STRING_NODE;
descriptor: Lcom/fasterxml/jackson/databind/node/TextNode;
flags: (0x0018) ACC_STATIC, ACC_FINAL
protected final java.lang.String _value;
descriptor: Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.fasterxml.jackson.databind.node.TextNode
dup
ldc ""
invokespecial com.fasterxml.jackson.databind.node.TextNode.<init>:(Ljava/lang/String;)V
putstatic com.fasterxml.jackson.databind.node.TextNode.EMPTY_STRING_NODE:Lcom/fasterxml/jackson/databind/node/TextNode;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.fasterxml.jackson.databind.node.ValueNode.<init>:()V
aload 0
aload 1
putfield com.fasterxml.jackson.databind.node.TextNode._value:Ljava/lang/String;
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/node/TextNode;
0 1 1 v Ljava/lang/String;
MethodParameters:
Name Flags
v
public static com.fasterxml.jackson.databind.node.TextNode valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/fasterxml/jackson/databind/node/TextNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
ifne 4
3: getstatic com.fasterxml.jackson.databind.node.TextNode.EMPTY_STRING_NODE:Lcom/fasterxml/jackson/databind/node/TextNode;
areturn
4: StackMap locals:
StackMap stack:
new com.fasterxml.jackson.databind.node.TextNode
dup
aload 0
invokespecial com.fasterxml.jackson.databind.node.TextNode.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 v Ljava/lang/String;
MethodParameters:
Name Flags
v
public com.fasterxml.jackson.databind.node.JsonNodeType getNodeType();
descriptor: ()Lcom/fasterxml/jackson/databind/node/JsonNodeType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.fasterxml.jackson.databind.node.JsonNodeType.STRING:Lcom/fasterxml/jackson/databind/node/JsonNodeType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/node/TextNode;
public com.fasterxml.jackson.core.JsonToken asToken();
descriptor: ()Lcom/fasterxml/jackson/core/JsonToken;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.fasterxml.jackson.core.JsonToken.VALUE_STRING:Lcom/fasterxml/jackson/core/JsonToken;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/node/TextNode;
public java.lang.String textValue();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.fasterxml.jackson.databind.node.TextNode._value:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/node/TextNode;
public byte[] getBinaryValue(com.fasterxml.jackson.core.Base64Variant);
descriptor: (Lcom/fasterxml/jackson/core/Base64Variant;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.fasterxml.jackson.databind.node.TextNode._value:Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 2
start local 2 1: new com.fasterxml.jackson.core.util.ByteArrayBuilder
dup
iconst_4
aload 2
invokevirtual java.lang.String.length:()I
iconst_3
imul
iconst_2
ishl
iadd
invokespecial com.fasterxml.jackson.core.util.ByteArrayBuilder.<init>:(I)V
astore 3
start local 3 2: aload 1
aload 2
aload 3
invokevirtual com.fasterxml.jackson.core.Base64Variant.decode:(Ljava/lang/String;Lcom/fasterxml/jackson/core/util/ByteArrayBuilder;)V
3: goto 11
StackMap locals: com.fasterxml.jackson.databind.node.TextNode com.fasterxml.jackson.core.Base64Variant java.lang.String com.fasterxml.jackson.core.util.ByteArrayBuilder
StackMap stack: java.lang.IllegalArgumentException
4: astore 4
start local 4 5: aconst_null
6: ldc "Cannot access contents of TextNode as binary due to broken Base64 encoding: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
7: aload 4
invokevirtual java.lang.IllegalArgumentException.getMessage:()Ljava/lang/String;
aastore
8: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
9: aload 2
ldc [B
10: invokestatic com.fasterxml.jackson.databind.exc.InvalidFormatException.from:(Lcom/fasterxml/jackson/core/JsonParser;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Class;)Lcom/fasterxml/jackson/databind/exc/InvalidFormatException;
athrow
end local 4 11: StackMap locals:
StackMap stack:
aload 3
invokevirtual com.fasterxml.jackson.core.util.ByteArrayBuilder.toByteArray:()[B
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/fasterxml/jackson/databind/node/TextNode;
0 12 1 b64variant Lcom/fasterxml/jackson/core/Base64Variant;
1 12 2 str Ljava/lang/String;
2 12 3 builder Lcom/fasterxml/jackson/core/util/ByteArrayBuilder;
5 11 4 e Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
2 3 4 Class java.lang.IllegalArgumentException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b64variant
public byte[] binaryValue();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.fasterxml.jackson.core.Base64Variants.getDefaultVariant:()Lcom/fasterxml/jackson/core/Base64Variant;
invokevirtual com.fasterxml.jackson.databind.node.TextNode.getBinaryValue:(Lcom/fasterxml/jackson/core/Base64Variant;)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/node/TextNode;
Exceptions:
throws java.io.IOException
public java.lang.String asText();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.fasterxml.jackson.databind.node.TextNode._value:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/node/TextNode;
public java.lang.String asText(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.fasterxml.jackson.databind.node.TextNode._value:Ljava/lang/String;
ifnonnull 1
aload 1
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.fasterxml.jackson.databind.node.TextNode._value:Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/fasterxml/jackson/databind/node/TextNode;
0 3 1 defaultValue Ljava/lang/String;
MethodParameters:
Name Flags
defaultValue
public boolean asBoolean(boolean);
descriptor: (Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.fasterxml.jackson.databind.node.TextNode._value:Ljava/lang/String;
ifnull 6
1: aload 0
getfield com.fasterxml.jackson.databind.node.TextNode._value:Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 2
start local 2 2: ldc "true"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals: java.lang.String
StackMap stack:
ldc "false"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_0
ireturn
end local 2 6: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/fasterxml/jackson/databind/node/TextNode;
0 7 1 defaultValue Z
2 6 2 v Ljava/lang/String;
MethodParameters:
Name Flags
defaultValue
public int asInt(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.fasterxml.jackson.databind.node.TextNode._value:Ljava/lang/String;
iload 1
invokestatic com.fasterxml.jackson.core.io.NumberInput.parseAsInt:(Ljava/lang/String;I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/node/TextNode;
0 1 1 defaultValue I
MethodParameters:
Name Flags
defaultValue
public long asLong(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.fasterxml.jackson.databind.node.TextNode._value:Ljava/lang/String;
lload 1
invokestatic com.fasterxml.jackson.core.io.NumberInput.parseAsLong:(Ljava/lang/String;J)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/node/TextNode;
0 1 1 defaultValue J
MethodParameters:
Name Flags
defaultValue
public double asDouble(double);
descriptor: (D)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.fasterxml.jackson.databind.node.TextNode._value:Ljava/lang/String;
dload 1
invokestatic com.fasterxml.jackson.core.io.NumberInput.parseAsDouble:(Ljava/lang/String;D)D
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/node/TextNode;
0 1 1 defaultValue D
MethodParameters:
Name Flags
defaultValue
public final void serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider);
descriptor: (Lcom/fasterxml/jackson/core/JsonGenerator;Lcom/fasterxml/jackson/databind/SerializerProvider;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.fasterxml.jackson.databind.node.TextNode._value:Ljava/lang/String;
ifnonnull 3
1: aload 1
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeNull:()V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.fasterxml.jackson.databind.node.TextNode._value:Ljava/lang/String;
invokevirtual com.fasterxml.jackson.core.JsonGenerator.writeString:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/fasterxml/jackson/databind/node/TextNode;
0 5 1 g Lcom/fasterxml/jackson/core/JsonGenerator;
0 5 2 provider Lcom/fasterxml/jackson/databind/SerializerProvider;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
g
provider
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
ifnonnull 2
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof com.fasterxml.jackson.databind.node.TextNode
ifeq 4
3: aload 1
checkcast com.fasterxml.jackson.databind.node.TextNode
getfield com.fasterxml.jackson.databind.node.TextNode._value:Ljava/lang/String;
aload 0
getfield com.fasterxml.jackson.databind.node.TextNode._value:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/fasterxml/jackson/databind/node/TextNode;
0 5 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.fasterxml.jackson.databind.node.TextNode._value:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/node/TextNode;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield com.fasterxml.jackson.databind.node.TextNode._value:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
istore 1
start local 1 1: iload 1
iconst_2
iadd
iload 1
iconst_4
ishr
iadd
istore 1
2: new java.lang.StringBuilder
dup
iload 1
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 3: aload 2
aload 0
getfield com.fasterxml.jackson.databind.node.TextNode._value:Ljava/lang/String;
invokestatic com.fasterxml.jackson.databind.node.TextNode.appendQuoted:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
4: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/fasterxml/jackson/databind/node/TextNode;
1 5 1 len I
3 5 2 sb Ljava/lang/StringBuilder;
protected static void appendQuoted(java.lang.StringBuilder, java.lang.String);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
1: aload 0
aload 1
invokestatic com.fasterxml.jackson.core.io.CharTypes.appendQuoted:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
2: aload 0
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 sb Ljava/lang/StringBuilder;
0 4 1 content Ljava/lang/String;
MethodParameters:
Name Flags
sb
content
}
SourceFile: "TextNode.java"