コード例 #1
0
 public static void prevOrNextParameter(Editor editor, int lbraceOffset, boolean isNext) {
   ParameterInfoController controller = findControllerAtOffset(editor, lbraceOffset);
   int newOffset = controller != null ? controller.getPrevOrNextParameterOffset(isNext) : -1;
   if (newOffset != -1) {
     controller.moveToParameterAtOffset(newOffset);
   }
 }
コード例 #2
0
 public static boolean hasPrevOrNextParameter(Editor editor, int lbraceOffset, boolean isNext) {
   ParameterInfoController controller = findControllerAtOffset(editor, lbraceOffset);
   return controller != null && controller.getPrevOrNextParameterOffset(isNext) != -1;
 }