public final class org.jruby.util.IdUtil
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.jruby.util.IdUtil
super_class: java.lang.Object
{
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
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/util/IdUtil;
public static boolean isConstant(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isUpperCase:(C)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 id Ljava/lang/String;
MethodParameters:
Name Flags
id
public static boolean isClassVariable(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
iconst_1
if_icmple 1
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 64
if_icmpne 1
aload 0
iconst_1
invokevirtual java.lang.String.charAt:(I)C
bipush 64
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 id Ljava/lang/String;
MethodParameters:
Name Flags
id
public static boolean isInstanceVariable(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
ifle 2
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 64
if_icmpne 2
aload 0
invokevirtual java.lang.String.length:()I
iconst_2
if_icmplt 1
aload 0
iconst_1
invokevirtual java.lang.String.charAt:(I)C
bipush 64
if_icmpeq 2
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 id Ljava/lang/String;
MethodParameters:
Name Flags
id
public static boolean isGlobal(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
ifle 1
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 36
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 id Ljava/lang/String;
MethodParameters:
Name Flags
id
public static boolean isPredicate(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "?"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 id Ljava/lang/String;
MethodParameters:
Name Flags
id
public static boolean isLocal(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.jruby.util.IdUtil.isGlobal:(Ljava/lang/String;)Z
ifne 1
aload 0
invokestatic org.jruby.util.IdUtil.isClassVariable:(Ljava/lang/String;)Z
ifne 1
aload 0
invokestatic org.jruby.util.IdUtil.isInstanceVariable:(Ljava/lang/String;)Z
ifne 1
aload 0
invokestatic org.jruby.util.IdUtil.isConstant:(Ljava/lang/String;)Z
ifne 1
aload 0
invokestatic org.jruby.util.IdUtil.isPredicate:(Ljava/lang/String;)Z
ifne 1
aload 0
invokestatic org.jruby.util.IdUtil.isSpecial:(Ljava/lang/String;)Z
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 id Ljava/lang/String;
MethodParameters:
Name Flags
id
public static boolean isSpecial(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "%"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 id Ljava/lang/String;
MethodParameters:
Name Flags
id
public static boolean isAttrSet(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "="
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 id Ljava/lang/String;
MethodParameters:
Name Flags
id
public static boolean isValidConstantName(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
dup
istore 2
start local 2 1: ifle 4
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
dup
istore 1
start local 1 2: bipush 90
if_icmpgt 4
iload 1
bipush 65
if_icmplt 4
3: aload 0
iconst_1
iload 2
invokestatic org.jruby.util.IdUtil.isNameString:(Ljava/lang/String;II)Z
ireturn
end local 1 4: StackMap locals: java.lang.String top int
StackMap stack:
iconst_0
ireturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 id Ljava/lang/String;
2 4 1 c C
1 5 2 len I
MethodParameters:
Name Flags
id
public static boolean isValidInstanceVariableName(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
dup
istore 1
start local 1 1: iconst_1
if_icmple 4
bipush 64
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
if_icmpne 4
2: aload 0
iconst_1
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.jruby.util.IdUtil.isInitialCharacter:(I)Z
ifeq 4
3: aload 0
iconst_2
iload 1
invokestatic org.jruby.util.IdUtil.isNameString:(Ljava/lang/String;II)Z
ireturn
4: StackMap locals: int
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 id Ljava/lang/String;
1 5 1 len I
MethodParameters:
Name Flags
id
public static boolean isValidClassVariableName(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
dup
istore 1
start local 1 1: iconst_2
if_icmple 4
bipush 64
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
if_icmpne 4
bipush 64
aload 0
iconst_1
invokevirtual java.lang.String.charAt:(I)C
if_icmpne 4
2: aload 0
iconst_2
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.jruby.util.IdUtil.isInitialCharacter:(I)Z
ifeq 4
3: aload 0
iconst_3
iload 1
invokestatic org.jruby.util.IdUtil.isNameString:(Ljava/lang/String;II)Z
ireturn
4: StackMap locals: int
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 id Ljava/lang/String;
1 5 1 len I
MethodParameters:
Name Flags
id
public static boolean isInitialCharacter(int);
descriptor: (I)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
invokestatic java.lang.Character.isAlphabetic:(I)Z
ifne 1
iload 0
bipush 95
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 c I
MethodParameters:
Name Flags
c
public static boolean isNameCharacter(char);
descriptor: (C)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
invokestatic java.lang.Character.isLetterOrDigit:(C)Z
ifne 1
iload 0
bipush 95
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 c C
MethodParameters:
Name Flags
c
public static boolean isNameString(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
istore 3
start local 3 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.jruby.util.IdUtil.isNameCharacter:(C)Z
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 2
if_icmplt 2
end local 3 6: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 id Ljava/lang/String;
0 7 1 start I
0 7 2 limit I
1 6 3 i I
MethodParameters:
Name Flags
id
start
limit
public static final boolean isRubyVariable(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
ifle 3
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
dup
istore 1
start local 1 1: bipush 64
if_icmpeq 2
iload 1
bipush 90
if_icmpgt 3
iload 1
bipush 65
if_icmplt 3
end local 1 StackMap locals:
StackMap stack:
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 name Ljava/lang/String;
1 2 1 c C
MethodParameters:
Name Flags
name
public static boolean isValidConstantName19(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.jruby.util.IdUtil.isValidConstantName:(Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 id Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
id
public static boolean isNameCharacter19(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.jruby.util.IdUtil.isNameCharacter19:(C)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c C
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
c
public static boolean isNameString19(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokestatic org.jruby.util.IdUtil.isNameString:(Ljava/lang/String;II)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 id Ljava/lang/String;
0 1 1 start I
0 1 2 limit I
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
id
start
limit
}
SourceFile: "IdUtil.java"