public final class com.sun.codemodel.internal.JPackage implements com.sun.codemodel.internal.JDeclaration, com.sun.codemodel.internal.JGenerable, com.sun.codemodel.internal.JClassContainer, com.sun.codemodel.internal.JAnnotatable, java.lang.Comparable<com.sun.codemodel.internal.JPackage>, com.sun.codemodel.internal.JDocCommentable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.codemodel.internal.JPackage
super_class: java.lang.Object
{
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private final com.sun.codemodel.internal.JCodeModel owner;
descriptor: Lcom/sun/codemodel/internal/JCodeModel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, com.sun.codemodel.internal.JDefinedClass> classes;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/sun/codemodel/internal/JDefinedClass;>;
private final java.util.Set<com.sun.codemodel.internal.JResourceFile> resources;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Lcom/sun/codemodel/internal/JResourceFile;>;
private final java.util.Map<java.lang.String, com.sun.codemodel.internal.JDefinedClass> upperCaseClassMap;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/sun/codemodel/internal/JDefinedClass;>;
private java.util.List<com.sun.codemodel.internal.JAnnotationUse> annotations;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lcom/sun/codemodel/internal/JAnnotationUse;>;
private com.sun.codemodel.internal.JDocComment ;
descriptor: Lcom/sun/codemodel/internal/JDocComment;
flags: (0x0002) ACC_PRIVATE
void <init>(java.lang.String, com.sun.codemodel.internal.JCodeModel);
descriptor: (Ljava/lang/String;Lcom/sun/codemodel/internal/JCodeModel;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.TreeMap
dup
invokespecial java.util.TreeMap.<init>:()V
putfield com.sun.codemodel.internal.JPackage.classes:Ljava/util/Map;
2: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield com.sun.codemodel.internal.JPackage.resources:Ljava/util/Set;
3: aload 0
aconst_null
putfield com.sun.codemodel.internal.JPackage.annotations:Ljava/util/List;
4: aload 0
aconst_null
putfield com.sun.codemodel.internal.JPackage.jdoc:Lcom/sun/codemodel/internal/JDocComment;
5: aload 0
aload 2
putfield com.sun.codemodel.internal.JPackage.owner:Lcom/sun/codemodel/internal/JCodeModel;
6: aload 1
ldc "."
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: ldc "Package name . is not allowed"
astore 3
start local 3 8: new java.lang.IllegalArgumentException
dup
aload 3
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 9: StackMap locals: com.sun.codemodel.internal.JPackage java.lang.String com.sun.codemodel.internal.JCodeModel
StackMap stack:
getstatic com.sun.codemodel.internal.JCodeModel.isCaseSensitiveFileSystem:Z
ifeq 11
10: aload 0
aconst_null
putfield com.sun.codemodel.internal.JPackage.upperCaseClassMap:Ljava/util/Map;
goto 12
11: StackMap locals:
StackMap stack:
aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.codemodel.internal.JPackage.upperCaseClassMap:Ljava/util/Map;
12: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.sun.codemodel.internal.JPackage.name:Ljava/lang/String;
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/codemodel/internal/JPackage;
0 14 1 name Ljava/lang/String;
0 14 2 cw Lcom/sun/codemodel/internal/JCodeModel;
8 9 3 msg Ljava/lang/String;
MethodParameters:
Name Flags
name
cw
public com.sun.codemodel.internal.JClassContainer parentContainer();
descriptor: ()Lcom/sun/codemodel/internal/JClassContainer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.codemodel.internal.JPackage.parent:()Lcom/sun/codemodel/internal/JPackage;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JPackage;
public com.sun.codemodel.internal.JPackage parent();
descriptor: ()Lcom/sun/codemodel/internal/JPackage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.JPackage.name:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JPackage.name:Ljava/lang/String;
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 1
start local 1 2: aload 0
getfield com.sun.codemodel.internal.JPackage.owner:Lcom/sun/codemodel/internal/JCodeModel;
aload 0
getfield com.sun.codemodel.internal.JPackage.name:Ljava/lang/String;
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JCodeModel._package:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JPackage;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/codemodel/internal/JPackage;
2 3 1 idx I
public boolean isClass();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JPackage;
public boolean isPackage();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JPackage;
public com.sun.codemodel.internal.JPackage getPackage();
descriptor: ()Lcom/sun/codemodel/internal/JPackage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JPackage;
public com.sun.codemodel.internal.JDefinedClass _class(int, java.lang.String);
descriptor: (ILjava/lang/String;)Lcom/sun/codemodel/internal/JDefinedClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
getstatic com.sun.codemodel.internal.ClassType.CLASS:Lcom/sun/codemodel/internal/ClassType;
invokevirtual com.sun.codemodel.internal.JPackage._class:(ILjava/lang/String;Lcom/sun/codemodel/internal/ClassType;)Lcom/sun/codemodel/internal/JDefinedClass;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JPackage;
0 1 1 mods I
0 1 2 name Ljava/lang/String;
Exceptions:
throws com.sun.codemodel.internal.JClassAlreadyExistsException
MethodParameters:
Name Flags
mods
name
public com.sun.codemodel.internal.JDefinedClass _class(int, java.lang.String, boolean);
descriptor: (ILjava/lang/String;Z)Lcom/sun/codemodel/internal/JDefinedClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
iload 3
ifeq 1
getstatic com.sun.codemodel.internal.ClassType.INTERFACE:Lcom/sun/codemodel/internal/ClassType;
goto 2
StackMap locals: com.sun.codemodel.internal.JPackage int java.lang.String int
StackMap stack: com.sun.codemodel.internal.JPackage int java.lang.String
1: getstatic com.sun.codemodel.internal.ClassType.CLASS:Lcom/sun/codemodel/internal/ClassType;
StackMap locals: com.sun.codemodel.internal.JPackage int java.lang.String int
StackMap stack: com.sun.codemodel.internal.JPackage int java.lang.String com.sun.codemodel.internal.ClassType
2: invokevirtual com.sun.codemodel.internal.JPackage._class:(ILjava/lang/String;Lcom/sun/codemodel/internal/ClassType;)Lcom/sun/codemodel/internal/JDefinedClass;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/codemodel/internal/JPackage;
0 3 1 mods I
0 3 2 name Ljava/lang/String;
0 3 3 isInterface Z
Exceptions:
throws com.sun.codemodel.internal.JClassAlreadyExistsException
MethodParameters:
Name Flags
mods
name
isInterface
public com.sun.codemodel.internal.JDefinedClass _class(int, java.lang.String, com.sun.codemodel.internal.ClassType);
descriptor: (ILjava/lang/String;Lcom/sun/codemodel/internal/ClassType;)Lcom/sun/codemodel/internal/JDefinedClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.codemodel.internal.JPackage.classes:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 2
1: new com.sun.codemodel.internal.JClassAlreadyExistsException
dup
aload 0
getfield com.sun.codemodel.internal.JPackage.classes:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JDefinedClass
invokespecial com.sun.codemodel.internal.JClassAlreadyExistsException.<init>:(Lcom/sun/codemodel/internal/JDefinedClass;)V
athrow
2: StackMap locals:
StackMap stack:
new com.sun.codemodel.internal.JDefinedClass
dup
aload 0
iload 1
aload 2
aload 3
invokespecial com.sun.codemodel.internal.JDefinedClass.<init>:(Lcom/sun/codemodel/internal/JClassContainer;ILjava/lang/String;Lcom/sun/codemodel/internal/ClassType;)V
astore 4
start local 4 3: aload 0
getfield com.sun.codemodel.internal.JPackage.upperCaseClassMap:Ljava/util/Map;
ifnull 8
4: aload 0
getfield com.sun.codemodel.internal.JPackage.upperCaseClassMap:Ljava/util/Map;
aload 2
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JDefinedClass
astore 5
start local 5 5: aload 5
ifnull 7
6: new com.sun.codemodel.internal.JClassAlreadyExistsException
dup
aload 5
invokespecial com.sun.codemodel.internal.JClassAlreadyExistsException.<init>:(Lcom/sun/codemodel/internal/JDefinedClass;)V
athrow
7: StackMap locals: com.sun.codemodel.internal.JDefinedClass com.sun.codemodel.internal.JDefinedClass
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JPackage.upperCaseClassMap:Ljava/util/Map;
aload 2
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JPackage.classes:Ljava/util/Map;
aload 2
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 4
areturn
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/codemodel/internal/JPackage;
0 10 1 mods I
0 10 2 name Ljava/lang/String;
0 10 3 classTypeVal Lcom/sun/codemodel/internal/ClassType;
3 10 4 c Lcom/sun/codemodel/internal/JDefinedClass;
5 8 5 dc Lcom/sun/codemodel/internal/JDefinedClass;
Exceptions:
throws com.sun.codemodel.internal.JClassAlreadyExistsException
MethodParameters:
Name Flags
mods
name
classTypeVal
public com.sun.codemodel.internal.JDefinedClass _class(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/codemodel/internal/JDefinedClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
aload 1
invokevirtual com.sun.codemodel.internal.JPackage._class:(ILjava/lang/String;)Lcom/sun/codemodel/internal/JDefinedClass;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JPackage;
0 1 1 name Ljava/lang/String;
Exceptions:
throws com.sun.codemodel.internal.JClassAlreadyExistsException
MethodParameters:
Name Flags
name
public com.sun.codemodel.internal.JDefinedClass _getClass(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/codemodel/internal/JDefinedClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.codemodel.internal.JPackage.classes:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
getfield com.sun.codemodel.internal.JPackage.classes:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JDefinedClass
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/codemodel/internal/JPackage;
0 3 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public int compareTo(com.sun.codemodel.internal.JPackage);
descriptor: (Lcom/sun/codemodel/internal/JPackage;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.codemodel.internal.JPackage.name:Ljava/lang/String;
aload 1
getfield com.sun.codemodel.internal.JPackage.name:Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JPackage;
0 1 1 that Lcom/sun/codemodel/internal/JPackage;
MethodParameters:
Name Flags
that
public com.sun.codemodel.internal.JDefinedClass _interface(int, java.lang.String);
descriptor: (ILjava/lang/String;)Lcom/sun/codemodel/internal/JDefinedClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
getstatic com.sun.codemodel.internal.ClassType.INTERFACE:Lcom/sun/codemodel/internal/ClassType;
invokevirtual com.sun.codemodel.internal.JPackage._class:(ILjava/lang/String;Lcom/sun/codemodel/internal/ClassType;)Lcom/sun/codemodel/internal/JDefinedClass;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JPackage;
0 1 1 mods I
0 1 2 name Ljava/lang/String;
Exceptions:
throws com.sun.codemodel.internal.JClassAlreadyExistsException
MethodParameters:
Name Flags
mods
name
public com.sun.codemodel.internal.JDefinedClass _interface(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/codemodel/internal/JDefinedClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
aload 1
invokevirtual com.sun.codemodel.internal.JPackage._interface:(ILjava/lang/String;)Lcom/sun/codemodel/internal/JDefinedClass;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JPackage;
0 1 1 name Ljava/lang/String;
Exceptions:
throws com.sun.codemodel.internal.JClassAlreadyExistsException
MethodParameters:
Name Flags
name
public com.sun.codemodel.internal.JDefinedClass _annotationTypeDeclaration(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/codemodel/internal/JDefinedClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
aload 1
getstatic com.sun.codemodel.internal.ClassType.ANNOTATION_TYPE_DECL:Lcom/sun/codemodel/internal/ClassType;
invokevirtual com.sun.codemodel.internal.JPackage._class:(ILjava/lang/String;Lcom/sun/codemodel/internal/ClassType;)Lcom/sun/codemodel/internal/JDefinedClass;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JPackage;
0 1 1 name Ljava/lang/String;
Exceptions:
throws com.sun.codemodel.internal.JClassAlreadyExistsException
MethodParameters:
Name Flags
name
public com.sun.codemodel.internal.JDefinedClass _enum(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/codemodel/internal/JDefinedClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
aload 1
getstatic com.sun.codemodel.internal.ClassType.ENUM:Lcom/sun/codemodel/internal/ClassType;
invokevirtual com.sun.codemodel.internal.JPackage._class:(ILjava/lang/String;Lcom/sun/codemodel/internal/ClassType;)Lcom/sun/codemodel/internal/JDefinedClass;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JPackage;
0 1 1 name Ljava/lang/String;
Exceptions:
throws com.sun.codemodel.internal.JClassAlreadyExistsException
MethodParameters:
Name Flags
name
public com.sun.codemodel.internal.JResourceFile addResourceFile(com.sun.codemodel.internal.JResourceFile);
descriptor: (Lcom/sun/codemodel/internal/JResourceFile;)Lcom/sun/codemodel/internal/JResourceFile;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.codemodel.internal.JPackage.resources:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
1: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/JPackage;
0 2 1 rsrc Lcom/sun/codemodel/internal/JResourceFile;
MethodParameters:
Name Flags
rsrc
public boolean hasResourceFile(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.codemodel.internal.JPackage.resources:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: com.sun.codemodel.internal.JPackage java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JResourceFile
astore 2
start local 2 2: aload 2
invokevirtual com.sun.codemodel.internal.JResourceFile.name:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: iconst_1
ireturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/codemodel/internal/JPackage;
0 6 1 name Ljava/lang/String;
2 4 2 r Lcom/sun/codemodel/internal/JResourceFile;
MethodParameters:
Name Flags
name
public java.util.Iterator<com.sun.codemodel.internal.JResourceFile> propertyFiles();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.JPackage.resources:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JPackage;
Signature: ()Ljava/util/Iterator<Lcom/sun/codemodel/internal/JResourceFile;>;
public com.sun.codemodel.internal.JDocComment ();
descriptor: ()Lcom/sun/codemodel/internal/JDocComment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.JPackage.jdoc:Lcom/sun/codemodel/internal/JDocComment;
ifnonnull 2
1: aload 0
new com.sun.codemodel.internal.JDocComment
dup
aload 0
invokevirtual com.sun.codemodel.internal.JPackage.owner:()Lcom/sun/codemodel/internal/JCodeModel;
invokespecial com.sun.codemodel.internal.JDocComment.<init>:(Lcom/sun/codemodel/internal/JCodeModel;)V
putfield com.sun.codemodel.internal.JPackage.jdoc:Lcom/sun/codemodel/internal/JDocComment;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JPackage.jdoc:Lcom/sun/codemodel/internal/JDocComment;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/codemodel/internal/JPackage;
public void remove(com.sun.codemodel.internal.JClass);
descriptor: (Lcom/sun/codemodel/internal/JClass;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.codemodel.internal.JClass._package:()Lcom/sun/codemodel/internal/JPackage;
aload 0
if_acmpeq 4
1: new java.lang.IllegalArgumentException
dup
2: ldc "the specified class is not a member of this package, or it is a referenced class"
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JPackage.classes:Ljava/util/Map;
aload 1
invokevirtual com.sun.codemodel.internal.JClass.name:()Ljava/lang/String;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 0
getfield com.sun.codemodel.internal.JPackage.upperCaseClassMap:Ljava/util/Map;
ifnull 7
6: aload 0
getfield com.sun.codemodel.internal.JPackage.upperCaseClassMap:Ljava/util/Map;
aload 1
invokevirtual com.sun.codemodel.internal.JClass.name:()Ljava/lang/String;
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/codemodel/internal/JPackage;
0 8 1 c Lcom/sun/codemodel/internal/JClass;
MethodParameters:
Name Flags
c
public com.sun.codemodel.internal.JClass ref(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/codemodel/internal/JClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
bipush 46
invokevirtual java.lang.String.indexOf:(I)I
iflt 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "JClass name contains '.': "
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.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
ldc ""
astore 2
start local 2 3: aload 0
invokevirtual com.sun.codemodel.internal.JPackage.isUnnamed:()Z
ifne 5
4: new java.lang.StringBuilder
dup
aload 0
getfield com.sun.codemodel.internal.JPackage.name:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
5: StackMap locals: java.lang.String
StackMap stack:
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
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
6: aload 0
getfield com.sun.codemodel.internal.JPackage.owner:Lcom/sun/codemodel/internal/JCodeModel;
aload 2
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JClass;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/codemodel/internal/JPackage;
0 7 1 name Ljava/lang/String;
3 7 2 n Ljava/lang/String;
Exceptions:
throws java.lang.ClassNotFoundException
MethodParameters:
Name Flags
name
public com.sun.codemodel.internal.JPackage subPackage(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/codemodel/internal/JPackage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.codemodel.internal.JPackage.isUnnamed:()Z
ifeq 1
aload 0
invokevirtual com.sun.codemodel.internal.JPackage.owner:()Lcom/sun/codemodel/internal/JCodeModel;
aload 1
invokevirtual com.sun.codemodel.internal.JCodeModel._package:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JPackage;
areturn
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.codemodel.internal.JPackage.owner:()Lcom/sun/codemodel/internal/JCodeModel;
new java.lang.StringBuilder
dup
aload 0
getfield com.sun.codemodel.internal.JPackage.name:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JCodeModel._package:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JPackage;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/JPackage;
0 2 1 pkg Ljava/lang/String;
MethodParameters:
Name Flags
pkg
public java.util.Iterator<com.sun.codemodel.internal.JDefinedClass> classes();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.JPackage.classes:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JPackage;
Signature: ()Ljava/util/Iterator<Lcom/sun/codemodel/internal/JDefinedClass;>;
public boolean hasClasses();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.JPackage.classes:Ljava/util/Map;
invokeinterface java.util.Map.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 this Lcom/sun/codemodel/internal/JPackage;
public boolean isDefined(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.codemodel.internal.JPackage.classes:()Ljava/util/Iterator;
astore 2
start local 2 1: goto 4
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JDefinedClass
invokevirtual com.sun.codemodel.internal.JDefinedClass.name:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/codemodel/internal/JPackage;
0 6 1 classLocalName Ljava/lang/String;
1 6 2 itr Ljava/util/Iterator<Lcom/sun/codemodel/internal/JDefinedClass;>;
MethodParameters:
Name Flags
classLocalName
public final boolean isUnnamed();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.JPackage.name:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 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/codemodel/internal/JPackage;
public java.lang.String name();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.JPackage.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JPackage;
public final com.sun.codemodel.internal.JCodeModel owner();
descriptor: ()Lcom/sun/codemodel/internal/JCodeModel;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.JPackage.owner:Lcom/sun/codemodel/internal/JCodeModel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JPackage;
public com.sun.codemodel.internal.JAnnotationUse annotate(com.sun.codemodel.internal.JClass);
descriptor: (Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JAnnotationUse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.codemodel.internal.JPackage.isUnnamed:()Z
ifeq 2
1: new java.lang.IllegalArgumentException
dup
ldc "the root package cannot be annotated"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JPackage.annotations:Ljava/util/List;
ifnonnull 4
3: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.codemodel.internal.JPackage.annotations:Ljava/util/List;
4: StackMap locals:
StackMap stack:
new com.sun.codemodel.internal.JAnnotationUse
dup
aload 1
invokespecial com.sun.codemodel.internal.JAnnotationUse.<init>:(Lcom/sun/codemodel/internal/JClass;)V
astore 2
start local 2 5: aload 0
getfield com.sun.codemodel.internal.JPackage.annotations:Ljava/util/List;
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/codemodel/internal/JPackage;
0 7 1 clazz Lcom/sun/codemodel/internal/JClass;
5 7 2 a Lcom/sun/codemodel/internal/JAnnotationUse;
MethodParameters:
Name Flags
clazz
public com.sun.codemodel.internal.JAnnotationUse annotate(java.lang.Class<? extends java.lang.annotation.Annotation>);
descriptor: (Ljava/lang/Class;)Lcom/sun/codemodel/internal/JAnnotationUse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield com.sun.codemodel.internal.JPackage.owner:Lcom/sun/codemodel/internal/JCodeModel;
aload 1
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JClass;
invokevirtual com.sun.codemodel.internal.JPackage.annotate:(Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JAnnotationUse;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JPackage;
0 1 1 clazz Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
Signature: (Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)Lcom/sun/codemodel/internal/JAnnotationUse;
MethodParameters:
Name Flags
clazz
public <W extends com.sun.codemodel.internal.JAnnotationWriter> W annotate2(java.lang.Class<W>);
descriptor: (Ljava/lang/Class;)Lcom/sun/codemodel/internal/JAnnotationWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokestatic com.sun.codemodel.internal.TypedAnnotationWriter.create:(Ljava/lang/Class;Lcom/sun/codemodel/internal/JAnnotatable;)Lcom/sun/codemodel/internal/JAnnotationWriter;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JPackage;
0 1 1 clazz Ljava/lang/Class<TW;>;
Signature: <W::Lcom/sun/codemodel/internal/JAnnotationWriter;>(Ljava/lang/Class<TW;>;)TW;
MethodParameters:
Name Flags
clazz
public boolean removeAnnotation(com.sun.codemodel.internal.JAnnotationUse);
descriptor: (Lcom/sun/codemodel/internal/JAnnotationUse;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.codemodel.internal.JPackage.annotations:Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JPackage;
0 1 1 annotation Lcom/sun/codemodel/internal/JAnnotationUse;
MethodParameters:
Name Flags
annotation
public java.util.Collection<com.sun.codemodel.internal.JAnnotationUse> annotations();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.JPackage.annotations:Ljava/util/List;
ifnonnull 2
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.codemodel.internal.JPackage.annotations:Ljava/util/List;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JPackage.annotations:Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/codemodel/internal/JPackage;
Signature: ()Ljava/util/Collection<Lcom/sun/codemodel/internal/JAnnotationUse;>;
java.io.File toPath(java.io.File);
descriptor: (Ljava/io/File;)Ljava/io/File;
flags: (0x0000)
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.codemodel.internal.JPackage.name:Ljava/lang/String;
ifnonnull 1
aload 1
areturn
1: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 1
aload 0
getfield com.sun.codemodel.internal.JPackage.name:Ljava/lang/String;
bipush 46
getstatic java.io.File.separatorChar:C
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/JPackage;
0 2 1 dir Ljava/io/File;
MethodParameters:
Name Flags
dir
public void declare(com.sun.codemodel.internal.JFormatter);
descriptor: (Lcom/sun/codemodel/internal/JFormatter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.codemodel.internal.JPackage.name:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifeq 2
1: aload 1
ldc "package"
invokevirtual com.sun.codemodel.internal.JFormatter.p:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
aload 0
getfield com.sun.codemodel.internal.JPackage.name:Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JFormatter.p:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
bipush 59
invokevirtual com.sun.codemodel.internal.JFormatter.p:(C)Lcom/sun/codemodel/internal/JFormatter;
invokevirtual com.sun.codemodel.internal.JFormatter.nl:()Lcom/sun/codemodel/internal/JFormatter;
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/codemodel/internal/JPackage;
0 3 1 f Lcom/sun/codemodel/internal/JFormatter;
MethodParameters:
Name Flags
f
public void generate(com.sun.codemodel.internal.JFormatter);
descriptor: (Lcom/sun/codemodel/internal/JFormatter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.sun.codemodel.internal.JPackage.name:Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JFormatter.p:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/JPackage;
0 2 1 f Lcom/sun/codemodel/internal/JFormatter;
MethodParameters:
Name Flags
f
void build(com.sun.codemodel.internal.CodeWriter, com.sun.codemodel.internal.CodeWriter);
descriptor: (Lcom/sun/codemodel/internal/CodeWriter;Lcom/sun/codemodel/internal/CodeWriter;)V
flags: (0x0000)
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.codemodel.internal.JPackage.classes:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: com.sun.codemodel.internal.JPackage com.sun.codemodel.internal.CodeWriter com.sun.codemodel.internal.CodeWriter top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JDefinedClass
astore 3
start local 3 2: aload 3
invokevirtual com.sun.codemodel.internal.JDefinedClass.isHidden:()Z
ifeq 4
3: goto 7
4: StackMap locals: com.sun.codemodel.internal.JPackage com.sun.codemodel.internal.CodeWriter com.sun.codemodel.internal.CodeWriter com.sun.codemodel.internal.JDefinedClass java.util.Iterator
StackMap stack:
aload 0
aload 1
aload 3
invokevirtual com.sun.codemodel.internal.JDefinedClass.name:()Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JPackage.createJavaSourceFileWriter:(Lcom/sun/codemodel/internal/CodeWriter;Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
astore 5
start local 5 5: aload 5
aload 3
invokevirtual com.sun.codemodel.internal.JFormatter.write:(Lcom/sun/codemodel/internal/JDefinedClass;)V
6: aload 5
invokevirtual com.sun.codemodel.internal.JFormatter.close:()V
end local 5 end local 3 7: StackMap locals: com.sun.codemodel.internal.JPackage com.sun.codemodel.internal.CodeWriter com.sun.codemodel.internal.CodeWriter top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
8: aload 0
getfield com.sun.codemodel.internal.JPackage.annotations:Ljava/util/List;
ifnonnull 9
aload 0
getfield com.sun.codemodel.internal.JPackage.jdoc:Lcom/sun/codemodel/internal/JDocComment;
ifnull 19
9: StackMap locals: com.sun.codemodel.internal.JPackage com.sun.codemodel.internal.CodeWriter com.sun.codemodel.internal.CodeWriter
StackMap stack:
aload 0
aload 1
ldc "package-info"
invokevirtual com.sun.codemodel.internal.JPackage.createJavaSourceFileWriter:(Lcom/sun/codemodel/internal/CodeWriter;Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
astore 3
start local 3 10: aload 0
getfield com.sun.codemodel.internal.JPackage.jdoc:Lcom/sun/codemodel/internal/JDocComment;
ifnull 12
11: aload 3
aload 0
getfield com.sun.codemodel.internal.JPackage.jdoc:Lcom/sun/codemodel/internal/JDocComment;
invokevirtual com.sun.codemodel.internal.JFormatter.g:(Lcom/sun/codemodel/internal/JGenerable;)Lcom/sun/codemodel/internal/JFormatter;
pop
12: StackMap locals: com.sun.codemodel.internal.JFormatter
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JPackage.annotations:Ljava/util/List;
ifnull 17
13: aload 0
getfield com.sun.codemodel.internal.JPackage.annotations:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 16
StackMap locals: com.sun.codemodel.internal.JPackage com.sun.codemodel.internal.CodeWriter com.sun.codemodel.internal.CodeWriter com.sun.codemodel.internal.JFormatter top java.util.Iterator
StackMap stack:
14: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JAnnotationUse
astore 4
start local 4 15: aload 3
aload 4
invokevirtual com.sun.codemodel.internal.JFormatter.g:(Lcom/sun/codemodel/internal/JGenerable;)Lcom/sun/codemodel/internal/JFormatter;
invokevirtual com.sun.codemodel.internal.JFormatter.nl:()Lcom/sun/codemodel/internal/JFormatter;
pop
end local 4 16: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
17: StackMap locals: com.sun.codemodel.internal.JPackage com.sun.codemodel.internal.CodeWriter com.sun.codemodel.internal.CodeWriter com.sun.codemodel.internal.JFormatter
StackMap stack:
aload 3
aload 0
invokevirtual com.sun.codemodel.internal.JFormatter.d:(Lcom/sun/codemodel/internal/JDeclaration;)Lcom/sun/codemodel/internal/JFormatter;
pop
18: aload 3
invokevirtual com.sun.codemodel.internal.JFormatter.close:()V
end local 3 19: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JPackage.resources:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 27
StackMap locals: com.sun.codemodel.internal.JPackage com.sun.codemodel.internal.CodeWriter com.sun.codemodel.internal.CodeWriter top java.util.Iterator
StackMap stack:
20: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JResourceFile
astore 3
start local 3 21: aload 3
invokevirtual com.sun.codemodel.internal.JResourceFile.isResource:()Z
ifeq 22
aload 2
goto 23
StackMap locals: com.sun.codemodel.internal.JPackage com.sun.codemodel.internal.CodeWriter com.sun.codemodel.internal.CodeWriter com.sun.codemodel.internal.JResourceFile java.util.Iterator
StackMap stack:
22: aload 1
StackMap locals:
StackMap stack: com.sun.codemodel.internal.CodeWriter
23: astore 5
start local 5 24: new java.io.BufferedOutputStream
dup
aload 5
aload 0
aload 3
invokevirtual com.sun.codemodel.internal.JResourceFile.name:()Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.CodeWriter.openBinary:(Lcom/sun/codemodel/internal/JPackage;Ljava/lang/String;)Ljava/io/OutputStream;
invokespecial java.io.BufferedOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 6
start local 6 25: aload 3
aload 6
invokevirtual com.sun.codemodel.internal.JResourceFile.build:(Ljava/io/OutputStream;)V
26: aload 6
invokevirtual java.io.OutputStream.close:()V
end local 6 end local 5 end local 3 27: StackMap locals: com.sun.codemodel.internal.JPackage com.sun.codemodel.internal.CodeWriter com.sun.codemodel.internal.CodeWriter top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 20
28: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/sun/codemodel/internal/JPackage;
0 29 1 src Lcom/sun/codemodel/internal/CodeWriter;
0 29 2 res Lcom/sun/codemodel/internal/CodeWriter;
2 7 3 c Lcom/sun/codemodel/internal/JDefinedClass;
5 7 5 f Lcom/sun/codemodel/internal/JFormatter;
10 19 3 f Lcom/sun/codemodel/internal/JFormatter;
15 16 4 a Lcom/sun/codemodel/internal/JAnnotationUse;
21 27 3 rsrc Lcom/sun/codemodel/internal/JResourceFile;
24 27 5 cw Lcom/sun/codemodel/internal/CodeWriter;
25 27 6 os Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
src
res
int countArtifacts();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield com.sun.codemodel.internal.JPackage.classes:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: com.sun.codemodel.internal.JPackage int top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JDefinedClass
astore 2
start local 2 3: aload 2
invokevirtual com.sun.codemodel.internal.JDefinedClass.isHidden:()Z
ifeq 5
4: goto 6
5: StackMap locals: com.sun.codemodel.internal.JPackage int com.sun.codemodel.internal.JDefinedClass java.util.Iterator
StackMap stack:
iinc 1 1
end local 2 6: StackMap locals: com.sun.codemodel.internal.JPackage int top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: aload 0
getfield com.sun.codemodel.internal.JPackage.annotations:Ljava/util/List;
ifnonnull 8
aload 0
getfield com.sun.codemodel.internal.JPackage.jdoc:Lcom/sun/codemodel/internal/JDocComment;
ifnull 9
8: StackMap locals: com.sun.codemodel.internal.JPackage int
StackMap stack:
iinc 1 1
9: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield com.sun.codemodel.internal.JPackage.resources:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
iadd
istore 1
10: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/codemodel/internal/JPackage;
1 11 1 r I
3 6 2 c Lcom/sun/codemodel/internal/JDefinedClass;
private com.sun.codemodel.internal.JFormatter createJavaSourceFileWriter(com.sun.codemodel.internal.CodeWriter, java.lang.String);
descriptor: (Lcom/sun/codemodel/internal/CodeWriter;Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.io.BufferedWriter
dup
aload 1
aload 0
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
ldc ".java"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.CodeWriter.openSource:(Lcom/sun/codemodel/internal/JPackage;Ljava/lang/String;)Ljava/io/Writer;
invokespecial java.io.BufferedWriter.<init>:(Ljava/io/Writer;)V
astore 3
start local 3 1: new com.sun.codemodel.internal.JFormatter
dup
new java.io.PrintWriter
dup
aload 3
invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
invokespecial com.sun.codemodel.internal.JFormatter.<init>:(Ljava/io/PrintWriter;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/JPackage;
0 2 1 src Lcom/sun/codemodel/internal/CodeWriter;
0 2 2 className Ljava/lang/String;
1 2 3 bw Ljava/io/Writer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
src
className
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast com.sun.codemodel.internal.JPackage
invokevirtual com.sun.codemodel.internal.JPackage.compareTo:(Lcom/sun/codemodel/internal/JPackage;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/sun/codemodel/internal/JDeclaration;Lcom/sun/codemodel/internal/JGenerable;Lcom/sun/codemodel/internal/JClassContainer;Lcom/sun/codemodel/internal/JAnnotatable;Ljava/lang/Comparable<Lcom/sun/codemodel/internal/JPackage;>;Lcom/sun/codemodel/internal/JDocCommentable;
SourceFile: "JPackage.java"