public class com.sun.tools.internal.xjc.model.AutoClassNameAllocator implements com.sun.tools.internal.xjc.api.ClassNameAllocator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.internal.xjc.model.AutoClassNameAllocator
super_class: java.lang.Object
{
private final com.sun.tools.internal.xjc.api.ClassNameAllocator core;
descriptor: Lcom/sun/tools/internal/xjc/api/ClassNameAllocator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, java.util.Set<java.lang.String>> names;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;
public void <init>(com.sun.tools.internal.xjc.api.ClassNameAllocator);
descriptor: (Lcom/sun/tools/internal/xjc/api/ClassNameAllocator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 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.internal.xjc.model.AutoClassNameAllocator.names:Ljava/util/Map;
2: aload 0
aload 1
putfield com.sun.tools.internal.xjc.model.AutoClassNameAllocator.core:Lcom/sun/tools/internal/xjc/api/ClassNameAllocator;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/internal/xjc/model/AutoClassNameAllocator;
0 4 1 core Lcom/sun/tools/internal/xjc/api/ClassNameAllocator;
MethodParameters:
Name Flags
core
public java.lang.String assignClassName(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual com.sun.tools.internal.xjc.model.AutoClassNameAllocator.determineName:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
1: aload 0
getfield com.sun.tools.internal.xjc.model.AutoClassNameAllocator.core:Lcom/sun/tools/internal/xjc/api/ClassNameAllocator;
ifnull 3
2: aload 0
getfield com.sun.tools.internal.xjc.model.AutoClassNameAllocator.core:Lcom/sun/tools/internal/xjc/api/ClassNameAllocator;
aload 1
aload 2
invokeinterface com.sun.tools.internal.xjc.api.ClassNameAllocator.assignClassName:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
3: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/internal/xjc/model/AutoClassNameAllocator;
0 4 1 packageName Ljava/lang/String;
0 4 2 className Ljava/lang/String;
MethodParameters:
Name Flags
packageName
className
private java.lang.String determineName(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.internal.xjc.model.AutoClassNameAllocator.names:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
astore 3
start local 3 1: aload 3
ifnonnull 4
2: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 3
3: aload 0
getfield com.sun.tools.internal.xjc.model.AutoClassNameAllocator.names:Ljava/util/Map;
aload 1
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals: java.util.Set
StackMap stack:
aload 3
aload 2
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
ifeq 6
5: aload 2
areturn
6: StackMap locals:
StackMap stack:
iconst_2
istore 4
start local 4 7: StackMap locals: int
StackMap stack:
aload 3
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
ifeq 9
8: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
9: StackMap locals:
StackMap stack:
iinc 4 1
goto 7
end local 4 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/internal/xjc/model/AutoClassNameAllocator;
0 10 1 packageName Ljava/lang/String;
0 10 2 className Ljava/lang/String;
1 10 3 s Ljava/util/Set<Ljava/lang/String;>;
7 10 4 i I
MethodParameters:
Name Flags
packageName
className
}
SourceFile: "AutoClassNameAllocator.java"