public static final class EditorContext.MethodArgument extends Object
Constructor and Description |
---|
MethodArgument(String name,
String type,
EditorContext.Position startPos,
EditorContext.Position endPos)
Creates a new argument.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public MethodArgument(String name, String type, EditorContext.Position startPos, EditorContext.Position endPos)
name
- The argument nametype
- The declared type of the argumentstartPos
- Starting position of the argument in the source codeendPos
- Ending position of the argument in the source codepublic String getName()
public String getType()
public EditorContext.Position getStartPosition()
public EditorContext.Position getEndPosition()