|
Eclipse JDT Release 3.7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.core.refactoring.participants.ChangeMethodSignatureArguments.Parameter
public static final class ChangeMethodSignatureArguments.Parameter
Instances of ChangeMethodSignatureArguments.Parameter
are used to describe the new parameters
after a change method signature refactoring.
Constructor Summary | |
---|---|
ChangeMethodSignatureArguments.Parameter(int oldIndex,
String newName,
String newSignature,
String defaultValue)
Creates a ChangeMethodSignatureArguments.Parameter . |
Method Summary | |
---|---|
String |
getDefaultValue()
The default value for new parameters or null . |
String |
getName()
Returns the new name of the parameter. |
int |
getOldIndex()
Returns the index of the parameter in the original method or -1 if the parameter
has been added. |
String |
getType()
Returns the new type of the parameter in signature notation (See Signature ). |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ChangeMethodSignatureArguments.Parameter(int oldIndex, String newName, String newSignature, String defaultValue)
ChangeMethodSignatureArguments.Parameter
.
oldIndex
- the index of the parameter in the original method or -1
if the parameter is a new parameter.newName
- the new name of the parameter.newSignature
- the new type of the parameter in signature notation (See Signature
).defaultValue
- the default value for new parameters or null
.Method Detail |
---|
public int getOldIndex()
-1
if the parameter
has been added.
-1
if the parameter
has been addedpublic String getName()
public String getType()
Signature
).
If the type has not been changed by the refactoring, the original type signature is returned.
public String getDefaultValue()
null
.
null
.public String toString()
toString
in class Object
|
Eclipse JDT Release 3.7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2011 IBM Corporation and others. All rights reserved.