# `ClassDep`
Apache River v3.0.0 Release Notes

### Description

`ClassDep` is used to analyze a set of classes and determine on what other classes they directly or indirectly depend.

### Changes since the v2.2.0 release

None

### Changes since the v2.1.1 release

The new implementation no longer depends upon the Java SDK `tools.jar` library, ASM is now used to provide equivalent and extended functionality, including detecting dependencies from Annotations and Generics. Note that if a static class (nested class) is included in the dependency graph, references from that static class to its immediate lexically enclosing class are included in the dependency search now by default.

- [RIVER-7] - org.apache.river.tool.ClassDep should be smarter with outer classes
- [RIVER-8] - org.apache.river.tool.ClassDep empty inside collection doesn't work
- [RIVER-78] - ClassDep generates duplicate output lines
- [RIVER-82] - ClassDep generates duplicate output lines
- [RIVER-302] - ClassDep -newdirbehaviour option does not work

### Changes since the v2.0.1 release

Executable JAR file
  There is a new executable JAR file, `classdep.jar`, that can be used to run `ClassDep`. The advantage of using this JAR file is that it automatically loads `tools.jar` from your Java(TM) 2 SDK installation, if required.

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.