File src/de/jandankert/jscriptbox/context/MethodWrapper.java
Last commit: Sat May 30 23:22:58 2026 +0200 Jan Dankert Refactoring package openrat->jandankert because the maven artefact is in namespace de.jandankert
1 package de.jandankert.jscriptbox.context; 2 3 import java.lang.reflect.Method; 4 5 public class MethodWrapper { 6 7 private final Scriptable scriptable; 8 private final Method method; 9 10 public MethodWrapper(Scriptable scriptable, Method method) { 11 this.scriptable = scriptable; 12 13 this.method = method; 14 } 15 16 public Method getMethod() { 17 return method; 18 } 19 20 public Scriptable getScriptable() { 21 return scriptable; 22 } 23 24 @Override 25 public String toString() { 26 return scriptable.getClass() + "#" + method.getName()+"()"; 27 } 28 }
Downloadsrc/de/jandankert/jscriptbox/context/MethodWrapper.java
History Sat, 30 May 2026 23:22:58 +0200 Jan Dankert Refactoring package openrat->jandankert because the maven artefact is in namespace de.jandankert