public class com.sun.tools.sjavac.pubapi.PubApi implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.sjavac.pubapi.PubApi
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5926627347801986850
public final java.util.Map<java.lang.String, com.sun.tools.sjavac.pubapi.PubType> types;
descriptor: Ljava/util/Map;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/sun/tools/sjavac/pubapi/PubType;>;
public final java.util.Map<java.lang.String, com.sun.tools.sjavac.pubapi.PubVar> variables;
descriptor: Ljava/util/Map;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/sun/tools/sjavac/pubapi/PubVar;>;
public final java.util.Map<java.lang.String, com.sun.tools.sjavac.pubapi.PubMethod> methods;
descriptor: Ljava/util/Map;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/sun/tools/sjavac/pubapi/PubMethod;>;
public final java.util.Map<java.lang.String, com.sun.tools.sjavac.pubapi.PubVar> recordComponents;
descriptor: Ljava/util/Map;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/sun/tools/sjavac/pubapi/PubVar;>;
private com.sun.tools.sjavac.pubapi.PubType lastInsertedType;
descriptor: Lcom/sun/tools/sjavac/pubapi/PubType;
flags: (0x0002) ACC_PRIVATE
private static final java.lang.String MODIFIERS;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.regex.Pattern MOD_PATTERN;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.regex.Pattern METHOD_PATTERN;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.regex.Pattern VAR_PATTERN;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.regex.Pattern TYPE_PATTERN;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: invokestatic javax.lang.model.element.Modifier.values:()[Ljavax/lang/model/element/Modifier;
invokestatic java.util.stream.Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
1: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
java/lang/Enum.name()Ljava/lang/String; (5)
(Ljavax/lang/model/element/Modifier;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
2: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
com/sun/tools/javac/util/StringUtils.toLowerCase(Ljava/lang/String;)Ljava/lang/String; (6)
(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
3: ldc "|"
ldc "("
ldc ")"
invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.String
4: putstatic com.sun.tools.sjavac.pubapi.PubApi.MODIFIERS:Ljava/lang/String;
5: new java.lang.StringBuilder
dup
ldc "("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic com.sun.tools.sjavac.pubapi.PubApi.MODIFIERS:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " )*"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic com.sun.tools.sjavac.pubapi.PubApi.MOD_PATTERN:Ljava/util/regex/Pattern;
6: ldc "(?<ret>.+?) (?<name>\\S+)\\((?<params>.*)\\)( throws (?<throws>.*))?"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic com.sun.tools.sjavac.pubapi.PubApi.METHOD_PATTERN:Ljava/util/regex/Pattern;
7: new java.lang.StringBuilder
dup
ldc "VAR (?<modifiers>("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic com.sun.tools.sjavac.pubapi.PubApi.MODIFIERS:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " )*)(?<type>.+?) (?<id>\\S+)( = (?<val>.*))?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic com.sun.tools.sjavac.pubapi.PubApi.VAR_PATTERN:Ljava/util/regex/Pattern;
8: new java.lang.StringBuilder
dup
ldc "TYPE (?<modifiers>("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic com.sun.tools.sjavac.pubapi.PubApi.MODIFIERS:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " )*)(?<fullyQualified>\\S+)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic com.sun.tools.sjavac.pubapi.PubApi.TYPE_PATTERN:Ljava/util/regex/Pattern;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.tools.sjavac.pubapi.PubApi.types:Ljava/util/Map;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.tools.sjavac.pubapi.PubApi.variables:Ljava/util/Map;
3: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.tools.sjavac.pubapi.PubApi.methods:Ljava/util/Map;
4: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.tools.sjavac.pubapi.PubApi.recordComponents:Ljava/util/Map;
5: aload 0
aconst_null
putfield com.sun.tools.sjavac.pubapi.PubApi.lastInsertedType:Lcom/sun/tools/sjavac/pubapi/PubType;
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/sjavac/pubapi/PubApi;
public void <init>(java.util.Collection<com.sun.tools.sjavac.pubapi.PubType>, java.util.Collection<com.sun.tools.sjavac.pubapi.PubVar>, java.util.Collection<com.sun.tools.sjavac.pubapi.PubMethod>);
descriptor: (Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.tools.sjavac.pubapi.PubApi.types:Ljava/util/Map;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.tools.sjavac.pubapi.PubApi.variables:Ljava/util/Map;
3: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.tools.sjavac.pubapi.PubApi.methods:Ljava/util/Map;
4: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.tools.sjavac.pubapi.PubApi.recordComponents:Ljava/util/Map;
5: aload 0
aconst_null
putfield com.sun.tools.sjavac.pubapi.PubApi.lastInsertedType:Lcom/sun/tools/sjavac/pubapi/PubType;
6: aload 1
aload 0
invokedynamic accept(Lcom/sun/tools/sjavac/pubapi/PubApi;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
com/sun/tools/sjavac/pubapi/PubApi.addPubType(Lcom/sun/tools/sjavac/pubapi/PubType;)V (5)
(Lcom/sun/tools/sjavac/pubapi/PubType;)V
invokeinterface java.util.Collection.forEach:(Ljava/util/function/Consumer;)V
7: aload 2
aload 0
invokedynamic accept(Lcom/sun/tools/sjavac/pubapi/PubApi;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
com/sun/tools/sjavac/pubapi/PubApi.addPubVar(Lcom/sun/tools/sjavac/pubapi/PubVar;)V (5)
(Lcom/sun/tools/sjavac/pubapi/PubVar;)V
invokeinterface java.util.Collection.forEach:(Ljava/util/function/Consumer;)V
8: aload 3
aload 0
invokedynamic accept(Lcom/sun/tools/sjavac/pubapi/PubApi;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
com/sun/tools/sjavac/pubapi/PubApi.addPubMethod(Lcom/sun/tools/sjavac/pubapi/PubMethod;)V (5)
(Lcom/sun/tools/sjavac/pubapi/PubMethod;)V
invokeinterface java.util.Collection.forEach:(Ljava/util/function/Consumer;)V
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/sjavac/pubapi/PubApi;
0 10 1 types Ljava/util/Collection<Lcom/sun/tools/sjavac/pubapi/PubType;>;
0 10 2 variables Ljava/util/Collection<Lcom/sun/tools/sjavac/pubapi/PubVar;>;
0 10 3 methods Ljava/util/Collection<Lcom/sun/tools/sjavac/pubapi/PubMethod;>;
Signature: (Ljava/util/Collection<Lcom/sun/tools/sjavac/pubapi/PubType;>;Ljava/util/Collection<Lcom/sun/tools/sjavac/pubapi/PubVar;>;Ljava/util/Collection<Lcom/sun/tools/sjavac/pubapi/PubMethod;>;)V
MethodParameters:
Name Flags
types
variables
methods
public boolean isBackwardCompatibleWith(com.sun.tools.sjavac.pubapi.PubApi);
descriptor: (Lcom/sun/tools/sjavac/pubapi/PubApi;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.tools.sjavac.pubapi.PubApi.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/sjavac/pubapi/PubApi;
0 1 1 older Lcom/sun/tools/sjavac/pubapi/PubApi;
MethodParameters:
Name Flags
older
private static java.lang.String typeLine(com.sun.tools.sjavac.pubapi.PubType);
descriptor: (Lcom/sun/tools/sjavac/pubapi/PubType;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.sjavac.pubapi.PubType.fqName:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 2
1: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "empty class name "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
ldc "TYPE %s%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.sun.tools.sjavac.pubapi.PubType.modifiers:Ljava/util/Set;
invokestatic com.sun.tools.sjavac.pubapi.PubApi.asString:(Ljava/util/Set;)Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield com.sun.tools.sjavac.pubapi.PubType.fqName:Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 type Lcom/sun/tools/sjavac/pubapi/PubType;
MethodParameters:
Name Flags
type
private static java.lang.String varLine(com.sun.tools.sjavac.pubapi.PubVar);
descriptor: (Lcom/sun/tools/sjavac/pubapi/PubVar;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: ldc "VAR %s%s %s%s"
iconst_4
anewarray java.lang.Object
dup
iconst_0
1: aload 0
getfield com.sun.tools.sjavac.pubapi.PubVar.modifiers:Ljava/util/Set;
invokestatic com.sun.tools.sjavac.pubapi.PubApi.asString:(Ljava/util/Set;)Ljava/lang/String;
aastore
dup
iconst_1
2: aload 0
getfield com.sun.tools.sjavac.pubapi.PubVar.type:Lcom/sun/tools/sjavac/pubapi/TypeDesc;
invokestatic com.sun.tools.sjavac.pubapi.TypeDesc.encodeAsString:(Lcom/sun/tools/sjavac/pubapi/TypeDesc;)Ljava/lang/String;
aastore
dup
iconst_2
3: aload 0
getfield com.sun.tools.sjavac.pubapi.PubVar.identifier:Ljava/lang/String;
aastore
dup
iconst_3
4: aload 0
invokevirtual com.sun.tools.sjavac.pubapi.PubVar.getConstValue:()Ljava/util/Optional;
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
com/sun/tools/sjavac/pubapi/PubApi.lambda$5(Ljava/lang/String;)Ljava/lang/String; (6)
(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.util.Optional.map:(Ljava/util/function/Function;)Ljava/util/Optional;
ldc ""
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
aastore
5: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 var Lcom/sun/tools/sjavac/pubapi/PubVar;
MethodParameters:
Name Flags
var
private static java.lang.String methodLine(com.sun.tools.sjavac.pubapi.PubMethod);
descriptor: (Lcom/sun/tools/sjavac/pubapi/PubMethod;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: ldc "METHOD %s%s%s %s(%s)%s"
bipush 6
anewarray java.lang.Object
dup
iconst_0
1: aload 0
getfield com.sun.tools.sjavac.pubapi.PubMethod.modifiers:Ljava/util/Set;
invokestatic com.sun.tools.sjavac.pubapi.PubApi.asString:(Ljava/util/Set;)Ljava/lang/String;
aastore
dup
iconst_1
2: aload 0
getfield com.sun.tools.sjavac.pubapi.PubMethod.typeParams:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 3
ldc ""
goto 4
StackMap locals: com.sun.tools.sjavac.pubapi.PubMethod
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int
3: new java.lang.StringBuilder
dup
ldc "<"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.tools.sjavac.pubapi.PubMethod.typeParams:Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
com/sun/tools/sjavac/pubapi/PubApiTypeParam.asString()Ljava/lang/String; (5)
(Lcom/sun/tools/sjavac/pubapi/PubApiTypeParam;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
ldc ","
invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "> "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: com.sun.tools.sjavac.pubapi.PubMethod
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
4: aastore
dup
iconst_2
5: aload 0
getfield com.sun.tools.sjavac.pubapi.PubMethod.returnType:Lcom/sun/tools/sjavac/pubapi/TypeDesc;
invokestatic com.sun.tools.sjavac.pubapi.TypeDesc.encodeAsString:(Lcom/sun/tools/sjavac/pubapi/TypeDesc;)Ljava/lang/String;
aastore
dup
iconst_3
6: aload 0
getfield com.sun.tools.sjavac.pubapi.PubMethod.identifier:Ljava/lang/String;
aastore
dup
iconst_4
7: aload 0
getfield com.sun.tools.sjavac.pubapi.PubMethod.paramTypes:Ljava/util/List;
invokestatic com.sun.tools.sjavac.pubapi.PubApi.commaSeparated:(Ljava/util/List;)Ljava/lang/String;
aastore
dup
iconst_5
8: aload 0
getfield com.sun.tools.sjavac.pubapi.PubMethod.throwDecls:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 10
9: ldc ""
goto 11
10: StackMap locals: com.sun.tools.sjavac.pubapi.PubMethod
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int
new java.lang.StringBuilder
dup
ldc " throws "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.tools.sjavac.pubapi.PubMethod.throwDecls:Ljava/util/List;
invokestatic com.sun.tools.sjavac.pubapi.PubApi.commaSeparated:(Ljava/util/List;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: com.sun.tools.sjavac.pubapi.PubMethod
StackMap stack: java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
11: aastore
12: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 method Lcom/sun/tools/sjavac/pubapi/PubMethod;
MethodParameters:
Name Flags
method
public java.util.List<java.lang.String> asListOfStrings();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.types:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
2: invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
3: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
com/sun/tools/sjavac/pubapi/PubApi.typeLine(Lcom/sun/tools/sjavac/pubapi/PubType;)Ljava/lang/String; (6)
(Lcom/sun/tools/sjavac/pubapi/PubType;)Ljava/lang/String;
invokestatic java.util.Comparator.comparing:(Ljava/util/function/Function;)Ljava/util/Comparator;
invokeinterface java.util.stream.Stream.sorted:(Ljava/util/Comparator;)Ljava/util/stream/Stream;
4: aload 1
invokedynamic accept(Ljava/util/List;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
com/sun/tools/sjavac/pubapi/PubApi.lambda$8(Ljava/util/List;Lcom/sun/tools/sjavac/pubapi/PubType;)V (6)
(Lcom/sun/tools/sjavac/pubapi/PubType;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
5: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.variables:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
6: invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
7: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
com/sun/tools/sjavac/pubapi/PubApi.varLine(Lcom/sun/tools/sjavac/pubapi/PubVar;)Ljava/lang/String; (6)
(Lcom/sun/tools/sjavac/pubapi/PubVar;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
8: invokeinterface java.util.stream.Stream.sorted:()Ljava/util/stream/Stream;
9: aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/util/List;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
java/util/List.add(Ljava/lang/Object;)Z (9 itf)
(Ljava/lang/String;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
10: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.methods:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
11: invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
12: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
com/sun/tools/sjavac/pubapi/PubApi.methodLine(Lcom/sun/tools/sjavac/pubapi/PubMethod;)Ljava/lang/String; (6)
(Lcom/sun/tools/sjavac/pubapi/PubMethod;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
13: invokeinterface java.util.stream.Stream.sorted:()Ljava/util/stream/Stream;
14: aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/util/List;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
java/util/List.add(Ljava/lang/Object;)Z (9 itf)
(Ljava/lang/String;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
15: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/tools/sjavac/pubapi/PubApi;
1 16 1 lines Ljava/util/List<Ljava/lang/String;>;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast com.sun.tools.sjavac.pubapi.PubApi
astore 2
start local 2 3: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.types:Ljava/util/Map;
aload 2
getfield com.sun.tools.sjavac.pubapi.PubApi.types:Ljava/util/Map;
invokeinterface java.util.Map.equals:(Ljava/lang/Object;)Z
ifeq 7
4: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.variables:Ljava/util/Map;
aload 2
getfield com.sun.tools.sjavac.pubapi.PubApi.variables:Ljava/util/Map;
invokeinterface java.util.Map.equals:(Ljava/lang/Object;)Z
ifeq 7
5: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.methods:Ljava/util/Map;
aload 2
getfield com.sun.tools.sjavac.pubapi.PubApi.methods:Ljava/util/Map;
invokeinterface java.util.Map.equals:(Ljava/lang/Object;)Z
ifeq 7
6: iconst_1
ireturn
StackMap locals: com.sun.tools.sjavac.pubapi.PubApi
StackMap stack:
7: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/sjavac/pubapi/PubApi;
0 8 1 obj Ljava/lang/Object;
3 8 2 other Lcom/sun/tools/sjavac/pubapi/PubApi;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.types:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.hashCode:()I
1: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.variables:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.hashCode:()I
2: ixor
3: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.methods:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.hashCode:()I
4: ixor
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/sjavac/pubapi/PubApi;
private static java.lang.String commaSeparated(java.util.List<com.sun.tools.sjavac.pubapi.TypeDesc>);
descriptor: (Ljava/util/List;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
1: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
com/sun/tools/sjavac/pubapi/TypeDesc.encodeAsString(Lcom/sun/tools/sjavac/pubapi/TypeDesc;)Ljava/lang/String; (6)
(Lcom/sun/tools/sjavac/pubapi/TypeDesc;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
2: ldc ","
invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.String
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 typeDescs Ljava/util/List<Lcom/sun/tools/sjavac/pubapi/TypeDesc;>;
Signature: (Ljava/util/List<Lcom/sun/tools/sjavac/pubapi/TypeDesc;>;)Ljava/lang/String;
MethodParameters:
Name Flags
typeDescs
private static java.lang.String asString(java.util.Set<javax.lang.model.element.Modifier>);
descriptor: (Ljava/util/Set;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
1: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
com/sun/tools/sjavac/pubapi/PubApi.lambda$14(Ljavax/lang/model/element/Modifier;)Ljava/lang/String; (6)
(Ljavax/lang/model/element/Modifier;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
2: invokeinterface java.util.stream.Stream.sorted:()Ljava/util/stream/Stream;
3: invokestatic java.util.stream.Collectors.joining:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.String
4: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 modifiers Ljava/util/Set<Ljavax/lang/model/element/Modifier;>;
Signature: (Ljava/util/Set<Ljavax/lang/model/element/Modifier;>;)Ljava/lang/String;
MethodParameters:
Name Flags
modifiers
public static com.sun.tools.sjavac.pubapi.PubApi mergeTypes(com.sun.tools.sjavac.pubapi.PubApi, com.sun.tools.sjavac.pubapi.PubApi);
descriptor: (Lcom/sun/tools/sjavac/pubapi/PubApi;Lcom/sun/tools/sjavac/pubapi/PubApi;)Lcom/sun/tools/sjavac/pubapi/PubApi;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.methods:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ldc "Can only merge types."
invokestatic com.sun.tools.javac.util.Assert.check:(ZLjava/lang/String;)V
1: aload 1
getfield com.sun.tools.sjavac.pubapi.PubApi.methods:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ldc "Can only merge types."
invokestatic com.sun.tools.javac.util.Assert.check:(ZLjava/lang/String;)V
2: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.variables:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ldc "Can only merge types."
invokestatic com.sun.tools.javac.util.Assert.check:(ZLjava/lang/String;)V
3: aload 1
getfield com.sun.tools.sjavac.pubapi.PubApi.variables:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ldc "Can only merge types."
invokestatic com.sun.tools.javac.util.Assert.check:(ZLjava/lang/String;)V
4: new com.sun.tools.sjavac.pubapi.PubApi
dup
invokespecial com.sun.tools.sjavac.pubapi.PubApi.<init>:()V
astore 2
start local 2 5: aload 2
getfield com.sun.tools.sjavac.pubapi.PubApi.types:Ljava/util/Map;
aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.types:Ljava/util/Map;
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
6: aload 2
getfield com.sun.tools.sjavac.pubapi.PubApi.types:Ljava/util/Map;
aload 1
getfield com.sun.tools.sjavac.pubapi.PubApi.types:Ljava/util/Map;
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 api1 Lcom/sun/tools/sjavac/pubapi/PubApi;
0 8 1 api2 Lcom/sun/tools/sjavac/pubapi/PubApi;
5 8 2 merged Lcom/sun/tools/sjavac/pubapi/PubApi;
MethodParameters:
Name Flags
api1
api2
public void appendItem(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=10, args_size=2
start local 0 start local 1 0: aload 1
ldc " "
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 3
1: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.lastInsertedType:Lcom/sun/tools/sjavac/pubapi/PubType;
getfield com.sun.tools.sjavac.pubapi.PubType.pubApi:Lcom/sun/tools/sjavac/pubapi/PubApi;
aload 1
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual com.sun.tools.sjavac.pubapi.PubApi.appendItem:(Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 1
ldc "METHOD"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 32
4: aload 1
ldc "METHOD "
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
5: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 6: getstatic com.sun.tools.sjavac.pubapi.PubApi.MOD_PATTERN:Ljava/util/regex/Pattern;
aload 1
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 3
start local 3 7: aload 3
invokevirtual java.util.regex.Matcher.find:()Z
ifeq 11
8: aload 3
invokevirtual java.util.regex.Matcher.group:()Ljava/lang/String;
astore 4
start local 4 9: aload 2
aload 0
aload 4
invokevirtual com.sun.tools.sjavac.pubapi.PubApi.parseModifiers:(Ljava/lang/String;)Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
10: aload 1
aload 4
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
end local 4 11: StackMap locals: java.util.Set java.util.regex.Matcher
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 12: aload 1
ldc "<"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 17
13: aload 1
iconst_0
invokestatic com.sun.tools.sjavac.pubapi.PubApi.findClosingTag:(Ljava/lang/String;I)I
istore 5
start local 5 14: aload 1
iconst_1
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 6
start local 6 15: aload 1
iload 5
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
16: aload 4
aload 0
aload 6
invokevirtual com.sun.tools.sjavac.pubapi.PubApi.splitOnTopLevelCommas:(Ljava/lang/String;)Ljava/util/List;
invokestatic com.sun.tools.sjavac.pubapi.PubApi.parseTypeParams:(Ljava/util/List;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
end local 6 end local 5 17: StackMap locals: java.util.List
StackMap stack:
getstatic com.sun.tools.sjavac.pubapi.PubApi.METHOD_PATTERN:Ljava/util/regex/Pattern;
aload 1
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 5
start local 5 18: aload 5
invokevirtual java.util.regex.Matcher.matches:()Z
ifne 20
19: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Could not parse return type, identifier, parameter types or throws declaration of method: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
20: StackMap locals: java.util.regex.Matcher
StackMap stack:
aload 0
aload 5
ldc "params"
invokevirtual java.util.regex.Matcher.group:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual com.sun.tools.sjavac.pubapi.PubApi.splitOnTopLevelCommas:(Ljava/lang/String;)Ljava/util/List;
astore 6
start local 6 21: aload 5
ldc "throws"
invokevirtual java.util.regex.Matcher.group:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
ldc ""
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 22: aload 0
aload 7
invokevirtual com.sun.tools.sjavac.pubapi.PubApi.splitOnTopLevelCommas:(Ljava/lang/String;)Ljava/util/List;
astore 8
start local 8 23: new com.sun.tools.sjavac.pubapi.PubMethod
dup
aload 2
24: aload 4
25: aload 5
ldc "ret"
invokevirtual java.util.regex.Matcher.group:(Ljava/lang/String;)Ljava/lang/String;
invokestatic com.sun.tools.sjavac.pubapi.TypeDesc.decodeString:(Ljava/lang/String;)Lcom/sun/tools/sjavac/pubapi/TypeDesc;
26: aload 5
ldc "name"
invokevirtual java.util.regex.Matcher.group:(Ljava/lang/String;)Ljava/lang/String;
27: aload 6
invokestatic com.sun.tools.sjavac.pubapi.PubApi.parseTypeDescs:(Ljava/util/List;)Ljava/util/List;
28: aload 8
invokestatic com.sun.tools.sjavac.pubapi.PubApi.parseTypeDescs:(Ljava/util/List;)Ljava/util/List;
29: invokespecial com.sun.tools.sjavac.pubapi.PubMethod.<init>:(Ljava/util/Set;Ljava/util/List;Lcom/sun/tools/sjavac/pubapi/TypeDesc;Ljava/lang/String;Ljava/util/List;Ljava/util/List;)V
astore 9
start local 9 30: aload 0
aload 9
invokevirtual com.sun.tools.sjavac.pubapi.PubApi.addPubMethod:(Lcom/sun/tools/sjavac/pubapi/PubMethod;)V
31: return
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 32: StackMap locals: com.sun.tools.sjavac.pubapi.PubApi java.lang.String
StackMap stack:
getstatic com.sun.tools.sjavac.pubapi.PubApi.VAR_PATTERN:Ljava/util/regex/Pattern;
aload 1
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 2
start local 2 33: aload 2
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 40
34: aload 0
new com.sun.tools.sjavac.pubapi.PubVar
dup
aload 0
aload 2
ldc "modifiers"
invokevirtual java.util.regex.Matcher.group:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual com.sun.tools.sjavac.pubapi.PubApi.parseModifiers:(Ljava/lang/String;)Ljava/util/Set;
35: aload 2
ldc "type"
invokevirtual java.util.regex.Matcher.group:(Ljava/lang/String;)Ljava/lang/String;
invokestatic com.sun.tools.sjavac.pubapi.TypeDesc.decodeString:(Ljava/lang/String;)Lcom/sun/tools/sjavac/pubapi/TypeDesc;
36: aload 2
ldc "id"
invokevirtual java.util.regex.Matcher.group:(Ljava/lang/String;)Ljava/lang/String;
37: aload 2
ldc "val"
invokevirtual java.util.regex.Matcher.group:(Ljava/lang/String;)Ljava/lang/String;
invokespecial com.sun.tools.sjavac.pubapi.PubVar.<init>:(Ljava/util/Set;Lcom/sun/tools/sjavac/pubapi/TypeDesc;Ljava/lang/String;Ljava/lang/String;)V
38: invokevirtual com.sun.tools.sjavac.pubapi.PubApi.addPubVar:(Lcom/sun/tools/sjavac/pubapi/PubVar;)V
39: return
40: StackMap locals: java.util.regex.Matcher
StackMap stack:
getstatic com.sun.tools.sjavac.pubapi.PubApi.TYPE_PATTERN:Ljava/util/regex/Pattern;
aload 1
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 3
start local 3 41: aload 3
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 47
42: aload 0
new com.sun.tools.sjavac.pubapi.PubType
dup
aload 0
aload 3
ldc "modifiers"
invokevirtual java.util.regex.Matcher.group:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual com.sun.tools.sjavac.pubapi.PubApi.parseModifiers:(Ljava/lang/String;)Ljava/util/Set;
43: aload 3
ldc "fullyQualified"
invokevirtual java.util.regex.Matcher.group:(Ljava/lang/String;)Ljava/lang/String;
44: new com.sun.tools.sjavac.pubapi.PubApi
dup
invokespecial com.sun.tools.sjavac.pubapi.PubApi.<init>:()V
invokespecial com.sun.tools.sjavac.pubapi.PubType.<init>:(Ljava/util/Set;Ljava/lang/String;Lcom/sun/tools/sjavac/pubapi/PubApi;)V
45: invokevirtual com.sun.tools.sjavac.pubapi.PubApi.addPubType:(Lcom/sun/tools/sjavac/pubapi/PubType;)V
46: return
47: StackMap locals: java.util.regex.Matcher
StackMap stack:
new java.lang.AssertionError
dup
ldc "No matching line pattern."
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 3 end local 2 48: StackMap locals: com.sun.tools.sjavac.pubapi.PubApi java.lang.String
StackMap stack: java.lang.Throwable
astore 2
start local 2 49: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Could not parse API line: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 50 0 this Lcom/sun/tools/sjavac/pubapi/PubApi;
0 50 1 l Ljava/lang/String;
6 32 2 modifiers Ljava/util/Set<Ljavax/lang/model/element/Modifier;>;
7 32 3 modMatcher Ljava/util/regex/Matcher;
9 11 4 modifiersStr Ljava/lang/String;
12 32 4 typeParams Ljava/util/List<Lcom/sun/tools/sjavac/pubapi/PubApiTypeParam;>;
14 17 5 closingPos I
15 17 6 str Ljava/lang/String;
18 32 5 mm Ljava/util/regex/Matcher;
21 32 6 params Ljava/util/List<Ljava/lang/String;>;
22 32 7 th Ljava/lang/String;
23 32 8 throwz Ljava/util/List<Ljava/lang/String;>;
30 32 9 m Lcom/sun/tools/sjavac/pubapi/PubMethod;
33 48 2 vm Ljava/util/regex/Matcher;
41 48 3 tm Ljava/util/regex/Matcher;
49 50 2 e Ljava/lang/Throwable;
Exception table:
from to target type
0 2 48 Class java.lang.Throwable
3 31 48 Class java.lang.Throwable
32 39 48 Class java.lang.Throwable
40 46 48 Class java.lang.Throwable
47 48 48 Class java.lang.Throwable
MethodParameters:
Name Flags
l
public void addPubType(com.sun.tools.sjavac.pubapi.PubType);
descriptor: (Lcom/sun/tools/sjavac/pubapi/PubType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.types:Ljava/util/Map;
aload 1
getfield com.sun.tools.sjavac.pubapi.PubType.fqName:Ljava/lang/String;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
putfield com.sun.tools.sjavac.pubapi.PubApi.lastInsertedType:Lcom/sun/tools/sjavac/pubapi/PubType;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/sjavac/pubapi/PubApi;
0 3 1 t Lcom/sun/tools/sjavac/pubapi/PubType;
MethodParameters:
Name Flags
t
public void addPubVar(com.sun.tools.sjavac.pubapi.PubVar);
descriptor: (Lcom/sun/tools/sjavac/pubapi/PubVar;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.variables:Ljava/util/Map;
aload 1
getfield com.sun.tools.sjavac.pubapi.PubVar.identifier:Ljava/lang/String;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/sjavac/pubapi/PubApi;
0 2 1 v Lcom/sun/tools/sjavac/pubapi/PubVar;
MethodParameters:
Name Flags
v
public void addPubMethod(com.sun.tools.sjavac.pubapi.PubMethod);
descriptor: (Lcom/sun/tools/sjavac/pubapi/PubMethod;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.methods:Ljava/util/Map;
aload 1
invokevirtual com.sun.tools.sjavac.pubapi.PubMethod.asSignatureString:()Ljava/lang/String;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/sjavac/pubapi/PubApi;
0 2 1 m Lcom/sun/tools/sjavac/pubapi/PubMethod;
MethodParameters:
Name Flags
m
private static java.util.List<com.sun.tools.sjavac.pubapi.TypeDesc> parseTypeDescs(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
1: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
com/sun/tools/sjavac/pubapi/TypeDesc.decodeString(Ljava/lang/String;)Lcom/sun/tools/sjavac/pubapi/TypeDesc; (6)
(Ljava/lang/String;)Lcom/sun/tools/sjavac/pubapi/TypeDesc;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
2: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 strs Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/util/List<Ljava/lang/String;>;)Ljava/util/List<Lcom/sun/tools/sjavac/pubapi/TypeDesc;>;
MethodParameters:
Name Flags
strs
private static java.util.List<com.sun.tools.sjavac.pubapi.PubApiTypeParam> parseTypeParams(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
com/sun/tools/sjavac/pubapi/PubApi.parseTypeParam(Ljava/lang/String;)Lcom/sun/tools/sjavac/pubapi/PubApiTypeParam; (6)
(Ljava/lang/String;)Lcom/sun/tools/sjavac/pubapi/PubApiTypeParam;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 strs Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/util/List<Ljava/lang/String;>;)Ljava/util/List<Lcom/sun/tools/sjavac/pubapi/PubApiTypeParam;>;
MethodParameters:
Name Flags
strs
private static com.sun.tools.sjavac.pubapi.PubApiTypeParam parseTypeParam(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/tools/sjavac/pubapi/PubApiTypeParam;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
ldc " extends "
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpne 3
2: new com.sun.tools.sjavac.pubapi.PubApiTypeParam
dup
aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
invokespecial com.sun.tools.sjavac.pubapi.PubApiTypeParam.<init>:(Ljava/lang/String;Ljava/util/List;)V
areturn
3: StackMap locals: int
StackMap stack:
aload 0
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
start local 2 4: aload 0
iload 1
ldc " extends "
invokevirtual java.lang.String.length:()I
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
start local 3 5: aload 3
bipush 38
invokestatic com.sun.tools.sjavac.pubapi.PubApi.splitOnTopLevelChars:(Ljava/lang/String;C)Ljava/util/List;
invokestatic com.sun.tools.sjavac.pubapi.PubApi.parseTypeDescs:(Ljava/util/List;)Ljava/util/List;
astore 4
start local 4 6: new com.sun.tools.sjavac.pubapi.PubApiTypeParam
dup
aload 2
aload 4
invokespecial com.sun.tools.sjavac.pubapi.PubApiTypeParam.<init>:(Ljava/lang/String;Ljava/util/List;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 typeParamString Ljava/lang/String;
1 7 1 extPos I
4 7 2 identifier Ljava/lang/String;
5 7 3 rest Ljava/lang/String;
6 7 4 bounds Ljava/util/List<Lcom/sun/tools/sjavac/pubapi/TypeDesc;>;
MethodParameters:
Name Flags
typeParamString
public java.util.Set<javax.lang.model.element.Modifier> parseModifiers(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc " "
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
invokestatic java.util.stream.Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
3: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
java/lang/String.trim()Ljava/lang/String; (5)
(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
4: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
com/sun/tools/javac/util/StringUtils.toUpperCase(Ljava/lang/String;)Ljava/lang/String; (6)
(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
5: invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
com/sun/tools/sjavac/pubapi/PubApi.lambda$19(Ljava/lang/String;)Z (6)
(Ljava/lang/String;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
6: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
javax/lang/model/element/Modifier.valueOf(Ljava/lang/String;)Ljavax/lang/model/element/Modifier; (6)
(Ljava/lang/String;)Ljavax/lang/model/element/Modifier;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
7: invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Set
8: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/sjavac/pubapi/PubApi;
0 9 1 modifiers Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Set<Ljavax/lang/model/element/Modifier;>;
MethodParameters:
Name Flags
modifiers
private static int findClosingTag(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
iinc 1 1
1: aload 0
iload 1
invokevirtual java.lang.String.charAt:(I)C
bipush 62
if_icmpne 3
2: iload 1
ireturn
3: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual java.lang.String.charAt:(I)C
bipush 60
if_icmpne 0
4: aload 0
iload 1
invokestatic com.sun.tools.sjavac.pubapi.PubApi.findClosingTag:(Ljava/lang/String;I)I
istore 1
5: goto 0
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 l Ljava/lang/String;
0 6 1 pos I
MethodParameters:
Name Flags
l
pos
public java.util.List<java.lang.String> splitOnTopLevelCommas(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
bipush 44
invokestatic com.sun.tools.sjavac.pubapi.PubApi.splitOnTopLevelChars:(Ljava/lang/String;C)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/sjavac/pubapi/PubApi;
0 1 1 s Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
s
public static java.util.List<java.lang.String> splitOnTopLevelChars(java.lang.String, char);
descriptor: (Ljava/lang/String;C)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=9, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifeq 2
1: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 3: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 4: iconst_0
istore 4
start local 4 5: aload 0
invokevirtual java.lang.String.toCharArray:()[C
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 15
StackMap locals: java.lang.String int java.util.List java.lang.StringBuilder int top int int char[]
StackMap stack:
6: aload 8
iload 6
caload
istore 5
start local 5 7: iload 5
iload 1
if_icmpne 11
iload 4
ifne 11
8: aload 2
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
10: goto 14
11: StackMap locals: java.lang.String int java.util.List java.lang.StringBuilder int int int int char[]
StackMap stack:
iload 5
bipush 60
if_icmpne 12
iinc 4 1
12: StackMap locals:
StackMap stack:
iload 5
bipush 62
if_icmpne 13
iinc 4 -1
13: StackMap locals:
StackMap stack:
aload 3
iload 5
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 5 14: StackMap locals: java.lang.String int java.util.List java.lang.StringBuilder int top int int char[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
15: iload 6
iload 7
if_icmplt 6
16: aload 2
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
17: aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 s Ljava/lang/String;
0 18 1 split C
3 18 2 result Ljava/util/List<Ljava/lang/String;>;
4 18 3 buf Ljava/lang/StringBuilder;
5 18 4 depth I
7 14 5 c C
Signature: (Ljava/lang/String;C)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
s
split
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.types:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifeq 1
aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.variables:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifeq 1
aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.methods:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/sjavac/pubapi/PubApi;
public java.util.List<java.lang.String> diff(com.sun.tools.sjavac.pubapi.PubApi);
descriptor: (Lcom/sun/tools/sjavac/pubapi/PubApi;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc ""
aload 1
invokevirtual com.sun.tools.sjavac.pubapi.PubApi.diff:(Ljava/lang/String;Lcom/sun/tools/sjavac/pubapi/PubApi;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/sjavac/pubapi/PubApi;
0 1 1 prevApi Lcom/sun/tools/sjavac/pubapi/PubApi;
Signature: (Lcom/sun/tools/sjavac/pubapi/PubApi;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
prevApi
private java.util.List<java.lang.String> diff(java.lang.String, com.sun.tools.sjavac.pubapi.PubApi);
descriptor: (Ljava/lang/String;Lcom/sun/tools/sjavac/pubapi/PubApi;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.types:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
aload 2
getfield com.sun.tools.sjavac.pubapi.PubApi.types:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokestatic com.sun.tools.sjavac.Util.union:(Ljava/util/Set;Ljava/util/Set;)Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 17
StackMap locals: com.sun.tools.sjavac.pubapi.PubApi java.lang.String com.sun.tools.sjavac.pubapi.PubApi java.util.List top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 3: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.types:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.tools.sjavac.pubapi.PubType
astore 6
start local 6 4: aload 2
getfield com.sun.tools.sjavac.pubapi.PubApi.types:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.tools.sjavac.pubapi.PubType
astore 7
start local 7 5: aload 7
ifnonnull 8
6: aload 3
new java.lang.StringBuilder
dup
ldc "Type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " was added"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: goto 17
StackMap locals: com.sun.tools.sjavac.pubapi.PubApi java.lang.String com.sun.tools.sjavac.pubapi.PubApi java.util.List java.lang.String java.util.Iterator com.sun.tools.sjavac.pubapi.PubType com.sun.tools.sjavac.pubapi.PubType
StackMap stack:
8: aload 6
ifnonnull 11
9: aload 3
new java.lang.StringBuilder
dup
ldc "Type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " was removed"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: goto 17
11: StackMap locals:
StackMap stack:
aload 6
getfield com.sun.tools.sjavac.pubapi.PubType.modifiers:Ljava/util/Set;
aload 7
getfield com.sun.tools.sjavac.pubapi.PubType.modifiers:Ljava/util/Set;
invokeinterface java.util.Set.equals:(Ljava/lang/Object;)Z
ifne 16
12: aload 3
new java.lang.StringBuilder
dup
ldc "Modifiers for type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: ldc " changed from "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
getfield com.sun.tools.sjavac.pubapi.PubType.modifiers:Ljava/util/Set;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: aload 6
getfield com.sun.tools.sjavac.pubapi.PubType.modifiers:Ljava/util/Set;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
16: StackMap locals:
StackMap stack:
aload 3
aload 6
getfield com.sun.tools.sjavac.pubapi.PubType.pubApi:Lcom/sun/tools/sjavac/pubapi/PubApi;
aload 7
getfield com.sun.tools.sjavac.pubapi.PubType.pubApi:Lcom/sun/tools/sjavac/pubapi/PubApi;
invokevirtual com.sun.tools.sjavac.pubapi.PubApi.diff:(Lcom/sun/tools/sjavac/pubapi/PubApi;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
end local 7 end local 6 end local 4 17: StackMap locals: com.sun.tools.sjavac.pubapi.PubApi java.lang.String com.sun.tools.sjavac.pubapi.PubApi java.util.List top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
18: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.variables:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
aload 2
getfield com.sun.tools.sjavac.pubapi.PubApi.variables:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokestatic com.sun.tools.sjavac.Util.union:(Ljava/util/Set;Ljava/util/Set;)Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 43
StackMap locals:
StackMap stack:
19: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 20: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.variables:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.tools.sjavac.pubapi.PubVar
astore 6
start local 6 21: aload 2
getfield com.sun.tools.sjavac.pubapi.PubApi.variables:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.tools.sjavac.pubapi.PubVar
astore 7
start local 7 22: aload 7
ifnonnull 25
23: aload 3
new java.lang.StringBuilder
dup
ldc "Variable "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " was added"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
24: goto 43
StackMap locals: com.sun.tools.sjavac.pubapi.PubApi java.lang.String com.sun.tools.sjavac.pubapi.PubApi java.util.List java.lang.String java.util.Iterator com.sun.tools.sjavac.pubapi.PubVar com.sun.tools.sjavac.pubapi.PubVar
StackMap stack:
25: aload 6
ifnonnull 28
26: aload 3
new java.lang.StringBuilder
dup
ldc "Variable "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " was removed"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
27: goto 43
28: StackMap locals:
StackMap stack:
aload 6
getfield com.sun.tools.sjavac.pubapi.PubVar.modifiers:Ljava/util/Set;
aload 7
getfield com.sun.tools.sjavac.pubapi.PubVar.modifiers:Ljava/util/Set;
invokeinterface java.util.Set.equals:(Ljava/lang/Object;)Z
ifne 33
29: aload 3
new java.lang.StringBuilder
dup
ldc "Modifiers for var "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
30: ldc " changed from "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
getfield com.sun.tools.sjavac.pubapi.PubVar.modifiers:Ljava/util/Set;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
31: aload 6
getfield com.sun.tools.sjavac.pubapi.PubVar.modifiers:Ljava/util/Set;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
32: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
33: StackMap locals:
StackMap stack:
aload 6
getfield com.sun.tools.sjavac.pubapi.PubVar.type:Lcom/sun/tools/sjavac/pubapi/TypeDesc;
aload 7
getfield com.sun.tools.sjavac.pubapi.PubVar.type:Lcom/sun/tools/sjavac/pubapi/TypeDesc;
invokevirtual com.sun.tools.sjavac.pubapi.TypeDesc.equals:(Ljava/lang/Object;)Z
ifne 38
34: aload 3
new java.lang.StringBuilder
dup
ldc "Type of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
35: ldc " changed from "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
getfield com.sun.tools.sjavac.pubapi.PubVar.type:Lcom/sun/tools/sjavac/pubapi/TypeDesc;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
36: aload 6
getfield com.sun.tools.sjavac.pubapi.PubVar.type:Lcom/sun/tools/sjavac/pubapi/TypeDesc;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
37: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
38: StackMap locals:
StackMap stack:
aload 6
invokevirtual com.sun.tools.sjavac.pubapi.PubVar.getConstValue:()Ljava/util/Optional;
aload 7
invokevirtual com.sun.tools.sjavac.pubapi.PubVar.getConstValue:()Ljava/util/Optional;
invokevirtual java.util.Optional.equals:(Ljava/lang/Object;)Z
ifne 43
39: aload 3
new java.lang.StringBuilder
dup
ldc "Const value of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
40: ldc " changed from "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokevirtual com.sun.tools.sjavac.pubapi.PubVar.getConstValue:()Ljava/util/Optional;
ldc "<none>"
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
41: ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual com.sun.tools.sjavac.pubapi.PubVar.getConstValue:()Ljava/util/Optional;
ldc "<none>"
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
42: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 6 end local 4 43: StackMap locals: com.sun.tools.sjavac.pubapi.PubApi java.lang.String com.sun.tools.sjavac.pubapi.PubApi java.util.List top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 19
44: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.methods:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
aload 2
getfield com.sun.tools.sjavac.pubapi.PubApi.methods:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokestatic com.sun.tools.sjavac.Util.union:(Ljava/util/Set;Ljava/util/Set;)Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 69
StackMap locals:
StackMap stack:
45: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 46: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.methods:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.tools.sjavac.pubapi.PubMethod
astore 6
start local 6 47: aload 2
getfield com.sun.tools.sjavac.pubapi.PubApi.methods:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.tools.sjavac.pubapi.PubMethod
astore 7
start local 7 48: aload 7
ifnonnull 51
49: aload 3
new java.lang.StringBuilder
dup
ldc "Method "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " was added"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
50: goto 69
StackMap locals: com.sun.tools.sjavac.pubapi.PubApi java.lang.String com.sun.tools.sjavac.pubapi.PubApi java.util.List java.lang.String java.util.Iterator com.sun.tools.sjavac.pubapi.PubMethod com.sun.tools.sjavac.pubapi.PubMethod
StackMap stack:
51: aload 6
ifnonnull 54
52: aload 3
new java.lang.StringBuilder
dup
ldc "Method "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " was removed"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
53: goto 69
54: StackMap locals:
StackMap stack:
aload 6
getfield com.sun.tools.sjavac.pubapi.PubMethod.modifiers:Ljava/util/Set;
aload 7
getfield com.sun.tools.sjavac.pubapi.PubMethod.modifiers:Ljava/util/Set;
invokeinterface java.util.Set.equals:(Ljava/lang/Object;)Z
ifne 59
55: aload 3
new java.lang.StringBuilder
dup
ldc "Modifiers for method "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
56: ldc " changed from "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
getfield com.sun.tools.sjavac.pubapi.PubMethod.modifiers:Ljava/util/Set;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
57: aload 6
getfield com.sun.tools.sjavac.pubapi.PubMethod.modifiers:Ljava/util/Set;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
58: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
59: StackMap locals:
StackMap stack:
aload 6
getfield com.sun.tools.sjavac.pubapi.PubMethod.typeParams:Ljava/util/List;
aload 7
getfield com.sun.tools.sjavac.pubapi.PubMethod.typeParams:Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifne 64
60: aload 3
new java.lang.StringBuilder
dup
ldc "Type parameters for method "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
61: aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " changed from "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
getfield com.sun.tools.sjavac.pubapi.PubMethod.typeParams:Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
62: ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
getfield com.sun.tools.sjavac.pubapi.PubMethod.typeParams:Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
63: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
64: StackMap locals:
StackMap stack:
aload 6
getfield com.sun.tools.sjavac.pubapi.PubMethod.throwDecls:Ljava/util/List;
aload 7
getfield com.sun.tools.sjavac.pubapi.PubMethod.throwDecls:Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifne 69
65: aload 3
new java.lang.StringBuilder
dup
ldc "Throw decl for method "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
66: ldc " changed from "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
getfield com.sun.tools.sjavac.pubapi.PubMethod.throwDecls:Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
67: ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
getfield com.sun.tools.sjavac.pubapi.PubMethod.throwDecls:Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
68: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 6 end local 4 69: StackMap locals: com.sun.tools.sjavac.pubapi.PubApi java.lang.String com.sun.tools.sjavac.pubapi.PubApi java.util.List top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 45
70: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 71 0 this Lcom/sun/tools/sjavac/pubapi/PubApi;
0 71 1 scopePrefix Ljava/lang/String;
0 71 2 prevApi Lcom/sun/tools/sjavac/pubapi/PubApi;
1 71 3 diffs Ljava/util/List<Ljava/lang/String;>;
3 17 4 typeKey Ljava/lang/String;
4 17 6 type Lcom/sun/tools/sjavac/pubapi/PubType;
5 17 7 prevType Lcom/sun/tools/sjavac/pubapi/PubType;
20 43 4 varKey Ljava/lang/String;
21 43 6 var Lcom/sun/tools/sjavac/pubapi/PubVar;
22 43 7 prevVar Lcom/sun/tools/sjavac/pubapi/PubVar;
46 69 4 methodKey Ljava/lang/String;
47 69 6 method Lcom/sun/tools/sjavac/pubapi/PubMethod;
48 69 7 prevMethod Lcom/sun/tools/sjavac/pubapi/PubMethod;
Signature: (Ljava/lang/String;Lcom/sun/tools/sjavac/pubapi/PubApi;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
scopePrefix
prevApi
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "%s[types: %s, variables: %s, methods: %s]"
iconst_4
anewarray java.lang.Object
dup
iconst_0
1: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_1
2: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.types:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
aastore
dup
iconst_2
3: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.variables:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
aastore
dup
iconst_3
4: aload 0
getfield com.sun.tools.sjavac.pubapi.PubApi.methods:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
aastore
5: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/sjavac/pubapi/PubApi;
private static java.lang.String lambda$5(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc " = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v Ljava/lang/String;
private static void lambda$8(java.util.List, com.sun.tools.sjavac.pubapi.PubType);
descriptor: (Ljava/util/List;Lcom/sun/tools/sjavac/pubapi/PubType;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=2
start local 1 0: aload 0
aload 1
invokestatic com.sun.tools.sjavac.pubapi.PubApi.typeLine:(Lcom/sun/tools/sjavac/pubapi/PubType;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 1
getfield com.sun.tools.sjavac.pubapi.PubType.pubApi:Lcom/sun/tools/sjavac/pubapi/PubApi;
invokevirtual com.sun.tools.sjavac.pubapi.PubApi.asListOfStrings:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: java.util.List com.sun.tools.sjavac.pubapi.PubType top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 3: aload 0
new java.lang.StringBuilder
dup
ldc " "
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;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 6 1 type Lcom/sun/tools/sjavac/pubapi/PubType;
3 4 2 subline Ljava/lang/String;
private static java.lang.String lambda$14(javax.lang.model.element.Modifier);
descriptor: (Ljavax/lang/model/element/Modifier;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 mod Ljavax/lang/model/element/Modifier;
private static boolean lambda$19(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 s Ljava/lang/String;
}
SourceFile: "PubApi.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles