[Bluej-discuss] Extensions - nontrivial class structures

Ian Utting I.A.Utting at kent.ac.uk
Tue Jun 6 23:26:53 BST 2006


Reuven Lazarus wrote:
> So the question is this: is
> there any clean way of obtaining either BClasses or java.lang.Classes
> for each and every class in the project?

I'm afraid not.

A BClass really represents one of the classes which are displayed by 
BlueJ in its class diagram, as can be seen from the sort of operations 
supported (compiling, editing).

There will be a java.lang.Class for each class in the project (or more 
properly package), but the fundamental question would be "what are all 
the classes in this package?" which is not, as far as I know, determinable.

I'm afraid that "inelegant hacks" are probably as good as you can do.

Ian.


More information about the bluej-discuss mailing list