public class com.sun.org.apache.bcel.internal.util.ClassSet
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.bcel.internal.util.ClassSet
super_class: java.lang.Object
{
private final java.util.Map<java.lang.String, com.sun.org.apache.bcel.internal.classfile.JavaClass> map;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;>;
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.org.apache.bcel.internal.util.ClassSet.map:Ljava/util/Map;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/bcel/internal/util/ClassSet;
public boolean add(com.sun.org.apache.bcel.internal.classfile.JavaClass);
descriptor: (Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
getfield com.sun.org.apache.bcel.internal.util.ClassSet.map:Ljava/util/Map;
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.JavaClass.getClassName:()Ljava/lang/String;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 4
2: iconst_1
istore 2
3: aload 0
getfield com.sun.org.apache.bcel.internal.util.ClassSet.map:Ljava/util/Map;
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.JavaClass.getClassName:()Ljava/lang/String;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/bcel/internal/util/ClassSet;
0 5 1 clazz Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;
1 5 2 result Z
MethodParameters:
Name Flags
clazz final
public void remove(com.sun.org.apache.bcel.internal.classfile.JavaClass);
descriptor: (Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;)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.org.apache.bcel.internal.util.ClassSet.map:Ljava/util/Map;
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.JavaClass.getClassName:()Ljava/lang/String;
invokeinterface java.util.Map.remove:(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/org/apache/bcel/internal/util/ClassSet;
0 2 1 clazz Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;
MethodParameters:
Name Flags
clazz final
public boolean empty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.util.ClassSet.map:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/util/ClassSet;
public com.sun.org.apache.bcel.internal.classfile.JavaClass[] toArray();
descriptor: ()[Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.util.ClassSet.map:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
astore 1
start local 1 1: aload 1
invokeinterface java.util.Collection.size:()I
anewarray com.sun.org.apache.bcel.internal.classfile.JavaClass
astore 2
start local 2 2: aload 1
aload 2
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/util/ClassSet;
1 4 1 values Ljava/util/Collection<Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;>;
2 4 2 classes [Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;
public java.lang.String[] getClassNames();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.util.ClassSet.map:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
aload 0
getfield com.sun.org.apache.bcel.internal.util.ClassSet.map:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
anewarray java.lang.String
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/util/ClassSet;
}
SourceFile: "ClassSet.java"