query: In a constructor, find which class created the object?
positive_passages.docid: 42
positive_passages.text: How do I find the caller of a method using stacktrace or reflection?
negative_passages.docid: 31147
negative_passages.text: In Java, what is the best way to determine the size of an object?
negative_passages.docid: 56390
negative_passages.text: How to detect if a function is called as constructor?
negative_passages.docid: 157113
negative_passages.text: Is there a way to test whether a C++ class has a default constructor (other than compiler-provided type traits)?
negative_passages.docid: 101862
negative_passages.text: .NET: Determine the type of “this” class in its static method
negative_passages.docid: 106862
negative_passages.text: C# getting its own class name
negative_passages.docid: 34729
negative_passages.text: What does a constructor return?
negative_passages.docid: 31650
negative_passages.text: How do I determine if a class extends another class in Java?
negative_passages.docid: 92618
negative_passages.text: Java Reflection: How to get the name of a variable?
negative_passages.docid: 71509
negative_passages.text: How do I get the string with name of a class?
negative_passages.docid: 62472
negative_passages.text: How to get the Runtime-Type of an Object dynamically (for Primitive Data Types and SObjects)
negative_passages.docid: 30244
negative_passages.text: Is there any way to tell the compiler, inside the main file body, how to find the class?
negative_passages.docid: 132361
negative_passages.text: Find references to the object in runtime
negative_passages.docid: 39776
negative_passages.text: Order of calling constructors/destructors in inheritance
negative_passages.docid: 99307
negative_passages.text: How can I safely (and easily) count *all* instances of a class within my program?
negative_passages.docid: 119393
negative_passages.text: Get an object's class name at runtime
negative_passages.docid: 135640
negative_passages.text: How can I get the memory location of a object in java?