mardi 19 avril 2016

Provider of a Class

This question is for the provider of a class.

I need to write a Design Analyzer class using Java's reflection

Here is a class example:

class A{

     private D d1;
     private D d2;

     public A(D d1, D d2){
           this.d1 = d1;
           this.d2 = d2;
      } 
}

Does class A uses class D one time or two?

This would help me with my counting algorithm.





Aucun commentaire:

Enregistrer un commentaire