public class LocalVariableDeclarationDescriptor extends java.lang.Object implements ItemToReplaceDescriptor
Constructor and Description |
---|
LocalVariableDeclarationDescriptor(java.util.List<com.intellij.refactoring.extractMethodObject.reflect.LocalVariableDeclarationDescriptor.AccessibleLocalVariable> names,
PsiDeclarationStatement statement) |
Modifier and Type | Method and Description |
---|---|
static ItemToReplaceDescriptor |
createIfInaccessible(PsiDeclarationStatement declarationStatement) |
void |
replace(PsiClass outerClass,
PsiElementFactory elementFactory,
PsiMethodCallExpression callExpression) |
public LocalVariableDeclarationDescriptor(java.util.List<com.intellij.refactoring.extractMethodObject.reflect.LocalVariableDeclarationDescriptor.AccessibleLocalVariable> names, PsiDeclarationStatement statement)
public static ItemToReplaceDescriptor createIfInaccessible(PsiDeclarationStatement declarationStatement)
public void replace(PsiClass outerClass, PsiElementFactory elementFactory, PsiMethodCallExpression callExpression)
replace
in interface ItemToReplaceDescriptor