public class org.apache.commons.lang3.CharUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.lang3.CharUtils
super_class: java.lang.Object
{
private static final java.lang.String[] CHAR_STRING_ARRAY;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final char[] HEX_DIGITS;
descriptor: [C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final char LF;
descriptor: C
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 10
public static final char CR;
descriptor: C
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 13
public static final char NUL;
descriptor: C
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: sipush 128
anewarray java.lang.String
putstatic org.apache.commons.lang3.CharUtils.CHAR_STRING_ARRAY:[Ljava/lang/String;
1: bipush 16
newarray 5
dup
iconst_0
bipush 48
castore
dup
iconst_1
bipush 49
castore
dup
iconst_2
bipush 50
castore
dup
iconst_3
bipush 51
castore
dup
iconst_4
bipush 52
castore
dup
iconst_5
bipush 53
castore
dup
bipush 6
bipush 54
castore
dup
bipush 7
bipush 55
castore
dup
bipush 8
bipush 56
castore
dup
bipush 9
bipush 57
castore
dup
bipush 10
bipush 97
castore
dup
bipush 11
bipush 98
castore
dup
bipush 12
bipush 99
castore
dup
bipush 13
bipush 100
castore
dup
bipush 14
bipush 101
castore
dup
bipush 15
bipush 102
castore
putstatic org.apache.commons.lang3.CharUtils.HEX_DIGITS:[C
2: iconst_0
istore 0
start local 0 3: goto 6
4: StackMap locals: int
StackMap stack:
getstatic org.apache.commons.lang3.CharUtils.CHAR_STRING_ARRAY:[Ljava/lang/String;
iload 0
iload 0
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
aastore
5: iload 0
iconst_1
iadd
i2c
istore 0
StackMap locals:
StackMap stack:
6: iload 0
getstatic org.apache.commons.lang3.CharUtils.CHAR_STRING_ARRAY:[Ljava/lang/String;
arraylength
if_icmplt 4
end local 0 7: return
LocalVariableTable:
Start End Slot Name Signature
3 7 0 c C
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/lang3/CharUtils;
public static java.lang.Character toCharacterObject(char);
descriptor: (C)Ljava/lang/Character;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ch C
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
ch final
public static java.lang.Character toCharacterObject(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Character;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.commons.lang3.StringUtils.isEmpty:(Ljava/lang/CharSequence;)Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 str Ljava/lang/String;
MethodParameters:
Name Flags
str final
public static char toChar(java.lang.Character);
descriptor: (Ljava/lang/Character;)C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "The Character must not be null"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual java.lang.Character.charValue:()C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ch Ljava/lang/Character;
MethodParameters:
Name Flags
ch final
public static char toChar(java.lang.Character, char);
descriptor: (Ljava/lang/Character;C)C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: iload 1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Character.charValue:()C
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ch Ljava/lang/Character;
0 3 1 defaultValue C
MethodParameters:
Name Flags
ch final
defaultValue final
public static char toChar(java.lang.String);
descriptor: (Ljava/lang/String;)C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "The String must not be empty"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.notEmpty:(Ljava/lang/CharSequence;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/CharSequence;
pop
1: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 str Ljava/lang/String;
MethodParameters:
Name Flags
str final
public static char toChar(java.lang.String, char);
descriptor: (Ljava/lang/String;C)C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.apache.commons.lang3.StringUtils.isEmpty:(Ljava/lang/CharSequence;)Z
ifeq 2
1: iload 1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 str Ljava/lang/String;
0 3 1 defaultValue C
MethodParameters:
Name Flags
str final
defaultValue final
public static int toIntValue(char);
descriptor: (C)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iload 0
invokestatic org.apache.commons.lang3.CharUtils.isAsciiNumeric:(C)Z
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "The character "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
ldc " is not in the range '0' - '9'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 0
bipush 48
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ch C
MethodParameters:
Name Flags
ch final
public static int toIntValue(char, int);
descriptor: (CI)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 0
invokestatic org.apache.commons.lang3.CharUtils.isAsciiNumeric:(C)Z
ifne 2
1: iload 1
ireturn
2: StackMap locals:
StackMap stack:
iload 0
bipush 48
isub
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ch C
0 3 1 defaultValue I
MethodParameters:
Name Flags
ch final
defaultValue final
public static int toIntValue(java.lang.Character);
descriptor: (Ljava/lang/Character;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "The character must not be null"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual java.lang.Character.charValue:()C
invokestatic org.apache.commons.lang3.CharUtils.toIntValue:(C)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ch Ljava/lang/Character;
MethodParameters:
Name Flags
ch final
public static int toIntValue(java.lang.Character, int);
descriptor: (Ljava/lang/Character;I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: iload 1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Character.charValue:()C
iload 1
invokestatic org.apache.commons.lang3.CharUtils.toIntValue:(CI)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ch Ljava/lang/Character;
0 3 1 defaultValue I
MethodParameters:
Name Flags
ch final
defaultValue final
public static java.lang.String toString(char);
descriptor: (C)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: iload 0
sipush 128
if_icmpge 2
1: getstatic org.apache.commons.lang3.CharUtils.CHAR_STRING_ARRAY:[Ljava/lang/String;
iload 0
aaload
areturn
2: StackMap locals:
StackMap stack:
new java.lang.String
dup
iconst_1
newarray 5
dup
iconst_0
iload 0
castore
invokespecial java.lang.String.<init>:([C)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ch C
MethodParameters:
Name Flags
ch final
public static java.lang.String toString(java.lang.Character);
descriptor: (Ljava/lang/Character;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, 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.Character.charValue:()C
invokestatic org.apache.commons.lang3.CharUtils.toString:(C)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ch Ljava/lang/Character;
MethodParameters:
Name Flags
ch final
public static java.lang.String unicodeEscaped(char);
descriptor: (C)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "\\u"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: getstatic org.apache.commons.lang3.CharUtils.HEX_DIGITS:[C
iload 0
bipush 12
ishr
bipush 15
iand
caload
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
2: getstatic org.apache.commons.lang3.CharUtils.HEX_DIGITS:[C
iload 0
bipush 8
ishr
bipush 15
iand
caload
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
3: getstatic org.apache.commons.lang3.CharUtils.HEX_DIGITS:[C
iload 0
iconst_4
ishr
bipush 15
iand
caload
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
4: getstatic org.apache.commons.lang3.CharUtils.HEX_DIGITS:[C
iload 0
bipush 15
iand
caload
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 ch C
MethodParameters:
Name Flags
ch final
public static java.lang.String unicodeEscaped(java.lang.Character);
descriptor: (Ljava/lang/Character;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, 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.Character.charValue:()C
invokestatic org.apache.commons.lang3.CharUtils.unicodeEscaped:(C)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ch Ljava/lang/Character;
MethodParameters:
Name Flags
ch final
public static boolean isAscii(char);
descriptor: (C)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
sipush 128
if_icmpge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ch C
MethodParameters:
Name Flags
ch final
public static boolean isAsciiPrintable(char);
descriptor: (C)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
bipush 32
if_icmplt 1
iload 0
bipush 127
if_icmpge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ch C
MethodParameters:
Name Flags
ch final
public static boolean isAsciiControl(char);
descriptor: (C)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
bipush 32
if_icmplt 1
iload 0
bipush 127
if_icmpeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ch C
MethodParameters:
Name Flags
ch final
public static boolean isAsciiAlpha(char);
descriptor: (C)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic org.apache.commons.lang3.CharUtils.isAsciiAlphaUpper:(C)Z
ifne 1
iload 0
invokestatic org.apache.commons.lang3.CharUtils.isAsciiAlphaLower:(C)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ch C
MethodParameters:
Name Flags
ch final
public static boolean isAsciiAlphaUpper(char);
descriptor: (C)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
bipush 65
if_icmplt 1
iload 0
bipush 90
if_icmpgt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ch C
MethodParameters:
Name Flags
ch final
public static boolean isAsciiAlphaLower(char);
descriptor: (C)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
bipush 97
if_icmplt 1
iload 0
bipush 122
if_icmpgt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ch C
MethodParameters:
Name Flags
ch final
public static boolean isAsciiNumeric(char);
descriptor: (C)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
bipush 48
if_icmplt 1
iload 0
bipush 57
if_icmpgt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ch C
MethodParameters:
Name Flags
ch final
public static boolean isAsciiAlphanumeric(char);
descriptor: (C)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic org.apache.commons.lang3.CharUtils.isAsciiAlpha:(C)Z
ifne 1
iload 0
invokestatic org.apache.commons.lang3.CharUtils.isAsciiNumeric:(C)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ch C
MethodParameters:
Name Flags
ch final
public static int compare(char, char);
descriptor: (CC)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iload 1
isub
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x C
0 1 1 y C
MethodParameters:
Name Flags
x final
y final
}
SourceFile: "CharUtils.java"