(MethodInstance method)
| 392 | } |
| 393 | |
| 394 | @Override |
| 395 | public void onMethodSelect(MethodInstance method) { |
| 396 | List<MethodVarInstance> items = varList.getItems(); |
| 397 | items.clear(); |
| 398 | |
| 399 | if (method != null) { |
| 400 | for (MethodVarInstance arg : method.getArgs()) { |
| 401 | if (gui.isHideUnmappedA() && !arg.hasMappedName()) { |
| 402 | continue; |
| 403 | } |
| 404 | |
| 405 | items.add(arg); |
| 406 | } |
| 407 | |
| 408 | for (MethodVarInstance var : method.getVars()) { |
| 409 | if (gui.isHideUnmappedA() && !var.hasMappedName()) { |
| 410 | continue; |
| 411 | } |
| 412 | |
| 413 | items.add(var); |
| 414 | } |
| 415 | |
| 416 | items.sort(getVarComparator()); |
| 417 | } |
| 418 | |
| 419 | IFwdGuiComponent.super.onMethodSelect(method); |
| 420 | } |
| 421 | |
| 422 | @Override |
| 423 | public ClassInstance getSelectedClass() { |
no test coverage detected