| org.eclipse.jdt.internal.corext.refactoring.code.ScriptableRefactoring org.eclipse.jdt.internal.corext.refactoring.code.ExtractConstantRefactoring
ExtractConstantRefactoring | public ExtractConstantRefactoring(ICompilationUnit unit, int selectionStart, int selectionLength)(Code) | | Creates a new extract constant refactoring
Parameters: unit - the compilation unit, or null if invoked by scripting Parameters: selectionStart - Parameters: selectionLength - |
ExtractConstantRefactoring | public ExtractConstantRefactoring(CompilationUnit astRoot, int selectionStart, int selectionLength)(Code) | | |
checkConstantNameOnChange | public RefactoringStatus checkConstantNameOnChange() throws JavaModelException(Code) | | This method performs checks on the constant name which are
quick enough to be performed every time the ui input component
contents are changed.
return the resulting status throws: JavaModelException - thrown when the operation could not be executed |
checkFinalConditions | public RefactoringStatus checkFinalConditions(IProgressMonitor pm) throws CoreException(Code) | | |
checkInitialConditions | public RefactoringStatus checkInitialConditions(IProgressMonitor pm) throws CoreException(Code) | | |
createChange | public Change createChange(IProgressMonitor monitor) throws CoreException(Code) | | |
getTargetIsInterface | public boolean getTargetIsInterface()(Code) | | |
guessConstantNames | public String[] guessConstantNames()(Code) | | proposed variable names (may be empty, but not null).The first proposal should be used as "best guess" (if it exists). |
initialize | public RefactoringStatus initialize(RefactoringArguments arguments)(Code) | | |
qualifyReferencesWithDeclaringClassName | public boolean qualifyReferencesWithDeclaringClassName()(Code) | | |
replaceAllOccurrences | public boolean replaceAllOccurrences()(Code) | | |
selectionAllStaticFinal | public boolean selectionAllStaticFinal()(Code) | | |
setCheckResultForCompileProblems | public void setCheckResultForCompileProblems(boolean checkResultForCompileProblems)(Code) | | |
setConstantName | public void setConstantName(String newName)(Code) | | |
setQualifyReferencesWithDeclaringClassName | public void setQualifyReferencesWithDeclaringClassName(boolean qualify)(Code) | | |
setReplaceAllOccurrences | public void setReplaceAllOccurrences(boolean replaceAllOccurrences)(Code) | | |
|
|