Searched defs:annotations (Results 126 - 136 of 136) sorted by relevance

123456

/openjdk7/jdk/src/share/classes/java/lang/
H A DClass.java2322 annotations = declaredAnnotations = null;
2325 // of annotations) ensures that no thread sees the update to
3128 return (A) annotations.get(annotationClass);
3149 return AnnotationParser.toArray(annotations);
3161 private transient Map<Class<? extends Annotation>, Annotation> annotations; field in class:Class
3166 if (annotations != null)
3172 annotations = declaredAnnotations;
3174 annotations = new HashMap<>();
3176 for (Map.Entry<Class<? extends Annotation>, Annotation> e : superClass.annotations.entrySet()) {
3179 annotations
[all...]
/openjdk7/hotspot/src/share/vm/oops/
H A DmethodOop.cpp1245 objArrayOop annotations,
1247 if (annotations == NULL) {
1256 temp_array->append(annotations->obj_at(i));
1262 annotations->obj_at_put(i, temp_array->at(m->method_idnum()));
1297 // Remember current method ordering so we can reorder annotations
1318 // Sort annotations if necessary
1244 reorder_based_on_method_index(objArrayOop methods, objArrayOop annotations, GrowableArray<oop>* temp_array) argument
H A DmethodOop.hpp188 // annotations support
189 typeArrayOop annotations() const { return instanceKlass::cast(method_holder())->get_method_annotations_of(method_idnum()); } function in class:methodOopDesc
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/parse/xml/
H A DSchemaParser.java228 Annotations annotations; field in class:SchemaParser.State
245 annotations = schemaBuilder.makeAnnotations(parent.comments, getContext());
249 annotations = schemaBuilder.makeAnnotations(null, getContext());
334 if (annotations == null)
335 annotations = schemaBuilder.makeAnnotations(null, getContext());
336 annotations.addAttribute(uri, atts.getLocalName(i), findPrefix(atts.getQName(i), uri),
381 if (annotations == null)
382 annotations = schemaBuilder.makeAnnotations(null, getContext());
383 annotations.addElement(ea);
388 if (annotations
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/
H A DAttr.java569 * Attribute the type references in a list of annotations.
571 void attribAnnotationTypes(List<JCAnnotation> annotations, argument
573 for (List<JCAnnotation> al = annotations; al.nonEmpty(); al = al.tail) {
598 // There's a problem with evaluating annotations in the right order, such that
840 chk.validateAnnotations(tree.mods.annotations, m);
891 chk.validateAnnotations(tree.mods.annotations, v);
3088 * package declaration has annotations.
3146 // because the annotations were not available at the time the env was created. Therefore,
3193 // Validate annotations
3194 chk.validateAnnotations(tree.mods.annotations,
[all...]
H A DCheck.java137 /** Switch: annotations enabled?
2241 * Check annotations
2245 * Recursively validate annotations values
2304 /** Check the annotations of a symbol.
2306 public void validateAnnotations(List<JCAnnotation> annotations, Symbol s) { argument
2308 for (JCAnnotation a : annotations)
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/tree/
H A DTreeMaker.java468 public JCModifiers Modifiers(long flags, List<JCAnnotation> annotations) { argument
469 JCModifiers tree = new JCModifiers(flags, annotations);
471 tree.pos = (noFlags && annotations.isEmpty()) ? Position.NOPOS : pos;
673 /** Create annotation trees from annotations.
H A DJCTree.java2023 public List<JCAnnotation> annotations; field in class:JCTree.JCModifiers
2024 protected JCModifiers(long flags, List<JCAnnotation> annotations) { argument
2026 this.annotations = annotations;
2036 return annotations;
2180 JCModifiers Modifiers(long flags, List<JCAnnotation> annotations); argument
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/
H A DXSSimpleTypeDecl.java284 // annotations for constraining facets
304 // simpleType annotations
355 XSObjectList annotations, short builtInKind) {
356 this(base, name, uri, finalSet, isImmutable, annotations);
363 XSObjectList annotations) {
368 fAnnotations = annotations;
404 // always inherit facet annotations in case applyFacets is not called.
428 XSObjectList annotations) {
433 fAnnotations = annotations;
452 XSObjectList annotations) {
354 XSSimpleTypeDecl(XSSimpleTypeDecl base, String name, String uri, short finalSet, boolean isImmutable, XSObjectList annotations, short builtInKind) argument
362 XSSimpleTypeDecl(XSSimpleTypeDecl base, String name, String uri, short finalSet, boolean isImmutable, XSObjectList annotations) argument
427 XSSimpleTypeDecl(String name, String uri, short finalSet, XSSimpleTypeDecl itemType, boolean isImmutable, XSObjectList annotations) argument
451 XSSimpleTypeDecl(String name, String uri, short finalSet, XSSimpleTypeDecl[] memberTypes, XSObjectList annotations) argument
480 setRestrictionValues(XSSimpleTypeDecl base, String name, String uri, short finalSet, XSObjectList annotations) argument
535 setListValues(String name, String uri, short finalSet, XSSimpleTypeDecl itemType, XSObjectList annotations) argument
563 setUnionValues(String name, String uri, short finalSet, XSSimpleTypeDecl[] memberTypes, XSObjectList annotations) argument
3207 final XSObjectList annotations; field in class:XSSimpleTypeDecl.XSFacetImpl
3301 final XSObjectList annotations; field in class:XSSimpleTypeDecl.XSMVFacetImpl
3304 XSMVFacetImpl(short kind, StringList values, XSObjectList annotations) argument
[all...]
/openjdk7/hotspot/src/share/vm/classfile/
H A DclassFileParser.cpp968 assert(runtime_visible_annotations != NULL, "null visible annotations");
973 assert(runtime_invisible_annotations != NULL, "null invisible annotations");
1700 // Sift through annotations, looking for those significant to the VM:
1705 // annotations := do(nann:u2) {annotation}
1738 // Here is where parsing particular annotations will take place.
1789 fatal("no field annotations yet");
1804 fatal("no class annotations yet");
2130 assert(runtime_visible_annotations != NULL, "null visible annotations");
2136 assert(runtime_invisible_annotations != NULL, "null invisible annotations");
2141 assert(runtime_visible_parameter_annotations != NULL, "null visible parameter annotations");
2855 typeArrayHandle annotations = assemble_annotations(runtime_visible_annotations, local
2904 typeArrayHandle annotations; local
[all...]
H A DjavaClasses.cpp1785 // The generic signature and annotations fields are only present in 1.5
1895 oop java_lang_reflect_Method::annotations(oop method) { function in class:java_lang_reflect_Method
1897 assert(has_annotations_field(), "annotations field must be present");
1903 assert(has_annotations_field(), "annotations field must be present");
1913 assert(has_parameter_annotations_field(), "parameter annotations field must be present");
1919 assert(has_parameter_annotations_field(), "parameter annotations field must be present");
1946 // The generic signature and annotations fields are only present in 1.5
2035 oop java_lang_reflect_Constructor::annotations(oop constructor) { function in class:java_lang_reflect_Constructor
2037 assert(has_annotations_field(), "annotations field must be present");
2043 assert(has_annotations_field(), "annotations fiel
2157 oop java_lang_reflect_Field::annotations(oop field) { function in class:java_lang_reflect_Field
[all...]

Completed in 102 milliseconds

123456