public abstract class EncapsulateFieldHelper
extends java.lang.Object
Constructor and Description |
---|
EncapsulateFieldHelper() |
Modifier and Type | Method and Description |
---|---|
abstract EncapsulateFieldUsageInfo |
createUsage(EncapsulateFieldsDescriptor descriptor,
FieldDescriptor fieldDescriptor,
PsiReference reference) |
abstract PsiMethod |
generateMethodPrototype(PsiField field,
java.lang.String methodName,
boolean isGetter) |
abstract PsiField [] |
getApplicableFields(PsiClass aClass) |
static EncapsulateFieldHelper |
getHelper(Language lang) |
abstract boolean |
processUsage(EncapsulateFieldUsageInfo usage,
EncapsulateFieldsDescriptor descriptor,
PsiMethod setter,
PsiMethod getter) |
abstract java.lang.String |
suggestGetterName(PsiField field) |
abstract java.lang.String |
suggestSetterName(PsiField field) |
public abstract java.lang.String suggestSetterName(PsiField field)
public abstract java.lang.String suggestGetterName(PsiField field)
public abstract PsiMethod generateMethodPrototype(PsiField field, java.lang.String methodName, boolean isGetter)
public abstract boolean processUsage(EncapsulateFieldUsageInfo usage, EncapsulateFieldsDescriptor descriptor, PsiMethod setter, PsiMethod getter)
public abstract EncapsulateFieldUsageInfo createUsage(EncapsulateFieldsDescriptor descriptor, FieldDescriptor fieldDescriptor, PsiReference reference)
public static EncapsulateFieldHelper getHelper(Language lang)