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.java34 MethodDeclaration mainMethod = Navigator.demandMethod(clazz, "main"); in methodCallsFromFieldObjects() local
37 …MethodCallExpr firstFieldMethodCall = Navigator.findMethodCall(mainMethod, "firstContainerMethod")… in methodCallsFromFieldObjects()
38 …MethodCallExpr secondFieldMethodCall = Navigator.findMethodCall(mainMethod, "secondContainerMethod… in methodCallsFromFieldObjects()
39 …MethodCallExpr thirdFieldMethodCall = Navigator.findMethodCall(mainMethod, "thirdContainerMethod")… in methodCallsFromFieldObjects()
49 MethodDeclaration mainMethod = Navigator.demandMethod(clazz, "main"); in staticMethodCallsFromInnerClasses() local
52 MethodCallExpr methodCall = Navigator.findMethodCall(mainMethod, "methodCall").get(); in staticMethodCallsFromInnerClasses()
53 … MethodCallExpr innerMethodCall = Navigator.findMethodCall(mainMethod, "innerMethodCall").get(); in staticMethodCallsFromInnerClasses()
54 …MethodCallExpr innerInnerMethodCall = Navigator.findMethodCall(mainMethod, "innerInnerMethodCall")… in staticMethodCallsFromInnerClasses()
64 MethodDeclaration mainMethod = Navigator.demandMethod(clazz, "main"); in staticFieldCallsFromInnerClasses() local
67 …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.java75 Method mainMethod = null; in testImplicitMethodReference() local
78 mainMethod = method; in testImplicitMethodReference()
81 Assert.assertNotNull(mainMethod); in testImplicitMethodReference()
83 MethodImplementation methodImpl = mainMethod.getImplementation(); in testImplicitMethodReference()
170 Method mainMethod = null; in testImplicitFieldReference() local
173 mainMethod = method; in testImplicitFieldReference()
176 Assert.assertNotNull(mainMethod); in testImplicitFieldReference()
178 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()