Closed Bug 560553 Opened 14 years ago Closed 5 years ago

rhino 1.7R3pre: Reflection of java class members/Resolution of overloaded methods not accessible, since package private

Categories

(Rhino Graveyard :: Core, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: sro, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)
Build Identifier: Rhino1.7R3pre

Enhancement request: 
I use the rhino AST in an Eclipse based javascript editor to provide code assist information, e.g. a list of available members after the coder types ".". For this I have to make a best-guess of the target java type. The Rhino framework has a lot of convenient functions to reflect members, and to get the correct overloaded function based on a list of arguments (see for instance NativeJavaMethod.findFunction, JavaMembers.reflect, MemberBox, ...). However, most of the functionality is not accessible, since its implemented package private. Would it be possible to make it public/protected? 

Reproducible: Always
Summary: Functions/Classes for reflection of java class members and resolution of overloaded methods are not accessible since they are package private → rhino 1.7R3pre: Functions/Classes for reflection of java class members and resolution of overloaded methods are not accessible since they are package private
Summary: rhino 1.7R3pre: Functions/Classes for reflection of java class members and resolution of overloaded methods are not accessible since they are package private → rhino 1.7R3pre: Reflection of java class members/Resolution of overloaded methods not accessible, since package private

Closing. Bug management is now done here:
https://github.com/mozilla/rhino

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.