Home
last modified time | relevance | path

Searched refs:hasMethod (Results 1 – 6 of 6) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DSingleFieldAccessor.cs90 … MethodInfo hasMethod = property.DeclaringType.GetRuntimeProperty("Has" + property.Name).GetMethod; in SingleFieldAccessor()
91 if (hasMethod == null) in SingleFieldAccessor()
95 hasDelegate = ReflectionUtil.CreateFuncIMessageBool(hasMethod); in SingleFieldAccessor()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DMessageLiteToString.java152 Method hasMethod = nameToNoArgMethod.get("has" + suffix); in reflectivePrintWithIndent() local
157 hasMethod == null in reflectivePrintWithIndent()
159 : (Boolean) GeneratedMessageLite.invokeOrDie(hasMethod, messageLite); in reflectivePrintWithIndent()
DGeneratedMessage.java2264 hasMethod =
2282 protected final Method hasMethod;
2357 return (Boolean) invokeOrDie(hasMethod, message);
DGeneratedMessageV3.java2162 protected final Method hasMethod;
2180 hasMethod = hasHasMethod ? getMethodOrDie(messageClass, "has" + camelCaseName) : null;
2221 return (Boolean) invokeOrDie(hasMethod, message);
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DFieldPresenceTest.java49 private static boolean hasMethod(Class<?> clazz, String name) { in hasMethod() method in FieldPresenceTest
63 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()
/third_party/protobuf/php/tests/
DGeneratedServiceTest.php61 $this->assertTrue($this->serviceClass->hasMethod($methodName));