/external/easymock/src/org/easymock/internal/ |
MethodSerializationWrapper.java | 51 Class<?>[] parameterTypes = m.getParameterTypes();
53 parameterTypeNames = new String[parameterTypes.length];
55 for (int i = 0; i < parameterTypes.length; i++) {
56 parameterTypeNames[i] = parameterTypes[i].getName();
65 Class<?>[] parameterTypes = new Class[parameterTypeNames.length];
70 parameterTypes[i] = primitiveType;
72 parameterTypes[i] = Class.forName(parameterTypeNames[i], true,
77 Method m = clazz.getMethod(methodName, parameterTypes);
|
/external/mockito/src/org/mockito/internal/invocation/ |
SerializableMethod.java | 19 private Class<?>[] parameterTypes;
27 parameterTypes = method.getParameterTypes();
42 return parameterTypes;
55 return declaringClass.getDeclaredMethod(methodName, parameterTypes);
93 if (!Arrays.equals(parameterTypes, other.parameterTypes))
|
/dalvik/dexgen/src/com/android/dexgen/rop/type/ |
Prototype.java | 38 private final StdTypeList parameterTypes; 97 StdTypeList parameterTypes = new StdTypeList(paramCount); 100 parameterTypes.set(i, params[i]); 103 result = new Prototype(descriptor, returnType, parameterTypes); 212 StdTypeList parameterTypes) { 221 if (parameterTypes == null) { 222 throw new NullPointerException("parameterTypes == null"); 227 this.parameterTypes = parameterTypes; 273 int thisSize = parameterTypes.size() [all...] |
/dalvik/dx/src/com/android/dx/rop/type/ |
Prototype.java | 38 private final StdTypeList parameterTypes; 101 StdTypeList parameterTypes = new StdTypeList(paramCount); 104 parameterTypes.set(i, params[i]); 107 result = new Prototype(descriptor, returnType, parameterTypes); 216 StdTypeList parameterTypes) { 225 if (parameterTypes == null) { 226 throw new NullPointerException("parameterTypes == null"); 231 this.parameterTypes = parameterTypes; 277 int thisSize = parameterTypes.size() [all...] |
/external/dexmaker/src/dx/java/com/android/dx/rop/type/ |
Prototype.java | 38 private final StdTypeList parameterTypes; 101 StdTypeList parameterTypes = new StdTypeList(paramCount); 104 parameterTypes.set(i, params[i]); 107 result = new Prototype(descriptor, returnType, parameterTypes); 216 StdTypeList parameterTypes) { 225 if (parameterTypes == null) { 226 throw new NullPointerException("parameterTypes == null"); 231 this.parameterTypes = parameterTypes; 277 int thisSize = parameterTypes.size() [all...] |
/external/guava/guava/src/com/google/common/eventbus/ |
AnnotatedHandlerFinder.java | 47 Class<?>[] parameterTypes = method.getParameterTypes(); 48 if (parameterTypes.length != 1) { 51 parameterTypes.length + " arguments. Event handler methods " + 54 Class<?> eventType = parameterTypes[0];
|
/external/mockito/src/org/mockito/internal/stubbing/answers/ |
ReturnsArgumentAt.java | 102 Class<?>[] parameterTypes = invocation.getMethod().getParameterTypes(); 103 int varargPosition = parameterTypes.length - 1; 106 return parameterTypes[actualArgumentPosition]; 108 return parameterTypes[varargPosition].getComponentType();
|
/libcore/luni/src/main/java/libcore/reflect/ |
GenericSignatureParser.java | 73 public ListOfTypes parameterTypes; 161 Class<?>[] parameterTypes = m.getParameterTypes(); 162 if (parameterTypes.length == 0) { 163 this.parameterTypes = ListOfTypes.EMPTY; 165 this.parameterTypes = new ListOfTypes(parameterTypes); 192 Class<?>[] parameterTypes = c.getParameterTypes(); 193 if (parameterTypes.length == 0) { 194 this.parameterTypes = ListOfTypes.EMPTY; 196 this.parameterTypes = new ListOfTypes(parameterTypes) [all...] |
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
ApiConstructor.java | 34 ApiConstructor(String name, List<String> parameterTypes, boolean deprecated) { 36 mParameterTypes = new ArrayList<String>(parameterTypes);
|
ApiMethod.java | 36 ApiMethod(String name, List<String> parameterTypes, String returnType, boolean deprecated) { 38 mParameterTypes = new ArrayList<String>(parameterTypes);
|
ApiClass.java | 65 public ApiConstructor getConstructor(List<String> parameterTypes) { 67 if (parameterTypes.equals(constructor.getParameterTypes())) { 82 public ApiMethod getMethod(String name, List<String> parameterTypes, String returnType) { 85 && parameterTypes.equals(method.getParameterTypes())
|
TextReport.java | 92 List<String> parameterTypes = constructor.getParameterTypes(); 93 int numParameterTypes = parameterTypes.size(); 95 builder.append(parameterTypes.get(i)); 108 List<String> parameterTypes = method.getParameterTypes(); 109 int numParameterTypes = parameterTypes.size(); 111 builder.append(parameterTypes.get(i));
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ForwardingTestCase.java | 90 Class<?>[] parameterTypes = method.getParameterTypes(); 92 if (parameterTypes.length == 0) { 97 Arrays.asList(parameterTypes), 126 Class<?>[] parameterTypes = method.getParameterTypes(); 127 Object[] parameters = new Object[parameterTypes.length]; 128 for (int i = 0; i < parameterTypes.length; i++) { 129 parameters[i] = getDefaultValue(parameterTypes[i]);
|
/libcore/libdvm/src/main/java/java/lang/reflect/ |
Method.java | 62 Class<?>[] aParameters = a.parameterTypes; 63 Class<?>[] bParameters = b.parameterTypes; 89 private Class<?>[] parameterTypes; 108 genericParameterTypes = parser.parameterTypes; 119 this.parameterTypes = paramTypes; 305 return noAnnotations(parameterTypes.length); 386 Arrays.equals(parameterTypes, rhs.parameterTypes); 443 return parameterTypes.clone(); 515 return invokeNative(receiver, args, declaringClass, parameterTypes, returnType, slot, flag) [all...] |
Constructor.java | 53 Class<?>[] parameterTypes; 69 genericParameterTypes = parser.parameterTypes; 101 this.parameterTypes = ptypes; 238 return Method.noAnnotations(parameterTypes.length); 338 return parameterTypes.clone(); 353 for (int i = 0; i < parameterTypes.length; i++) { 354 result.append(getSignature(parameterTypes[i])); 423 return constructNative (args, declaringClass, parameterTypes, slot, flag); 427 Class<?>[] parameterTypes, int slot, 457 result.append(toString(parameterTypes)); [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
ProtoIdItem.java | 44 private TypeListItem parameterTypes; 60 this.parameterTypes = (parameters.size() == 0) ? null 122 if (parameterTypes != null) { 123 parameterTypes = typeLists.intern(parameterTypes); 132 int paramsOff = OffsettedItem.getAbsoluteOffsetOr0(parameterTypes);
|
/dalvik/dx/src/com/android/dx/dex/file/ |
ProtoIdItem.java | 41 private TypeListItem parameterTypes; 57 this.parameterTypes = (parameters.size() == 0) ? null 119 if (parameterTypes != null) { 120 parameterTypes = typeLists.intern(parameterTypes); 129 int paramsOff = OffsettedItem.getAbsoluteOffsetOr0(parameterTypes);
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
ProtoIdItem.java | 41 private TypeListItem parameterTypes; 57 this.parameterTypes = (parameters.size() == 0) ? null 119 if (parameterTypes != null) { 120 parameterTypes = typeLists.intern(parameterTypes); 129 int paramsOff = OffsettedItem.getAbsoluteOffsetOr0(parameterTypes);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/ |
RobolectricWiringTest.java | 88 Class<?>[] parameterTypes = shadowMethod.getParameterTypes(); 90 return implementedClass.getConstructor(parameterTypes); 93 return implementedClass.getDeclaredConstructor(parameterTypes); 101 Class<?>[] parameterTypes = shadowMethod.getParameterTypes(); 104 return implementedClass.getMethod(methodName, parameterTypes); 107 return implementedClass.getDeclaredMethod(methodName, parameterTypes);
|
/external/javassist/src/main/javassist/ |
CtNewWrappedConstructor.java | 26 public static CtConstructor wrapped(CtClass[] parameterTypes, 35 CtConstructor cons = new CtConstructor(parameterTypes, declaring); 39 parameterTypes, constParam);
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
OldGenericReflectionCornerCases.java | 47 Type[] parameterTypes = method.getGenericParameterTypes(); 48 assertLenghtOne(parameterTypes); 49 Type parameter = parameterTypes[0]; 90 Type[] parameterTypes = method.getGenericParameterTypes(); 91 assertLenghtOne(parameterTypes); 92 Type parameter = parameterTypes[0]; 147 Type[] parameterTypes = method.getGenericParameterTypes(); 148 assertLenghtOne(parameterTypes); 149 Type parameter = parameterTypes[0]; 199 Type[] parameterTypes = method.getGenericParameterTypes() [all...] |
/external/javassist/src/main/javassist/convert/ |
TransformBefore.java | 24 protected CtClass[] parameterTypes; 38 parameterTypes = origMethod.getParameterTypes(); 55 String desc = Descriptor.ofParameters(parameterTypes) + 'V'; 64 makeCode(parameterTypes, cp);
|
/libcore/libart/src/main/java/java/lang/reflect/ |
Constructor.java | 231 Class<?>[] parameterTypes = getParameterTypes(); 232 for (Class<?> parameterType : parameterTypes) { 316 Class<?>[] parameterTypes = getParameterTypes(); 317 result.append(Types.toString(parameterTypes));
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/reflect/ |
ReflectionUtils.java | 109 private static void appendParameterTypes(StringBuilder buffer, Type[] parameterTypes) { 112 for (Type parameterType : parameterTypes) { 173 * @param parameterTypes 178 public static String getMethodSignature(String name, Type... parameterTypes) { 180 Assert.isNotNull(parameterTypes); 184 appendParameterTypes(buffer, parameterTypes); 243 * @param parameterTypes 252 Class<?>[] parameterTypes, 254 Assert.equals(parameterTypes.length, arguments.length); 255 String signature = getMethodSignature(name, parameterTypes); [all...] |
/libcore/libdvm/src/main/java/java/lang/ |
Class.java | 445 public Constructor<T> getConstructor(Class<?>... parameterTypes) throws NoSuchMethodException { 446 return (Constructor) getConstructorOrMethod("<init>", false, true, parameterTypes); 453 boolean publicOnly, Class<?>[] parameterTypes) throws NoSuchMethodException { 460 if (parameterTypes == null) { 461 parameterTypes = EmptyArray.CLASS; 463 for (Class<?> c : parameterTypes) { 469 ? getPublicConstructorOrMethodRecursive(name, parameterTypes) 470 : Class.getDeclaredConstructorOrMethod(this, name, parameterTypes); 472 throw new NoSuchMethodException(name + " " + Arrays.toString(parameterTypes)); 477 private Member getPublicConstructorOrMethodRecursive(String name, Class<?>[] parameterTypes) { [all...] |