Contains is one of the interactive graphs Understand can draw of your code — call trees, dependencies, control flow, and more.
Contains
Languages: JavaTargets: Packages
Variants: Classic
Show everything a selected Java package directly contains.
The main box lists every top-level type declared across the package’s files, regardless of visibility.
Rooted at the package shapes below, the box shows the classes App, Shape (abstract), ShapeCache, Circle, and Entity (abstract), and the interfaces Drawable and Renderable.
See the following code and corresponding graph
// App.java
package shapes;
public class App {
/* ... */
}
// Shape.java
package shapes;
public abstract class Shape
extends Entity implements Drawable, Renderable {
/* ... */
}
class ShapeCache {
/* ... */
}
// Circle.java
package shapes;
public class Circle extends Shape {
/* ... */
}
// Entity.java
package shapes;
public abstract class Entity {
/* ... */
}
// Drawable.java
package shapes;
public interface Drawable {
/* ... */
}
interface Renderable {
/* ... */
}