if (!SetterMethod) {
// try a different naming convention for getter: isXxxxx
StringRef getterNameString = getterName->getName();
- if (getterNameString.startswith("is")) {
+ if (getterNameString.startswith("is") && !GRT->isObjCRetainableType()) {
GetterHasIsPrefix = true;
const char *CGetterName = getterNameString.data() + 2;
- if (CGetterName[0]) {
+ if (CGetterName[0] && isUppercase(CGetterName[0])) {
getterName = &Ctx.Idents.get(CGetterName);
SetterSelector =
SelectorTable::constructSetterSelector(PP.getIdentifierTable(),
@property(getter=isContinuous) BOOL continuous;
-@property(getter=isAnObject, retain) id anObject;
-
-
-@property(getter=isxdelegateYYY, unsafe_unretained) id xdelegateYYY;
+- (id) isAnObject;
+- (void)setAnObject : (id) object;
+- (BOOL) isinValid;
+- (void) setInValid : (BOOL) arg;
@end