class javax.imageio.ImageIO$CanEncodeImageAndFormatFilter implements javax.imageio.spi.ServiceRegistry$Filter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.imageio.ImageIO$CanEncodeImageAndFormatFilter
super_class: java.lang.Object
{
javax.imageio.ImageTypeSpecifier type;
descriptor: Ljavax/imageio/ImageTypeSpecifier;
flags: (0x0000)
java.lang.String formatName;
descriptor: Ljava/lang/String;
flags: (0x0000)
public void <init>(javax.imageio.ImageTypeSpecifier, java.lang.String);
descriptor: (Ljavax/imageio/ImageTypeSpecifier;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 // javax.imageio.ImageIO$CanEncodeImageAndFormatFilter this
start local 1 // javax.imageio.ImageTypeSpecifier type
start local 2 // java.lang.String formatName
0: .line 591
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 593
aload 0 /* this */
aload 1 /* type */
putfield javax.imageio.ImageIO$CanEncodeImageAndFormatFilter.type:Ljavax/imageio/ImageTypeSpecifier;
2: .line 594
aload 0 /* this */
aload 2 /* formatName */
putfield javax.imageio.ImageIO$CanEncodeImageAndFormatFilter.formatName:Ljava/lang/String;
3: .line 595
return
end local 2 // java.lang.String formatName
end local 1 // javax.imageio.ImageTypeSpecifier type
end local 0 // javax.imageio.ImageIO$CanEncodeImageAndFormatFilter this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/imageio/ImageIO$CanEncodeImageAndFormatFilter;
0 4 1 type Ljavax/imageio/ImageTypeSpecifier;
0 4 2 formatName Ljava/lang/String;
MethodParameters:
Name Flags
type
formatName
public boolean filter(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 // javax.imageio.ImageIO$CanEncodeImageAndFormatFilter this
start local 1 // java.lang.Object elt
0: .line 598
aload 1 /* elt */
checkcast javax.imageio.spi.ImageWriterSpi
astore 2 /* spi */
start local 2 // javax.imageio.spi.ImageWriterSpi spi
1: .line 599
aload 2 /* spi */
invokevirtual javax.imageio.spi.ImageWriterSpi.getFormatNames:()[Ljava/lang/String;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
aload 0 /* this */
getfield javax.imageio.ImageIO$CanEncodeImageAndFormatFilter.formatName:Ljava/lang/String;
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifeq 4
2: .line 600
aload 2 /* spi */
aload 0 /* this */
getfield javax.imageio.ImageIO$CanEncodeImageAndFormatFilter.type:Ljavax/imageio/ImageTypeSpecifier;
invokevirtual javax.imageio.spi.ImageWriterSpi.canEncodeImage:(Ljavax/imageio/ImageTypeSpecifier;)Z
ifeq 4
3: .line 599
iconst_1
ireturn
StackMap locals: javax.imageio.spi.ImageWriterSpi
StackMap stack:
4: iconst_0
ireturn
end local 2 // javax.imageio.spi.ImageWriterSpi spi
end local 1 // java.lang.Object elt
end local 0 // javax.imageio.ImageIO$CanEncodeImageAndFormatFilter this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/imageio/ImageIO$CanEncodeImageAndFormatFilter;
0 5 1 elt Ljava/lang/Object;
1 5 2 spi Ljavax/imageio/spi/ImageWriterSpi;
MethodParameters:
Name Flags
elt
}
SourceFile: "ImageIO.java"
NestHost: javax.imageio.ImageIO
InnerClasses:
CanEncodeImageAndFormatFilter = javax.imageio.ImageIO$CanEncodeImageAndFormatFilter of javax.imageio.ImageIO
public abstract Filter = javax.imageio.spi.ServiceRegistry$Filter of javax.imageio.spi.ServiceRegistry