public final class com.microsoft.azure.management.resources.fluentcore.utils.Utils
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.microsoft.azure.management.resources.fluentcore.utils.Utils
super_class: java.lang.Object
{
public static boolean toPrimitiveBoolean(java.lang.Boolean);
descriptor: (Ljava/lang/Boolean;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value Ljava/lang/Boolean;
MethodParameters:
Name Flags
value
public static int toPrimitiveInt(java.lang.Integer);
descriptor: (Ljava/lang/Integer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value Ljava/lang/Integer;
MethodParameters:
Name Flags
value
public static int toPrimitiveInt(java.lang.Long);
descriptor: (Ljava/lang/Long;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Long.longValue:()J
invokestatic com.google.common.primitives.Ints.checkedCast:(J)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value Ljava/lang/Long;
MethodParameters:
Name Flags
value
public static long toPrimitiveLong(java.lang.Long);
descriptor: (Ljava/lang/Long;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: lconst_0
lreturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Long.longValue:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value Ljava/lang/Long;
MethodParameters:
Name Flags
value
public static java.lang.String createOdataFilterForTags(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: ldc "tagname eq '%s'"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
ldc "tagname eq '%s' and tagvalue eq '%s'"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 tagName Ljava/lang/String;
0 5 1 tagValue Ljava/lang/String;
MethodParameters:
Name Flags
tagName
tagValue
public static <U extends com.microsoft.azure.management.resources.fluentcore.model.Indexable> rx.Observable<U> rootResource(rx.Observable<com.microsoft.azure.management.resources.fluentcore.model.Indexable>);
descriptor: (Lrx/Observable;)Lrx/Observable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual rx.Observable.last:()Lrx/Observable;
new com.microsoft.azure.management.resources.fluentcore.utils.Utils$1
dup
invokespecial com.microsoft.azure.management.resources.fluentcore.utils.Utils$1.<init>:()V
invokevirtual rx.Observable.map:(Lrx/functions/Func1;)Lrx/Observable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 stream Lrx/Observable<Lcom/microsoft/azure/management/resources/fluentcore/model/Indexable;>;
Signature: <U::Lcom/microsoft/azure/management/resources/fluentcore/model/Indexable;>(Lrx/Observable<Lcom/microsoft/azure/management/resources/fluentcore/model/Indexable;>;)Lrx/Observable<TU;>;
MethodParameters:
Name Flags
stream
public static rx.Observable<byte[]> downloadFileAsync(java.lang.String, retrofit2.Retrofit);
descriptor: (Ljava/lang/String;Lretrofit2/Retrofit;)Lrx/Observable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ldc Lcom/microsoft/azure/management/resources/fluentcore/utils/Utils$FileService;
invokevirtual retrofit2.Retrofit.create:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast com.microsoft.azure.management.resources.fluentcore.utils.Utils$FileService
astore 2
start local 2 1: aload 2
aload 0
invokeinterface com.microsoft.azure.management.resources.fluentcore.utils.Utils$FileService.download:(Ljava/lang/String;)Lrx/Observable;
astore 3
start local 3 2: aload 3
new com.microsoft.azure.management.resources.fluentcore.utils.Utils$2
dup
invokespecial com.microsoft.azure.management.resources.fluentcore.utils.Utils$2.<init>:()V
invokevirtual rx.Observable.map:(Lrx/functions/Func1;)Lrx/Observable;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 url Ljava/lang/String;
0 3 1 retrofit Lretrofit2/Retrofit;
1 3 2 service Lcom/microsoft/azure/management/resources/fluentcore/utils/Utils$FileService;
2 3 3 response Lrx/Observable<Lokhttp3/ResponseBody;>;
Signature: (Ljava/lang/String;Lretrofit2/Retrofit;)Lrx/Observable<[B>;
MethodParameters:
Name Flags
url
retrofit
public static <OutT, InT> com.microsoft.azure.PagedList<OutT> toPagedList(java.util.List<InT>, rx.functions.Func1<InT, OutT>);
descriptor: (Ljava/util/List;Lrx/functions/Func1;)Lcom/microsoft/azure/PagedList;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new com.microsoft.azure.management.resources.implementation.PageImpl
dup
invokespecial com.microsoft.azure.management.resources.implementation.PageImpl.<init>:()V
astore 2
start local 2 1: aload 2
aload 0
invokevirtual com.microsoft.azure.management.resources.implementation.PageImpl.setItems:(Ljava/util/List;)Lcom/microsoft/azure/management/resources/implementation/PageImpl;
pop
2: aload 2
aconst_null
invokevirtual com.microsoft.azure.management.resources.implementation.PageImpl.setNextPageLink:(Ljava/lang/String;)Lcom/microsoft/azure/management/resources/implementation/PageImpl;
pop
3: new com.microsoft.azure.management.resources.fluentcore.utils.Utils$3
dup
aload 2
invokespecial com.microsoft.azure.management.resources.fluentcore.utils.Utils$3.<init>:(Lcom/microsoft/azure/Page;)V
astore 3
start local 3 4: new com.microsoft.azure.management.resources.fluentcore.utils.Utils$4
dup
aload 1
invokespecial com.microsoft.azure.management.resources.fluentcore.utils.Utils$4.<init>:(Lrx/functions/Func1;)V
astore 4
start local 4 5: aload 4
aload 3
invokevirtual com.microsoft.azure.management.resources.fluentcore.utils.PagedListConverter.convert:(Lcom/microsoft/azure/PagedList;)Lcom/microsoft/azure/PagedList;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 list Ljava/util/List<TInT;>;
0 6 1 mapper Lrx/functions/Func1<TInT;TOutT;>;
1 6 2 page Lcom/microsoft/azure/management/resources/implementation/PageImpl<TInT;>;
4 6 3 pagedList Lcom/microsoft/azure/PagedList<TInT;>;
5 6 4 converter Lcom/microsoft/azure/management/resources/fluentcore/utils/PagedListConverter<TInT;TOutT;>;
Signature: <OutT:Ljava/lang/Object;InT:Ljava/lang/Object;>(Ljava/util/List<TInT;>;Lrx/functions/Func1<TInT;TOutT;>;)Lcom/microsoft/azure/PagedList<TOutT;>;
MethodParameters:
Name Flags
list
mapper final
public static void addToListIfNotExists(java.util.List<java.lang.String>, java.lang.String);
descriptor: (Ljava/util/List;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: java.util.List java.lang.String int top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 3: aload 3
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
4: iconst_1
istore 2
5: goto 7
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: StackMap locals: java.util.List java.lang.String int
StackMap stack:
iload 2
ifne 9
8: aload 0
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 list Ljava/util/List<Ljava/lang/String;>;
0 10 1 value Ljava/lang/String;
1 10 2 found Z
3 6 3 item Ljava/lang/String;
Signature: (Ljava/util/List<Ljava/lang/String;>;Ljava/lang/String;)V
MethodParameters:
Name Flags
list
value
public static void removeFromList(java.util.List<java.lang.String>, java.lang.String);
descriptor: (Ljava/util/List;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: iconst_m1
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: java.util.List java.lang.String int int top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 4: aload 4
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 7
5: iload 3
istore 2
6: goto 9
7: StackMap locals: java.util.List java.lang.String int int java.lang.String java.util.Iterator
StackMap stack:
iinc 3 1
end local 4 8: StackMap locals: java.util.List java.lang.String int int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
9: StackMap locals: java.util.List java.lang.String int int
StackMap stack:
iload 2
iconst_m1
if_icmpeq 11
10: aload 0
iload 2
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 list Ljava/util/List<Ljava/lang/String;>;
0 12 1 value Ljava/lang/String;
1 12 2 foundIndex I
2 12 3 i I
4 8 4 id Ljava/lang/String;
Signature: (Ljava/util/List<Ljava/lang/String;>;Ljava/lang/String;)V
MethodParameters:
Name Flags
list
value
public static com.microsoft.azure.AzureEnvironment (com.microsoft.rest.RestClient);
descriptor: (Lcom/microsoft/rest/RestClient;)Lcom/microsoft/azure/AzureEnvironment;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokevirtual com.microsoft.rest.RestClient.credentials:()Lcom/microsoft/rest/credentials/ServiceClientCredentials;
instanceof com.microsoft.azure.credentials.AzureTokenCredentials
ifeq 4
2: aload 0
invokevirtual com.microsoft.rest.RestClient.credentials:()Lcom/microsoft/rest/credentials/ServiceClientCredentials;
checkcast com.microsoft.azure.credentials.AzureTokenCredentials
invokevirtual com.microsoft.azure.credentials.AzureTokenCredentials.environment:()Lcom/microsoft/azure/AzureEnvironment;
astore 1
3: goto 14
4: StackMap locals: com.microsoft.azure.AzureEnvironment
StackMap stack:
aload 0
invokevirtual com.microsoft.rest.RestClient.retrofit:()Lretrofit2/Retrofit;
invokevirtual retrofit2.Retrofit.baseUrl:()Lokhttp3/HttpUrl;
invokevirtual okhttp3.HttpUrl.toString:()Ljava/lang/String;
astore 2
start local 2 5: invokestatic com.microsoft.azure.AzureEnvironment.knownEnvironments:()[Lcom/microsoft/azure/AzureEnvironment;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 11
StackMap locals: com.microsoft.rest.RestClient com.microsoft.azure.AzureEnvironment java.lang.String top int int com.microsoft.azure.AzureEnvironment[]
StackMap stack:
6: aload 6
iload 4
aaload
astore 3
start local 3 7: aload 3
invokevirtual com.microsoft.azure.AzureEnvironment.resourceManagerEndpoint:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
aload 2
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 10
8: aload 3
astore 1
9: goto 12
end local 3 10: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 5
if_icmplt 6
12: StackMap locals: com.microsoft.rest.RestClient com.microsoft.azure.AzureEnvironment java.lang.String
StackMap stack:
aload 1
ifnonnull 14
13: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unknown resource manager endpoint "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 14: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 restClient Lcom/microsoft/rest/RestClient;
1 15 1 environment Lcom/microsoft/azure/AzureEnvironment;
5 14 2 baseUrl Ljava/lang/String;
7 10 3 env Lcom/microsoft/azure/AzureEnvironment;
MethodParameters:
Name Flags
restClient
public static java.lang.String resourceGroupId(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokestatic com.microsoft.azure.management.resources.fluentcore.arm.ResourceId.fromString:(Ljava/lang/String;)Lcom/microsoft/azure/management/resources/fluentcore/arm/ResourceId;
astore 1
start local 1 1: ldc "/subscriptions/%s/resourceGroups/%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
2: aload 1
invokevirtual com.microsoft.azure.management.resources.fluentcore.arm.ResourceId.subscriptionId:()Ljava/lang/String;
aastore
dup
iconst_1
3: aload 1
invokevirtual com.microsoft.azure.management.resources.fluentcore.arm.ResourceId.resourceGroupName:()Ljava/lang/String;
aastore
4: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 id Ljava/lang/String;
1 5 1 resourceId Lcom/microsoft/azure/management/resources/fluentcore/arm/ResourceId;
MethodParameters:
Name Flags
id
public static java.lang.String getResponseBodyInString(okhttp3.ResponseBody);
descriptor: (Lokhttp3/ResponseBody;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual okhttp3.ResponseBody.source:()Lokio/BufferedSource;
astore 1
start local 1 3: aload 1
ldc 9223372036854775807
invokeinterface okio.BufferedSource.request:(J)Z
pop
4: aload 1
invokeinterface okio.BufferedSource.buffer:()Lokio/Buffer;
astore 2
start local 2 5: aload 2
invokevirtual okio.Buffer.clone:()Lokio/Buffer;
invokevirtual okio.Buffer.readUtf8:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 responseBody Lokhttp3/ResponseBody;
3 6 1 source Lokio/BufferedSource;
5 6 2 buffer Lokio/Buffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
responseBody
public static java.lang.String getStorageConnectionString(java.lang.String, java.lang.String, com.microsoft.rest.RestClient);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lcom/microsoft/rest/RestClient;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.microsoft.azure.AzureEnvironment.AZURE:Lcom/microsoft/azure/AzureEnvironment;
astore 3
start local 3 1: aload 2
ifnull 7
2: aload 2
invokestatic com.microsoft.azure.management.resources.fluentcore.utils.Utils.extractAzureEnvironment:(Lcom/microsoft/rest/RestClient;)Lcom/microsoft/azure/AzureEnvironment;
astore 4
start local 4 3: aload 4
ifnull 7
aload 4
invokevirtual com.microsoft.azure.AzureEnvironment.storageEndpointSuffix:()Ljava/lang/String;
ifnull 7
4: aload 4
astore 3
end local 4 5: goto 7
StackMap locals: java.lang.String java.lang.String com.microsoft.rest.RestClient com.microsoft.azure.AzureEnvironment
StackMap stack: java.lang.IllegalArgumentException
6: pop
7: StackMap locals:
StackMap stack:
aload 3
invokevirtual com.microsoft.azure.AzureEnvironment.storageEndpointSuffix:()Ljava/lang/String;
ldc "^\\.*"
ldc ""
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 8: ldc "DefaultEndpointsProtocol=https;AccountName=%s;AccountKey=%s;EndpointSuffix=%s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
9: aload 0
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
aload 4
aastore
10: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 accountName Ljava/lang/String;
0 11 1 accountKey Ljava/lang/String;
0 11 2 restClient Lcom/microsoft/rest/RestClient;
1 11 3 environment Lcom/microsoft/azure/AzureEnvironment;
3 5 4 environment1 Lcom/microsoft/azure/AzureEnvironment;
8 11 4 suffix Ljava/lang/String;
Exception table:
from to target type
2 5 6 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
accountName
accountKey
restClient
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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/microsoft/azure/management/resources/fluentcore/utils/Utils;
}
SourceFile: "Utils.java"
NestMembers:
com.microsoft.azure.management.resources.fluentcore.utils.Utils$1 com.microsoft.azure.management.resources.fluentcore.utils.Utils$2 com.microsoft.azure.management.resources.fluentcore.utils.Utils$3 com.microsoft.azure.management.resources.fluentcore.utils.Utils$4 com.microsoft.azure.management.resources.fluentcore.utils.Utils$FileService
InnerClasses:
com.microsoft.azure.management.resources.fluentcore.utils.Utils$1
com.microsoft.azure.management.resources.fluentcore.utils.Utils$2
com.microsoft.azure.management.resources.fluentcore.utils.Utils$3
com.microsoft.azure.management.resources.fluentcore.utils.Utils$4
private abstract FileService = com.microsoft.azure.management.resources.fluentcore.utils.Utils$FileService of com.microsoft.azure.management.resources.fluentcore.utils.Utils