Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/bsh/BshClassManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ static void clearResolveCache() {
Create a new instance of the class manager.
Class manager instnaces are now associated with the interpreter.

@see bsh.Interpreter.getClassManager()
@see bsh.Interpreter.setClassLoader( ClassLoader )
@see bsh.Interpreter#getClassManager()
@see bsh.Interpreter#setClassLoader( ClassLoader )
*/
public static BshClassManager createClassManager( Interpreter interpreter )
{
Expand Down Expand Up @@ -316,7 +316,7 @@ protected Method getResolvedMethod(

/**
Clear the caches in BshClassManager
@see public void #reset() for external usage
@see #reset() for external usage
*/
protected void clearCaches()
{
Expand Down
2 changes: 1 addition & 1 deletion src/bsh/BshScriptEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public CompiledScript compile(Reader script) throws ScriptException {

/**
* Calls a procedure compiled during a previous script execution, which is
* retained in the state of the {@code ScriptEngine{@code .
* retained in the state of the {@code ScriptEngine}.
*
* @param name The name of the procedure to be called.
* @param thiz If the procedure is a member of a class defined in the script
Expand Down
13 changes: 7 additions & 6 deletions src/bsh/NameSpace.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@

package bsh;

import bsh.This;

import java.io.Serializable;
import java.util.List;
import java.util.ArrayList;
Expand Down Expand Up @@ -162,7 +164,7 @@ are cached here (those which might be imported). Qualified names are
// Begin constructors

/**
@parent the parent namespace of this namespace. Child namespaces
@param parent the parent namespace of this namespace. Child namespaces
inherit all variables and methods of their parent and can (of course)
override / shadow them.
*/
Expand Down Expand Up @@ -1266,7 +1268,7 @@ private synchronized void writeObject(java.io.ObjectOutputStream s)
required. The method will appear as if called externally from Java.
<p>

@see bsh.This.invokeMethod(
@see bsh.This#invokeMethod(
String methodName, Object [] args, Interpreter interpreter,
CallStack callstack, SimpleNode callerInfo, boolean )
*/
Expand All @@ -1281,9 +1283,8 @@ public Object invokeMethod(
/**
This method simply delegates to This.invokeMethod();
<p>
@see bsh.This.invokeMethod(
String methodName, Object [] args, Interpreter interpreter,
CallStack callstack, SimpleNode callerInfo )
@see This#invokeMethod(java.lang.String, java.lang.Object[],
bsh.Interpreter, bsh.CallStack, bsh.SimpleNode, boolean)
*/
public Object invokeMethod(
String methodName, Object [] args, Interpreter interpreter,
Expand Down Expand Up @@ -1526,4 +1527,4 @@ private <T> List<T> clone(final List<T> list) {
return new ArrayList<T>(list);
}

}
}
2 changes: 1 addition & 1 deletion src/bsh/UtilEvalError.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public UtilEvalError( String s, Throwable cause ) {
/**
Re-throw as an eval error, prefixing msg to the message and specifying
the node. If a node already exists the addNode is ignored.
@see #setNode( bsh.SimpleNode )
@see EvalError#setNode( bsh.SimpleNode )
<p>
@param msg may be null for no additional message.
*/
Expand Down
3 changes: 1 addition & 2 deletions src/bsh/classpath/BshClassLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,14 @@ public BshClassLoader( BshClassManager classManager, URL [] bases ) {
}

/**
@param bases URLs JARClassLoader seems to require absolute paths
@param bcp BshClassPath
*/
public BshClassLoader( BshClassManager classManager, BshClassPath bcp ) {
this( classManager, bcp.getPathComponents() );
}

/**
For use by children
@param bases URLs JARClassLoader seems to require absolute paths
*/
protected BshClassLoader( BshClassManager classManager ) {
this( classManager, new URL [] { } );
Expand Down