final class org.jruby.ext.ffi.Platform$Darwin extends org.jruby.ext.ffi.Platform$Supported
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.jruby.ext.ffi.Platform$Darwin
super_class: org.jruby.ext.ffi.Platform$Supported
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 // org.jruby.ext.ffi.Platform$Darwin this
0: .line 447
aload 0 /* this */
getstatic org.jruby.ext.ffi.Platform$Darwin.OS:Lorg/jruby/ext/ffi/Platform$OS_TYPE;
pop
getstatic org.jruby.ext.ffi.Platform$OS_TYPE.DARWIN:Lorg/jruby/ext/ffi/Platform$OS_TYPE;
invokespecial org.jruby.ext.ffi.Platform$Supported.<init>:(Lorg/jruby/ext/ffi/Platform$OS_TYPE;)V
1: .line 448
return
end local 0 // org.jruby.ext.ffi.Platform$Darwin this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/ffi/Platform$Darwin;
public java.lang.String mapLibraryName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 // org.jruby.ext.ffi.Platform$Darwin this
start local 1 // java.lang.String libName
0: .line 455
aload 0 /* this */
getfield org.jruby.ext.ffi.Platform$Darwin.libPattern:Ljava/util/regex/Pattern;
aload 1 /* libName */
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.find:()Z
ifeq 2
1: .line 456
aload 1 /* libName */
areturn
2: .line 458
StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "lib"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1 /* libName */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ".dylib"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 // java.lang.String libName
end local 0 // org.jruby.ext.ffi.Platform$Darwin this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/ffi/Platform$Darwin;
0 3 1 libName Ljava/lang/String;
MethodParameters:
Name Flags
libName
}
SourceFile: "Platform.java"
NestHost: org.jruby.ext.ffi.Platform
InnerClasses:
private final Darwin = org.jruby.ext.ffi.Platform$Darwin of org.jruby.ext.ffi.Platform
public final OS_TYPE = org.jruby.ext.ffi.Platform$OS_TYPE of org.jruby.ext.ffi.Platform
private Supported = org.jruby.ext.ffi.Platform$Supported of org.jruby.ext.ffi.Platform