Home
last modified time | relevance | path

Searched refs:thisMethod (Results 1 – 24 of 24) sorted by relevance

/external/testng/src/main/java/org/testng/internal/
DMethodInvocationHelper.java40 protected static Object invokeMethod(Method thisMethod, Object instance, Object[] parameters) in invokeMethod() argument
42 Utils.checkInstanceOrStatic(instance, thisMethod); in invokeMethod()
47 if (instance == null || !thisMethod.getDeclaringClass().isAssignableFrom(instance.getClass())) { in invokeMethod()
50 boolean isStatic = Modifier.isStatic(thisMethod.getModifiers()); in invokeMethod()
55 thisMethod = clazz.getMethod(thisMethod.getName(), thisMethod.getParameterTypes()); in invokeMethod()
61 thisMethod = clazz.getDeclaredMethod(thisMethod.getName(), in invokeMethod()
62 thisMethod.getParameterTypes()); in invokeMethod()
70 if (thisMethod.getDeclaringClass().getName().equals(instance.getClass().getName())) { in invokeMethod()
71 throw new RuntimeException("Can't invoke method " + thisMethod in invokeMethod()
74 throw new RuntimeException("Can't invoke method " + thisMethod in invokeMethod()
[all …]
DMethodGroupsHelper.java188 for (ITestNGMethod thisMethod : im) { in findGroupTransitiveClosure()
189 if (! runningMethods.containsKey(thisMethod)) { in findGroupTransitiveClosure()
190 runningMethods.put(thisMethod, thisMethod); in findGroupTransitiveClosure()
191 newMethods.put(thisMethod, thisMethod); in findGroupTransitiveClosure()
203 ITestNGMethod thisMethod = MethodGroupsHelper.findMethodNamed(tm, allMethods); in findGroupTransitiveClosure() local
204 if (thisMethod != null && ! runningMethods.containsKey(thisMethod)) { in findGroupTransitiveClosure()
205 runningMethods.put(thisMethod, thisMethod); in findGroupTransitiveClosure()
206 newMethods.put(thisMethod, thisMethod); in findGroupTransitiveClosure()
DInvokeMethodRunnable.java21 public InvokeMethodRunnable(ITestNGMethod thisMethod, in InvokeMethodRunnable() argument
27 m_method = thisMethod; in InvokeMethodRunnable()
DMethodHelper.java85 Method thisMethod = method.getMethod(); in findDependedUponMethods() local
86 String thisMethodName = thisMethod.getName(); in findDependedUponMethods()
88 calculateMethodCanonicalName(thisMethod) in findDependedUponMethods()
DPackageUtils.java131 Method thisMethod = url.openConnection().getClass() in findClassesInPackage() local
134 URL fileUrl = (URL) thisMethod.invoke(connection, paramsObj); in findClassesInPackage()
DUtils.java465 public static void logInvocation(String reason, Method thisMethod, Object[] parameters) { in logInvocation() argument
466 String clsName = thisMethod.getDeclaringClass().getName(); in logInvocation()
471 String methodName = clsName + '.' + thisMethod.getName(); in logInvocation()
DInvoker.java625 Method thisMethod = tm.getConstructorOrMethod().getMethod(); in invokeMethod() local
640 parameterValues, hookableInstance, thisMethod, testResult); in invokeMethod()
643 MethodInvocationHelper.invokeMethod(thisMethod, instance, in invokeMethod()
/external/javassist/src/main/javassist/expr/
DExpr.java49 MethodInfo thisMethod; field in Expr
62 thisMethod = m; in Expr()
74 return thisMethod.getConstPool(); in getConstPool()
93 return (thisMethod.getAccessFlags() & AccessFlag.STATIC) != 0; in withinStatic()
100 MethodInfo mi = thisMethod; in where()
116 if (thisMethod.getName().equals(cb[i].getMethodInfo2().getName()) in where()
117 && thisMethod.getDescriptor() in where()
134 ConstPool cp = thisMethod.getConstPool(); in mayThrow()
137 CodeAttribute ca = thisMethod.getCodeAttribute(); in mayThrow()
155 ExceptionsAttribute ea = thisMethod.getExceptionsAttribute(); in mayThrow()
[all …]
/external/javassist/src/main/javassist/util/proxy/
DRuntimeSupport.java54 String thisMethod, int index, in find2Methods() argument
57 methods[index + 1] = thisMethod == null ? null in find2Methods()
58 : findMethod(clazz, thisMethod, desc); in find2Methods()
74 String thisMethod, int index, in find2Methods() argument
77 methods[index + 1] = thisMethod == null ? null in find2Methods()
78 : findMethod(self, thisMethod, desc); in find2Methods()
DMethodHandler.java47 Object invoke(Object self, Method thisMethod, Method proceed, in invoke() argument
DProxyFactory.java1063 private static void callFind2Methods(Bytecode code, String superMethod, String thisMethod, in callFind2Methods() argument
1071 if (thisMethod == null) in callFind2Methods()
1074 code.addLdc(thisMethod); in callFind2Methods()
/external/javassist/src/test/test/javassist/proxy/
DProxySimpleTest.java128 public Object invoke(Object self, Method thisMethod, in testJIRA244()
130 value244 += thisMethod.getDeclaringClass().getName(); in testJIRA244()
301 public Object invoke(Object self, Method thisMethod, in testJIRA267()
303 value267 += thisMethod.getDeclaringClass().getName(); in testJIRA267()
342 public Object invoke(Object self, Method thisMethod, in testJIRA267b()
344 value267b += thisMethod.getDeclaringClass().getName(); in testJIRA267b()
345 value267b += ";" + thisMethod.getReturnType().getName(); in testJIRA267b()
DProxySerializationTest.java115 …public Object invoke(Object self, Method thisMethod, Method proceed, Object[] args) throws Throwab… in invoke() argument
/external/javassist/src/test/javassist/proxyfactory/
DProxyFactoryTest.java75 …public Object invoke(Object self, Method thisMethod, Method proceed, Object[] args) throws Throwab… in invoke() argument
137 public Object invoke(Object self, Method thisMethod, in testJava11()
149 public Object invoke(Object self, Method thisMethod, in testJava11jdk()
/external/javassist/src/test/testproxy/
DTarget189.java14 public Object invoke(Object self, Method thisMethod, Method proceed, in invoke() argument
DProxyTester.java465 …public Object invoke(Object self, Method thisMethod, Method proceed, Object[] args) throws Throwab… in testJIRA127()
/external/javassist/src/main/javassist/compiler/
DMemberCodeGen.java55 protected MethodInfo thisMethod; field in MemberCodeGen
63 thisMethod = null; in MemberCodeGen()
81 thisMethod = m.getMethodInfo2(); in setThisMethod()
83 typeChecker.setThisMethod(thisMethod); in setThisMethod()
604 found = resolver.lookupMethod(targetClass, thisClass, thisMethod, in atMethodCallCore()
DTypeChecker.java63 protected MethodInfo thisMethod; field in TypeChecker
68 thisMethod = null; in TypeChecker()
125 thisMethod = m; in setThisMethod()
766 = resolver.lookupMethod(targetClass, thisClass, thisMethod, in atMethodCallCore()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/stock/
DProxyBuilder.java541 Local<Method> thisMethod = code.newLocal(methodType); in generateCodeForAllMethods() local
566 code.aget(thisMethod, methodArray, methodIndex); in generateCodeForAllMethods()
585 localThis, thisMethod, args); in generateCodeForAllMethods()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/lib/
Djavassist-3.19.0-GA.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/guice/extensions/struts2/lib/
Djavassist.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/ByteArrayClassPath.class ByteArrayClassPath ...
/external/guice/extensions/persist/lib/
Djavassist.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/ByteArrayClassPath.class ByteArrayClassPath ...
Dhibernate3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/hibernate/ org/ ...
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.jdt.core_3.14.0.v20180528-0519.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...