|
@@ -0,0 +1,26 @@
|
|
1
|
+/*
|
|
2
|
+ * To change this license header, choose License Headers in Project Properties.
|
|
3
|
+ * To change this template file, choose Tools | Templates
|
|
4
|
+ * and open the template in the editor.
|
|
5
|
+ */
|
|
6
|
+package org.openzen.zenscript.javabytecode;
|
|
7
|
+
|
|
8
|
+import org.openzen.zenscript.codemodel.FunctionParameter;
|
|
9
|
+import org.openzen.zenscript.javashared.JavaMethod;
|
|
10
|
+import org.openzen.zenscript.javashared.JavaParameterInfo;
|
|
11
|
+
|
|
12
|
+/**
|
|
13
|
+ *
|
|
14
|
+ * @author Hoofdgebruiker
|
|
15
|
+ */
|
|
16
|
+public class JavaScriptMethod {
|
|
17
|
+ public final JavaMethod method;
|
|
18
|
+ public final FunctionParameter[] parameters;
|
|
19
|
+ public final JavaParameterInfo[] parametersInfo;
|
|
20
|
+
|
|
21
|
+ public JavaScriptMethod(JavaMethod method, FunctionParameter[] parameters, JavaParameterInfo[] parametersInfo) {
|
|
22
|
+ this.method = method;
|
|
23
|
+ this.parameters = parameters;
|
|
24
|
+ this.parametersInfo = parametersInfo;
|
|
25
|
+ }
|
|
26
|
+}
|