Home
last modified time | relevance | path

Searched refs:mainMethod (Results 1 – 5 of 5) sorted by relevance

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/
DDifferentiateDotExpressionTest.java36 MethodDeclaration mainMethod = Navigator.demandMethod(clazz, "main"); in methodCallsFromFieldObjects() local
39 …MethodCallExpr firstFieldMethodCall = Navigator.findMethodCall(mainMethod, "firstContainerMethod")… in methodCallsFromFieldObjects()
40 …MethodCallExpr secondFieldMethodCall = Navigator.findMethodCall(mainMethod, "secondContainerMethod… in methodCallsFromFieldObjects()
41 …MethodCallExpr thirdFieldMethodCall = Navigator.findMethodCall(mainMethod, "thirdContainerMethod")… in methodCallsFromFieldObjects()
51 MethodDeclaration mainMethod = Navigator.demandMethod(clazz, "main"); in staticMethodCallsFromInnerClasses() local
54 MethodCallExpr methodCall = Navigator.findMethodCall(mainMethod, "methodCall").get(); in staticMethodCallsFromInnerClasses()
55 … MethodCallExpr innerMethodCall = Navigator.findMethodCall(mainMethod, "innerMethodCall").get(); in staticMethodCallsFromInnerClasses()
56 …MethodCallExpr innerInnerMethodCall = Navigator.findMethodCall(mainMethod, "innerInnerMethodCall")… in staticMethodCallsFromInnerClasses()
66 MethodDeclaration mainMethod = Navigator.demandMethod(clazz, "main"); in staticFieldCallsFromInnerClasses() local
69 …MethodCallExpr methodCallWithNestedStaticFieldParam = Navigator.findMethodCall(mainMethod, "parseI… in staticFieldCallsFromInnerClasses()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
DThisObjectTest.java172 String mainMethod = "main"; in testThisObjectTest001() local
173 if (mainMethod.equals(methodName)) { in testThisObjectTest001()
174 logWriter.println("==> frame for method: " + mainMethod); in testThisObjectTest001()
177 ("## FAILURE: Returned unexpected ObjectID for method: " + mainMethod); in testThisObjectTest001()
181 fail("Returned unexpected ObjectID for method: " + mainMethod); in testThisObjectTest001()
185 … ("## FAILURE: StackFrame.ThisObject returned not OBJECT_TAG for method: " + mainMethod); in testThisObjectTest001()
187 … fail("StackFrame.ThisObject returned not OBJECT_TAG for method: " + mainMethod); in testThisObjectTest001()
/external/smali/smali/src/test/java/org/jf/smali/
DImplicitReferenceTest.java74 Method mainMethod = null; in testImplicitMethodReference() local
77 mainMethod = method; in testImplicitMethodReference()
80 Assert.assertNotNull(mainMethod); in testImplicitMethodReference()
82 MethodImplementation methodImpl = mainMethod.getImplementation(); in testImplicitMethodReference()
169 Method mainMethod = null; in testImplicitFieldReference() local
172 mainMethod = method; in testImplicitFieldReference()
175 Assert.assertNotNull(mainMethod); in testImplicitFieldReference()
177 MethodImplementation methodImpl = mainMethod.getImplementation(); in testImplicitFieldReference()
/external/jdiff/src/jdiff/
DJDiff.java219 Method mainMethod = c.getMethod("main", methodArgTypes); in runAnt() local
223 Integer res = (Integer)mainMethod.invoke(null, methodArgs); in runAnt()
/external/antlr/tool/src/test/java/org/antlr/test/
DBaseTest.java397 final Method mainMethod = mainClass.getDeclaredMethod("main", String[].class); in execClass() local
414 mainMethod.invoke(null, (Object)new String[] { inputFile }); in execClass()