How can I determine the number and type of metaobjects created?

86 Views Asked by At

As far as I've seen, metaobjects are of type: Type-Info Data-Info and ObjectCreator.
In a Java application, how does one determine the number and type of metaobjects created?
Take for instance the following sample code:

public class Dtest extends Btest
{
    public int aPublicInt;
    private int aPrivateInt;
    public Dtest(int x)
    {
        // …    
    }

    private void OpD1(String s) {
        // …
    }

    public String OpD2(int x){
        // …
    } 
}

Type-info: Dtest object, Class object
Data-Info: Integer object aPublicInt , Integer object aPrivateInt, void Object OpD1 , String Object OpD2
ObjectCreator Dtest

Is this correct ?

Could anyone also explain to me what connections there are between the metaobjects ?

0

There are 0 best solutions below