Uses of Class org.gjt.sp.jedit.bsh.BshMethod (jEdit API Documentation)
Date: 2018-04-10

## Uses of Class
org.gjt.sp.jedit.bsh.BshMethod

- Packages that use BshMethod
  Package | Description
  --- | ---
  org.gjt.sp.jedit | This package contains jEdit 4's core classes.
  org.gjt.sp.jedit.bsh | Lightweight Scripting for Java.

- - ### Uses of BshMethod in org.gjt.sp.jedit

    Methods in org.gjt.sp.jedit that return BshMethod
    Modifier and Type | Method and Description
    --- | ---
    `static BshMethod` | BeanShell.`cacheBlock(java.lang.String id, java.lang.String code, boolean namespace)` Caches a block of code, returning a handle that can be passed to runCachedBlock().
    `BshMethod` | BeanShellFacade.`cacheBlock(java.lang.String id, java.lang.String code, boolean namespace)` Caches a block of code, returning a handle that can be passed to runCachedBlock().

    Methods in org.gjt.sp.jedit with parameters of type BshMethod
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | BeanShellFacade.`runCachedBlock(BshMethod method, T param, NameSpace namespace)` Runs a cached block of code in the specified namespace.
    `static java.lang.Object` | BeanShell.`runCachedBlock(BshMethod method, View view, NameSpace namespace)` Runs a cached block of code in the specified namespace.

  - ### Uses of BshMethod in org.gjt.sp.jedit.bsh

    Subclasses of BshMethod in org.gjt.sp.jedit.bsh
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DelayedEvalBshMethod`

    Methods in org.gjt.sp.jedit.bsh that return BshMethod
    Modifier and Type | Method and Description
    --- | ---
    `protected BshMethod` | NameSpace.`getImportedMethod(java.lang.String name, java.lang.Class[] sig)`
    `BshMethod` | NameSpace.`getMethod(java.lang.String name, java.lang.Class[] sig)`
    `BshMethod` | NameSpace.`getMethod(java.lang.String name, java.lang.Class[] sig, boolean declaredOnly)` Get the bsh method matching the specified signature declared in this name space or a parent.
    `BshMethod` | ExternalNameSpace.`getMethod(java.lang.String name, java.lang.Class[] sig, boolean declaredOnly)`
    `BshMethod[]` | NameSpace.`getMethods()` Get the methods defined in this namespace.

    Methods in org.gjt.sp.jedit.bsh with parameters of type BshMethod
    Modifier and Type | Method and Description
    --- | ---
    `void` | NameSpace.`setMethod(java.lang.String name, BshMethod method)` Note: this is primarily for internal use.
    `void` | ExternalNameSpace.`setMethod(java.lang.String name, BshMethod method)`