/external/testng/src/main/java/org/testng/internal/ |
D | MethodInvocationHelper.java | 40 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 …]
|
D | MethodGroupsHelper.java | 188 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()
|
D | InvokeMethodRunnable.java | 21 public InvokeMethodRunnable(ITestNGMethod thisMethod, in InvokeMethodRunnable() argument 27 m_method = thisMethod; in InvokeMethodRunnable()
|
D | MethodHelper.java | 85 Method thisMethod = method.getMethod(); in findDependedUponMethods() local 86 String thisMethodName = thisMethod.getName(); in findDependedUponMethods() 88 calculateMethodCanonicalName(thisMethod) in findDependedUponMethods()
|
D | PackageUtils.java | 131 Method thisMethod = url.openConnection().getClass() in findClassesInPackage() local 134 URL fileUrl = (URL) thisMethod.invoke(connection, paramsObj); in findClassesInPackage()
|
D | Utils.java | 465 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()
|
D | Invoker.java | 625 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/ |
D | Expr.java | 49 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/ |
D | RuntimeSupport.java | 54 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()
|
D | MethodHandler.java | 47 Object invoke(Object self, Method thisMethod, Method proceed, in invoke() argument
|
D | ProxyFactory.java | 1063 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/ |
D | ProxySimpleTest.java | 128 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()
|
D | ProxySerializationTest.java | 115 …public Object invoke(Object self, Method thisMethod, Method proceed, Object[] args) throws Throwab… in invoke() argument
|
/external/javassist/src/test/javassist/proxyfactory/ |
D | ProxyFactoryTest.java | 75 …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/ |
D | Target189.java | 14 public Object invoke(Object self, Method thisMethod, Method proceed, in invoke() argument
|
D | ProxyTester.java | 465 …public Object invoke(Object self, Method thisMethod, Method proceed, Object[] args) throws Throwab… in testJIRA127()
|
/external/javassist/src/main/javassist/compiler/ |
D | MemberCodeGen.java | 55 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()
|
D | TypeChecker.java | 63 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/ |
D | ProxyBuilder.java | 541 Local<Method> thisMethod = code.newLocal(methodType); in generateCodeForAllMethods() local 566 code.aget(thisMethod, methodArray, methodIndex); in generateCodeForAllMethods() 585 localThis, thisMethod, args); in generateCodeForAllMethods()
|