Intelligent Java build
Examples of inner classes not supported by JavaDeps.
-
If class B is a top-level class contained in class A,
then the fact that a class which extends A.B depends
on A.java is not recorded. (While it is, of course,
recorded that a class that extends A depends on A.java).
-
This class and interface example is from
"Java in a Nutshell" pp 104-105:
JavaDeps fails to record that class LinkableInteger2
depends on interface Linkedlist.Linkable.
(Interface LinkedList.Linkable
is a nested interface, i.e.,
is inner to class Linkedlist.)
This should be recorded as
file LinkableInteger2.class being dependent on
file Linkedlist.java.
|