Searched defs:methods (Results 1 - 8 of 8) sorted by relevance

/libcore/luni/src/test/java/tests/api/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/libart/src/main/java/java/lang/reflect/
H A DProxy.java32 * {@code Proxy} defines methods for creating dynamic proxy classes and instances.
46 * Orders methods by their name, parameters, return type and inheritance relationship.
160 List<Method> methods = getMethods(interfaces);
161 Collections.sort(methods, ORDER_BY_SIGNATURE_AND_SUBTYPE);
162 validateReturnTypes(methods);
163 List<Class<?>[]> exceptions = deduplicateAndGetExceptions(methods);
165 ArtMethod[] methodsArray = new ArtMethod[methods.size()];
167 methodsArray[i] = methods.get(i).getArtMethod();
279 * Fills {@code proxiedMethods} with the methods of {@code interfaces} and
282 private static void getMethodsRecursive(Class<?>[] interfaces, List<Method> methods) { argument
296 validateReturnTypes(List<Method> methods) argument
324 deduplicateAndGetExceptions(List<Method> methods) argument
367 generateProxy(String name, Class<?>[] interfaces, ClassLoader loader, ArtMethod[] methods, Class<?>[][] exceptions) argument
[all...]
/libcore/luni/src/test/java/libcore/java/lang/reflect/
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 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 DReflectionTest.java261 Method[] methods = ExtendsImplementsDefinesMember.class.getMethods();
262 assertTrue(names(methods).contains("method"));
266 Method[] methods = ImplementsExtendsDefinesMember.class.getMethods();
267 assertTrue(names(methods).contains("method"));
271 Method[] methods = ExtendsAndImplementsDefinesMember.class.getMethods();
272 assertEquals(1, count(names(methods), "method"));
350 private List<String> names(Member[] methods) { argument
352 for (Member method : methods) {
/libcore/libart/src/main/java/java/lang/
H A DClass.java140 /** static, private, and &lt;init&gt; methods. */
155 * interface methods. There is one pair per interface supported by this class. That
165 * methods for the methods in the interface.
181 /** Virtual methods defined in this class; invoked through vtable. */
186 * is copied in, and virtual methods from our class either replace those from the super or are
187 * appended. For abstract classes, methods may be created in the vtable that aren't in
188 * virtual_ methods_ for miranda methods.
697 // methods with the same name and parameter types. Prefer to
700 // escalated visibility. We never return miranda methods tha
779 getDeclaredMethods(boolean publicOnly, List<Method> methods) argument
[all...]
/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 3079 milliseconds