hotspot/src/share/vm/runtime/reflection.hpp
changeset 24456 8c7933fa5a1f
parent 22551 9bf46d16dcc6
child 25057 f38210f84f8c
equal deleted inserted replaced
24455:79b5204317a2 24456:8c7933fa5a1f
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   111   //
   111   //
   112   // Support for reflection based on dynamic bytecode generation (JDK 1.4)
   112   // Support for reflection based on dynamic bytecode generation (JDK 1.4)
   113   //
   113   //
   114 
   114 
   115   // Create a java.lang.reflect.Method object based on a method
   115   // Create a java.lang.reflect.Method object based on a method
   116   static oop new_method(methodHandle method, bool intern_name, bool for_constant_pool_access, TRAPS);
   116   static oop new_method(methodHandle method, bool for_constant_pool_access, TRAPS);
   117   // Create a java.lang.reflect.Constructor object based on a method
   117   // Create a java.lang.reflect.Constructor object based on a method
   118   static oop new_constructor(methodHandle method, TRAPS);
   118   static oop new_constructor(methodHandle method, TRAPS);
   119   // Create a java.lang.reflect.Field object based on a field descriptor
   119   // Create a java.lang.reflect.Field object based on a field descriptor
   120   static oop new_field(fieldDescriptor* fd, bool intern_name, TRAPS);
   120   static oop new_field(fieldDescriptor* fd, TRAPS);
   121   // Create a java.lang.reflect.Parameter object based on a
   121   // Create a java.lang.reflect.Parameter object based on a
   122   // MethodParameterElement
   122   // MethodParameterElement
   123   static oop new_parameter(Handle method, int index, Symbol* sym,
   123   static oop new_parameter(Handle method, int index, Symbol* sym,
   124                            int flags, TRAPS);
   124                            int flags, TRAPS);
   125 
   125