Class FlexibleCompletor
java.lang.Object
org.htmlunit.corejs.javascript.tools.shell.FlexibleCompletor
- All Implemented Interfaces:
InvocationHandler
The completors provided with JLine are pretty uptight, they only complete on a line that it can
fully recognize (only composed of completed strings). This one completes whatever came before.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
completeMethod
-
global
-
-
Constructor Details
-
FlexibleCompletor
FlexibleCompletor(Class<?> completorClass, Scriptable global) throws NoSuchMethodException - Throws:
NoSuchMethodException
-
-
Method Details
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
-
complete
-