NameCompletion (BeanShell 2.0b6)
Date: 2016-09-25

bsh.util

## Interface NameCompletion

- All Known Implementing Classes:
    NameCompletionTable

      public interface NameCompletion

  The interface for name completion.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String[]` | `completeName(java.lang.String part)` Return an array containing a string element of the maximum unambiguous namespace completion or, if there is no common prefix, return the list of ambiguous names.

- - ### Method Detail

    - #### completeName

          java.lang.String[] completeName(java.lang.String part)

      Return an array containing a string element of the maximum unambiguous namespace completion or, if there is no common prefix, return the list of ambiguous names. e.g. input: "java.l" output: [ "java.lang." ] input: "java.lang." output: [ "java.lang.Thread", "java.lang.Integer", ... ] Note: Alternatively, make a NameCompletionResult object someday...

? 2000-2005 pat@pat.net :-)