Introspection support for local and anonymous classes

Data processing: software development – installation – and managem – Software program development tool – Programming language

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C717S118000

Reexamination Certificate

active

07669184

ABSTRACT:
A technique in accordance with one embodiment of the present invention provides introspection support for anonymous and local classes. As a result of the technique, an enclosing class that defines a generic type variable that is not defined within a local or anonymous class that refers to the generic type variable can be determined. According to one embodiment of the invention, when a compiler determines that a particular class is a local or anonymous class, the compiler emits, into the particular class' binary class file, information that indicates which class encloses the particular class. In response to the invocation of a method (described herein) relative to a reflective proxy that corresponds to an enclosed class, information that identifies an enclosing class that encloses the enclosed class is returned. This is so even if the enclosed class is a local or anonymous class.

REFERENCES:
patent: 6708222 (2004-03-01), Dalal et al.
patent: 2007/0006141 (2007-01-01), Bracha et al.
Sun Microsystems, Inc., “Java 2 Platform Standard Edition 5.0 API Specification: java.lang.Class”, Feb. 7, 2004.
Sun Microsystems, Inc., “Java 2 Platform Standard Edition 5.0 API Specification: java.lang.Proxy”, Oct. 10, 2004.
Kickjava.com, “java.lang.class”, Feb. 7, 2005, pp. 4-7.
David Flanagan, “Java In A Nutshell, 5th Edition”, Mar. 15, 2005, O'Reilly Media, Inc., sections 2.11, 3.3 and 3.10.
Sun Microsystems, Inc., “Java Core Reflection Overview”, Apr. 29, 2004.
Joshua Engel, “Programming for the Java Virtual Machine”, Jun. 22, 1999, Addison-Wesley Professional, Chapters 1, 9 and 11.
Jboss.com, “Bug In getDeclaringClass”, Dec. 30, 2004, pp. 1-2.
Sun Microsystems, Inc. Java 2 Platform Standard Edition 5.0 API Specification: java.lang.reflect.Method, Feb. 7, 2004.
Javaranch.com, “Accessing Outer Class”, Mar. 18, 2003.
Laura Lemay and Rogers Cadenhead, “Sams Teach Yourself Java 2 Platform in 21 Days, Professional Reference Edition”, Sams, Jan. 21, 1999.
Tim Lindholm and Frank Yellin, “The Java Virtual Machine Specification, 2ndEdition”, Apr. 24, 1999, Sun Microsystems Inc., Chapter 4.
European Patent Office, “Extended European Search Report,” App. No. 06253190.0, dated Jan. 22, 2007, 8 pages.
Sun Microsystems, “Java.Lang Class Class <T>”, located on the internet at <http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html, retrieved on Dec. 20, 2006, XP002412532, 12 pages.
Sun Microsystems, “Dynamic Proxy Classes,” retrieved from the internet at <http://java.sun.com/j2se/1.3/docs/guide/reflection/proxy/html, retrieved on Jan. 3, 200, XP002412534, 6 pages.
Sun Microsystems, “Java.lang.reflect Class Proxy,” retrieved from the internet at http://java.sun.com/j2se/1.5/docs/api/java/lang/reflect/Proxy.html, retrieved on Dec. 20, 2006, XP002412533, 5 pages.
Eugster, “Dynamic Proxies for Classes: Towards Type-Safe and Decoupled Remote Object Interaction”, 2003, lnforscience, France, pp. 1-18.
Bracha, Gilad, “Generics in the Java Programming Language,” [online], Jul. 5, 2004, [retrieved on Jun. 14, 2005]. Retrieved from the Internet: <http://java.sun.com/j2se/1.5/pdf/generics-tutorial.pdf>, pp. 1-23.
Chandra Hundigam, “Understanding the Generic Type in C#,” Sep. 2002, The Code Project, pp. 1-4.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Introspection support for local and anonymous classes does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Introspection support for local and anonymous classes, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Introspection support for local and anonymous classes will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-4156238

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.