public abstract class GetterSetterPrototypeProvider
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<GetterSetterPrototypeProvider> |
EP_NAME |
Constructor and Description |
---|
GetterSetterPrototypeProvider() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
canGeneratePrototypeFor(PsiField field) |
PsiMethod[] |
findGetters(PsiClass psiClass,
java.lang.String propertyName) |
static PsiMethod[] |
findGetters(PsiClass aClass,
java.lang.String propertyName,
boolean isStatic) |
abstract PsiMethod[] |
generateGetters(PsiField field) |
static PsiMethod[] |
generateGetterSetters(PsiField field,
boolean generateGetter) |
static PsiMethod[] |
generateGetterSetters(PsiField field,
boolean generateGetter,
boolean ignoreInvalidTemplate) |
abstract PsiMethod[] |
generateSetters(PsiField field) |
abstract boolean |
isReadOnly(PsiField field) |
static boolean |
isReadOnlyProperty(PsiField field) |
boolean |
isSimpleGetter(PsiMethod method,
java.lang.String oldPropertyName) |
java.lang.String |
suggestGetterName(java.lang.String propertyName) |
static java.lang.String |
suggestNewGetterName(java.lang.String oldPropertyName,
java.lang.String newPropertyName,
PsiMethod method) |
public static final ExtensionPointName<GetterSetterPrototypeProvider> EP_NAME
public abstract boolean canGeneratePrototypeFor(PsiField field)
public java.lang.String suggestGetterName(java.lang.String propertyName)
public boolean isSimpleGetter(PsiMethod method, java.lang.String oldPropertyName)
public abstract boolean isReadOnly(PsiField field)
public static PsiMethod[] generateGetterSetters(PsiField field, boolean generateGetter)
public static PsiMethod[] generateGetterSetters(PsiField field, boolean generateGetter, boolean ignoreInvalidTemplate)
public static boolean isReadOnlyProperty(PsiField field)
public static PsiMethod[] findGetters(PsiClass aClass, java.lang.String propertyName, boolean isStatic)
public static java.lang.String suggestNewGetterName(java.lang.String oldPropertyName, java.lang.String newPropertyName, PsiMethod method)