macOS
brew install aspectjlocal Homebrew formula metadata
sudo port install aspectjMacPorts ports tree · java/aspectj/Portfile · 来源: api.github.com
安装
brew install aspectjlocal Homebrew formula metadata
sudo port install aspectjMacPorts ports tree · java/aspectj/Portfile · 来源: api.github.com
sudo apt install aspectjDebian stable package indexes · aspectj · 来源: deb.debian.org
nix profile install nixpkgs#aspectjnixpkgs package indexes · pkgs/by-name/as/aspectj/package.nix · 来源: api.github.com
概览
Aspect-oriented programming for Java
历史
Eclipse AspectJ is the long-running aspect-oriented extension to Java, shipped as a compiler, weaver, runtime, documentation set, and Maven artifacts. It is both a language experiment that became production tooling and a package-manager artifact that gives users command-line programs such as `ajc`, `ajdoc`, and `aj`.
The current Eclipse project page describes AspectJ as a seamless aspect-oriented extension to the Java programming language. The official change history carries copyright from Palo Alto Research Center for 1998-2002, reflecting the project's pre-Eclipse PARC origins, and documents alpha, beta, release-candidate, and 1.0.0 milestones before the later Eclipse-hosted release stream.
AspectJ's artifacts are divided into runtime, weaver, tools/compiler, and matcher modules. The repository README says these are published to Maven Central under the `org.aspectj` group ID and that an installer can install AspectJ on Windows, macOS, and Linux.
The release history tracks AspectJ alongside Java itself. AspectJ 1.8.0 added Java 8 compilation support in 2014, and AspectJ 1.9.0 targeted Java 9 modules in 2018. The latest documentation index also tracks ongoing Java version compatibility, release notes, runtime API, weaver API, and problem-diagnosis docs.
AspectJ became a fixture of Java build and framework culture because it could modularize cross-cutting concerns such as logging, monitoring, error handling, synchronization, and policy checks. It is consumed directly through `ajc` and indirectly through weaver/runtime jars, Maven coordinates, Ant tasks, and integration with IDE tooling.
The Homebrew input records AspectJ in Homebrew, Debian, MacPorts, Nix, and Ubuntu. That is unusually broad for a language extension and reflects its use both as a CLI compiler package and as a set of Java build artifacts.
Package users normally reach AspectJ through `ajc` for source compilation and weaving, `ajdoc` for documentation, the runtime jar for woven code, and the weaver jar for binary or load-time weaving. The developer guide documents the command-line compiler and Ant task support, while the programming guide teaches join points, pointcuts, advice, inter-type declarations, idioms, and pitfalls.
In modern Java builds, AspectJ is also often used as Maven artifacts: `aspectjrt`, `aspectjweaver`, `aspectjtools`, and `aspectjmatcher`. That dual distribution story is why it appears both in language-runtime dependency graphs and OS package managers.
AspectJ is significant because it is not just a compiler package: it changes the bytecode and runtime shape of Java programs. Package upgrades can affect source compatibility, woven class files, Java language-level support, Maven artifacts, and build plugins.
For package nerds, it is a classic example of a language tool whose OS package, Maven coordinates, IDE integration, Ant tasks, and documentation all have to stay aligned with the Java release train.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
aj | cli | 全局可执行文件 | |
aj5 | cli | 全局可执行文件 | |
ajc | cli | 全局可执行文件 | |
ajdoc | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/eclipse-aspectj/aspectj
安装元数据
| 软件包键 | brew:aspectj |
|---|---|
| 版本 | 1.9.25.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/aspectj |
| 主页 | https://eclipse.dev/aspectj/ |
| 仓库 | https://github.com/eclipse-aspectj/aspectj |
| 上游文档 | https://eclipse.dev/aspectj |
| 许可证 | EPL-2.0 |
| 源码归档 | https://github.com/eclipse-aspectj/aspectj/releases/download/V1_9_25_1/aspectj-1.9.25.1.jar |
| 依赖 | openjdk |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | aspectj |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
aspectj 1.9.6-1
aspect-oriented extension for Java - tools
sudo apt install aspectjaspectj-doc 1.9.6-1
aspect-oriented extension for Java - documentation
sudo apt install aspectj-doclibaspectj-java 1.9.6-1
aspect-oriented extension for Java - library
sudo apt install libaspectj-javaaspectj
nix profile install nixpkgs#aspectjaspectj 1.9.5-2
aspect-oriented extension for Java - tools
https://www.eclipse.org/aspectj
sudo apt install aspectjaspectj-doc 1.9.5-2
aspect-oriented extension for Java - documentation
https://www.eclipse.org/aspectj
sudo apt install aspectj-doclibaspectj-java 1.9.5-2
aspect-oriented extension for Java - library
https://www.eclipse.org/aspectj
sudo apt install libaspectj-javaaspectj
sudo port install aspectj来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.