/libcore/luni/src/main/java/org/apache/harmony/lang/annotation/ |
H A D | AnnotationFactory.java | 106 * New instances should not be created directly, use factory method 274 * Processes a method invocation request to this annotation instance. 278 * @throws IllegalArgumentException If the specified method is none of the above 281 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable argument 283 String name = method.getName(); 284 Class[] params = method.getParameterTypes(); 302 if (element == null || !method.equals(element.definingMethod)) { 303 throw new IllegalArgumentException(method.toString()); 315 "Invalid method for annotation type: " + method); [all...] |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
H A D | ClassLoaderReflectionTest.java | 115 Method method = fClass.getDeclaredMethod("method", bClass, List.class); 116 assertParameterizedType(method.getGenericReturnType(), bClass, String.class); 120 Method method = fClass.getDeclaredMethod("method", bClass, List.class); 121 Type[] types = method.getGenericParameterTypes(); 142 B<String> method(B<String> parameter, List<A> anotherParameter) { method in class:ClassLoaderReflectionTest.F
|
H A D | ProxyTest.java | 62 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { argument
|
H A D | ReflectionTest.java | 251 Method method = ExtendsImplementsDefinesMember.class.getMethod("method"); 252 assertEquals(DefinesMember.class, method.getDeclaringClass()); 256 Method method = ImplementsExtendsDefinesMember.class.getMethod("method"); 257 assertEquals(DefinesMember.class, method.getDeclaringClass()); 262 assertTrue(names(methods).contains("method")); 267 assertTrue(names(methods).contains("method")); 272 assertEquals(1, count(names(methods), "method")); 341 void method(); method in interface:ReflectionTest.DefinesMember [all...] |
/libcore/luni/src/main/java/libcore/net/http/ |
H A D | HttpEngine.java | 112 protected final String method; field in class:HttpEngine 187 public HttpEngine(HttpURLConnectionImpl policy, String method, RawHeaders requestHeaders, argument 190 this.method = method; 257 CacheResponse candidate = responseCache.get(uri, method, 376 return method == POST || method == PUT; 441 if (method == CONNECT) { 497 if (requestHeaders.hasConnectionClose() && method != CONNECT) { 587 if (method [all...] |
H A D | HttpsURLConnectionImpl.java | 143 public void setRequestMethod(String method) throws ProtocolException { argument 144 delegate.setRequestMethod(method); 383 @Override protected HttpEngine newHttpEngine(String method, RawHeaders requestHeaders, argument 385 return new HttpsEngine(this, method, requestHeaders, connection, requestBody, 418 private HttpsEngine(HttpURLConnectionImpl policy, String method, RawHeaders requestHeaders, argument 421 super(policy, method, requestHeaders, connection, requestBody);
|
/libcore/luni/src/main/java/java/lang/ |
H A D | Enum.java | 40 Method method = (Method) Class.getDeclaredConstructorOrMethod( 43 return (Object[]) method.invoke((Object[]) null); 123 * {@code Enum} objects are singletons, they may not be cloned. This method 137 * relative order. This method compares the object's ordinal values, that
|
H A D | Class.java | 153 * primitive types can not be found using this method. 179 * primitive types can not be found using this method. Security rules will 320 * method returns {@code null}. 435 * Returns a constructor or method with the specified name. 437 * @param name the method name, or "<init>" to return a constructor. 667 * Returns a {@code Method} object which represents the method matching the 672 * the requested method's name. 674 * the parameter types of the requested method. 676 * @return the method described by {@code name} and {@code parameterTypes}. 713 * Returns the constructor or method i [all...] |
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
H A D | MethodTest.java | 196 // Test for method boolean 207 assertTrue("Overriden method returned equal", !m1.equals(m2)); 208 assertTrue("Same method returned not-equal", m1.equals(m1)); 216 assertTrue("Inherited method returned not-equal", m1.equals(m2)); 243 // Test for method java.lang.Class 263 // Test for method java.lang.Class [] 287 // Test for method int java.lang.reflect.Method.getModifiers() 341 // Test for method java.lang.String java.lang.reflect.Method.getName() 348 assertEquals("Returned incorrect method name", 358 assertTrue("Varargs method state [all...] |
/libcore/luni/src/main/java/java/io/ |
H A D | ObjectStreamClass.java | 275 // ObjectInputStream.defaultReadObject() method 379 * names, method names, modifiers, etc. 565 Method method = methods[i]; 566 int modifiers = method.getModifiers() & METHOD_MODIFIERS_MASK; 571 output.writeUTF(method.getName()); 574 getMethodSignature(method)).replace('/', '.')); 600 * method/constructor signature. 603 * a method or constructor signature 832 * fields using current implementation of ObjectInputStream. This method 889 * Return a String representing the signature for a method { [all...] |
H A D | ObjectOutputStream.java | 232 * @deprecated This method is unsafe and may corrupt the target stream. 354 * Default method to write objects to this stream. Serializable fields 361 * if this method is not called from {@code writeObject()}. 416 * method does nothing). The handle if {@code obj} is an 453 * method of the target stream. 468 * type as the method return value. 473 * private fields, except by the use of a native method like this one. 500 * if this method is not called from {@code writeObject()}. 1013 * private instance method {@code writeObject} it will be used to 1047 // See if the object has a writeObject method [all...] |
/libcore/luni/src/main/java/java/util/zip/ |
H A D | ZipOutputStream.java | 110 * stream. If the stream is already closed this method does nothing. 376 * Sets the compression method to be used when compressing entry data. 377 * method must be one of {@code STORED} (for no compression) or {@code 380 * @param method 381 * the compression method to use. 383 public void setMethod(int method) { argument 384 if (method != STORED && method != DEFLATED) { 387 compressMethod = method;
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldClassTest.java | 314 // AndroidOnly: Class.forName method throws ClassNotFoundException on Android. 389 assertEquals("getEnclosingMethod returns incorrect method.", 402 assertEquals("getEnclosingConstructor method returns incorrect class.", 407 "class declared in method.", 411 "class declared in method.", 703 assertEquals("Returned incorrect method", 0, ((Integer) (m.invoke(new ExtendTestClass1()))) 708 fail("Failed to throw exception accessing to init method"); 829 for (Method method : methods) { 830 if(method.toString().equals("public void libcore.java.lang.OldClassTest$Cls2.test()")) { 831 expected = method; [all...] |
/libcore/support/src/test/java/tests/resources/ |
H A D | junit4-4.3.1.jar | META-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ... |
/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | DOMTest.java | 168 Method method = File.class.getMethod("toURI", (Class<?>) null); 169 Object uri = method.invoke(tempFile, (Class<?>) null); 275 * This method is called when a mutation is reported for a document that
|
H A D | XercesHTML2DocumentBuilderFactory.java | 68 Method method = 70 domImpl = (DOMImplementation) method.invoke(null, NO_OBJECTS);
|
H A D | XercesHTMLDocumentBuilderFactory.java | 68 Method method = 70 domImpl = (DOMImplementation) method.invoke(null, NO_OBJECTS);
|
/libcore/luni/src/main/native/ |
H A D | org_apache_harmony_xml_ExpatParser.cpp | 100 * Data passed to parser handler method by the parser. 433 * Buffers the given text and passes it to the given method. 435 * @param method to pass the characters and length to with signature 441 static void bufferAndInvoke(jmethodID method, void* data, const char* text, size_t length) { argument 451 // Invoke given method. 454 env->CallVoidMethod(javaParser, method, buffer, utf16length); 587 * Called by Expat at the start of an element. Delegates to the same method 628 * Called by Expat at the end of an element. Delegates to the same method 652 * Called by Expat when it encounters text. Delegates to the same method 665 * Called by Expat when it encounters a comment. Delegates to the same method [all...] |
H A D | org_apache_harmony_xnet_provider_jsse_NativeCrypto.cpp | 3247 const SSL_METHOD* ssl_method = ssl->method;
|