Descriptors added to newMethod() signature

This commit is contained in:
Andrey Breslav
2014-05-22 10:31:12 +04:00
parent f1196a8c59
commit a115d6a789
12 changed files with 61 additions and 33 deletions
@@ -99,13 +99,14 @@ public class StubClassBuilder extends AbstractClassBuilder {
@Override
public MethodVisitor newMethod(
@Nullable PsiElement origin,
@Nullable DeclarationDescriptor descriptor,
int access,
@NotNull String name,
@NotNull String desc,
@Nullable String signature,
@Nullable String[] exceptions
) {
MethodVisitor internalVisitor = super.newMethod(origin, access, name, desc, signature, exceptions);
MethodVisitor internalVisitor = super.newMethod(origin, descriptor, access, name, desc, signature, exceptions);
if (internalVisitor != EMPTY_METHOD_VISITOR) {
// If stub for method generated