PackageElement packageOf = elementUtils.getPackageOf(e);
List<? extends Element> pkgClasses = packageOf.getEnclosedElements();
rs = new Resolver(elementUtils, trees, tm, encClass, typeUtils, symTable, pkgClasses);
final JCMethodDecl tree = (JCMethodDecl) elementUtils.getTree(e);
final TreePath treePath = trees.getPath(e);
thisExp = tm.This((Type) encClass.asType());
TypeElement superclass = getTypeElement(encClass.getSuperclass().toString());
while (superclass != null) {
TypeMirror superclass1 = superclass.getSuperclass();
if (superclass1 == null) {
break;
}
superclass = getTypeElement(superclass1.toString());
}
final CompilationUnitTree cut = treePath.getCompilationUnit();
tree.body = processElement(tree.body, cut);
if (reflectionInjected || methodInjected || constructorInjected) {
tree.thrown = tree.thrown.append(getId("java.lang.ClassNotFoundException"));
tree.thrown = tree.thrown.append(getId("java.lang.NoSuchFieldException"));