Home
last modified time | relevance | path

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

/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DSingleFieldAccessor.cs62 … MethodInfo hasMethod = property.DeclaringType.GetRuntimeProperty("Has" + property.Name).GetMethod; in SingleFieldAccessor()
63 if (hasMethod == null) { in SingleFieldAccessor()
66 hasDelegate = ReflectionUtil.CreateFuncIMessageBool(hasMethod); in SingleFieldAccessor()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DFieldPresenceTest.java47 private static boolean hasMethod(Class<?> clazz, String name) { in hasMethod() method in FieldPresenceTest
61 assertTrue(hasMethod(classWithFieldPresence, "get" + camelName)); in assertHasMethodRemoved()
62 assertTrue(hasMethod(classWithFieldPresence, "has" + camelName)); in assertHasMethodRemoved()
63 assertTrue(hasMethod(classWithoutFieldPresence, "get" + camelName)); in assertHasMethodRemoved()
64 assertFalse(hasMethod(classWithoutFieldPresence, "has" + camelName)); in assertHasMethodRemoved()
/external/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.java2057 hasMethod =
2075 protected final Method hasMethod;
2150 return (Boolean) invokeOrDie(hasMethod, message);
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/observer/
DObservableProperty.java220 private boolean hasMethod(Node node, String name) { in hasMethod() method in ObservableProperty
269 if (!hasMethod(node, getterName)) { in getRawValue()
271 if (!hasMethod(node, getterName)) { in getRawValue()
/external/vogar/src/vogar/target/junit/
DJunit3.java37 || new ClassAnalyzer(klass).hasMethod(true, Test.class, "suite"); in isJunit3Test()
/external/vogar/src/vogar/target/
DMainRunnerFactory.java32 if (new ClassAnalyzer(klass).hasMethod(true, void.class, "main", String[].class)) { in newRunner()
/external/vogar/src/vogar/
DClassAnalyzer.java29 public boolean hasMethod(boolean isStatic, Class<?> returnType, String name, in hasMethod() method in ClassAnalyzer
/external/vogar/src/vogar/target/junit/junit3/
DAlternateSuiteMethodBuilder.java65 if (new ClassAnalyzer(testClass).hasMethod(true, Test.class, "suite")) { in runnerForClass()
/external/protobuf/php/src/Google/Protobuf/Internal/
DServiceDescriptorProto.php103 public function hasMethod() function in Google\\Protobuf\\Internal\\ServiceDescriptorProto
/external/protobuf/php/tests/
Dgenerated_service_test.php61 $this->assertTrue($this->serviceClass->hasMethod($methodName));
/external/clang/unittests/AST/
DASTImporterTest.cpp213 hasMethod( in TEST()
269 hasMethod( in TEST()
/external/doclava/res/assets/templates/
Ddiff.cs176 <?cs if:site.hasMethod ?>
/external/bcc/tests/lua/
Dluaunit.lua1413 local hasMethod, methodName, className
1414 hasMethod = string.find(someName, '.', nil, true )
1415 if not hasMethod then return nil end
1416 methodName = string.sub(someName, hasMethod+1)
1417 className = string.sub(someName,1,hasMethod-1)
/external/clang/lib/StaticAnalyzer/Checkers/
DIvarInvalidationChecker.cpp81 bool hasMethod(const ObjCMethodDecl *MD) { in hasMethod() function
585 if (!InvalidationMethod || I->second.hasMethod(InvalidationMethod)) in markInvalidated()
/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp22 TEST(DeclarationMatcher, hasMethod) { in TEST() argument
24 cxxRecordDecl(hasMethod(hasName("func"))))); in TEST()
26 cxxRecordDecl(hasMethod(isPublic())))); in TEST()
1458 cxxRecordDecl(decl().bind("x"), hasMethod(hasName("g"))), in TEST()
DASTMatchersNarrowingTest.cpp629 cxxRecordDecl(hasMethod(hasOverloadedOperatorName("*"))); in TEST()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp240 REGISTER_MATCHER(hasMethod); in RegistryMaps()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2226 AST_MATCHER_P(CXXRecordDecl, hasMethod, internal::Matcher<CXXMethodDecl>, in AST_MATCHER_P() argument