HomeSort by relevance Sort by last modified time
    Searched refs:getParameterTypes (Results 1 - 25 of 144) sorted by null

1 2 3 4 5 6

  /external/mockito/src/org/mockito/internal/util/
ObjectMethodsGuru.java 23 && method.getParameterTypes().length == 0
29 && method.getParameterTypes().length == 1
30 && method.getParameterTypes()[0] == Object.class;
35 && method.getParameterTypes().length == 0;
41 && method.getParameterTypes().length == 1
42 && method.getParameterTypes()[0] == method.getDeclaringClass();
  /external/mockito/src/org/mockito/internal/invocation/
MockitoMethod.java 15 public Class<?>[] getParameterTypes();
SerializableMethod.java 27 parameterTypes = method.getParameterTypes();
41 public Class<?>[] getParameterTypes() {
  /external/junit/src/org/junit/runners/model/
FrameworkMethod.java 68 if (fMethod.getParameterTypes().length != 0)
102 if (other.getParameterTypes().length != getParameterTypes().length)
104 for (int i= 0; i < other.getParameterTypes().length; i++)
105 if (!other.getParameterTypes()[i].equals(getParameterTypes()[i]))
133 return getParameterTypes().length == 0 && type instanceof Class<?>
137 private Class<?>[] getParameterTypes() {
138 return fMethod.getParameterTypes();
  /external/mockito/src/org/mockito/internal/creation/
DelegatingMethod.java 32 public Class<?>[] getParameterTypes() {
33 return method.getParameterTypes();
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
ConstructorTest.java 38 Class[] parameters = constructor.getParameterTypes();
43 parameters = constructor.getParameterTypes();
50 assertEquals(0, constructor.getParameterTypes().length);
72 assertEquals(2, constructor.getParameterTypes().length);
  /external/junit/src/org/junit/internal/matchers/
TypeSafeMatcher.java 31 return method.getParameterTypes()[0];
41 && method.getParameterTypes().length == 1
  /frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
UiAutomatorTestCaseFilter.java 32 return ((method.getParameterTypes().length == 0) &&
  /external/junit/src/org/junit/internal/runners/
TestClass.java 71 if (previous.getParameterTypes().length != current.getParameterTypes().length)
73 for (int i= 0; i < previous.getParameterTypes().length; i++) {
74 if (! previous.getParameterTypes()[i].equals(current.getParameterTypes()[i]))
  /libcore/libart/src/main/java/java/lang/reflect/
Method.java 61 b.getParameterTypes());
173 @Override public Class<?>[] getParameterTypes() {
174 return artMethod.findOverriddenMethodIfProxy().getParameterTypes();
213 ArtMethod.equalMethodParameters(artMethod,m.getParameterTypes());
407 Class<?>[] parameterTypes = getParameterTypes();
430 Class<?>[] parameterTypes = getParameterTypes();
Constructor.java 114 public Class<?>[] getParameterTypes() {
115 return super.getParameterTypes();
231 Class<?>[] parameterTypes = getParameterTypes();
316 Class<?>[] parameterTypes = getParameterTypes();
  /external/mockito/src/org/mockito/internal/stubbing/answers/
ReturnsArgumentAt.java 99 return invocation.getMethod().getParameterTypes()[actualArgumentPosition];
102 Class<?>[] parameterTypes = invocation.getMethod().getParameterTypes();
  /external/guava/guava-testlib/src/com/google/common/testing/
NullPointerTester.java 170 Class<?>[] types = method.getParameterTypes();
182 Class<?>[] types = ctor.getParameterTypes();
201 @Override public Class<?>[] getParameterTypes() {
202 return method.getParameterTypes();
213 + "(" + Arrays.toString(getParameterTypes()) + ")";
228 @Override public Class<?>[] getParameterTypes() {
229 return ctor.getParameterTypes();
276 if (func.getParameterTypes()[paramIndex].isPrimitive()) {
289 Class<?>[] types = func.getParameterTypes();
305 Class<?>[] getParameterTypes();
    [all...]
  /cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
ApiConstructor.java 49 public List<String> getParameterTypes() {
ApiMethod.java 52 public List<String> getParameterTypes() {
ApiClass.java 67 if (parameterTypes.equals(constructor.getParameterTypes())) {
85 && parameterTypes.equals(method.getParameterTypes())
  /frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
DynamicProxy.java 53 .getMethod(method.getName(), method.getParameterTypes())
  /external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/
InvocationHandlerAdapter.java 76 public Class<?>[] getParameterTypes() {
77 return method.getParameterTypes();
  /external/android-mock/src/com/google/android/testing/mocking/
AndroidMockGenerator.java 191 for (Class<?> arg : method.getParameterTypes()) {
195 if (i < method.getParameterTypes().length - 1) {
269 ctConstructor = CtNewConstructor.make(constructor.getParameterTypes(),
383 for (Class<?> param : method.getParameterTypes()) {
402 return method.getParameterTypes().length == 1
403 && method.getParameterTypes()[0].equals(Object.class);
405 return method.getParameterTypes().length == 0;
407 return method.getParameterTypes().length == 0;
441 for (int i = 0; i < method.getParameterTypes().length; ++i) {
444 if (i < method.getParameterTypes().length - 1)
    [all...]
  /art/test/100-reflect2/src/
Main.java 179 System.out.println(Arrays.toString(m.getParameterTypes()));
181 System.out.println(Arrays.toString(m.getParameterTypes()));
184 System.out.println(Arrays.toString(m.getParameterTypes()));
188 System.out.println(Arrays.toString(m.getParameterTypes()));
192 System.out.println(Arrays.toString(m.getParameterTypes()));
196 System.out.println(Arrays.toString(m.getParameterTypes()));
200 System.out.println(Arrays.toString(m.getParameterTypes()));
204 System.out.println(Arrays.toString(m.getParameterTypes()));
209 System.out.println(Arrays.toString(m.getParameterTypes()));
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
ProtoIdItem.java 59 StdTypeList parameters = prototype.getParameterTypes();
71 StdTypeList parameters = prototype.getParameterTypes();
139 StdTypeList params = prototype.getParameterTypes();
  /dalvik/dx/src/com/android/dx/dex/file/
ProtoIdItem.java 56 StdTypeList parameters = prototype.getParameterTypes();
68 StdTypeList parameters = prototype.getParameterTypes();
136 StdTypeList params = prototype.getParameterTypes();
  /external/dexmaker/src/dx/java/com/android/dx/dex/file/
ProtoIdItem.java 56 StdTypeList parameters = prototype.getParameterTypes();
68 StdTypeList parameters = prototype.getParameterTypes();
136 StdTypeList params = prototype.getParameterTypes();
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
RobolectricWiringTest.java 81 return shadowMethod.getDeclaringClass().getDeclaredMethod(shadowMethod.getName(), shadowMethod.getParameterTypes()).isAnnotationPresent(Implementation.class);
88 Class<?>[] parameterTypes = shadowMethod.getParameterTypes();
101 Class<?>[] parameterTypes = shadowMethod.getParameterTypes();
  /external/javassist/src/main/javassist/tools/reflect/
Metaobject.java 139 public final Class[] getParameterTypes(int identifier) {
140 return methods[identifier].getParameterTypes();

Completed in 921 milliseconds

1 2 3 4 5 6