mirror of
https://github.com/tachiyomiorg/extensions-lib.git
synced 2024-09-29 18:38:59 +02:00
Add Duktape stub
This commit is contained in:
parent
0fae295939
commit
2a6ef67d21
26
library/src/main/java/com/squareup/duktape/Duktape.java
Normal file
26
library/src/main/java/com/squareup/duktape/Duktape.java
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
package com.squareup.duktape;
|
||||||
|
|
||||||
|
import java.io.Closeable;
|
||||||
|
import java.io.IOException;
|
||||||
|
|
||||||
|
@SuppressWarnings("all")
|
||||||
|
public class Duktape implements Closeable {
|
||||||
|
|
||||||
|
public static Duktape create() {
|
||||||
|
throw new RuntimeException("Stub!");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public synchronized void close() throws IOException {
|
||||||
|
throw new RuntimeException("Stub!");
|
||||||
|
}
|
||||||
|
|
||||||
|
public synchronized Object evaluate(String script) {
|
||||||
|
throw new RuntimeException("Stub!");
|
||||||
|
}
|
||||||
|
|
||||||
|
public synchronized <T> void set(String name, Class<T> type, T object) {
|
||||||
|
throw new RuntimeException("Stub!");
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user