适用于 Android Studio 的 aspectj - AJDT 插件在哪里 [英] aspectj for Android studio - where is AJDT plugin

查看:32
本文介绍了适用于 Android Studio 的 aspectj - AJDT 插件在哪里的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何为 android studio 安装 AJDT.我知道 eclipse 有一个,但我在 android studio 中找不到任何东西.我想做的是在启动之前对我的每个方法调用进行安全检查.我已经在这个网站上尝试过 AJDT 但这是针对 eclipse 的.

How do i install AJDT for android studio. I know there is one for eclipse but i cant find anything in android studio. What i would like to do is run security checks on every one of my method calls before they launch. I've tried from this site AJDT but this is for eclipse.

推荐答案

Android Studio 是 IntelliJ 的 Android 感知版本.IntelliJ 没有对 AspectJ 的工具支持.我能想到的解决方案有两种:

Android Studio is an Android-aware version of IntelliJ. IntelliJ has no tooling support for AspectJ. There are two solutions that I can think of:

  1. 使用 Eclipse 和 ADT,但您可能不想这样做.
  2. 使用 Annotation Style AspectJ 并让 Android Studio 将方面代码视为 Java 代码.您不会获得任何交叉引用、导航或内容帮助,但 IDE 不会抱怨编译错误.

<小时>

有一个用于 AspectJ 的 IntelliJ 插件.


There is an IntelliJ plugin for AspectJ.

这篇关于适用于 Android Studio 的 aspectj - AJDT 插件在哪里的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆