Searched refs:hasMethod (Results 1 – 6 of 6) sorted by relevance
90 … MethodInfo hasMethod = property.DeclaringType.GetRuntimeProperty("Has" + property.Name).GetMethod; in SingleFieldAccessor()91 if (hasMethod == null) in SingleFieldAccessor()95 hasDelegate = ReflectionUtil.CreateFuncIMessageBool(hasMethod); in SingleFieldAccessor()
152 Method hasMethod = nameToNoArgMethod.get("has" + suffix); in reflectivePrintWithIndent() local157 hasMethod == null in reflectivePrintWithIndent()159 : (Boolean) GeneratedMessageLite.invokeOrDie(hasMethod, messageLite); in reflectivePrintWithIndent()
2264 hasMethod =2282 protected final Method hasMethod;2357 return (Boolean) invokeOrDie(hasMethod, message);
2162 protected final Method hasMethod;2180 hasMethod = hasHasMethod ? getMethodOrDie(messageClass, "has" + camelCaseName) : null;2221 return (Boolean) invokeOrDie(hasMethod, message);
49 private static boolean hasMethod(Class<?> clazz, String name) { in hasMethod() method in FieldPresenceTest63 assertTrue(hasMethod(classWithFieldPresence, "get" + camelName)); in assertHasMethodRemoved()64 assertTrue(hasMethod(classWithFieldPresence, "has" + camelName)); in assertHasMethodRemoved()65 assertTrue(hasMethod(classWithoutFieldPresence, "get" + camelName)); in assertHasMethodRemoved()66 assertFalse(hasMethod(classWithoutFieldPresence, "has" + camelName)); in assertHasMethodRemoved()
61 $this->assertTrue($this->serviceClass->hasMethod($methodName));