public final class com.google.common.util.concurrent.Callables
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.util.concurrent.Callables
super_class: java.lang.Object
{
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/util/concurrent/Callables;
public static <T> java.util.concurrent.Callable<T> returning(T);
descriptor: (Ljava/lang/Object;)Ljava/util/concurrent/Callable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.util.concurrent.Callables$1
dup
aload 0
invokespecial com.google.common.util.concurrent.Callables$1.<init>:(Ljava/lang/Object;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value TT;
Signature: <T:Ljava/lang/Object;>(TT;)Ljava/util/concurrent/Callable<TT;>;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
value final
public static <T> com.google.common.util.concurrent.AsyncCallable<T> asAsyncCallable(java.util.concurrent.Callable<T>, com.google.common.util.concurrent.ListeningExecutorService);
descriptor: (Ljava/util/concurrent/Callable;Lcom/google/common/util/concurrent/ListeningExecutorService;)Lcom/google/common/util/concurrent/AsyncCallable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: new com.google.common.util.concurrent.Callables$2
dup
aload 1
aload 0
invokespecial com.google.common.util.concurrent.Callables$2.<init>:(Lcom/google/common/util/concurrent/ListeningExecutorService;Ljava/util/concurrent/Callable;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 callable Ljava/util/concurrent/Callable<TT;>;
0 3 1 listeningExecutorService Lcom/google/common/util/concurrent/ListeningExecutorService;
Signature: <T:Ljava/lang/Object;>(Ljava/util/concurrent/Callable<TT;>;Lcom/google/common/util/concurrent/ListeningExecutorService;)Lcom/google/common/util/concurrent/AsyncCallable<TT;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
callable final
listeningExecutorService final
static <T> java.util.concurrent.Callable<T> threadRenaming(java.util.concurrent.Callable<T>, com.google.common.base.Supplier<java.lang.String>);
descriptor: (Ljava/util/concurrent/Callable;Lcom/google/common/base/Supplier;)Ljava/util/concurrent/Callable;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: new com.google.common.util.concurrent.Callables$3
dup
aload 1
aload 0
invokespecial com.google.common.util.concurrent.Callables$3.<init>:(Lcom/google/common/base/Supplier;Ljava/util/concurrent/Callable;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 callable Ljava/util/concurrent/Callable<TT;>;
0 3 1 nameSupplier Lcom/google/common/base/Supplier<Ljava/lang/String;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/concurrent/Callable<TT;>;Lcom/google/common/base/Supplier<Ljava/lang/String;>;)Ljava/util/concurrent/Callable<TT;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
callable final
nameSupplier final
static java.lang.Runnable threadRenaming(java.lang.Runnable, com.google.common.base.Supplier<java.lang.String>);
descriptor: (Ljava/lang/Runnable;Lcom/google/common/base/Supplier;)Ljava/lang/Runnable;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: new com.google.common.util.concurrent.Callables$4
dup
aload 1
aload 0
invokespecial com.google.common.util.concurrent.Callables$4.<init>:(Lcom/google/common/base/Supplier;Ljava/lang/Runnable;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 task Ljava/lang/Runnable;
0 3 1 nameSupplier Lcom/google/common/base/Supplier<Ljava/lang/String;>;
Signature: (Ljava/lang/Runnable;Lcom/google/common/base/Supplier<Ljava/lang/String;>;)Ljava/lang/Runnable;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
task final
nameSupplier final
private static boolean trySetName(java.lang.String, java.lang.Thread);
descriptor: (Ljava/lang/String;Ljava/lang/Thread;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual java.lang.Thread.setName:(Ljava/lang/String;)V
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 threadName Ljava/lang/String;
0 4 1 currentThread Ljava/lang/Thread;
Exception table:
from to target type
0 1 2 Class java.lang.SecurityException
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
threadName final
currentThread
}
SourceFile: "Callables.java"
NestMembers:
com.google.common.util.concurrent.Callables$1 com.google.common.util.concurrent.Callables$2 com.google.common.util.concurrent.Callables$3 com.google.common.util.concurrent.Callables$4
InnerClasses:
com.google.common.util.concurrent.Callables$1
com.google.common.util.concurrent.Callables$2
com.google.common.util.concurrent.Callables$3
com.google.common.util.concurrent.Callables$4
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(emulated = true)