Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Java invoker

Name: Anonymous 2012-12-01 19:13

In Java, is it possible to get the invoker of a class? I am trying to create two classes simultaneously but I want them to reference each other, preferably upon creation(constructors) if possible. I know I can sort of do it by returning the stack trace, but this doesn't exactly seem... proper. Any ideas /prog/?

Name: Anonymous 2012-12-01 19:55

>>15
Yeah. Keep talking about the other class out of the class itself. It sort of breaks that abstraction.

This is why a lot of people hate Java. Is Java your first language?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List