public class javax.lang.model.util.ElementFilter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.lang.model.util.ElementFilter
super_class: java.lang.Object
{
private static final java.util.Set<javax.lang.model.element.ElementKind> CONSTRUCTOR_KIND;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljavax/lang/model/element/ElementKind;>;
private static final java.util.Set<javax.lang.model.element.ElementKind> FIELD_KINDS;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljavax/lang/model/element/ElementKind;>;
private static final java.util.Set<javax.lang.model.element.ElementKind> METHOD_KIND;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljavax/lang/model/element/ElementKind;>;
private static final java.util.Set<javax.lang.model.element.ElementKind> PACKAGE_KIND;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljavax/lang/model/element/ElementKind;>;
private static final java.util.Set<javax.lang.model.element.ElementKind> MODULE_KIND;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljavax/lang/model/element/ElementKind;>;
private static final java.util.Set<javax.lang.model.element.ElementKind> TYPE_KINDS;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljavax/lang/model/element/ElementKind;>;
private static final java.util.Set<javax.lang.model.element.ElementKind> RECORD_COMPONENT_KIND;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljavax/lang/model/element/ElementKind;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: getstatic javax.lang.model.element.ElementKind.CONSTRUCTOR:Ljavax/lang/model/element/ElementKind;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
1: putstatic javax.lang.model.util.ElementFilter.CONSTRUCTOR_KIND:Ljava/util/Set;
2: getstatic javax.lang.model.element.ElementKind.FIELD:Ljavax/lang/model/element/ElementKind;
3: getstatic javax.lang.model.element.ElementKind.ENUM_CONSTANT:Ljavax/lang/model/element/ElementKind;
4: invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;Ljava/lang/Enum;)Ljava/util/EnumSet;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
5: putstatic javax.lang.model.util.ElementFilter.FIELD_KINDS:Ljava/util/Set;
6: getstatic javax.lang.model.element.ElementKind.METHOD:Ljavax/lang/model/element/ElementKind;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
7: putstatic javax.lang.model.util.ElementFilter.METHOD_KIND:Ljava/util/Set;
8: getstatic javax.lang.model.element.ElementKind.PACKAGE:Ljavax/lang/model/element/ElementKind;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
9: putstatic javax.lang.model.util.ElementFilter.PACKAGE_KIND:Ljava/util/Set;
10: getstatic javax.lang.model.element.ElementKind.MODULE:Ljavax/lang/model/element/ElementKind;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
11: putstatic javax.lang.model.util.ElementFilter.MODULE_KIND:Ljava/util/Set;
12: getstatic javax.lang.model.element.ElementKind.CLASS:Ljavax/lang/model/element/ElementKind;
13: getstatic javax.lang.model.element.ElementKind.ENUM:Ljavax/lang/model/element/ElementKind;
14: getstatic javax.lang.model.element.ElementKind.INTERFACE:Ljavax/lang/model/element/ElementKind;
15: getstatic javax.lang.model.element.ElementKind.RECORD:Ljavax/lang/model/element/ElementKind;
16: getstatic javax.lang.model.element.ElementKind.ANNOTATION_TYPE:Ljavax/lang/model/element/ElementKind;
17: invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;Ljava/lang/Enum;Ljava/lang/Enum;Ljava/lang/Enum;Ljava/lang/Enum;)Ljava/util/EnumSet;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
18: putstatic javax.lang.model.util.ElementFilter.TYPE_KINDS:Ljava/util/Set;
19: getstatic javax.lang.model.element.ElementKind.RECORD_COMPONENT:Ljavax/lang/model/element/ElementKind;
invokestatic java.util.Set.of:(Ljava/lang/Object;)Ljava/util/Set;
20: putstatic javax.lang.model.util.ElementFilter.RECORD_COMPONENT_KIND:Ljava/util/Set;
21: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/lang/model/util/ElementFilter;
public static java.util.List<javax.lang.model.element.VariableElement> fieldsIn(java.lang.Iterable<? extends javax.lang.model.element.Element>);
descriptor: (Ljava/lang/Iterable;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic javax.lang.model.util.ElementFilter.FIELD_KINDS:Ljava/util/Set;
ldc Ljavax/lang/model/element/VariableElement;
invokestatic javax.lang.model.util.ElementFilter.listFilter:(Ljava/lang/Iterable;Ljava/util/Set;Ljava/lang/Class;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 elements Ljava/lang/Iterable<+Ljavax/lang/model/element/Element;>;
Signature: (Ljava/lang/Iterable<+Ljavax/lang/model/element/Element;>;)Ljava/util/List<Ljavax/lang/model/element/VariableElement;>;
MethodParameters:
Name Flags
elements
public static java.util.Set<javax.lang.model.element.VariableElement> fieldsIn(java.util.Set<? extends javax.lang.model.element.Element>);
descriptor: (Ljava/util/Set;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic javax.lang.model.util.ElementFilter.FIELD_KINDS:Ljava/util/Set;
ldc Ljavax/lang/model/element/VariableElement;
invokestatic javax.lang.model.util.ElementFilter.setFilter:(Ljava/util/Set;Ljava/util/Set;Ljava/lang/Class;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 elements Ljava/util/Set<+Ljavax/lang/model/element/Element;>;
Signature: (Ljava/util/Set<+Ljavax/lang/model/element/Element;>;)Ljava/util/Set<Ljavax/lang/model/element/VariableElement;>;
MethodParameters:
Name Flags
elements
public static java.util.List<javax.lang.model.element.RecordComponentElement> recordComponentsIn(java.lang.Iterable<? extends javax.lang.model.element.Element>);
descriptor: (Ljava/lang/Iterable;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic javax.lang.model.util.ElementFilter.RECORD_COMPONENT_KIND:Ljava/util/Set;
ldc Ljavax/lang/model/element/RecordComponentElement;
invokestatic javax.lang.model.util.ElementFilter.listFilter:(Ljava/lang/Iterable;Ljava/util/Set;Ljava/lang/Class;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 elements Ljava/lang/Iterable<+Ljavax/lang/model/element/Element;>;
Signature: (Ljava/lang/Iterable<+Ljavax/lang/model/element/Element;>;)Ljava/util/List<Ljavax/lang/model/element/RecordComponentElement;>;
RuntimeInvisibleAnnotations:
jdk.internal.PreviewFeature(feature = jdk.internal.PreviewFeature$Feature.RECORDS:Ljdk/internal/PreviewFeature$Feature;, essentialAPI = false)
MethodParameters:
Name Flags
elements
public static java.util.Set<javax.lang.model.element.RecordComponentElement> recordComponentsIn(java.util.Set<? extends javax.lang.model.element.Element>);
descriptor: (Ljava/util/Set;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic javax.lang.model.util.ElementFilter.RECORD_COMPONENT_KIND:Ljava/util/Set;
ldc Ljavax/lang/model/element/RecordComponentElement;
invokestatic javax.lang.model.util.ElementFilter.setFilter:(Ljava/util/Set;Ljava/util/Set;Ljava/lang/Class;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 elements Ljava/util/Set<+Ljavax/lang/model/element/Element;>;
Signature: (Ljava/util/Set<+Ljavax/lang/model/element/Element;>;)Ljava/util/Set<Ljavax/lang/model/element/RecordComponentElement;>;
RuntimeInvisibleAnnotations:
jdk.internal.PreviewFeature(feature = jdk.internal.PreviewFeature$Feature.RECORDS:Ljdk/internal/PreviewFeature$Feature;, essentialAPI = false)
MethodParameters:
Name Flags
elements
public static java.util.List<javax.lang.model.element.ExecutableElement> constructorsIn(java.lang.Iterable<? extends javax.lang.model.element.Element>);
descriptor: (Ljava/lang/Iterable;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic javax.lang.model.util.ElementFilter.CONSTRUCTOR_KIND:Ljava/util/Set;
ldc Ljavax/lang/model/element/ExecutableElement;
invokestatic javax.lang.model.util.ElementFilter.listFilter:(Ljava/lang/Iterable;Ljava/util/Set;Ljava/lang/Class;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 elements Ljava/lang/Iterable<+Ljavax/lang/model/element/Element;>;
Signature: (Ljava/lang/Iterable<+Ljavax/lang/model/element/Element;>;)Ljava/util/List<Ljavax/lang/model/element/ExecutableElement;>;
MethodParameters:
Name Flags
elements
public static java.util.Set<javax.lang.model.element.ExecutableElement> constructorsIn(java.util.Set<? extends javax.lang.model.element.Element>);
descriptor: (Ljava/util/Set;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic javax.lang.model.util.ElementFilter.CONSTRUCTOR_KIND:Ljava/util/Set;
ldc Ljavax/lang/model/element/ExecutableElement;
invokestatic javax.lang.model.util.ElementFilter.setFilter:(Ljava/util/Set;Ljava/util/Set;Ljava/lang/Class;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 elements Ljava/util/Set<+Ljavax/lang/model/element/Element;>;
Signature: (Ljava/util/Set<+Ljavax/lang/model/element/Element;>;)Ljava/util/Set<Ljavax/lang/model/element/ExecutableElement;>;
MethodParameters:
Name Flags
elements
public static java.util.List<javax.lang.model.element.ExecutableElement> methodsIn(java.lang.Iterable<? extends javax.lang.model.element.Element>);
descriptor: (Ljava/lang/Iterable;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic javax.lang.model.util.ElementFilter.METHOD_KIND:Ljava/util/Set;
ldc Ljavax/lang/model/element/ExecutableElement;
invokestatic javax.lang.model.util.ElementFilter.listFilter:(Ljava/lang/Iterable;Ljava/util/Set;Ljava/lang/Class;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 elements Ljava/lang/Iterable<+Ljavax/lang/model/element/Element;>;
Signature: (Ljava/lang/Iterable<+Ljavax/lang/model/element/Element;>;)Ljava/util/List<Ljavax/lang/model/element/ExecutableElement;>;
MethodParameters:
Name Flags
elements
public static java.util.Set<javax.lang.model.element.ExecutableElement> methodsIn(java.util.Set<? extends javax.lang.model.element.Element>);
descriptor: (Ljava/util/Set;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic javax.lang.model.util.ElementFilter.METHOD_KIND:Ljava/util/Set;
ldc Ljavax/lang/model/element/ExecutableElement;
invokestatic javax.lang.model.util.ElementFilter.setFilter:(Ljava/util/Set;Ljava/util/Set;Ljava/lang/Class;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 elements Ljava/util/Set<+Ljavax/lang/model/element/Element;>;
Signature: (Ljava/util/Set<+Ljavax/lang/model/element/Element;>;)Ljava/util/Set<Ljavax/lang/model/element/ExecutableElement;>;
MethodParameters:
Name Flags
elements
public static java.util.List<javax.lang.model.element.TypeElement> typesIn(java.lang.Iterable<? extends javax.lang.model.element.Element>);
descriptor: (Ljava/lang/Iterable;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic javax.lang.model.util.ElementFilter.TYPE_KINDS:Ljava/util/Set;
ldc Ljavax/lang/model/element/TypeElement;
invokestatic javax.lang.model.util.ElementFilter.listFilter:(Ljava/lang/Iterable;Ljava/util/Set;Ljava/lang/Class;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 elements Ljava/lang/Iterable<+Ljavax/lang/model/element/Element;>;
Signature: (Ljava/lang/Iterable<+Ljavax/lang/model/element/Element;>;)Ljava/util/List<Ljavax/lang/model/element/TypeElement;>;
MethodParameters:
Name Flags
elements
public static java.util.Set<javax.lang.model.element.TypeElement> typesIn(java.util.Set<? extends javax.lang.model.element.Element>);
descriptor: (Ljava/util/Set;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic javax.lang.model.util.ElementFilter.TYPE_KINDS:Ljava/util/Set;
ldc Ljavax/lang/model/element/TypeElement;
invokestatic javax.lang.model.util.ElementFilter.setFilter:(Ljava/util/Set;Ljava/util/Set;Ljava/lang/Class;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 elements Ljava/util/Set<+Ljavax/lang/model/element/Element;>;
Signature: (Ljava/util/Set<+Ljavax/lang/model/element/Element;>;)Ljava/util/Set<Ljavax/lang/model/element/TypeElement;>;
MethodParameters:
Name Flags
elements
public static java.util.List<javax.lang.model.element.PackageElement> packagesIn(java.lang.Iterable<? extends javax.lang.model.element.Element>);
descriptor: (Ljava/lang/Iterable;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic javax.lang.model.util.ElementFilter.PACKAGE_KIND:Ljava/util/Set;
ldc Ljavax/lang/model/element/PackageElement;
invokestatic javax.lang.model.util.ElementFilter.listFilter:(Ljava/lang/Iterable;Ljava/util/Set;Ljava/lang/Class;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 elements Ljava/lang/Iterable<+Ljavax/lang/model/element/Element;>;
Signature: (Ljava/lang/Iterable<+Ljavax/lang/model/element/Element;>;)Ljava/util/List<Ljavax/lang/model/element/PackageElement;>;
MethodParameters:
Name Flags
elements
public static java.util.Set<javax.lang.model.element.PackageElement> packagesIn(java.util.Set<? extends javax.lang.model.element.Element>);
descriptor: (Ljava/util/Set;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic javax.lang.model.util.ElementFilter.PACKAGE_KIND:Ljava/util/Set;
ldc Ljavax/lang/model/element/PackageElement;
invokestatic javax.lang.model.util.ElementFilter.setFilter:(Ljava/util/Set;Ljava/util/Set;Ljava/lang/Class;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 elements Ljava/util/Set<+Ljavax/lang/model/element/Element;>;
Signature: (Ljava/util/Set<+Ljavax/lang/model/element/Element;>;)Ljava/util/Set<Ljavax/lang/model/element/PackageElement;>;
MethodParameters:
Name Flags
elements
public static java.util.List<javax.lang.model.element.ModuleElement> modulesIn(java.lang.Iterable<? extends javax.lang.model.element.Element>);
descriptor: (Ljava/lang/Iterable;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic javax.lang.model.util.ElementFilter.MODULE_KIND:Ljava/util/Set;
ldc Ljavax/lang/model/element/ModuleElement;
invokestatic javax.lang.model.util.ElementFilter.listFilter:(Ljava/lang/Iterable;Ljava/util/Set;Ljava/lang/Class;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 elements Ljava/lang/Iterable<+Ljavax/lang/model/element/Element;>;
Signature: (Ljava/lang/Iterable<+Ljavax/lang/model/element/Element;>;)Ljava/util/List<Ljavax/lang/model/element/ModuleElement;>;
MethodParameters:
Name Flags
elements
public static java.util.Set<javax.lang.model.element.ModuleElement> modulesIn(java.util.Set<? extends javax.lang.model.element.Element>);
descriptor: (Ljava/util/Set;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic javax.lang.model.util.ElementFilter.MODULE_KIND:Ljava/util/Set;
ldc Ljavax/lang/model/element/ModuleElement;
invokestatic javax.lang.model.util.ElementFilter.setFilter:(Ljava/util/Set;Ljava/util/Set;Ljava/lang/Class;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 elements Ljava/util/Set<+Ljavax/lang/model/element/Element;>;
Signature: (Ljava/util/Set<+Ljavax/lang/model/element/Element;>;)Ljava/util/Set<Ljavax/lang/model/element/ModuleElement;>;
MethodParameters:
Name Flags
elements
private static <E extends javax.lang.model.element.Element> java.util.List<E> listFilter(java.lang.Iterable<? extends javax.lang.model.element.Element>, java.util.Set<javax.lang.model.element.ElementKind>, java.lang.Class<E>);
descriptor: (Ljava/lang/Iterable;Ljava/util/Set;Ljava/lang/Class;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, 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
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 5
StackMap locals: java.lang.Iterable java.util.Set java.lang.Class java.util.List top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.lang.model.element.Element
astore 4
start local 4 3: aload 1
aload 4
invokeinterface javax.lang.model.element.Element.getKind:()Ljavax/lang/model/element/ElementKind;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 5
4: aload 3
aload 2
aload 4
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.lang.model.element.Element
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 5: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 elements Ljava/lang/Iterable<+Ljavax/lang/model/element/Element;>;
0 7 1 targetKinds Ljava/util/Set<Ljavax/lang/model/element/ElementKind;>;
0 7 2 clazz Ljava/lang/Class<TE;>;
1 7 3 list Ljava/util/List<TE;>;
3 5 4 e Ljavax/lang/model/element/Element;
Signature: <E::Ljavax/lang/model/element/Element;>(Ljava/lang/Iterable<+Ljavax/lang/model/element/Element;>;Ljava/util/Set<Ljavax/lang/model/element/ElementKind;>;Ljava/lang/Class<TE;>;)Ljava/util/List<TE;>;
MethodParameters:
Name Flags
elements
targetKinds
clazz
private static <E extends javax.lang.model.element.Element> java.util.Set<E> setFilter(java.util.Set<? extends javax.lang.model.element.Element>, java.util.Set<javax.lang.model.element.ElementKind>, java.lang.Class<E>);
descriptor: (Ljava/util/Set;Ljava/util/Set;Ljava/lang/Class;)Ljava/util/Set;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
astore 3
start local 3 1: aload 0
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 5
StackMap locals: java.util.Set java.util.Set java.lang.Class java.util.Set top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.lang.model.element.Element
astore 4
start local 4 3: aload 1
aload 4
invokeinterface javax.lang.model.element.Element.getKind:()Ljavax/lang/model/element/ElementKind;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 5
4: aload 3
aload 2
aload 4
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.lang.model.element.Element
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 4 5: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 elements Ljava/util/Set<+Ljavax/lang/model/element/Element;>;
0 7 1 targetKinds Ljava/util/Set<Ljavax/lang/model/element/ElementKind;>;
0 7 2 clazz Ljava/lang/Class<TE;>;
1 7 3 set Ljava/util/Set<TE;>;
3 5 4 e Ljavax/lang/model/element/Element;
Signature: <E::Ljavax/lang/model/element/Element;>(Ljava/util/Set<+Ljavax/lang/model/element/Element;>;Ljava/util/Set<Ljavax/lang/model/element/ElementKind;>;Ljava/lang/Class<TE;>;)Ljava/util/Set<TE;>;
MethodParameters:
Name Flags
elements
targetKinds
clazz
public static java.util.List<javax.lang.model.element.ModuleElement$ExportsDirective> exportsIn(java.lang.Iterable<? extends javax.lang.model.element.ModuleElement$Directive>);
descriptor: (Ljava/lang/Iterable;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic javax.lang.model.element.ModuleElement$DirectiveKind.EXPORTS:Ljavax/lang/model/element/ModuleElement$DirectiveKind;
ldc Ljavax/lang/model/element/ModuleElement$ExportsDirective;
invokestatic javax.lang.model.util.ElementFilter.listFilter:(Ljava/lang/Iterable;Ljavax/lang/model/element/ModuleElement$DirectiveKind;Ljava/lang/Class;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 directives Ljava/lang/Iterable<+Ljavax/lang/model/element/ModuleElement$Directive;>;
Signature: (Ljava/lang/Iterable<+Ljavax/lang/model/element/ModuleElement$Directive;>;)Ljava/util/List<Ljavax/lang/model/element/ModuleElement$ExportsDirective;>;
MethodParameters:
Name Flags
directives
public static java.util.List<javax.lang.model.element.ModuleElement$OpensDirective> opensIn(java.lang.Iterable<? extends javax.lang.model.element.ModuleElement$Directive>);
descriptor: (Ljava/lang/Iterable;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic javax.lang.model.element.ModuleElement$DirectiveKind.OPENS:Ljavax/lang/model/element/ModuleElement$DirectiveKind;
ldc Ljavax/lang/model/element/ModuleElement$OpensDirective;
invokestatic javax.lang.model.util.ElementFilter.listFilter:(Ljava/lang/Iterable;Ljavax/lang/model/element/ModuleElement$DirectiveKind;Ljava/lang/Class;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 directives Ljava/lang/Iterable<+Ljavax/lang/model/element/ModuleElement$Directive;>;
Signature: (Ljava/lang/Iterable<+Ljavax/lang/model/element/ModuleElement$Directive;>;)Ljava/util/List<Ljavax/lang/model/element/ModuleElement$OpensDirective;>;
MethodParameters:
Name Flags
directives
public static java.util.List<javax.lang.model.element.ModuleElement$ProvidesDirective> providesIn(java.lang.Iterable<? extends javax.lang.model.element.ModuleElement$Directive>);
descriptor: (Ljava/lang/Iterable;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic javax.lang.model.element.ModuleElement$DirectiveKind.PROVIDES:Ljavax/lang/model/element/ModuleElement$DirectiveKind;
ldc Ljavax/lang/model/element/ModuleElement$ProvidesDirective;
invokestatic javax.lang.model.util.ElementFilter.listFilter:(Ljava/lang/Iterable;Ljavax/lang/model/element/ModuleElement$DirectiveKind;Ljava/lang/Class;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 directives Ljava/lang/Iterable<+Ljavax/lang/model/element/ModuleElement$Directive;>;
Signature: (Ljava/lang/Iterable<+Ljavax/lang/model/element/ModuleElement$Directive;>;)Ljava/util/List<Ljavax/lang/model/element/ModuleElement$ProvidesDirective;>;
MethodParameters:
Name Flags
directives
public static java.util.List<javax.lang.model.element.ModuleElement$RequiresDirective> requiresIn(java.lang.Iterable<? extends javax.lang.model.element.ModuleElement$Directive>);
descriptor: (Ljava/lang/Iterable;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic javax.lang.model.element.ModuleElement$DirectiveKind.REQUIRES:Ljavax/lang/model/element/ModuleElement$DirectiveKind;
ldc Ljavax/lang/model/element/ModuleElement$RequiresDirective;
invokestatic javax.lang.model.util.ElementFilter.listFilter:(Ljava/lang/Iterable;Ljavax/lang/model/element/ModuleElement$DirectiveKind;Ljava/lang/Class;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 directives Ljava/lang/Iterable<+Ljavax/lang/model/element/ModuleElement$Directive;>;
Signature: (Ljava/lang/Iterable<+Ljavax/lang/model/element/ModuleElement$Directive;>;)Ljava/util/List<Ljavax/lang/model/element/ModuleElement$RequiresDirective;>;
MethodParameters:
Name Flags
directives
public static java.util.List<javax.lang.model.element.ModuleElement$UsesDirective> usesIn(java.lang.Iterable<? extends javax.lang.model.element.ModuleElement$Directive>);
descriptor: (Ljava/lang/Iterable;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic javax.lang.model.element.ModuleElement$DirectiveKind.USES:Ljavax/lang/model/element/ModuleElement$DirectiveKind;
ldc Ljavax/lang/model/element/ModuleElement$UsesDirective;
invokestatic javax.lang.model.util.ElementFilter.listFilter:(Ljava/lang/Iterable;Ljavax/lang/model/element/ModuleElement$DirectiveKind;Ljava/lang/Class;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 directives Ljava/lang/Iterable<+Ljavax/lang/model/element/ModuleElement$Directive;>;
Signature: (Ljava/lang/Iterable<+Ljavax/lang/model/element/ModuleElement$Directive;>;)Ljava/util/List<Ljavax/lang/model/element/ModuleElement$UsesDirective;>;
MethodParameters:
Name Flags
directives
private static <D extends javax.lang.model.element.ModuleElement$Directive> java.util.List<D> listFilter(java.lang.Iterable<? extends javax.lang.model.element.ModuleElement$Directive>, javax.lang.model.element.ModuleElement$DirectiveKind, java.lang.Class<D>);
descriptor: (Ljava/lang/Iterable;Ljavax/lang/model/element/ModuleElement$DirectiveKind;Ljava/lang/Class;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, 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
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 5
StackMap locals: java.lang.Iterable javax.lang.model.element.ModuleElement$DirectiveKind java.lang.Class java.util.List top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.lang.model.element.ModuleElement$Directive
astore 4
start local 4 3: aload 4
invokeinterface javax.lang.model.element.ModuleElement$Directive.getKind:()Ljavax/lang/model/element/ModuleElement$DirectiveKind;
aload 1
if_acmpne 5
4: aload 3
aload 2
aload 4
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.lang.model.element.ModuleElement$Directive
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 5: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 directives Ljava/lang/Iterable<+Ljavax/lang/model/element/ModuleElement$Directive;>;
0 7 1 directiveKind Ljavax/lang/model/element/ModuleElement$DirectiveKind;
0 7 2 clazz Ljava/lang/Class<TD;>;
1 7 3 list Ljava/util/List<TD;>;
3 5 4 d Ljavax/lang/model/element/ModuleElement$Directive;
Signature: <D::Ljavax/lang/model/element/ModuleElement$Directive;>(Ljava/lang/Iterable<+Ljavax/lang/model/element/ModuleElement$Directive;>;Ljavax/lang/model/element/ModuleElement$DirectiveKind;Ljava/lang/Class<TD;>;)Ljava/util/List<TD;>;
MethodParameters:
Name Flags
directives
directiveKind
clazz
}
SourceFile: "ElementFilter.java"
InnerClasses:
public abstract Directive = javax.lang.model.element.ModuleElement$Directive of javax.lang.model.element.ModuleElement
public final DirectiveKind = javax.lang.model.element.ModuleElement$DirectiveKind of javax.lang.model.element.ModuleElement
public abstract ExportsDirective = javax.lang.model.element.ModuleElement$ExportsDirective of javax.lang.model.element.ModuleElement
public abstract OpensDirective = javax.lang.model.element.ModuleElement$OpensDirective of javax.lang.model.element.ModuleElement
public abstract ProvidesDirective = javax.lang.model.element.ModuleElement$ProvidesDirective of javax.lang.model.element.ModuleElement
public abstract RequiresDirective = javax.lang.model.element.ModuleElement$RequiresDirective of javax.lang.model.element.ModuleElement
public abstract UsesDirective = javax.lang.model.element.ModuleElement$UsesDirective of javax.lang.model.element.ModuleElement
public final Feature = jdk.internal.PreviewFeature$Feature of jdk.internal.PreviewFeature