jad complete method name (#667)

pull/668/head^2^2
徐志毅 6 years ago committed by hengyunabc
parent 353d8501f3
commit 45dfcdcf69

@ -180,8 +180,20 @@ public class JadCommand extends AnnotatedCommand {
@Override
public void complete(Completion completion) {
int argumentIndex = CompletionUtils.detectArgumentIndex(completion);
if (argumentIndex == 1) {
if (!CompletionUtils.completeClassName(completion)) {
super.complete(completion);
}
return;
} else if (argumentIndex == 2) {
if (!CompletionUtils.completeMethodName(completion)) {
super.complete(completion);
}
return;
}
super.complete(completion);
}
}

Loading…
Cancel
Save