final class com.google.common.base.Platform
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.base.Platform
super_class: java.lang.Object
{
private static final java.util.logging.Logger logger;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final com.google.common.base.PatternCompiler patternCompiler;
descriptor: Lcom/google/common/base/PatternCompiler;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/google/common/base/Platform;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
putstatic com.google.common.base.Platform.logger:Ljava/util/logging/Logger;
1: invokestatic com.google.common.base.Platform.loadPatternCompiler:()Lcom/google/common/base/PatternCompiler;
putstatic com.google.common.base.Platform.patternCompiler:Lcom/google/common/base/PatternCompiler;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
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 Lcom/google/common/base/Platform;
static long systemNanoTime();
descriptor: ()J
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic java.lang.System.nanoTime:()J
lreturn
LocalVariableTable:
Start End Slot Name Signature
static com.google.common.base.CharMatcher precomputeCharMatcher(com.google.common.base.CharMatcher);
descriptor: (Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.base.CharMatcher.precomputedInternal:()Lcom/google/common/base/CharMatcher;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 matcher Lcom/google/common/base/CharMatcher;
MethodParameters:
Name Flags
matcher
static <T extends java.lang.Enum<T>> com.google.common.base.Optional<T> getEnumIfPresent(java.lang.Class<T>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Lcom/google/common/base/Optional;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Enums.getEnumConstants:(Ljava/lang/Class;)Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.ref.WeakReference
astore 2
start local 2 1: aload 2
ifnonnull 2
invokestatic com.google.common.base.Optional.absent:()Lcom/google/common/base/Optional;
goto 3
StackMap locals: java.lang.ref.WeakReference
StackMap stack:
2: aload 0
aload 2
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Enum
invokestatic com.google.common.base.Optional.of:(Ljava/lang/Object;)Lcom/google/common/base/Optional;
StackMap locals:
StackMap stack: com.google.common.base.Optional
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 enumClass Ljava/lang/Class<TT;>;
0 4 1 value Ljava/lang/String;
1 4 2 ref Ljava/lang/ref/WeakReference<+Ljava/lang/Enum<*>;>;
Signature: <T:Ljava/lang/Enum<TT;>;>(Ljava/lang/Class<TT;>;Ljava/lang/String;)Lcom/google/common/base/Optional<TT;>;
MethodParameters:
Name Flags
enumClass
value
static java.lang.String formatCompact4Digits(double);
descriptor: (D)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: getstatic java.util.Locale.ROOT:Ljava/util/Locale;
ldc "%.4g"
iconst_1
anewarray java.lang.Object
dup
iconst_0
dload 0
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
invokestatic java.lang.String.format:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value D
MethodParameters:
Name Flags
value
static boolean stringIsNullOrEmpty(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.isEmpty:()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 string Ljava/lang/String;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
string
static java.lang.String nullToEmpty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 1
ldc ""
goto 2
StackMap locals:
StackMap stack:
1: aload 0
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 string Ljava/lang/String;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
string
static java.lang.String emptyToNull(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.Platform.stringIsNullOrEmpty:(Ljava/lang/String;)Z
ifeq 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 string Ljava/lang/String;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
string
static com.google.common.base.CommonPattern compilePattern(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/google/common/base/CommonPattern;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: getstatic com.google.common.base.Platform.patternCompiler:Lcom/google/common/base/PatternCompiler;
aload 0
invokeinterface com.google.common.base.PatternCompiler.compile:(Ljava/lang/String;)Lcom/google/common/base/CommonPattern;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 pattern Ljava/lang/String;
MethodParameters:
Name Flags
pattern
static boolean usingJdkPatternCompiler();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.base.Platform.patternCompiler:Lcom/google/common/base/PatternCompiler;
instanceof com.google.common.base.Platform$JdkPatternCompiler
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static com.google.common.base.PatternCompiler loadPatternCompiler();
descriptor: ()Lcom/google/common/base/PatternCompiler;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=0
0: ldc Lcom/google/common/base/PatternCompiler;
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;)Ljava/util/ServiceLoader;
astore 0
start local 0 1: aload 0
invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
astore 1
start local 1 2: goto 7
3: StackMap locals: java.util.ServiceLoader java.util.Iterator
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.google.common.base.PatternCompiler
4: areturn
5: StackMap locals:
StackMap stack: java.util.ServiceConfigurationError
astore 2
start local 2 6: aload 2
invokestatic com.google.common.base.Platform.logPatternCompilerError:(Ljava/util/ServiceConfigurationError;)V
end local 2 7: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 1 8: goto 11
StackMap locals: java.util.ServiceLoader
StackMap stack: java.util.ServiceConfigurationError
9: astore 1
start local 1 10: aload 1
invokestatic com.google.common.base.Platform.logPatternCompilerError:(Ljava/util/ServiceConfigurationError;)V
end local 1 11: StackMap locals:
StackMap stack:
new com.google.common.base.Platform$JdkPatternCompiler
dup
invokespecial com.google.common.base.Platform$JdkPatternCompiler.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 12 0 loader Ljava/util/ServiceLoader<Lcom/google/common/base/PatternCompiler;>;
2 8 1 it Ljava/util/Iterator<Lcom/google/common/base/PatternCompiler;>;
6 7 2 e Ljava/util/ServiceConfigurationError;
10 11 1 e Ljava/util/ServiceConfigurationError;
Exception table:
from to target type
3 4 5 Class java.util.ServiceConfigurationError
1 4 9 Class java.util.ServiceConfigurationError
5 8 9 Class java.util.ServiceConfigurationError
private static void logPatternCompilerError(java.util.ServiceConfigurationError);
descriptor: (Ljava/util/ServiceConfigurationError;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic com.google.common.base.Platform.logger:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
ldc "Error loading regex compiler, falling back to next option"
aload 0
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 e Ljava/util/ServiceConfigurationError;
MethodParameters:
Name Flags
e
}
SourceFile: "Platform.java"
NestMembers:
com.google.common.base.Platform$JdkPatternCompiler
InnerClasses:
private final JdkPatternCompiler = com.google.common.base.Platform$JdkPatternCompiler of com.google.common.base.Platform
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(emulated = true)