火烛明
2020-07-30 11:28
Set<? extends Element> elements = roundEnvironment.getElementsAnnotatedWith(annotation); for (Element element: elements) { if (!checkMethodValidator(element, annotation)) { return false; } ExecutableElement methodElement = (ExecutableElement) element; TypeElement enclosingElement = (TypeElement)methodElement.getEnclosingElement(); String className = enclosingElement.getQualifiedName().toString(); MethodInfo methodInfo = methodMap.get(className); if (methodInfo == null) { methodInfo = new MethodInfo(?, enclosingElement); methodMap.put(className, methodInfo); } .....
new MethodInfo() 中 第一个入参写什么?
this啊,用这个就可以了,
Android9.0动态运行时权限源码分析及封装改造
2861 学习 · 8 问题
相似问题