public final class com.google.common.util.concurrent.ThreadFactoryBuilder
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.util.concurrent.ThreadFactoryBuilder
super_class: java.lang.Object
{
private java.lang.String nameFormat;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.Boolean daemon;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
private java.lang.Integer priority;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
private java.lang.Thread$UncaughtExceptionHandler uncaughtExceptionHandler;
descriptor: Ljava/lang/Thread$UncaughtExceptionHandler;
flags: (0x0002) ACC_PRIVATE
private java.util.concurrent.ThreadFactory backingThreadFactory;
descriptor: Ljava/util/concurrent/ThreadFactory;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.google.common.util.concurrent.ThreadFactoryBuilder.nameFormat:Ljava/lang/String;
2: aload 0
aconst_null
putfield com.google.common.util.concurrent.ThreadFactoryBuilder.daemon:Ljava/lang/Boolean;
3: aload 0
aconst_null
putfield com.google.common.util.concurrent.ThreadFactoryBuilder.priority:Ljava/lang/Integer;
4: aload 0
aconst_null
putfield com.google.common.util.concurrent.ThreadFactoryBuilder.uncaughtExceptionHandler:Ljava/lang/Thread$UncaughtExceptionHandler;
5: aload 0
aconst_null
putfield com.google.common.util.concurrent.ThreadFactoryBuilder.backingThreadFactory:Ljava/util/concurrent/ThreadFactory;
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/util/concurrent/ThreadFactoryBuilder;
public com.google.common.util.concurrent.ThreadFactoryBuilder setNameFormat(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/google/common/util/concurrent/ThreadFactoryBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
iconst_1
anewarray java.lang.Object
dup
iconst_0
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic com.google.common.util.concurrent.ThreadFactoryBuilder.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
pop
1: aload 0
aload 1
putfield com.google.common.util.concurrent.ThreadFactoryBuilder.nameFormat:Ljava/lang/String;
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/util/concurrent/ThreadFactoryBuilder;
0 3 1 nameFormat Ljava/lang/String;
MethodParameters:
Name Flags
nameFormat
public com.google.common.util.concurrent.ThreadFactoryBuilder setDaemon(boolean);
descriptor: (Z)Lcom/google/common/util/concurrent/ThreadFactoryBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
putfield com.google.common.util.concurrent.ThreadFactoryBuilder.daemon:Ljava/lang/Boolean;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/util/concurrent/ThreadFactoryBuilder;
0 2 1 daemon Z
MethodParameters:
Name Flags
daemon
public com.google.common.util.concurrent.ThreadFactoryBuilder setPriority(int);
descriptor: (I)Lcom/google/common/util/concurrent/ThreadFactoryBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
if_icmplt 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
2: StackMap locals:
StackMap stack: int
ldc "Thread priority (%s) must be >= %s"
3: iload 1
4: iconst_1
5: invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;II)V
6: iload 1
bipush 10
if_icmpgt 7
iconst_1
goto 8
StackMap locals:
StackMap stack:
7: iconst_0
8: StackMap locals:
StackMap stack: int
ldc "Thread priority (%s) must be <= %s"
9: iload 1
10: bipush 10
11: invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;II)V
12: aload 0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield com.google.common.util.concurrent.ThreadFactoryBuilder.priority:Ljava/lang/Integer;
13: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/google/common/util/concurrent/ThreadFactoryBuilder;
0 14 1 priority I
MethodParameters:
Name Flags
priority
public com.google.common.util.concurrent.ThreadFactoryBuilder setUncaughtExceptionHandler(java.lang.Thread$UncaughtExceptionHandler);
descriptor: (Ljava/lang/Thread$UncaughtExceptionHandler;)Lcom/google/common/util/concurrent/ThreadFactoryBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Thread$UncaughtExceptionHandler
putfield com.google.common.util.concurrent.ThreadFactoryBuilder.uncaughtExceptionHandler:Ljava/lang/Thread$UncaughtExceptionHandler;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/util/concurrent/ThreadFactoryBuilder;
0 2 1 uncaughtExceptionHandler Ljava/lang/Thread$UncaughtExceptionHandler;
MethodParameters:
Name Flags
uncaughtExceptionHandler
public com.google.common.util.concurrent.ThreadFactoryBuilder setThreadFactory(java.util.concurrent.ThreadFactory);
descriptor: (Ljava/util/concurrent/ThreadFactory;)Lcom/google/common/util/concurrent/ThreadFactoryBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.concurrent.ThreadFactory
putfield com.google.common.util.concurrent.ThreadFactoryBuilder.backingThreadFactory:Ljava/util/concurrent/ThreadFactory;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/util/concurrent/ThreadFactoryBuilder;
0 2 1 backingThreadFactory Ljava/util/concurrent/ThreadFactory;
MethodParameters:
Name Flags
backingThreadFactory
public java.util.concurrent.ThreadFactory build();
descriptor: ()Ljava/util/concurrent/ThreadFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.util.concurrent.ThreadFactoryBuilder.doBuild:(Lcom/google/common/util/concurrent/ThreadFactoryBuilder;)Ljava/util/concurrent/ThreadFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/ThreadFactoryBuilder;
RuntimeVisibleAnnotations:
com.google.errorprone.annotations.CheckReturnValue()
private static java.util.concurrent.ThreadFactory doBuild(com.google.common.util.concurrent.ThreadFactoryBuilder);
descriptor: (Lcom/google/common/util/concurrent/ThreadFactoryBuilder;)Ljava/util/concurrent/ThreadFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=7, args_size=1
start local 0 0: aload 0
getfield com.google.common.util.concurrent.ThreadFactoryBuilder.nameFormat:Ljava/lang/String;
astore 1
start local 1 1: aload 0
getfield com.google.common.util.concurrent.ThreadFactoryBuilder.daemon:Ljava/lang/Boolean;
astore 2
start local 2 2: aload 0
getfield com.google.common.util.concurrent.ThreadFactoryBuilder.priority:Ljava/lang/Integer;
astore 3
start local 3 3: aload 0
getfield com.google.common.util.concurrent.ThreadFactoryBuilder.uncaughtExceptionHandler:Ljava/lang/Thread$UncaughtExceptionHandler;
astore 4
start local 4 4: aload 0
getfield com.google.common.util.concurrent.ThreadFactoryBuilder.backingThreadFactory:Ljava/util/concurrent/ThreadFactory;
ifnull 6
5: aload 0
getfield com.google.common.util.concurrent.ThreadFactoryBuilder.backingThreadFactory:Ljava/util/concurrent/ThreadFactory;
goto 7
6: StackMap locals: com.google.common.util.concurrent.ThreadFactoryBuilder java.lang.String java.lang.Boolean java.lang.Integer java.lang.Thread$UncaughtExceptionHandler
StackMap stack:
invokestatic java.util.concurrent.Executors.defaultThreadFactory:()Ljava/util/concurrent/ThreadFactory;
7: StackMap locals:
StackMap stack: java.util.concurrent.ThreadFactory
astore 5
start local 5 8: aload 1
ifnull 9
new java.util.concurrent.atomic.AtomicLong
dup
lconst_0
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:(J)V
goto 10
StackMap locals: java.util.concurrent.ThreadFactory
StackMap stack:
9: aconst_null
StackMap locals:
StackMap stack: java.util.concurrent.atomic.AtomicLong
10: astore 6
start local 6 11: new com.google.common.util.concurrent.ThreadFactoryBuilder$1
dup
aload 5
aload 1
aload 6
aload 2
aload 3
aload 4
invokespecial com.google.common.util.concurrent.ThreadFactoryBuilder$1.<init>:(Ljava/util/concurrent/ThreadFactory;Ljava/lang/String;Ljava/util/concurrent/atomic/AtomicLong;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Thread$UncaughtExceptionHandler;)V
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 builder Lcom/google/common/util/concurrent/ThreadFactoryBuilder;
1 12 1 nameFormat Ljava/lang/String;
2 12 2 daemon Ljava/lang/Boolean;
3 12 3 priority Ljava/lang/Integer;
4 12 4 uncaughtExceptionHandler Ljava/lang/Thread$UncaughtExceptionHandler;
8 12 5 backingThreadFactory Ljava/util/concurrent/ThreadFactory;
11 12 6 count Ljava/util/concurrent/atomic/AtomicLong;
MethodParameters:
Name Flags
builder
private static java.lang.String format(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic java.util.Locale.ROOT:Ljava/util/Locale;
aload 0
aload 1
invokestatic java.lang.String.format:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 format Ljava/lang/String;
0 1 1 args [Ljava/lang/Object;
MethodParameters:
Name Flags
format
args
}
SourceFile: "ThreadFactoryBuilder.java"
NestMembers:
com.google.common.util.concurrent.ThreadFactoryBuilder$1
InnerClasses:
com.google.common.util.concurrent.ThreadFactoryBuilder$1
public abstract UncaughtExceptionHandler = java.lang.Thread$UncaughtExceptionHandler of java.lang.Thread
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
com.google.common.annotations.GwtIncompatible()