public abstract class CreateFieldFromUsageHelper
extends java.lang.Object
Constructor and Description |
---|
CreateFieldFromUsageHelper() |
Modifier and Type | Method and Description |
---|---|
static PsiField |
insertField(PsiClass targetClass,
PsiField field,
PsiElement place) |
abstract PsiField |
insertFieldImpl(PsiClass targetClass,
PsiField field,
PsiElement place) |
static Template |
setupTemplate(PsiField field,
java.lang.Object expectedTypes,
PsiClass targetClass,
Editor editor,
PsiElement context,
boolean createConstantField) |
abstract Template |
setupTemplateImpl(PsiField field,
java.lang.Object expectedTypes,
PsiClass targetClass,
Editor editor,
PsiElement context,
boolean createConstantField,
PsiSubstitutor substitutor) |
public static Template setupTemplate(PsiField field, java.lang.Object expectedTypes, PsiClass targetClass, Editor editor, PsiElement context, boolean createConstantField)
public static PsiField insertField(PsiClass targetClass, PsiField field, PsiElement place)
public abstract PsiField insertFieldImpl(PsiClass targetClass, PsiField field, PsiElement place)
public abstract Template setupTemplateImpl(PsiField field, java.lang.Object expectedTypes, PsiClass targetClass, Editor editor, PsiElement context, boolean createConstantField, PsiSubstitutor substitutor)