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

12345678910

/openjdk7/jdk/src/share/native/java/lang/
H A DCompiler.c30 static JNINativeMethod methods[] = { variable
51 (*env)->RegisterNatives(env, compCls, methods,
52 sizeof methods / sizeof methods[0]);
H A DObject.c42 static JNINativeMethod methods[] = { variable
54 methods, sizeof(methods)/sizeof(methods[0]));
H A DThread.c43 static JNINativeMethod methods[] = { variable
70 (*env)->RegisterNatives(env, cls, methods, ARRAY_LENGTH(methods));
/openjdk7/jdk/test/java/lang/reflect/Method/
H A DInheritedInterfaceMethods.java34 Method[] methods = InheritedInterfaceMethodsC.class.getMethods();
35 for (int i = 0; i < methods.length; i++) {
36 if (methods[i].getName().equals("a")) {
/openjdk7/langtools/test/tools/javac/processing/model/util/filter/
H A DExpectedElementCounts.java34 int methods() default 0;
H A DFoo1.java24 @ExpectedElementCounts(constructors=2, fields=5, methods=4, types=3)
H A DTestIterables.java27 * @summary Test that ElementFilter iterable methods behave properly.
51 * Verify that the {@code ElementFilter} methods taking iterables
56 @ExpectedElementCounts(methods=2)
81 System.out.format("methods %d\t\t%d%n", methodCount, elementCounts.methods());
86 (methodCount != elementCounts.methods()) ||
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/
H A DMethodBuilder.java53 * The class whose methods are being documented.
58 * The visible methods for the given class.
68 * The methods being documented.
70 private List<ProgramElementDoc> methods; field in class:MethodBuilder
97 builder.methods =
102 builder.methods,
116 * Returns a list of methods that will be documented for the given class.
121 * @return a list of methods that will be documented.
128 * Returns the visible member map for the methods of this class.
130 * @return the visible member map for the methods o
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/java/
H A DJavaInterface.java82 return methods.iterator();
86 for (int i=0; i<methods.size();i++) {
87 if (method.equals(((JavaMethod)methods.get(i)))) {
99 methods.add(method);
104 return methods;
109 methods = l;
164 private List methods = new ArrayList(); field in class:JavaInterface
/openjdk7/jdk/test/javax/swing/
H A DSwingTest.java39 * It uses reflection to invoke all public methods without parameters.
40 * All static methods are starting on the current thread.
41 * Other methods including constructor are starting on the EDT.
43 * The methods are sorted by name and invoked in that order.
45 * If no methods throw an exception the test is assumed to have passed.
59 private final Iterator<Method> methods; field in class:SwingTest
67 Set<Method> methods = new TreeSet<Method>(new Comparator<Method>() {
76 methods.add(method);
82 this.methods = methods
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/
H A DClassFile.java94 methods = new Method[methods_count];
96 methods[i] = new Method(cr);
104 Field[] fields, Method[] methods, Attributes attributes) {
114 this.methods = methods;
152 byteLength(methods) +
167 private int byteLength(Method[] methods) { argument
169 for (Method m: methods)
183 public final Method[] methods; field in class:ClassFile
101 ClassFile(int magic, int minor_version, int major_version, ConstantPool constant_pool, AccessFlags access_flags, int this_class, int super_class, int[] interfaces, Field[] fields, Method[] methods, Attributes attributes) argument
/openjdk7/jdk/test/java/beans/Introspector/6976577/
H A DTest6976577.java27 * @summary Tests public methods in non-public beans
64 private static void test(Method... methods) { argument
65 for (Method method : methods) {
/openjdk7/langtools/src/share/classes/com/sun/javadoc/
H A DClassDoc.java69 * Return the serialization methods for this class or
73 * the serialization methods for this class or interface.
221 * methods in this class or interface.
222 * Same as <code>methods(true)</code>.
225 * methods in this class or interface. Does not include
228 MethodDoc[] methods(); method in interface:ClassDoc
231 * Return methods in this class or interface, filtered to the specified
238 * Specify false to include all methods regardless of
241 * methods in this class or interface.
243 MethodDoc[] methods(boolea method in interface:ClassDoc
[all...]
/openjdk7/langtools/test/tools/javadoc/generics/throwsGeneric/
H A DMain.java27 * @summary Verify the reading of generic methods and constructors.
48 for (MethodDoc m : cd.methods())
/openjdk7/langtools/test/tools/javadoc/generics/tparamTagOnMethod/
H A DMain.java27 * @summary Verify the reading of type parameter tags on methods.
48 for (MethodDoc m : cd.methods()) {
/openjdk7/langtools/test/tools/javadoc/varArgs/
H A DMain.java53 if (tag.referencedMember() != cd.methods()[0]) {
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/io/
H A DObjectStreamClassCorbaExt.java40 // This file contains some utility methods that
59 * 3. if 'cl' has no methods (including those of its ancestors), or,
60 * if all the methods (including those of its ancestors) throw an
69 Method[] methods = cl.getMethods();
70 for (int i = 0; i < methods.length; i++) {
71 Class exceptions[] = methods[i].getExceptionTypes();
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/model/
H A DReachableExcludesImpl.java57 private Hashtable methods; // Hashtable<String, String>, used as a bag field in class:ReachableExcludesImpl
91 methods = m; // We want this to be atomic
103 return methods.get(fieldName) != null;
/openjdk7/jdk/src/share/classes/java/lang/invoke/
H A DMethodHandleProxies.java38 * This class consists exclusively of static methods that help adapt
51 * the public {@code Object} methods ({@code toString}, {@code equals}, {@code hashCode})
69 * or can possess bridge methods.) All such declarations are
97 * Because of the possibility of {@linkplain java.lang.reflect.Method#isBridge bridge methods}
98 * and other corner cases, the interface may also have several abstract methods
100 * In this case, all the methods are bound in common to the one given target.
102 * method type descriptor, and all abstract methods are bound to the target in common.
104 * abstract methods are related in any way.
107 * such as abstract classes with single abstract methods.
160 final Method[] methods
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/
H A DJavaClass.java73 * fields, methods and commands contained in a Java .class file.
98 private Method[] methods; // methods defined in the class field in class:JavaClass
131 * @param methods Class methods
144 Method[] methods,
154 if(methods == null)
155 methods = new Method[0];
166 this.methods = methods;
135 JavaClass(int class_name_index, int superclass_name_index, String file_name, int major, int minor, int access_flags, ConstantPool constant_pool, int[] interfaces, Field[] fields, Method[] methods, Attribute[] attributes, byte source) argument
222 JavaClass(int class_name_index, int superclass_name_index, String file_name, int major, int minor, int access_flags, ConstantPool constant_pool, int[] interfaces, Field[] fields, Method[] methods, Attribute[] attributes) argument
539 setMethods(Method[] methods) argument
[all...]
/openjdk7/jdk/src/share/classes/java/beans/
H A DEventSetDescriptor.java108 * @param listenerMethodNames The names of the methods that will get called
138 * @param listenerMethodNames The names of the methods that will get called
205 * of the event handling methods in the target listener.
230 * of the event handling methods in the target listener.
264 * describing each of the event handling methods in the
303 * Gets the methods of the target listener interface.
305 * @return An array of <TT>Method</TT> objects for the target methods
310 Method[] methods = getListenerMethods0();
311 if (methods == null) {
313 methods
323 setListenerMethods(Method[] methods) argument
[all...]
/openjdk7/jdk/test/java/util/Locale/
H A DLocaleTestFmwk.java70 * Sub-classes implement a set of methods named Test<something>. Each
71 * of these methods performs some test. Test methods should indicate
75 * and logln methods. These methods will add their arguments to the
85 // Create a hashtable containing all the test methods.
87 Method[] methods = getClass().getDeclaredMethods();
88 for( int i=0; i<methods.length; i++ ) {
89 if( methods[i].getName().startsWith("Test")
90 || methods[
[all...]
/openjdk7/jdk/test/java/util/ResourceBundle/
H A DRBTestFmwk.java67 * Sub-classes implement a set of methods named Test<something>. Each
68 * of these methods performs some test. Test methods should indicate
72 * and logln methods. These methods will add their arguments to the
82 // Create a hashtable containing all the test methods.
84 Method[] methods = getClass().getDeclaredMethods();
85 for( int i=0; i<methods.length; i++ ) {
86 if( methods[i].getName().startsWith("Test")
87 || methods[
[all...]
/openjdk7/jdk/test/java/lang/reflect/Generics/
H A DProbe.java98 Method[] methods = c.getDeclaredMethods();
99 if (methods != null)
100 for(Method method: methods) {
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/report/
H A DIIOComparator.java60 * List of methods, given in the order we want them to appear in
157 String[] methods = new String[testResults.keySet().size()];
160 methods[k++] = methodKeys[i];
164 for (int i = 0; i < methods.length; i++) {
165 System.out.print(" *" + methods[i] + "* |");
178 for (int j = 0; j < methods.length; j++) {
179 Double result = (Double)testResults.get(methods[j]);
217 String[] methods = new String[testResults.keySet().size()];
220 methods[k++] = methodKeys[i];
224 for (int i = 0; i < methods
[all...]

Completed in 44 milliseconds

12345678910