public class com.microsoft.azure.management.resources.fluentcore.utils.SdkContext
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.microsoft.azure.management.resources.fluentcore.utils.SdkContext
super_class: java.lang.Object
{
private static com.microsoft.azure.management.resources.fluentcore.utils.ResourceNamerFactory resourceNamerFactory;
descriptor: Lcom/microsoft/azure/management/resources/fluentcore/utils/ResourceNamerFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static com.microsoft.azure.management.resources.fluentcore.utils.DelayProvider delayProvider;
descriptor: Lcom/microsoft/azure/management/resources/fluentcore/utils/DelayProvider;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static rx.Scheduler rxScheduler;
descriptor: Lrx/Scheduler;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static com.microsoft.azure.management.resources.fluentcore.utils.FileProvider fileProvider;
descriptor: Lcom/microsoft/azure/management/resources/fluentcore/utils/FileProvider;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.microsoft.azure.management.resources.fluentcore.utils.ResourceNamerFactory
dup
invokespecial com.microsoft.azure.management.resources.fluentcore.utils.ResourceNamerFactory.<init>:()V
putstatic com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.resourceNamerFactory:Lcom/microsoft/azure/management/resources/fluentcore/utils/ResourceNamerFactory;
1: new com.microsoft.azure.management.resources.fluentcore.utils.DelayProvider
dup
invokespecial com.microsoft.azure.management.resources.fluentcore.utils.DelayProvider.<init>:()V
putstatic com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.delayProvider:Lcom/microsoft/azure/management/resources/fluentcore/utils/DelayProvider;
2: invokestatic rx.schedulers.Schedulers.io:()Lrx/Scheduler;
putstatic com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.rxScheduler:Lrx/Scheduler;
3: new com.microsoft.azure.management.resources.fluentcore.utils.FileProvider
dup
invokespecial com.microsoft.azure.management.resources.fluentcore.utils.FileProvider.<init>:()V
putstatic com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.fileProvider:Lcom/microsoft/azure/management/resources/fluentcore/utils/FileProvider;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/microsoft/azure/management/resources/fluentcore/utils/SdkContext;
public static void setResourceNamerFactory(com.microsoft.azure.management.resources.fluentcore.utils.ResourceNamerFactory);
descriptor: (Lcom/microsoft/azure/management/resources/fluentcore/utils/ResourceNamerFactory;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
putstatic com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.resourceNamerFactory:Lcom/microsoft/azure/management/resources/fluentcore/utils/ResourceNamerFactory;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 resourceNamerFactory Lcom/microsoft/azure/management/resources/fluentcore/utils/ResourceNamerFactory;
MethodParameters:
Name Flags
resourceNamerFactory
public static com.microsoft.azure.management.resources.fluentcore.utils.ResourceNamerFactory getResourceNamerFactory();
descriptor: ()Lcom/microsoft/azure/management/resources/fluentcore/utils/ResourceNamerFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.resourceNamerFactory:Lcom/microsoft/azure/management/resources/fluentcore/utils/ResourceNamerFactory;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String randomResourceName(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: invokestatic com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.getResourceNamerFactory:()Lcom/microsoft/azure/management/resources/fluentcore/utils/ResourceNamerFactory;
ldc ""
invokevirtual com.microsoft.azure.management.resources.fluentcore.utils.ResourceNamerFactory.createResourceNamer:(Ljava/lang/String;)Lcom/microsoft/azure/management/resources/fluentcore/utils/ResourceNamer;
astore 2
start local 2 1: aload 2
aload 0
iload 1
invokevirtual com.microsoft.azure.management.resources.fluentcore.utils.ResourceNamer.randomName:(Ljava/lang/String;I)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 prefix Ljava/lang/String;
0 2 1 maxLen I
1 2 2 resourceNamer Lcom/microsoft/azure/management/resources/fluentcore/utils/ResourceNamer;
MethodParameters:
Name Flags
prefix
maxLen
public static java.lang.String[] randomResourceNames(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iload 2
anewarray java.lang.String
astore 3
start local 3 1: invokestatic com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.getResourceNamerFactory:()Lcom/microsoft/azure/management/resources/fluentcore/utils/ResourceNamerFactory;
ldc ""
invokevirtual com.microsoft.azure.management.resources.fluentcore.utils.ResourceNamerFactory.createResourceNamer:(Ljava/lang/String;)Lcom/microsoft/azure/management/resources/fluentcore/utils/ResourceNamer;
astore 4
start local 4 2: iconst_0
istore 5
start local 5 3: goto 6
4: StackMap locals: java.lang.String[] com.microsoft.azure.management.resources.fluentcore.utils.ResourceNamer int
StackMap stack:
aload 3
iload 5
aload 4
aload 0
iload 1
invokevirtual com.microsoft.azure.management.resources.fluentcore.utils.ResourceNamer.randomName:(Ljava/lang/String;I)Ljava/lang/String;
aastore
5: iinc 5 1
StackMap locals:
StackMap stack:
6: iload 5
iload 2
if_icmplt 4
end local 5 7: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 prefix Ljava/lang/String;
0 8 1 maxLen I
0 8 2 count I
1 8 3 names [Ljava/lang/String;
2 8 4 resourceNamer Lcom/microsoft/azure/management/resources/fluentcore/utils/ResourceNamer;
3 7 5 i I
MethodParameters:
Name Flags
prefix
maxLen
count
public static java.lang.String randomUuid();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: invokestatic com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.getResourceNamerFactory:()Lcom/microsoft/azure/management/resources/fluentcore/utils/ResourceNamerFactory;
ldc ""
invokevirtual com.microsoft.azure.management.resources.fluentcore.utils.ResourceNamerFactory.createResourceNamer:(Ljava/lang/String;)Lcom/microsoft/azure/management/resources/fluentcore/utils/ResourceNamer;
astore 0
start local 0 1: aload 0
invokevirtual com.microsoft.azure.management.resources.fluentcore.utils.ResourceNamer.randomUuid:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 resourceNamer Lcom/microsoft/azure/management/resources/fluentcore/utils/ResourceNamer;
public static void setDelayProvider(com.microsoft.azure.management.resources.fluentcore.utils.DelayProvider);
descriptor: (Lcom/microsoft/azure/management/resources/fluentcore/utils/DelayProvider;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
putstatic com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.delayProvider:Lcom/microsoft/azure/management/resources/fluentcore/utils/DelayProvider;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 delayProvider Lcom/microsoft/azure/management/resources/fluentcore/utils/DelayProvider;
MethodParameters:
Name Flags
delayProvider
public static void sleep(int);
descriptor: (I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.delayProvider:Lcom/microsoft/azure/management/resources/fluentcore/utils/DelayProvider;
iload 0
invokevirtual com.microsoft.azure.management.resources.fluentcore.utils.DelayProvider.sleep:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 milliseconds I
MethodParameters:
Name Flags
milliseconds
public static org.joda.time.DateTime dateTimeNow();
descriptor: ()Lorg/joda/time/DateTime;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: invokestatic com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.getResourceNamerFactory:()Lcom/microsoft/azure/management/resources/fluentcore/utils/ResourceNamerFactory;
ldc ""
invokevirtual com.microsoft.azure.management.resources.fluentcore.utils.ResourceNamerFactory.createResourceNamer:(Ljava/lang/String;)Lcom/microsoft/azure/management/resources/fluentcore/utils/ResourceNamer;
astore 0
start local 0 1: aload 0
invokevirtual com.microsoft.azure.management.resources.fluentcore.utils.ResourceNamer.dateTimeNow:()Lorg/joda/time/DateTime;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 resourceNamer Lcom/microsoft/azure/management/resources/fluentcore/utils/ResourceNamer;
public static <T> rx.Observable<T> delayedEmitAsync(T, int);
descriptor: (Ljava/lang/Object;I)Lrx/Observable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.delayProvider:Lcom/microsoft/azure/management/resources/fluentcore/utils/DelayProvider;
aload 0
iload 1
invokevirtual com.microsoft.azure.management.resources.fluentcore.utils.DelayProvider.delayedEmitAsync:(Ljava/lang/Object;I)Lrx/Observable;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 event TT;
0 1 1 milliseconds I
Signature: <T:Ljava/lang/Object;>(TT;I)Lrx/Observable<TT;>;
MethodParameters:
Name Flags
event
milliseconds
public static rx.Scheduler getRxScheduler();
descriptor: ()Lrx/Scheduler;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.rxScheduler:Lrx/Scheduler;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static void setRxScheduler(rx.Scheduler);
descriptor: (Lrx/Scheduler;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
putstatic com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.rxScheduler:Lrx/Scheduler;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 rxScheduler Lrx/Scheduler;
MethodParameters:
Name Flags
rxScheduler
public static void setFileProvider(com.microsoft.azure.management.resources.fluentcore.utils.FileProvider);
descriptor: (Lcom/microsoft/azure/management/resources/fluentcore/utils/FileProvider;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
putstatic com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.fileProvider:Lcom/microsoft/azure/management/resources/fluentcore/utils/FileProvider;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 fileProvider Lcom/microsoft/azure/management/resources/fluentcore/utils/FileProvider;
MethodParameters:
Name Flags
fileProvider
public static void prepareFileLocation(java.io.File[]);
descriptor: ([Ljava/io/File;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.microsoft.azure.management.resources.fluentcore.utils.SdkContext.fileProvider:Lcom/microsoft/azure/management/resources/fluentcore/utils/FileProvider;
aload 0
invokevirtual com.microsoft.azure.management.resources.fluentcore.utils.FileProvider.prepareFileLocation:([Ljava/io/File;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 files [Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
files
}
SourceFile: "SdkContext.java"