public class PropertyUtil extends PropertyUtilBase
PropertyUtilBase.GetterFlavour
GET_PREFIX, IS_PREFIX, SET_PREFIX
Modifier and Type | Method and Description |
---|---|
static PsiField |
getFieldOfGetter(PsiMethod method) |
static PsiField |
getFieldOfSetter(PsiMethod method) |
static PsiMethod |
getReversePropertyMethod(PsiMethod propertyMethod) |
static PsiField |
getSimplyReturnedField(PsiExpression value) |
static boolean |
isSimpleGetter(PsiMethod method) |
static boolean |
isSimpleGetter(PsiMethod method,
boolean useIndex) |
static boolean |
isSimpleSetter(PsiMethod method) |
static boolean |
isSimpleSetter(PsiMethod method,
boolean useIndex) |
findGetterForField, findPropertyField, findPropertyFieldByMember, findPropertyGetter, findPropertyGetterWithType, findPropertySetter, findPropertySetterWithType, findSetterForField, generateGetterPrototype, generateSetterPrototype, generateSetterPrototype, generateSetterPrototype, getAccessorName, getAccessors, getAllProperties, getAllProperties, getAllProperties, getGetterReturnExpression, getGetters, getMethodNameGetterFlavour, getPropertyKind, getPropertyName, getPropertyName, getPropertyName, getPropertyNameAndKind, getPropertyNameByGetter, getPropertyNameBySetter, getPropertyNameIdentifier, getPropertyType, getPropertyTypeElement, getReadableProperties, getSetters, getSingleReturnValue, getWritableProperties, hasGetterName, isSetterName, isSimplePropertyAccessor, isSimplePropertyGetter, isSimplePropertySetter, suggestGetterName, suggestGetterName, suggestGetterName, suggestGetterNames, suggestPropertyName, suggestPropertyName, suggestSetterName, suggestSetterName, suggestSetterName
public static PsiField getSimplyReturnedField(PsiExpression value)
public static boolean isSimpleGetter(PsiMethod method)
public static boolean isSimpleGetter(PsiMethod method, boolean useIndex)
public static boolean isSimpleSetter(PsiMethod method)
public static boolean isSimpleSetter(PsiMethod method, boolean useIndex)