Searched defs:class (Results 1 - 23 of 23) sorted by relevance

/openjdk7/langtools/test/tools/javac/annotations/pos/
H A DClassA.java27 * @summary javac crash loading class files containing Class-valued annotation fields
35 Class f() default int.class;
H A DPrimitives.java27 * @summary Modify class-file representation of Class-valued annotation elements
31 public class Primitives {
34 Class value() default void.class;
39 Class[] value() default { void.class };
44 static class T1 {}
46 @A(int.class)
47 @B({void.class, byte.class, char.class, short.class, in
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/ws/
H A DWebServiceRef.java62 * public class MyClient {
64 * @WebServiceRef(StockQuoteService.class)
90 * to the method. For class annotations, there is no default
102 * For class annotations, there is no default and this MUST be
105 Class<?> type() default Object.class;
126 * The service class, alwiays a type extending
130 // 2.1 has Class value() default Object.class;
133 Class<? extends Service> value() default Service.class;
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/bind/annotation/
H A DXmlEnum.java74 Class<?> value() default String.class;
H A DXmlAnyElement.java46 * xml content into a instance of a JAXB annotated class. It typically
50 * annotation for the other JavaBean properties on the class, is added to this
78 * in a class and its super classes.
97 * The following schema would produce the following Java class:
109 * class Foo {
131 * The following schema would produce the following Java class:
145 * class Bar extends Foo {
174 * The following schema would produce the following Java class:
186 * class Foo {
189 * &#64;{@link XmlElementRef}(name="a", type="JAXBElement.class")
[all...]
H A DXmlElement.java67 * <tt>@XmlElement.type()</tt> must be DEFAULT.class since the
74 * which the containing class is mapped.
81 * public class USPrice {
99 * public class USPrice {
116 * public class USPrice {
180 * the enclosing class.
200 * The Java class being referenced.
202 Class type() default DEFAULT.class;
209 static final class DEFAULT {}
H A DXmlElementDecl.java43 * (and annotated) from a schema into the ObjectFactory class in a
52 * <li> The class containing the element factory method annotated
63 * class ObjectFactory {
107 * class Pea {
109 * &#64;XmlElementRef(name="foo",type=JAXBElement.class)
110 * &#64;XmlElementRef(name="bar",type=JAXBElement.class)
116 * class ObjectFactory {
117 * &#64;XmlElementDecl(scope=Pea.class,name="foo")
120 * &#64;XmlElementDecl(scope=Pea.class,name="bar")
143 * declaration mapping is only active within the specified class
[all...]
H A DXmlElementRef.java79 * annotation in a class annotated with @XmlRegistry (usually
80 * ObjectFactory class generated by the schema compiler) :
98 * The following Java class hierarchy models an Ant build
99 * script. An Ant task corresponds to a class in the class
101 * &#64;XmlRootElement annotation on its corresponding class.
104 * class Target {
112 * abstract class Task {
116 * class JarTask extends Task {
121 * class JavacTas
[all...]
H A DXmlSchemaType.java63 * public class USPrice {
82 * name="date", type=javax.xml.datatype.XMLGregorianCalendar.class)
98 Class type() default DEFAULT.class;
106 static final class DEFAULT {}
H A DXmlType.java35 * Maps a class or an enum type to a XML Schema type.
41 * <li> a top level class </li>
50 * A class maps to a XML Schema type. A class is a data container for
54 * <p> To be mapped, a class must either have a public no-arg
59 * create an instance of this class. If both are present, the static
62 * A class maps to either a XML Schema complex type or a XML Schema simple
65 * class. The schema type to which the class is mapped can either be
66 * named or anonymous. A class ca
[all...]
/openjdk7/langtools/test/tools/javac/annotations/neg/
H A DWrongValue.java35 Class myClass() default Integer.class;
40 Class myClass() default Integer.class;
49 class Foo {
/openjdk7/langtools/test/tools/javadoc/annotations/defaults/pkg1/
H A DA.java31 Class c() default Boolean.class;
32 Class<? extends Number> w() default Long.class;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/
H A DSchemaValidation.java43 * against the XML schema. To use this feature, annotate the endpoint class with
51 * public class HelloImpl {
65 @WebServiceFeatureAnnotation(id = SchemaValidationFeature.ID, bean = SchemaValidationFeature.class)
74 Class<? extends ValidationErrorHandler> handler() default DraconianValidationErrorHandler.class;
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/bind/annotation/adapters/
H A DXmlJavaTypeAdapter.java64 * class, it applies to all references to the class.
73 * associated with the class being referenced by the field, property
75 * <p> A <tt>@XmlJavaTypeAdapter</tt> annotation on a class overrides
77 * package level for that class.
106 Class type() default DEFAULT.class;
111 * of the field, property, parameter or the class.
114 static final class DEFAULT {}
/openjdk7/jaxws/src/share/jaxws_classes/javax/annotation/
H A DResource.java35 * application component class, or to fields or methods of the
36 * component class. When the annotation is applied to a
40 * applied to the component class, the annotation declares a
45 * class to discover all uses of this annotation in all superclasses.
60 * to the method. For class annotations, there is no default
78 * For class annotations, there is no default and this must be
81 Class type() default java.lang.Object.class;
/openjdk7/langtools/test/tools/javac/processing/model/type/MirroredTypeEx/
H A DPlurality.java47 public class Plurality extends JavacTestingAbstractProcessor {
58 P0 p0 = e.getAnnotation(P0.class);
72 P1 p1 = e.getAnnotation(P1.class);
85 this.getClass().getAnnotation(P1.class).value());
89 P2 p2 = e.getAnnotation(P2.class);
102 this.getClass().getAnnotation(P2.class).value());
106 S1 s1 = e.getAnnotation(S1.class);
115 clazzes[0] = this.getClass().getAnnotation(S1.class).value();
130 clazzes[0] = this.getClass().getAnnotation(S1.class).value();
166 Class[] value() default {Integer.class};
[all...]
/openjdk7/langtools/test/tools/apt/mirror/declaration/
H A DGetAnno.java44 public class GetAnno extends Tester {
67 Class value() default String.class;
85 AT1 a = m.getAnnotation(AT1.class);
93 return thisClassDecl.getAnnotation(Deprecated.class);
108 return m.getAnnotation(AT4.class);
112 @AT3(String.class)
115 return m.getAnnotation(AT3.class);
130 @AT3(boolean.class)
133 AT3 a = m.getAnnotation(AT3.class);
145 return thisClassDecl.getAnnotation(AT2.class);
[all...]
/openjdk7/jdk/src/windows/native/java/net/
H A DNetworkInterface.c943 (JNIEnv *env, jclass class, jbyteArray addrArray, jstring name, jint index) {
950 return Java_java_net_NetworkInterface_getMacAddr0_XP(env, class, name, index);
977 (JNIEnv *env, jclass class, jstring name, jint index) {
983 return Java_java_net_NetworkInterface_getMTU0_XP(env, class, name, index);
942 Java_java_net_NetworkInterface_getMacAddr0(JNIEnv *env, jclass class, jbyteArray addrArray, jstring name, jint index) argument
976 Java_java_net_NetworkInterface_getMTU0(JNIEnv *env, jclass class, jstring name, jint index) argument
/openjdk7/jdk/src/solaris/native/sun/xawt/
H A DXToolkit.c622 JNIEXPORT void JNICALL Java_sun_awt_X11_XToolkit_waitForEvents (JNIEnv *env, jclass class, jlong nextTaskTime) { argument
626 JNIEXPORT void JNICALL Java_sun_awt_X11_XToolkit_awt_1toolkit_1init (JNIEnv *env, jclass class) { argument
633 JNIEXPORT void JNICALL Java_sun_awt_X11_XToolkit_awt_1output_1flush (JNIEnv *env, jclass class) { argument
637 JNIEXPORT void JNICALL Java_sun_awt_X11_XToolkit_wakeup_1poll (JNIEnv *env, jclass class) { argument
1056 if (aDevice->inputclassinfo[clsIdx].class == ButtonClass) {
1069 if (aDevice->inputclassinfo[clsIdx].class == ButtonClass) {
/openjdk7/jdk/src/solaris/native/java/net/
H A DNetworkInterface.c481 JNIEXPORT jbyteArray JNICALL Java_java_net_NetworkInterface_getMacAddr0(JNIEnv *env, jclass class, jbyteArray addrArray, jstring name, jint index) { argument
533 JNIEXPORT jint JNICALL Java_java_net_NetworkInterface_getMTU0(JNIEnv *env, jclass class, jstring name, jint index) { argument
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dgtk2_interface.c345 GtkWidgetClass* class, GParamSpec *pspec);
347 GtkWidgetClass* class, const gchar* property_name);
380 jclass class = (*env)->FindClass(env, name); local
382 if (class != NULL)
383 (*env)->ThrowNew(env, class, message);
385 (*env)->DeleteLocalRef(env, class);
2244 jclass class; local
2247 class = (*env)->FindClass(env, class_name);
2248 if( class == NULL )
2249 return NULL; /* can't find/load the class, exceptio
[all...]
/openjdk7/jdk/src/share/native/common/
H A Dcheck_code.c165 * Maps class names to unique 16 bit integers.
181 jclass class; member in struct:hash_bucket_type
184 unsigned loadable:1; /* from context->class loader */
236 /* these fields are per class */
237 jclass class; /* current class */ member in struct:context_type
249 fullinfo_type currentclass_info; /* fullinfo for context->class */
461 if (bucket->class) {
462 (*env)->DeleteGlobalRef(env, bucket->class);
509 * Find a class usin
[all...]
/openjdk7/jdk/test/java/lang/annotation/
H A DUnitTest.java38 public class UnitTest {
40 private static final Class[] Y = { int.class };
49 checkScalarTypes(UnitTest.class.getMethod("scalarTypesMethod", X));
50 checkScalarTypesOverrideDefault(UnitTest.class.getMethod("scalarTypesOverrideDefaultMethod", X));
51 checkScalarTypesAcceptDefault(UnitTest.class.getMethod("scalarTypesAcceptDefaultMethod", X));
54 checkArrayTypes0(UnitTest.class.getMethod("emptyArrayTypesMethod", X));
55 checkArrayTypes1(UnitTest.class.getMethod("singleElementArrayTypesMethod", X));
56 checkArrayTypes2(UnitTest.class.getMethod("twoElementArrayTypesMethod", X));
57 checkArrayTypesAcceptDefault(UnitTest.class.getMethod("arrayTypesAcceptDefaultMethod", X));
58 checkArrayTypesOverrideDefault(UnitTest.class
[all...]

Completed in 88 milliseconds