comparison src/share/vm/oops/instanceKlass.hpp @ 7457:35431a769282

8004823: Add VM support for type annotation reflection Reviewed-by: dholmes, coleenp Contributed-by: joel.franck@oracle.com
author stefank
date Thu, 20 Dec 2012 10:22:19 +0100
parents 30866cd626b0
children cc6a617fffd2
comparison
equal deleted inserted replaced
7456:7d42f3b08300 7457:35431a769282
655 } 655 }
656 Array<AnnotationArray*>* fields_annotations() const { 656 Array<AnnotationArray*>* fields_annotations() const {
657 if (annotations() == NULL) return NULL; 657 if (annotations() == NULL) return NULL;
658 return annotations()->fields_annotations(); 658 return annotations()->fields_annotations();
659 } 659 }
660 Annotations* type_annotations() const {
661 if (annotations() == NULL) return NULL;
662 return annotations()->type_annotations();
663 }
660 664
661 // allocation 665 // allocation
662 instanceOop allocate_instance(TRAPS); 666 instanceOop allocate_instance(TRAPS);
663 667
664 // additional member function to return a handle 668 // additional member function to return a handle