Searched refs:methods (Results 1 - 13 of 13) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
H A DMethodLogger.java29 * The names of the invoked methods, in order.
31 private List<String> methods = new ArrayList<String>(); field in class:MethodLogger
34 * The parameter lists of the invoked methods, in order.
45 methods.add(method);
53 return methods.size();
60 return methods.get(index);
91 methods.clear();
/libcore/harmony-tests/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
H A DAnnotationTypeMismatchExceptionTest.java38 Method[] methods = Class.forName("java.lang.String").getMethods();
39 Method m = methods[0];
/libcore/libart/src/main/java/java/lang/reflect/
H A DProxy.java31 * {@code Proxy} defines methods for creating dynamic proxy classes and instances.
45 * Orders methods by their name, parameters, return type and inheritance relationship.
165 List<Method> methods = getMethods(interfaces);
166 Collections.sort(methods, ORDER_BY_SIGNATURE_AND_SUBTYPE);
167 validateReturnTypes(methods);
168 List<Class<?>[]> exceptions = deduplicateAndGetExceptions(methods);
169 Method[] methodsArray = methods.toArray(new Method[methods.size()]);
293 * Fills {@code proxiedMethods} with the methods of {@code interfaces} and
296 private static void getMethodsRecursive(Class<?>[] interfaces, List<Method> methods) { argument
310 validateReturnTypes(List<Method> methods) argument
338 deduplicateAndGetExceptions(List<Method> methods) argument
381 generateProxy(String name, Class<?>[] interfaces, ClassLoader loader, Method[] methods, Class<?>[][] exceptions) argument
[all...]
/libcore/luni/src/test/java/libcore/java/lang/reflect/
H A DOldAndroidClassTest.java141 Method[] methods = ArrayList.class.getMethods();
144 for (Method method : methods) {
173 // Check if we also reflect methods from interfaces
175 Method[] methods = MyInterface.class.getMethods();
176 assertTrue(hasMethod(methods, ".foo("));
178 methods = MyOtherInterface.class.getMethods();
179 assertTrue(hasMethod(methods, ".foo("));
180 assertTrue(hasMethod(methods, ".bar("));
182 methods = MyClass.class.getMethods();
183 assertTrue(hasMethod(methods, "
192 hasMethod(Method[] methods, String signature) argument
[all...]
H A DMethodOverridesTest.java98 Method[] methods = Sub.class.getMethods();
100 for (Method method : methods) {
115 Method[] methods = PublicSub.class.getMethods();
117 for (Method method : methods) {
166 private Set<String> signatures(Method[] methods) { argument
168 for (Method method : methods) {
H A DReflectionTest.java284 Method[] methods = ExtendsImplementsDefinesMember.class.getMethods();
285 assertTrue(names(methods).contains("method"));
289 Method[] methods = ImplementsExtendsDefinesMember.class.getMethods();
290 assertTrue(names(methods).contains("method"));
294 Method[] methods = ExtendsAndImplementsDefinesMember.class.getMethods();
295 assertEquals(1, count(names(methods), "method"));
405 private List<String> names(Member[] methods) { argument
407 for (Member method : methods) {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
H A DMethodTest.java522 Method[] methods = null;
547 // Test same method. but this time pull it from the list of methods
549 methods = cl.getDeclaredMethods();
552 for (i = 0; i < methods.length; i++)
553 if (methods[i].getName().equals("parmTest")) {
554 mth = methods[i];
555 i = methods.length + 1;
557 if (i < methods.length) {
707 Method methods[] = cl.getMethods();
708 for (int i = 0; i < methods
[all...]
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldClassTest.java829 assertEquals("Incorrect number of methods", 10,
831 assertEquals("Incorrect number of methods", 11,
835 Method[] methods = Cls2.class.getMethods();
836 for (Method method : methods) {
843 fail("getMethods() did not return all methods");
848 methods = Cls3.class.getMethods();
849 for (Method method : methods) {
856 fail("getMethods() did not return all methods");
861 methods = Cls3.class.getMethods();
862 for (Method method : methods) {
[all...]
/libcore/libart/src/main/java/java/lang/
H A DClass.java145 * interface methods. There is one pair per interface supported by this class. That
155 * methods for the methods in the interface.
170 * is copied in, and virtual methods from our class either replace those from the super or are
171 * appended. For abstract classes, methods may be created in the vtable that aren't in
172 * virtual_ methods_ for miranda methods.
179 /** static, private, and &lt;init&gt; methods. */
195 /** Virtual methods defined in this class; invoked through vtable. */
223 /** Number of direct methods. */
238 /** Number of virtual methods
[all...]
/libcore/luni/src/main/java/java/io/
H A DObjectStreamClass.java516 * Normally constructors come before methods (because <init> <
566 Method[] methods = cl.getDeclaredMethods();
567 if (methods.length > 1) {
580 Arrays.sort(methods, methodComparator);
584 for (int i = 0; i < methods.length; i++) {
585 Method method = methods[i];
/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
H A DAnnotationTest.java53 List<Method> methods = Arrays.asList(AnnotatedClass.class.getDeclaredMethods());
56 for (Method m : methods) {
/libcore/support/src/test/java/tests/resources/
H A Djunit4-4.3.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ...
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 1068 milliseconds