com.google.common.base.Platform.class Maven / Gradle / Ivy
???? 4 ?
java/lang/Object ()V
"com/google/common/base/CharMatcher precomputedInternal &()Lcom/google/common/base/CharMatcher;
com/google/common/base/Enums getEnumConstants "(Ljava/lang/Class;)Ljava/util/Map;
java/util/Map get &(Ljava/lang/Object;)Ljava/lang/Object; java/lang/ref/WeakReference
com/google/common/base/Optional absent #()Lcom/google/common/base/Optional;
" # ()Ljava/lang/Object;
% & ' ( java/lang/Class cast * java/lang/Enum
, - . fromNullable 5(Ljava/lang/Object;)Lcom/google/common/base/Optional; 0 1 2 3 4 java/util/Locale ROOT Ljava/util/Locale; 6 %.4g
8 9 : ; < java/lang/Double valueOf (D)Ljava/lang/Double;
> ? @ A B java/lang/String format K(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
> D E F isEmpty ()Z H
J K L M N com/google/common/base/Platform stringIsNullOrEmpty (Ljava/lang/String;)Z
P Q R S $com/google/common/base/Preconditions checkNotNull J U V W patternCompiler (Lcom/google/common/base/PatternCompiler; Y Z [ \ ] &com/google/common/base/PatternCompiler compile :(Ljava/lang/String;)Lcom/google/common/base/CommonPattern; Y _ ` F
isPcreLike b 2com/google/common/base/Platform$JdkPatternCompiler
a d e &(Lcom/google/common/base/Platform$1;)V J g h i logger Ljava/util/logging/Logger; k l m n o java/util/logging/Level WARNING Ljava/util/logging/Level; q 9Error loading regex compiler, falling back to next option
s t u v w java/util/logging/Logger log C(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
% y z { getName ()Ljava/lang/String;
s } ~ getLogger .(Ljava/lang/String;)Ljava/util/logging/Logger;
J ? ? ? loadPatternCompiler *()Lcom/google/common/base/PatternCompiler; Code LineNumberTable LocalVariableTable this !Lcom/google/common/base/Platform; precomputeCharMatcher J(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher; matcher $Lcom/google/common/base/CharMatcher; MethodParameters getEnumIfPresent F(Ljava/lang/Class;Ljava/lang/String;)Lcom/google/common/base/Optional; enumClass Ljava/lang/Class; value Ljava/lang/String; ref Ljava/lang/ref/WeakReference; LocalVariableTypeTable Ljava/lang/Class; 3Ljava/lang/ref/WeakReference<+Ljava/lang/Enum<*>;>;
StackMapTable Signature i;>(Ljava/lang/Class;Ljava/lang/String;)Lcom/google/common/base/Optional; formatCompact4Digits (D)Ljava/lang/String; D string "RuntimeVisibleParameterAnnotations Ljavax/annotation/CheckForNull; nullToEmpty &(Ljava/lang/String;)Ljava/lang/String; emptyToNull RuntimeVisibleAnnotations compilePattern pattern patternCompilerIsPcreLike logPatternCompilerError ((Ljava/util/ServiceConfigurationError;)V e %Ljava/util/ServiceConfigurationError;
SourceFile
Platform.java 8Lcom/google/common/base/ElementTypesAreNonnullByDefault; RuntimeInvisibleAnnotations -Lcom/google/common/annotations/GwtCompatible; emulated InnerClasses JdkPatternCompiler ? !com/google/common/base/Platform$1 0 J h i V W ? / *? ? ? % ? ? ? ? ? ? / *? ? ? ( ? ? ? ? ? ? ? ? ? '*?
+? ? M,? ? ? *,? !? $? )? +? ?
, 7 ? ' ? ? ' ? ? ? ? ? ' ? ? ? ? ? ? M ? ? ? ? ? ? ? ? > ? /5? Y&? 7S? =? ? ; ? ? ? ? ? M N ? G *?
*? C? ? ? ? ? ? ? ? ? @ ? ? ? ? ? ? ? B *? G? *? ? I ? ? ? ? @ > ? ? ? ? ? ? ? D
*? I? ? *? ? T ?
? ? ? @ > ? ? ? ? ? ? ? ] ? = *? OW? T*? X ? ?
X Y ? ? ? ? ? ? F ? ! ? T? ^ ? ? ]
? ? ? ! ? aY? c? ? a
? ? ? ;
? f? jp*? r? ?
e f ?
? ? ? ? ? ? . J? x? |? f? ?? T? ?
" # ? ? ? ? ? ? ?Z ? ? a J ? ?