Home
last modified time | relevance | path

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

/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
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()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DMessageLiteToString.java124 Method hasMethod = nameToNoArgMethod.get("has" + suffix); in reflectivePrintWithIndent() local
128 final boolean hasValue = hasMethod == null in reflectivePrintWithIndent()
130 : (Boolean) GeneratedMessageLite.invokeOrDie(hasMethod, messageLite); in reflectivePrintWithIndent()
DGeneratedMessage.java2098 hasMethod =
2116 protected final Method hasMethod;
2191 return (Boolean) invokeOrDie(hasMethod, message);
/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/clang/unittests/AST/
DASTImporterTest.cpp213 hasMethod( in TEST()
269 hasMethod( in TEST()
/external/doclava/res/assets/templates/
Ddiff.cs176 <?cs if:site.hasMethod ?>
/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