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

1234

/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/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/jdk/test/sun/reflect/CallerSensitive/
H A DMethodFinder.java30 * MethodFinder utility class to find references to the given methods.
33 final List<String> methods; field in class:MethodFinder
34 public MethodFinder(String... methods) { argument
35 this.methods = Arrays.asList(methods);
40 * any of the lookup methods.
44 * @param refs Set of constant pool indices that reference the methods
61 for (Method m : cf.methods) {
93 return methods.contains(cn + "." + name);
H A DCallerSensitiveFinder.java47 * @summary Verify if CallerSensitive methods are annotated with
80 " caller-sensitive methods are missing @CallerSensitive annotation");
86 public CallerSensitiveFinder(String... methods) throws Exception { argument
87 super(methods);
/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/com/sun/beans/finder/
H A DAbstractFinder.java92 * Performs a search in the {@code methods} array.
93 * The one method is selected from the array of the valid methods.
102 * @param methods the array of methods to search within
105 * methods meet the search criteria
108 final T find(T[] methods) throws NoSuchMethodException { argument
115 for (T newMethod : methods) {
162 for (T newMethod : methods) {
193 throw new NoSuchMethodException("Ambiguous methods are found");
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DAnnotationTypeDocImpl.java76 * Returns an empty array, as all methods are annotation type elements.
80 public MethodDoc[] methods(boolean filter) { method in class:AnnotationTypeDocImpl
H A DSerializedForm.java48 * 2. Javadoc for serialization methods.
67 ListBuffer<MethodDoc> methods = new ListBuffer<MethodDoc>(); field in class:SerializedForm
93 * Catalog serialization methods for Serializable and
98 /* look up required public accessible methods,
105 methods.append(md);
109 methods.append(md);
198 * Serialization requires these methods to be non-static.
218 methods.append(env.getMethodDoc(md));
266 * Return serialization methods in class.
268 * @return an array of MethodDocImpl for serialization methods i
270 MethodDoc[] methods() { method in class:SerializedForm
[all...]
/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/jaxp/src/com/sun/org/apache/bcel/internal/util/
H A DMethodHTML.java65 * Convert methods and fields into HTML file.
77 Method[] methods, Field[] fields,
96 for(int i=0; i < methods.length; i++)
97 writeMethod(methods[i], i);
76 MethodHTML(String dir, String class_name, Method[] methods, Field[] fields, ConstantHTML constant_html, AttributeHTML attribute_html) argument
H A DCodeHTML.java73 private Method[] methods; // Methods to print field in class:CodeHTML
81 Method[] methods, ConstantPool constant_pool,
85 this.methods = methods;
92 for(int i=0; i < methods.length; i++)
93 writeMethod(methods[i], i);
270 /* Operands are references to methods in constant pool
80 CodeHTML(String dir, String class_name, Method[] methods, ConstantPool constant_pool, ConstantHTML constant_html) argument
H A DConstantHTML.java78 private Method[] methods; field in class:ConstantHTML
80 ConstantHTML(String dir, String class_name, String class_package, Method[] methods, argument
86 this.methods = methods;
258 for(int i=0; i < methods.length; i++) {
259 String cmp = methods[i].getName() + methods[i].getSignature();
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/protocol/
H A DSpecialMethod.java57 for(int i = 0; i < methods.length; i++)
58 if (methods[i].getName().equals(operation))
59 return methods[i];
63 static SpecialMethod[] methods = { field in class:SpecialMethod
/openjdk7/hotspot/src/share/vm/code/
H A Djvmticmlr.h42 * for every pc address what are the methods on the invocation stack.
43 * The "methods" and "bcis" fields in each PCStackInfo struct specify a
44 * 1-1 mapping between these inlined methods and their bytecode indices.
46 * methods.
83 * Record that gives information about the methods on the compile-time
85 * the methods array maps to same element in the bcis array.
89 jint numstackframes; /* number of methods on the stack */
90 jmethodID* methods; /* array of numstackframes method ids */ member in struct:_PCStackInfo
/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/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/jdk/src/share/javavm/export/
H A Djvmticmlr.h42 * for every pc address what are the methods on the invocation stack.
43 * The "methods" and "bcis" fields in each PCStackInfo struct specify a
44 * 1-1 mapping between these inlined methods and their bytecode indices.
46 * methods.
83 * Record that gives information about the methods on the compile-time
85 * the methods array maps to same element in the bcis array.
89 jint numstackframes; /* number of methods on the stack */
90 jmethodID* methods; /* array of numstackframes method ids */ member in struct:_PCStackInfo
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/
H A DClassParser.java89 private Method[] methods; // methods defined in the class field in class:ClassParser
145 * the contained data, i.e., constants, methods, fields and commands.
173 /****************** Read class fields and methods ***************/
177 // Read class methods, i.e., the functions in the class
209 methods, attributes, is_zip? JavaClass.ZIP : JavaClass.FILE);
276 /******************** Private utility methods **********************/
307 * Read information about the methods of the class.
316 methods = new Method[methods_count];
319 methods[
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/
H A DSubstitutionGroupHandler.java120 // add derivation methods of derived types to devMethod;
238 // For each of such elements, check whether the derivation methods
257 private OneSubGroup[] getSubGroupB(XSElementDecl element, OneSubGroup methods) { argument
279 if (!getDBMethods(sub.fType, element.fType, methods))
281 // Remember derivation methods and blocks from the types
282 dMethod = methods.dMethod;
283 bMethod = methods.bMethod;
285 newGroup.addElement(new OneSubGroup(sub, methods.dMethod, methods.bMethod));
287 group1 = getSubGroupB(sub, methods);
309 getDBMethods(XSTypeDefinition typed, XSTypeDefinition typeb, OneSubGroup methods) argument
[all...]
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/model/
H A DClazz.java121 private void disambiguateMethods(final List<Method> methods, final Map<String, Method> methodMap) { argument
123 for (final Method method : methods) {
/openjdk7/hotspot/src/share/vm/prims/
H A Dwhitebox.cpp134 //Some convenience methods to deal with objects from java
187 static JNINativeMethod methods[] = { variable
219 jint result = env->RegisterNatives(wbclass, methods, sizeof(methods)/sizeof(methods[0]));
/openjdk7/hotspot/src/share/vm/runtime/
H A DreflectionUtils.hpp73 // A MethodStream streams over all methods in a class, superclasses and (super)interfaces.
74 // Streaming is done in reverse order (subclasses first, methods in reverse order)
84 int length() const { return methods()->length(); }
85 objArrayOop methods() const { return _klass->methods(); } function in class:MethodStream
94 methodOop method() const { return methodOop(methods()->obj_at(index())); }
/openjdk7/hotspot/src/share/vm/services/
H A DclassLoadingService.cpp150 objArrayOop methods = k->methods(); local
151 for (int i = 0; i < methods->length(); i++) {
152 _class_methods_size->inc(-methods->obj_at(i)->size());
186 class_size += k->methods()->size();

Completed in 231 milliseconds

1234