Class ExtractRefactoringStatementAnalyzer.ParamDescription
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.ui.refactoring.ExtractRefactoringStatementAnalyzer.ParamDescription
-
- Enclosing class:
- ExtractRefactoringStatementAnalyzer
public static class ExtractRefactoringStatementAnalyzer.ParamDescription extends Object
Class contains all information of one extracting method parameters
-
-
Constructor Summary
Constructors Constructor Description ParamDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFinalName()
Gets final name of the parameterString
getInitialName()
Gets initial name of the parameterint[]
getOccurrencesPosition()
Gets all position where this parameter used in body of the extracting methodboolean
isByValue()
Gets flag detects that this 'By Value' parametervoid
setByValue(boolean isByValue)
Sets flag detects that this 'By Value' parametervoid
setFinalName(String finalName)
Sets final name of the parametervoid
setInitialName(String initialName)
Sets initial name of the parametervoid
setOccurrencesPosition(int[] occurrencesPosition)
Sets all position where this parameter used in body of the extracting method
-
-
-
Method Detail
-
getInitialName
public String getInitialName()
Gets initial name of the parameter- Returns:
- initial name of the parameter, can't be
null
-
setInitialName
public void setInitialName(String initialName)
Sets initial name of the parameter- Parameters:
initialName
- initial name of the parameter, can't benull
-
getFinalName
public String getFinalName()
Gets final name of the parameter- Returns:
- final name of the parameter, can't be
null
-
setFinalName
public void setFinalName(String finalName)
Sets final name of the parameter- Parameters:
finalName
- final name of the parameter, can't benull
-
getOccurrencesPosition
public int[] getOccurrencesPosition()
Gets all position where this parameter used in body of the extracting method- Returns:
- all position where this parameter used in body of the extracting method, can't be
null
-
setOccurrencesPosition
public void setOccurrencesPosition(int[] occurrencesPosition)
Sets all position where this parameter used in body of the extracting method- Parameters:
occurrencesPosition
- all position where this parameter used in body of the extracting method, can't benull
-
isByValue
public boolean isByValue()
Gets flag detects that this 'By Value' parameter- Returns:
true
if detects that this 'By Value' parameter,false
otherwise
-
setByValue
public void setByValue(boolean isByValue)
Sets flag detects that this 'By Value' parameter- Parameters:
isByValue
-true
if detects that this 'By Value' parameter,false
otherwise
-
-