public class examples.NativeExamples
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: examples.NativeExamples
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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 Lexamples/NativeExamples;
public void toFlowable(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.Vertx.fileSystem:()Lio/vertx/core/file/FileSystem;
astore 2
start local 2 1: aload 2
ldc "/data.txt"
new io.vertx.core.file.OpenOptions
dup
invokespecial io.vertx.core.file.OpenOptions.<init>:()V
invokedynamic handle()Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
examples/NativeExamples.lambda$0(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.file.FileSystem.open:(Ljava/lang/String;Lio/vertx/core/file/OpenOptions;Lio/vertx/core/Handler;)Lio/vertx/core/file/FileSystem;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/NativeExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
1 3 2 fileSystem Lio/vertx/core/file/FileSystem;
MethodParameters:
Name Flags
vertx
private io.reactivex.Flowable<io.vertx.core.buffer.Buffer> getFlowable();
descriptor: ()Lio/reactivex/Flowable;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lexamples/NativeExamples;
Signature: ()Lio/reactivex/Flowable<Lio/vertx/core/buffer/Buffer;>;
public void toReadStream(io.vertx.core.http.HttpServerResponse);
descriptor: (Lio/vertx/core/http/HttpServerResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual examples.NativeExamples.getFlowable:()Lio/reactivex/Flowable;
astore 2
start local 2 1: aload 2
invokestatic io.vertx.reactivex.FlowableHelper.toReadStream:(Lio/reactivex/Flowable;)Lio/vertx/core/streams/ReadStream;
astore 3
start local 3 2: aload 3
aload 1
invokestatic io.vertx.core.streams.Pump.pump:(Lio/vertx/core/streams/ReadStream;Lio/vertx/core/streams/WriteStream;)Lio/vertx/core/streams/Pump;
astore 4
start local 4 3: aload 4
invokeinterface io.vertx.core.streams.Pump.start:()Lio/vertx/core/streams/Pump;
pop
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lexamples/NativeExamples;
0 5 1 response Lio/vertx/core/http/HttpServerResponse;
1 5 2 observable Lio/reactivex/Flowable<Lio/vertx/core/buffer/Buffer;>;
2 5 3 readStream Lio/vertx/core/streams/ReadStream<Lio/vertx/core/buffer/Buffer;>;
3 5 4 pump Lio/vertx/core/streams/Pump;
MethodParameters:
Name Flags
response
public <T> io.vertx.core.Handler<io.vertx.core.AsyncResult<T>> getHandler();
descriptor: ()Lio/vertx/core/Handler;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lexamples/NativeExamples;
Signature: <T:Ljava/lang/Object;>()Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<TT;>;>;
public void handlerToSingleObserver();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual examples.NativeExamples.getHandler:()Lio/vertx/core/Handler;
astore 1
start local 1 1: ldc "hello"
invokestatic io.reactivex.Single.just:(Ljava/lang/Object;)Lio/reactivex/Single;
aload 1
invokestatic io.vertx.reactivex.SingleHelper.toObserver:(Lio/vertx/core/Handler;)Lio/reactivex/SingleObserver;
invokevirtual io.reactivex.Single.subscribe:(Lio/reactivex/SingleObserver;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/NativeExamples;
1 3 1 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/String;>;>;
public void handlerToMaybeObserver();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual examples.NativeExamples.getHandler:()Lio/vertx/core/Handler;
astore 1
start local 1 1: ldc "hello"
invokestatic io.reactivex.Maybe.just:(Ljava/lang/Object;)Lio/reactivex/Maybe;
aload 1
invokestatic io.vertx.reactivex.MaybeHelper.toObserver:(Lio/vertx/core/Handler;)Lio/reactivex/MaybeObserver;
invokevirtual io.reactivex.Maybe.subscribe:(Lio/reactivex/MaybeObserver;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/NativeExamples;
1 3 1 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/String;>;>;
public void handlerToCompletableObserver();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual examples.NativeExamples.getHandler:()Lio/vertx/core/Handler;
astore 1
start local 1 1: invokestatic io.reactivex.Completable.complete:()Lio/reactivex/Completable;
aload 1
invokestatic io.vertx.reactivex.CompletableHelper.toObserver:(Lio/vertx/core/Handler;)Lio/reactivex/CompletableObserver;
invokevirtual io.reactivex.Completable.subscribe:(Lio/reactivex/CompletableObserver;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/NativeExamples;
1 3 1 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
public void scheduler(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic io.vertx.reactivex.RxHelper.scheduler:(Lio/vertx/core/Vertx;)Lio/reactivex/Scheduler;
astore 2
start local 2 1: ldc 100
ldc 100
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
aload 2
invokestatic io.reactivex.Observable.interval:(JJLjava/util/concurrent/TimeUnit;Lio/reactivex/Scheduler;)Lio/reactivex/Observable;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/NativeExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
1 3 2 scheduler Lio/reactivex/Scheduler;
MethodParameters:
Name Flags
vertx
public void blockingScheduler(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic io.vertx.reactivex.RxHelper.blockingScheduler:(Lio/vertx/core/Vertx;)Lio/reactivex/Scheduler;
astore 2
start local 2 1: ldc 100
ldc 100
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
aload 2
invokestatic io.reactivex.Observable.interval:(JJLjava/util/concurrent/TimeUnit;Lio/reactivex/Scheduler;)Lio/reactivex/Observable;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lexamples/NativeExamples;
0 3 1 vertx Lio/vertx/core/Vertx;
1 3 2 scheduler Lio/reactivex/Scheduler;
MethodParameters:
Name Flags
vertx
public void schedulerHook(io.vertx.core.Vertx);
descriptor: (Lio/vertx/core/Vertx;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokedynamic apply(Lio/vertx/core/Vertx;)Lio/reactivex/functions/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
examples/NativeExamples.lambda$2(Lio/vertx/core/Vertx;Lio/reactivex/Scheduler;)Lio/reactivex/Scheduler; (6)
(Lio/reactivex/Scheduler;)Lio/reactivex/Scheduler;
invokestatic io.reactivex.plugins.RxJavaPlugins.setComputationSchedulerHandler:(Lio/reactivex/functions/Function;)V
1: aload 1
invokedynamic apply(Lio/vertx/core/Vertx;)Lio/reactivex/functions/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
examples/NativeExamples.lambda$3(Lio/vertx/core/Vertx;Lio/reactivex/Scheduler;)Lio/reactivex/Scheduler; (6)
(Lio/reactivex/Scheduler;)Lio/reactivex/Scheduler;
invokestatic io.reactivex.plugins.RxJavaPlugins.setIoSchedulerHandler:(Lio/reactivex/functions/Function;)V
2: aload 1
invokedynamic apply(Lio/vertx/core/Vertx;)Lio/reactivex/functions/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
examples/NativeExamples.lambda$4(Lio/vertx/core/Vertx;Lio/reactivex/Scheduler;)Lio/reactivex/Scheduler; (6)
(Lio/reactivex/Scheduler;)Lio/reactivex/Scheduler;
invokestatic io.reactivex.plugins.RxJavaPlugins.setNewThreadSchedulerHandler:(Lio/reactivex/functions/Function;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lexamples/NativeExamples;
0 4 1 vertx Lio/vertx/core/Vertx;
MethodParameters:
Name Flags
vertx
public void unmarshaller(io.vertx.core.file.FileSystem);
descriptor: (Lio/vertx/core/file/FileSystem;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "/data.txt"
new io.vertx.core.file.OpenOptions
dup
invokespecial io.vertx.core.file.OpenOptions.<init>:()V
invokedynamic handle()Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
examples/NativeExamples.lambda$5(Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.file.FileSystem.open:(Ljava/lang/String;Lio/vertx/core/file/OpenOptions;Lio/vertx/core/Handler;)Lio/vertx/core/file/FileSystem;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lexamples/NativeExamples;
0 2 1 fileSystem Lio/vertx/core/file/FileSystem;
MethodParameters:
Name Flags
fileSystem
private static void lambda$0(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.file.AsyncFile
astore 1
start local 1 1: aload 1
invokestatic io.vertx.reactivex.FlowableHelper.toFlowable:(Lio/vertx/core/streams/ReadStream;)Lio/reactivex/Flowable;
astore 2
start local 2 2: aload 2
invokedynamic accept()Lio/reactivex/functions/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
examples/NativeExamples.lambda$1(Lio/vertx/core/buffer/Buffer;)V (6)
(Lio/vertx/core/buffer/Buffer;)V
invokevirtual io.reactivex.Flowable.forEach:(Lio/reactivex/functions/Consumer;)Lio/reactivex/disposables/Disposable;
pop
end local 2 end local 1 3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 result Lio/vertx/core/AsyncResult<Lio/vertx/core/file/AsyncFile;>;
1 3 1 file Lio/vertx/core/file/AsyncFile;
2 3 2 observable Lio/reactivex/Flowable<Lio/vertx/core/buffer/Buffer;>;
private static io.reactivex.Scheduler lambda$2(io.vertx.core.Vertx, io.reactivex.Scheduler);
descriptor: (Lio/vertx/core/Vertx;Lio/reactivex/Scheduler;)Lio/reactivex/Scheduler;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 1 0: aload 0
invokestatic io.vertx.reactivex.RxHelper.scheduler:(Lio/vertx/core/Vertx;)Lio/reactivex/Scheduler;
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 s Lio/reactivex/Scheduler;
Exceptions:
throws java.lang.Exception
private static io.reactivex.Scheduler lambda$3(io.vertx.core.Vertx, io.reactivex.Scheduler);
descriptor: (Lio/vertx/core/Vertx;Lio/reactivex/Scheduler;)Lio/reactivex/Scheduler;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 1 0: aload 0
invokestatic io.vertx.reactivex.RxHelper.blockingScheduler:(Lio/vertx/core/Vertx;)Lio/reactivex/Scheduler;
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 s Lio/reactivex/Scheduler;
Exceptions:
throws java.lang.Exception
private static io.reactivex.Scheduler lambda$4(io.vertx.core.Vertx, io.reactivex.Scheduler);
descriptor: (Lio/vertx/core/Vertx;Lio/reactivex/Scheduler;)Lio/reactivex/Scheduler;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 1 0: aload 0
invokestatic io.vertx.reactivex.RxHelper.scheduler:(Lio/vertx/core/Vertx;)Lio/reactivex/Scheduler;
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 s Lio/reactivex/Scheduler;
Exceptions:
throws java.lang.Exception
private static void lambda$5(io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.file.AsyncFile
astore 1
start local 1 1: aload 1
invokestatic io.vertx.reactivex.FlowableHelper.toFlowable:(Lio/vertx/core/streams/ReadStream;)Lio/reactivex/Flowable;
astore 2
start local 2 2: aload 2
ldc Lexamples/NativeExamples$MyPojo;
invokestatic io.vertx.reactivex.FlowableHelper.unmarshaller:(Ljava/lang/Class;)Lio/reactivex/FlowableTransformer;
invokevirtual io.reactivex.Flowable.compose:(Lio/reactivex/FlowableTransformer;)Lio/reactivex/Flowable;
3: invokedynamic accept()Lio/reactivex/functions/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
examples/NativeExamples.lambda$6(Lexamples/NativeExamples$MyPojo;)V (6)
(Lexamples/NativeExamples$MyPojo;)V
4: invokevirtual io.reactivex.Flowable.subscribe:(Lio/reactivex/functions/Consumer;)Lio/reactivex/disposables/Disposable;
pop
end local 2 end local 1 5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 result Lio/vertx/core/AsyncResult<Lio/vertx/core/file/AsyncFile;>;
1 5 1 file Lio/vertx/core/file/AsyncFile;
2 5 2 observable Lio/reactivex/Flowable<Lio/vertx/core/buffer/Buffer;>;
private static void lambda$1(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Read data: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
ldc "UTF-8"
invokeinterface io.vertx.core.buffer.Buffer.toString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 data Lio/vertx/core/buffer/Buffer;
Exceptions:
throws java.lang.Exception
private static void lambda$6(examples.NativeExamples$MyPojo);
descriptor: (Lexamples/NativeExamples$MyPojo;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 mypojo Lexamples/NativeExamples$MyPojo;
Exceptions:
throws java.lang.Exception
}
SourceFile: "NativeExamples.java"
NestMembers:
examples.NativeExamples$MyPojo
InnerClasses:
private MyPojo = examples.NativeExamples$MyPojo of examples.NativeExamples
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
RuntimeInvisibleAnnotations:
io.vertx.docgen.Source()