站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

EditorContext.MethodArgument (JPDA Debugger API) - NetBeans API Javadoc (Current Development Version)

org.netbeans.api.debugger.jpda/2 2.13

org.netbeans.spi.debugger.jpda
Class EditorContext.MethodArgument

java.lang.Object
  extended by org.netbeans.spi.debugger.jpda.EditorContext.MethodArgument
Enclosing class:
EditorContext

public static final class EditorContext.MethodArgument
extends Object

Representation of an argument to a method.

Since:
2.10

Constructor Summary
EditorContext.MethodArgument(String name, String type, EditorContext.Position startPos, EditorContext.Position endPos)
          Creates a new argument.
 
Method Summary
 EditorContext.Position getEndPosition()
          Get the ending position of this argument in the source code.
 String getName()
          Get the name of this argument.
 EditorContext.Position getStartPosition()
          Get the starting position of this argument in the source code.
 String getType()
          Get the declared type of this argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditorContext.MethodArgument

public EditorContext.MethodArgument(String name,
                                    String type,
                                    EditorContext.Position startPos,
                                    EditorContext.Position endPos)
Creates a new argument.

Parameters:
name - The argument name
type - The declared type of the argument
startPos - Starting position of the argument in the source code
endPos - Ending position of the argument in the source code
Method Detail

getName

public String getName()
Get the name of this argument.

Returns:
The name.

getType

public String getType()
Get the declared type of this argument.

Returns:
The declared type.

getStartPosition

public EditorContext.Position getStartPosition()
Get the starting position of this argument in the source code.

Returns:
The starting position.

getEndPosition

public EditorContext.Position getEndPosition()
Get the ending position of this argument in the source code.

Returns:
The ending position.

org.netbeans.api.debugger.jpda/2 2.13

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.