Index: src/org/adblockplus/libadblockplus/JsValue.java |
diff --git a/src/org/adblockplus/libadblockplus/JsValue.java b/src/org/adblockplus/libadblockplus/JsValue.java |
index bb47ddae5068d1f16fd0a52530874e2c300184f3..f3dd4eafe5ba5f6fc34e885f6c5fe3c425ba37b4 100644 |
--- a/src/org/adblockplus/libadblockplus/JsValue.java |
+++ b/src/org/adblockplus/libadblockplus/JsValue.java |
@@ -100,9 +100,9 @@ public class JsValue implements Disposable |
return asBoolean(this.ptr); |
} |
- public boolean isValid() |
+ public JsValue getProperty(final String name) |
{ |
- return isValid(this.ptr); |
+ return getProperty(this.ptr, name); |
} |
public List<JsValue> asList() |
@@ -156,7 +156,7 @@ public class JsValue implements Disposable |
private final static native boolean asBoolean(long ptr); |
- private final static native boolean isValid(long ptr); |
+ private final static native JsValue getProperty(long ptr, String name); |
private final static native List<JsValue> asList(long ptr); |