/external/guava/guava/src/com/google/common/reflect/ |
H A D | AbstractInvocationHandler.java | 33 * Object proxy, Method method, Object[] args) { 60 * <li>other method calls are dispatched to {@link #handleInvocation}. 63 @Override public final Object invoke(Object proxy, Method method, @Nullable Object[] args) argument 68 if (args.length == 0 && method.getName().equals("hashCode")) { 72 && method.getName().equals("equals") 73 && method.getParameterTypes()[0] == Object.class) { 84 if (args.length == 0 && method.getName().equals("toString")) { 87 return handleInvocation(proxy, method, args); 91 * {@link #invoke} delegates to this method upon any method invocatio 98 handleInvocation(Object proxy, Method method, Object[] args) argument [all...] |
/external/guava/guava-testlib/src/com/google/common/testing/ |
H A D | DummyProxy.java | 36 * Generates a dummy interface proxy that simply returns a dummy value for each method. 71 Object proxy, Method method, Object[] args) { 72 Invokable<?, ?> invokable = interfaceType.method(method); 80 return dummyReturnValue(interfaceType.resolveType(method.getGenericReturnType())); 70 handleInvocation( Object proxy, Method method, Object[] args) argument
|
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | ForwardingTestCase.java | 62 * This invocation handler only registers that a method was called, 67 public Object invoke(Object proxy, Method method, Object[] args) 69 called(asString(method)); 71 return getDefaultValue(method.getReturnType()); 82 * Returns string representation of a method. 84 * If the method takes no parameters, it returns the name (e.g. 85 * "isEmpty". If the method takes parameters, it returns the simple names 88 private String asString(Method method) { argument 89 String methodName = method.getName(); 90 Class<?>[] parameterTypes = method [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
H A D | SourceSinkTester.java | 81 SourceSinkTester(F factory, T data, String suiteName, String caseDesc, Method method) { argument 82 super(method.getName()); 115 for (Method method : testClass.getDeclaredMethods()) { 116 if (Modifier.isPublic(method.getModifiers()) 117 && method.getReturnType() == void.class 118 && method.getParameterTypes().length == 0 119 && method.getName().startsWith("test")) { 120 result.add(method);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
H A D | UCharacterCompare.java | 35 * Main testing method 47 p.println("method name ucharacter character"); 199 * @param method 202 * UCharacter value after running method 204 * Character value after running method 206 private static void trackDifference(PrintWriter f, int ch, String method, String ucharval, String charval) argument 208 if (m_hashtable_.containsKey(method)) { 209 Integer value = m_hashtable_.get(method); 210 m_hashtable_.put(method, new Integer(value.intValue() + 1)); 212 m_hashtable_.put(method, ne [all...] |
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
H A D | DateFormatSymbolsTest.java | 114 private void compareArrays(Object jarray, Object iarray, Locale loc, String method) { argument 120 errln("FAIL: Different array size returned by " + method + "for locale " 128 errln("FAIL: Different symbols returned by " + method + "for locale " 140 errln("FAIL: Different array size returned by " + method + "for locale " 146 errln("FAIL: Different symbols returned by " + method + "for locale "
|
H A D | DecimalFormatSymbolsTest.java | 100 private void checkEquivalence(Object jo, Object io, Locale loc, String method) { argument 102 errln("FAIL: Different results returned by " + method + " for locale "
|
/external/javassist/src/main/javassist/bytecode/annotation/ |
H A D | ArrayMemberValue.java | 53 Object getValue(ClassLoader cl, ClassPool cp, Method method) argument 58 "no array elements found: " + method.getName()); 63 clazz = method.getReturnType().getComponentType(); 66 + method.getName()); 73 Array.set(a, i, values[i].getValue(cl, cp, method));
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/rmi/ |
H A D | RemoteObject.java | 54 * Contains {@link MethodDef method definitions} for all exposed 61 * a method ID. 81 private boolean methodEquals(MethodDef methodDef, Method method){ argument 82 Class<?>[] interfaceTypes = method.getParameterTypes(); 106 for (Method method : interfaceClass.getDeclaredMethods()){ 107 ArrayList<Method> list = nameToMethods.get(method.getName()); 110 nameToMethods.put(method.getName(), list); 112 list.add(method); 121 for (Method method : methods){ 122 if (methodEquals(methodDef, method)){ 133 invoke(Object proxy, Method method, Object[] args) argument [all...] |
/external/junit/src/org/junit/internal/runners/ |
H A D | TestMethod.java | 24 public TestMethod(Method method, TestClass testClass) { argument 25 fMethod= method;
|
/external/junit/src/org/junit/runners/model/ |
H A D | NoGenericTypeParametersValidator.java | 14 NoGenericTypeParametersValidator(Method method) { argument 15 this.fMethod = method;
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/ |
H A D | CallbackGenerator.java | 30 CodeEmitter beginMethod(ClassEmitter ce, MethodInfo method); argument 31 int getOriginalModifiers(MethodInfo method); argument 32 int getIndex(MethodInfo method); argument 34 Signature getImplSignature(MethodInfo method); argument
|
H A D | CallbackHelper.java | 38 Method method = (Method)methods.get(i); 39 Object callback = getCallback(method); 52 methodMap.put(method, index); 57 abstract protected Object getCallback(Method method); argument 81 public int accept(Method method, List<Method> allMethods) argument 83 return ((Integer)methodMap.get(method)).intValue();
|
H A D | InterfaceMaker.java | 29 * of method signatures. 48 * Add a method signature to the interface. 49 * @param sig the method signature to add to the interface 50 * @param exceptions an array of exception types to declare for the method 57 * Add a method signature to the interface. The method modifiers are ignored, 59 * @param method the method to add to the interface 61 public void add(Method method) { argument 62 add(ReflectUtils.getSignature(method), [all...] |
/external/mockito/src/org/mockito/internal/stubbing/answers/ |
H A D | MethodInfo.java | 17 private Method method; field in class:MethodInfo 20 this.method = theInvocation.getMethod(); 24 Class<?>[] exceptions = method.getExceptionTypes(); 36 if (method.getReturnType().isPrimitive() || clazz.isPrimitive()) { 37 return Primitives.primitiveTypeOf(clazz) == Primitives.primitiveTypeOf(method.getReturnType()); 39 return method.getReturnType().isAssignableFrom(clazz); 44 return this.method.getReturnType() == Void.TYPE; 48 return method.getReturnType().getSimpleName(); 52 return method.getName(); 56 return method [all...] |
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/ |
H A D | GetAndPostIntegrationTest.java | 111 public Response serve(String uri, Method method, Map<String, String> header, Map<String, String> parms, Map<String, String> files) { argument 112 StringBuilder sb = new StringBuilder(String.valueOf(method) + ':' + response);
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
H A D | SipRequestLine.java | 22 * @return method string. 41 * Set the method member 43 * @param method String to set 45 public abstract void setMethod(String method); argument
|
/external/nist-sip/java/javax/sip/header/ |
H A D | RAckHeader.java | 10 void setMethod(String method) throws ParseException; argument
|
/external/oauth/core/src/main/java/net/oauth/ |
H A D | OAuthAccessor.java | 65 * @param method 66 * the HTTP request method. If this is null, use the default 67 * method; that is getProperty("httpMethod") or (if that's null) 71 public OAuthMessage newRequestMessage(String method, String url, argument 74 if (method == null) { 75 method = (String) this.getProperty("httpMethod"); 76 if (method == null) { 77 method = (String) this.consumer.getProperty("httpMethod"); 78 if (method == null) { 79 method [all...] |
/external/proguard/src/proguard/classfile/attribute/ |
H A D | LineNumberTableAttribute.java | 132 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, AttributeVisitor attributeVisitor) argument 134 attributeVisitor.visitLineNumberTableAttribute(clazz, method, codeAttribute, this); 141 public void lineNumbersAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, LineNumberInfoVisitor lineNumberInfoVisitor) argument 147 lineNumberInfoVisitor.visitLineNumberInfo(clazz, method, codeAttribute, lineNumberTable[index]);
|
/external/proguard/src/proguard/classfile/attribute/annotation/ |
H A D | TypeAnnotation.java | 89 public void targetInfoAccept(Clazz clazz, Method method, TargetInfoVisitor targetInfoVisitor) argument 93 targetInfo.accept(clazz, method, this, targetInfoVisitor); 100 public void targetInfoAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, TargetInfoVisitor targetInfoVisitor) argument 104 targetInfo.accept(clazz, method, codeAttribute, this, targetInfoVisitor); 139 public void typePathInfosAccept(Clazz clazz, Method method, TypePathInfoVisitor typePathVisitor) argument 145 typePathVisitor.visitTypePathInfo(clazz, method, this, typePath[index]); 153 public void typePathInfosAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotation typeAnnotation, TypePathInfoVisitor typePathVisitor) argument 159 typePathVisitor.visitTypePathInfo(clazz, method, codeAttribute, typeAnnotation, typePath[index]);
|
/external/proguard/src/proguard/classfile/attribute/annotation/target/ |
H A D | LocalVariableTargetInfo.java | 73 public void targetElementsAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotation typeAnnotation, LocalVariableTargetElementVisitor localVariableTargetElementVisitor) argument 79 localVariableTargetElementVisitor.visitLocalVariableTargetElement(clazz, method, codeAttribute, typeAnnotation, this, table[index]); 95 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotation typeAnnotation, TargetInfoVisitor targetInfoVisitor) argument 97 targetInfoVisitor.visitLocalVariableTargetInfo(clazz, method, codeAttribute, typeAnnotation, this);
|
/external/proguard/src/proguard/classfile/attribute/annotation/visitor/ |
H A D | AnnotationTypeFilter.java | 77 public void visitAnnotation(Clazz clazz, Method method, Annotation annotation) argument 81 annotationVisitor.visitAnnotation(clazz, method, annotation); 86 public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation) argument 90 annotationVisitor.visitAnnotation(clazz, method, parameterIndex, annotation); 95 public void visitAnnotation(Clazz clazz, Method method, CodeAttribute codeAttribute, Annotation annotation) argument 99 annotationVisitor.visitAnnotation(clazz, method, codeAttribute, annotation);
|
/external/proguard/src/proguard/classfile/attribute/preverification/ |
H A D | DoubleType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) argument 44 verificationTypeVisitor.visitDoubleType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) argument 50 verificationTypeVisitor.visitStackDoubleType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument 56 verificationTypeVisitor.visitVariablesDoubleType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
H A D | FloatType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) argument 44 verificationTypeVisitor.visitFloatType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) argument 50 verificationTypeVisitor.visitStackFloatType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument 56 verificationTypeVisitor.visitVariablesFloatType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|