bugged
stringlengths 6
599k
| fixed
stringlengths 6
40.8M
| __index_level_0__
int64 0
3.24M
|
|---|---|---|
private void setSelection(String format, String fileName, String message, File[] list) { boolean exist = false; for (int i = 0; i < list.length; i++) if ((list[i].getAbsolutePath()).equals(fileName)) exist = true; if (!exist) { display = false; manager.saveROIResult(format, fileName, message); cancelSelection(); } else manager.showSelectionDialog(format, fileName, message); }
|
private void setSelection(String format, String fileName, String message, File[] list) { boolean exist = false; for (int i = 0; i < list.length; i++) if ((list[i].getAbsolutePath()).equals(name)) exist = true; if (!exist) { display = false; manager.saveROIResult(format, fileName, message); cancelSelection(); } else manager.showSelectionDialog(format, fileName, message); }
| 3,233,422
|
execute() throws BuildException { if(_fileSets.isEmpty()) { throw new BuildException("No fileset specified"); } Set types = new HashSet(); java.util.Iterator p = _fileSets.iterator(); while(p.hasNext()) { FileSet fileset = (FileSet)p.next(); DirectoryScanner scanner = fileset.getDirectoryScanner(getProject()); scanner.scan(); String[] files = scanner.getIncludedFiles(); for(int i = 0; i < files.length; i++) { String filename = fileset.getDir(getProject())+File.separator+files[i]; File file = new File(filename); if (!file.exists()){ log("File "+file+" not found."); } else { SaxReader sr = new SaxReader(file); types.addAll(sr.parse()); } } } for (Iterator it = types.iterator(); it.hasNext();) { SemanticType st = (SemanticType) it.next(); VelocityHelper vh = new VelocityHelper(); vh.put("type",st); try { String file = _outputDir+File.separator+st.getId().replaceAll("[.]","\\"+File.separator)+".hbm.xml"; writeToFile(vh,file,"ome/dsl/mapping.vm"); } catch (Exception e){ throw new BuildException("Error while writing type:"+st,e); } } VelocityHelper vh = new VelocityHelper(); vh.put("types",types); try { String file = _outputDir+File.separator+File.separator+"data.sql"; writeToFile(vh, file, "ome/dsl/data.vm"); } catch (Exception e){ throw new BuildException("Error while writing data:",e); } }
|
execute() throws BuildException { if(_fileSets.isEmpty()) { throw new BuildException("No fileset specified"); } Set<SemanticType> types = new HashSet<SemanticType>(); DSLHandler handler = new DSLHandler(); java.util.Iterator p = _fileSets.iterator(); while(p.hasNext()) { FileSet fileset = (FileSet)p.next(); DirectoryScanner scanner = fileset.getDirectoryScanner(getProject()); scanner.scan(); String[] files = scanner.getIncludedFiles(); for(int i = 0; i < files.length; i++) { String filename = fileset.getDir(getProject())+File.separator+files[i]; File file = new File(filename); if (!file.exists()){ log("File "+file+" not found."); } else { SaxReader sr = new SaxReader(file); types.addAll(sr.parse()); } } } for (Iterator it = types.iterator(); it.hasNext();) { SemanticType st = (SemanticType) it.next(); VelocityHelper vh = new VelocityHelper(); vh.put("type",st); try { String file = _outputDir+File.separator+st.getId().replaceAll("[.]","\\"+File.separator)+".hbm.xml"; writeToFile(vh,file,"ome/dsl/mapping.vm"); } catch (Exception e){ throw new BuildException("Error while writing type:"+st,e); } } VelocityHelper vh = new VelocityHelper(); vh.put("types",types); try { String file = _outputDir+File.separator+File.separator+"data.sql"; writeToFile(vh, file, "ome/dsl/data.vm"); } catch (Exception e){ throw new BuildException("Error while writing data:",e); } }
| 3,233,423
|
execute() throws BuildException { if(_fileSets.isEmpty()) { throw new BuildException("No fileset specified"); } Set types = new HashSet(); java.util.Iterator p = _fileSets.iterator(); while(p.hasNext()) { FileSet fileset = (FileSet)p.next(); DirectoryScanner scanner = fileset.getDirectoryScanner(getProject()); scanner.scan(); String[] files = scanner.getIncludedFiles(); for(int i = 0; i < files.length; i++) { String filename = fileset.getDir(getProject())+File.separator+files[i]; File file = new File(filename); if (!file.exists()){ log("File "+file+" not found."); } else { SaxReader sr = new SaxReader(file); types.addAll(sr.parse()); } } } for (Iterator it = types.iterator(); it.hasNext();) { SemanticType st = (SemanticType) it.next(); VelocityHelper vh = new VelocityHelper(); vh.put("type",st); try { String file = _outputDir+File.separator+st.getId().replaceAll("[.]","\\"+File.separator)+".hbm.xml"; writeToFile(vh,file,"ome/dsl/mapping.vm"); } catch (Exception e){ throw new BuildException("Error while writing type:"+st,e); } } VelocityHelper vh = new VelocityHelper(); vh.put("types",types); try { String file = _outputDir+File.separator+File.separator+"data.sql"; writeToFile(vh, file, "ome/dsl/data.vm"); } catch (Exception e){ throw new BuildException("Error while writing data:",e); } }
|
execute() throws BuildException { if(_fileSets.isEmpty()) { throw new BuildException("No fileset specified"); } Set types = new HashSet(); java.util.Iterator p = _fileSets.iterator(); while(p.hasNext()) { FileSet fileset = (FileSet)p.next(); DirectoryScanner scanner = fileset.getDirectoryScanner(getProject()); scanner.scan(); String[] files = scanner.getIncludedFiles(); for(int i = 0; i < files.length; i++) { String filename = fileset.getDir(getProject())+File.separator+files[i]; File file = new File(filename); if (!file.exists()){ log("File "+file+" not found."); } else { SaxReader sr = new SaxReader(file); types.addAll(sr.parse()); } } } for (Iterator it = types.iterator(); it.hasNext();) { SemanticType st = (SemanticType) it.next(); VelocityHelper vh = new VelocityHelper(); vh.put("type",st); try { String file = _outputDir+File.separator+st.getId().replaceAll("[.]","\\"+File.separator)+".hbm.xml"; writeToFile(vh,file,"ome/dsl/mapping.vm"); } catch (Exception e){ throw new BuildException("Error while writing type:"+st,e); } } VelocityHelper vh = new VelocityHelper(); vh.put("types",types); try { String file = _outputDir+File.separator+File.separator+"data.sql"; writeToFile(vh, file, "ome/dsl/data.vm"); } catch (Exception e){ throw new BuildException("Error while writing data:",e); } }
| 3,233,424
|
public static RubyClass createThreadClass(Ruby runtime) { RubyClass threadClass = new ThreadDefinition(runtime).getType(); ThreadClass currentThread = new ThreadClass(runtime, threadClass); currentThread.jvmThread = Thread.currentThread(); runtime.getThreadService().setMainThread(currentThread); return threadClass; }
|
public static RubyClass createThreadClass(Ruby runtime) { RubyClass threadClass = new ThreadDefinition(runtime).getType(); ThreadClass currentThread = new ThreadClass(runtime, threadClass); currentThread.jvmThread = Thread.currentThread(); runtime.getThreadService().setMainThread(currentThread); return threadClass; }
| 3,233,426
|
public static RubyClass createThreadClass(Ruby runtime) { RubyClass threadClass = new ThreadDefinition(runtime).getType(); ThreadClass currentThread = new ThreadClass(runtime, threadClass); currentThread.jvmThread = Thread.currentThread(); runtime.getThreadService().setMainThread(currentThread); return threadClass; }
|
public static RubyClass createThreadClass(Ruby runtime) { RubyClass threadClass = new ThreadDefinition(runtime).getType(); threadClass.defineMethod("[]", callbackFactory.getMethod(ThreadClass.class, "aref", IRubyObject.class)); threadClass.defineMethod("[]=", callbackFactory.getMethod(ThreadClass.class, "aset", IRubyObject.class, IRubyObject.class)); threadClass.defineMethod("abort_on_exception", callbackFactory.getMethod(ThreadClass.class, "abort_on_exception", IRubyObject.class)); threadClass.defineMethod("abort_on_exception=", callbackFactory.getMethod(ThreadClass.class, "abort_on_exception_set", IRubyObject.class, IRubyObject.class)); threadClass.defineMethod("alive?", callbackFactory.getMethod(ThreadClass.class, "is_alive")); threadClass.defineMethod("join", callbackFactory.getMethod(ThreadClass.class, "join")); threadClass.defineMethod("key?", callbackFactory.getMethod(ThreadClass.class, "has_key", IRubyObject.class)); threadClass.defineMethod("priority", callbackFactory.getMethod(ThreadClass.class, "priority")); threadClass.defineMethod("priority=", callbackFactory.getMethod(ThreadClass.class, "priority_set", IRubyObject.class)); threadClass.defineMethod("raise", callbackFactory.getMethod(ThreadClass.class, "raise", IRubyObject.class)); threadClass.defineMethod("status", callbackFactory.getMethod(ThreadClass.class, "status")); threadClass.defineSingletonMethod("current", callbackFactory.getSingletonMethod(ThreadClass.class, "current")); threadClass.defineSingletonMethod("fork", callbackFactory.getOptSingletonMethod(ThreadClass.class, "newInstance")); threadClass.defineSingletonMethod("new", callbackFactory.getOptSingletonMethod(ThreadClass.class, "newInstance")); threadClass.defineSingletonMethod("list", callbackFactory.getSingletonMethod(ThreadClass.class, "list")); threadClass.defineSingletonMethod("pass", callbackFactory.getSingletonMethod(ThreadClass.class, "pass")); threadClass.defineSingletonMethod("start", callbackFactory.getSingletonMethod(ThreadClass.class, "start")); ThreadClass currentThread = new ThreadClass(ruby, threadClass); currentThread.jvmThread = Thread.currentThread(); runtime.getThreadService().setMainThread(currentThread); return threadClass; }
| 3,233,427
|
public static RubyClass createThreadClass(Ruby runtime) { RubyClass threadClass = new ThreadDefinition(runtime).getType(); ThreadClass currentThread = new ThreadClass(runtime, threadClass); currentThread.jvmThread = Thread.currentThread(); runtime.getThreadService().setMainThread(currentThread); return threadClass; }
|
public static RubyClass createThreadClass(Ruby runtime) { RubyClass threadClass = new ThreadDefinition(runtime).getType(); ThreadClass currentThread = new ThreadClass(runtime, threadClass); currentThread.jvmThread = Thread.currentThread(); ruby.getThreadService().setMainThread(currentThread); return threadClass; }
| 3,233,428
|
public static boolean addDisabled(String id) { Set<String> s = disabledSubsystemsHolder.get( ); if ( s == null ) { s = new HashSet<String>(); disabledSubsystemsHolder.set( s ); return s.add(id); } return false; }
|
public static boolean addDisabled(String id) { Set<String> s = data.get().disabledSubsystems; if ( s == null ) { s = new HashSet<String>(); disabledSubsystemsHolder.set( s ); return s.add(id); } return false; }
| 3,233,429
|
public static boolean addDisabled(String id) { Set<String> s = disabledSubsystemsHolder.get( ); if ( s == null ) { s = new HashSet<String>(); disabledSubsystemsHolder.set( s ); return s.add(id); } return false; }
|
public static boolean addDisabled(String id) { Set<String> s = disabledSubsystemsHolder.get( ); if ( s == null ) { s = new HashSet<String>(); data.get().disabledSubsystems = s; return s.add(id); } return false; }
| 3,233,430
|
public static void clearLogs() { getCreationEvent().clearLogs(); }
|
public static void clearLogs() { data.get().logs = null; }
| 3,233,431
|
protected static Details getDetails() { Details details = detailsHolder.get(); if (details == null) { details = new Details(); setDetails(details); } return details; }
|
protected static Details getDetails() { Details details = data.get().details; if (details == null) { details = new Details(); setDetails(details); } return details; }
| 3,233,432
|
public static Permissions getUmask() { Permissions umask = umaskHolder.get(); if (umask == null) { umask = new Permissions(); setUmask(umask); } return umask; /* FIXME * should be configurable * see https://trac.openmicroscopy.org.uk/omero/ticket/179 * getOwner().getProfile().getUmask * object.getDetails().getUmask() * CurrentDetails.getDetails().getUmask(); */ }
|
public static Permissions getUmask() { Permissions umask = data.get().umask; if (umask == null) { umask = new Permissions(); setUmask(umask); } return umask; /* FIXME * should be configurable * see https://trac.openmicroscopy.org.uk/omero/ticket/179 * getOwner().getProfile().getUmask * object.getDetails().getUmask() * CurrentDetails.getDetails().getUmask(); */ }
| 3,233,433
|
public static boolean removeDisabled(String id) { Set<String> s = disabledSubsystemsHolder.get( ); if ( s != null && id != null ) { return s.remove(id); } return false; }
|
public static boolean removeDisabled(String id) { Set<String> s = data.get().disabledSubsystems; if ( s != null && id != null ) { return s.remove(id); } return false; }
| 3,233,434
|
protected static void setDetails(Details details) { detailsHolder.set(details); }
|
protected static void setDetails(Details details) { data.get().details = details; }
| 3,233,435
|
public static void setUmask(Permissions umask) { umaskHolder.set(umask); }
|
public static void setUmask(Permissions umask) { data.get().umask = umask; }
| 3,233,436
|
public static RubyClass createRegexpClass(Ruby runtime) { RubyClass regexpClass = new RegexpDefinition(runtime).getType(); regexpClass.defineConstant("IGNORECASE", RubyFixnum.newFixnum(runtime, RE_OPTION_IGNORECASE)); regexpClass.defineConstant("EXTENDED", RubyFixnum.newFixnum(runtime, RE_OPTION_EXTENDED)); regexpClass.defineConstant("MULTILINE", RubyFixnum.newFixnum(runtime, RE_OPTION_MULTILINE)); return regexpClass; }
|
public static RubyClass createRegexpClass(Ruby runtime) { RubyClass regexpClass = new RegexpDefinition(runtime).getType(); regexpClass.defineConstant("IGNORECASE", RubyFixnum.newFixnum(runtime, RE_OPTION_IGNORECASE)); regexpClass.defineConstant("EXTENDED", RubyFixnum.newFixnum(runtime, RE_OPTION_EXTENDED)); regexpClass.defineConstant("MULTILINE", RubyFixnum.newFixnum(runtime, RE_OPTION_MULTILINE)); return regexpClass; }
| 3,233,437
|
public static RubyClass createRegexpClass(Ruby runtime) { RubyClass regexpClass = new RegexpDefinition(runtime).getType(); regexpClass.defineConstant("IGNORECASE", RubyFixnum.newFixnum(runtime, RE_OPTION_IGNORECASE)); regexpClass.defineConstant("EXTENDED", RubyFixnum.newFixnum(runtime, RE_OPTION_EXTENDED)); regexpClass.defineConstant("MULTILINE", RubyFixnum.newFixnum(runtime, RE_OPTION_MULTILINE)); return regexpClass; }
|
public static RubyClass createRegexpClass(Ruby runtime) { RubyClass regexpClass = new RegexpDefinition(runtime).getType(); regexpClass.defineConstant("IGNORECASE", RubyFixnum.newFixnum(runtime, RE_OPTION_IGNORECASE)); regexpClass.defineConstant("EXTENDED", RubyFixnum.newFixnum(runtime, RE_OPTION_EXTENDED)); regexpClass.defineConstant("MULTILINE", RubyFixnum.newFixnum(runtime, RE_OPTION_MULTILINE)); return regexpClass; }
| 3,233,438
|
public void actionPerformed(ActionEvent e) { ChatRoom chatRoom = (ChatRoom)getComponentInTab(tab); if (chatRoom != null) { for (ChatRoom cRoom : getChatRooms()) { if (chatRoom != cRoom) { closeTab(cRoom); } } } }
|
public void actionPerformed(ActionEvent e) { ChatRoom chatRoom = (ChatRoom)getComponentInTab(tab); if (chatRoom != null) { for (ChatRoom cRoom : getChatRooms()) { if (chatRoom != cRoom) { closeTab(cRoom); } } } }
| 3,233,439
|
public void actionPerformed(ActionEvent e) { for (ChatRoom rooms : getStaleChatRooms()) { closeTab(rooms); } }
|
public void actionPerformed(ActionEvent e) { for (ChatRoom rooms : getStaleChatRooms()) { closeTab(rooms); } }
| 3,233,441
|
public void fireNotifyOnMessage(final ChatRoom chatRoom) { ChatRoom activeChatRoom = null; try { activeChatRoom = getActiveChatRoom(); } catch (ChatRoomNotFoundException e1) { Log.error(e1); } if (chatFrame.isVisible() && (chatFrame.getState() == Frame.ICONIFIED || chatFrame.getInactiveTime() > 20000)) { int tabLocation = indexOfComponent(chatRoom); setSelectedIndex(tabLocation); startFlashing(chatRoom); return; } if (!chatFrame.isVisible() && SparkManager.getMainWindow().isFocused()) { chatFrame.setState(Frame.NORMAL); chatFrame.setVisible(true); } else if (chatFrame.isVisible() && !chatFrame.isInFocus()) { startFlashing(chatRoom); } else if (chatFrame.isVisible() && chatFrame.getState() == Frame.ICONIFIED) { // Set to new tab. int tabLocation = indexOfComponent(chatRoom); setSelectedIndex(tabLocation); // If the ContactList is in the tray, we need better notification by flashing // the chatframe. startFlashing(chatRoom); } // Handle when chat frame is visible but the Contact List is not. else if (chatFrame.isVisible() && !SparkManager.getMainWindow().isVisible() && !chatFrame.isInFocus()) { startFlashing(chatRoom); } else if (!chatFrame.isVisible()) { if (Spark.isWindows()) { chatFrame.setFocusableWindowState(false); chatFrame.setState(Frame.ICONIFIED); } chatFrame.setVisible(true); // Set to new tab. int tabLocation = indexOfComponent(chatRoom); setSelectedIndex(tabLocation); // If the ContactList is in the tray, we need better notification by flashing // the chatframe. if (!SparkManager.getMainWindow().isVisible()) { startFlashing(chatRoom); } else if (chatFrame.getState() == Frame.ICONIFIED) { startFlashing(chatRoom); } } else if (chatRoom != activeChatRoom) { startFlashing(chatRoom); } }
|
public void fireNotifyOnMessage(final ChatRoom chatRoom) { ChatRoom activeChatRoom = null; try { activeChatRoom = getActiveChatRoom(); } catch (ChatRoomNotFoundException e1) { Log.error(e1); } if (chatFrame.isVisible() && (chatFrame.getState() == Frame.ICONIFIED || chatFrame.getInactiveTime() > 20000)) { int tabLocation = indexOfComponent(chatRoom); setSelectedIndex(tabLocation); startFlashing(chatRoom); return; } if (!chatFrame.isVisible() && SparkManager.getMainWindow().isFocused()) { chatFrame.setState(Frame.NORMAL); chatFrame.setVisible(true); } else if (chatFrame.isVisible() && !chatFrame.isInFocus()) { startFlashing(chatRoom); } else if (chatFrame.isVisible() && chatFrame.getState() == Frame.ICONIFIED) { // Set to new tab. int tabLocation = indexOfComponent(chatRoom); setSelectedIndex(tabLocation); // If the ContactList is in the tray, we need better notification by flashing // the chatframe. startFlashing(chatRoom); } // Handle when chat frame is visible but the Contact List is not. else if (chatFrame.isVisible() && !SparkManager.getMainWindow().isVisible() && !chatFrame.isInFocus()) { startFlashing(chatRoom); } else if (!chatFrame.isVisible()) { if (Spark.isWindows()) { chatFrame.setFocusableWindowState(false); chatFrame.setState(Frame.ICONIFIED); } chatFrame.setVisible(true); // Set to new tab. int tabLocation = indexOfComponent(chatRoom); setSelectedIndex(tabLocation); // If the ContactList is in the tray, we need better notification by flashing // the chatframe. if (!SparkManager.getMainWindow().isVisible()) { startFlashing(chatRoom); } else if (chatFrame.getState() == Frame.ICONIFIED) { startFlashing(chatRoom); } } else if (chatRoom != activeChatRoom) { startFlashing(chatRoom); } }
| 3,233,442
|
public void fireNotifyOnMessage(final ChatRoom chatRoom) { ChatRoom activeChatRoom = null; try { activeChatRoom = getActiveChatRoom(); } catch (ChatRoomNotFoundException e1) { Log.error(e1); } if (chatFrame.isVisible() && (chatFrame.getState() == Frame.ICONIFIED || chatFrame.getInactiveTime() > 20000)) { int tabLocation = indexOfComponent(chatRoom); setSelectedIndex(tabLocation); startFlashing(chatRoom); return; } if (!chatFrame.isVisible() && SparkManager.getMainWindow().isFocused()) { chatFrame.setState(Frame.NORMAL); chatFrame.setVisible(true); } else if (chatFrame.isVisible() && !chatFrame.isInFocus()) { startFlashing(chatRoom); } else if (chatFrame.isVisible() && chatFrame.getState() == Frame.ICONIFIED) { // Set to new tab. int tabLocation = indexOfComponent(chatRoom); setSelectedIndex(tabLocation); // If the ContactList is in the tray, we need better notification by flashing // the chatframe. startFlashing(chatRoom); } // Handle when chat frame is visible but the Contact List is not. else if (chatFrame.isVisible() && !SparkManager.getMainWindow().isVisible() && !chatFrame.isInFocus()) { startFlashing(chatRoom); } else if (!chatFrame.isVisible()) { if (Spark.isWindows()) { chatFrame.setFocusableWindowState(false); chatFrame.setState(Frame.ICONIFIED); } chatFrame.setVisible(true); // Set to new tab. int tabLocation = indexOfComponent(chatRoom); setSelectedIndex(tabLocation); // If the ContactList is in the tray, we need better notification by flashing // the chatframe. if (!SparkManager.getMainWindow().isVisible()) { startFlashing(chatRoom); } else if (chatFrame.getState() == Frame.ICONIFIED) { startFlashing(chatRoom); } } else if (chatRoom != activeChatRoom) { startFlashing(chatRoom); } }
|
public void fireNotifyOnMessage(final ChatRoom chatRoom) { ChatRoom activeChatRoom = null; try { activeChatRoom = getActiveChatRoom(); } catch (ChatRoomNotFoundException e1) { Log.error(e1); } if (chatFrame.isVisible() && (chatFrame.getState() == Frame.ICONIFIED || chatFrame.getInactiveTime() > 20000)) { int tabLocation = indexOfComponent(chatRoom); setSelectedIndex(tabLocation); startFlashing(chatRoom); return; } if (!chatFrame.isVisible() && SparkManager.getMainWindow().isFocused()) { chatFrame.setState(Frame.NORMAL); chatFrame.setVisible(true); } else if (chatFrame.isVisible() && !chatFrame.isInFocus()) { startFlashing(chatRoom); } else if (chatFrame.isVisible() && chatFrame.getState() == Frame.ICONIFIED) { // Set to new tab. int tabLocation = indexOfComponent(chatRoom); setSelectedIndex(tabLocation); // If the ContactList is in the tray, we need better notification by flashing // the chatframe. startFlashing(chatRoom); } // Handle when chat frame is visible but the Contact List is not. else if (chatFrame.isVisible() && !SparkManager.getMainWindow().isVisible() && !chatFrame.isInFocus()) { startFlashing(chatRoom); } else if (!chatFrame.isVisible()) { if (Spark.isWindows()) { chatFrame.setFocusableWindowState(false); chatFrame.setState(Frame.ICONIFIED); } chatFrame.setVisible(true); // Set to new tab. int tabLocation = indexOfComponent(chatRoom); setSelectedIndex(tabLocation); // If the ContactList is in the tray, we need better notification by flashing // the chatframe. if (!SparkManager.getMainWindow().isVisible()) { startFlashing(chatRoom); } else if (chatFrame.getState() == Frame.ICONIFIED) { startFlashing(chatRoom); } } else if (chatRoom != activeChatRoom) { startFlashing(chatRoom); } }
| 3,233,443
|
public void run() { final Iterator iter = new HashSet(chatRoomListeners).iterator(); while (iter.hasNext()) { ((ChatRoomListener)iter.next()).userHasJoined(room, userid); } }
|
public void run() { final Iterator iter = new HashSet(chatRoomListeners).iterator(); while (iter.hasNext()) { ((ChatRoomListener)iter.next()).userHasJoined(room, userid); } }
| 3,233,444
|
public void run() { final Iterator iter = new HashSet(chatRoomListeners).iterator(); while (iter.hasNext()) { ((ChatRoomListener)iter.next()).userHasLeft(room, userid); } }
|
public void run() { final Iterator iter = new HashSet(chatRoomListeners).iterator(); while (iter.hasNext()) { ((ChatRoomListener)iter.next()).userHasJoined(room, userid); } }
| 3,233,445
|
public void run() { try { final int index = indexOfComponent(room); if (index != -1) { room.increaseUnreadMessageCount(); int unreadMessageCount = room.getUnreadMessageCount(); String appendedMessage = ""; if (unreadMessageCount > 1) { appendedMessage = " (" + unreadMessageCount + ")"; } SparkTab tab = getTabAt(index); tab.getTitleLabel().setText(room.getTabTitle() + appendedMessage); // Check notifications. if (room instanceof ChatRoomImpl) { checkNotificationPreferences(room); } makeTabRed(room); } boolean invokeFlash = SettingsManager.getLocalPreferences().isChatRoomNotificationsOn() || !(room instanceof GroupChatRoom); if (!chatFrame.isFocused() && invokeFlash) { SparkManager.getAlertManager().flashWindow(chatFrame); } } catch (Exception ex) { Log.error("Issue in ChatRooms with tab location.", ex); } }
|
public void run() { try { final int index = indexOfComponent(room); if (index != -1) { room.increaseUnreadMessageCount(); int unreadMessageCount = room.getUnreadMessageCount(); String appendedMessage = ""; if (unreadMessageCount > 1) { appendedMessage = " (" + unreadMessageCount + ")"; } SparkTab tab = getTabAt(index); tab.getTitleLabel().setText(room.getTabTitle() + appendedMessage); // Check notifications. if (room instanceof ChatRoomImpl) { checkNotificationPreferences(room); } makeTabRed(room); } boolean invokeFlash = SettingsManager.getLocalPreferences().isChatRoomNotificationsOn() || !(room instanceof GroupChatRoom); if (!chatFrame.isFocused() && invokeFlash) { SparkManager.getAlertManager().flashWindow(chatFrame); } } catch (Exception ex) { Log.error("Issue in ChatRooms with tab location.", ex); } }
| 3,233,447
|
public void run() { try { int index = indexOfComponent(room); if (index != -1) { SparkTab tab = getTabAt(index); useTabDefault(room); tab.getTitleLabel().setText(room.getTabTitle()); room.clearUnreadMessageCount(); } } catch (Exception ex) { Log.error("Could not stop flashing for " + room + " because " + ex.getMessage(), ex); } SparkManager.getAlertManager().stopFlashing(chatFrame); }
|
public void run() { try { int index = indexOfComponent(room); if (index != -1) { SparkTab tab = getTabAt(index); useTabDefault(room); tab.getTitleLabel().setText(room.getTabTitle()); room.clearUnreadMessageCount(); } } catch (Exception ex) { Log.error("Could not stop flashing for " + room + " because " + ex.getMessage(), ex); } SparkManager.getAlertManager().stopFlashing(chatFrame); }
| 3,233,448
|
public void run() { try { int index = indexOfComponent(room); if (index != -1) { SparkTab tab = getTabAt(index); useTabDefault(room); tab.getTitleLabel().setText(room.getTabTitle()); room.clearUnreadMessageCount(); } } catch (Exception ex) { Log.error("Could not stop flashing for " + room + " because " + ex.getMessage(), ex); } SparkManager.getAlertManager().stopFlashing(chatFrame); }
|
public void run() { try { int index = indexOfComponent(room); if (index != -1) { SparkTab tab = getTabAt(index); useTabDefault(room); tab.getTitleLabel().setText(room.getTabTitle()); room.clearUnreadMessageCount(); } } catch (Exception ex) { Log.error("Issue in ChatRooms with tab location.", ex); } SparkManager.getAlertManager().stopFlashing(chatFrame); }
| 3,233,449
|
public void run() { try { int index = indexOfComponent(room); if (index != -1) { SparkTab tab = getTabAt(index); useTabDefault(room); tab.getTitleLabel().setText(room.getTabTitle()); room.clearUnreadMessageCount(); } } catch (Exception ex) { Log.error("Could not stop flashing for " + room + " because " + ex.getMessage(), ex); } SparkManager.getAlertManager().stopFlashing(chatFrame); }
|
public void run() { try { int index = indexOfComponent(room); if (index != -1) { SparkTab tab = getTabAt(index); useTabDefault(room); tab.getTitleLabel().setText(room.getTabTitle()); room.clearUnreadMessageCount(); } } catch (Exception ex) { Log.error("Could not stop flashing for " + room + " because " + ex.getMessage(), ex); } }
| 3,233,450
|
public void test_experimenter_shouldnt_increment_on_update() throws Exception { expName = eContext.getPrincipal().getName(); Experimenter e = getExperimenter(expName); expId = e.getId(); expVersion = e.getVersion(); p.setName(name); id = iUpdate.saveAndReturnObject(p).getId(); p = (Project) iQuery.findByQuery("from Project p " + " join fetch p.details.owner " + " where p.id = ? ", new Parameters().addId(id)); p.setName(p.getName() + " updated."); p = (Project) this.iUpdate.saveAndReturnObject(p); Experimenter e2 = getExperimenter(expName); assertTrue(expVersion.equals(e2.getVersion())); }
|
public void test_experimenter_shouldnt_increment_on_update() throws Exception { expName = eContext.getPrincipal().getName(); Experimenter e = getExperimenter(expName); expId = e.getId(); expVersion = e.getVersion(); p.setName(name); id = iUpdate.saveAndReturnObject(p).getId(); p = (Project) iQuery.findByQuery("from Project p " + " join fetch p.details.owner " + " where p.id = :id ", new Parameters().addId(id)); p.setName(p.getName() + " updated."); p = (Project) this.iUpdate.saveAndReturnObject(p); Experimenter e2 = getExperimenter(expName); assertTrue(expVersion.equals(e2.getVersion())); }
| 3,233,451
|
final public RubyObject execute(final Ruby ruby, final RubyObject receiver, final String name, RubyObject[] args, final boolean noSuper) { if (args == null) { args = new RubyObject[0]; } RubyProc optionalBlockArg = null; if (argsNode.getBlockArgNode() != null && ruby.isBlockGiven()) { optionalBlockArg = RubyProc.newProc(ruby, ruby.getClasses().getProcClass()); } ruby.getScope().push(); Namespace savedNamespace = null; if (namespace != null) { savedNamespace = ruby.getNamespace(); ruby.setNamespace(namespace); ruby.getActFrame().setNamespace(namespace); } if (body.getLocalNames() != null) { ruby.getScope().setLocalValues(new ArrayList(Collections.nCopies(body.getLocalNames().size(), ruby.getNil()))); ruby.getScope().setLocalNames(body.getLocalNames()); } RubyVarmap.push(ruby); try { if (argsNode != null) { int i = argsNode.getArgsCount(); if (i > args.length) { throw new ArgumentError(ruby, "Wrong # of arguments(" + args.length + " for " + i + ")"); } if (argsNode.getRestArg() == -1 && argsNode.getOptArgs() != null) { int opt = i; IListNode optNode = argsNode.getOptArgs(); Iterator iter = optNode.iterator(); while (iter.hasNext()) { iter.next(); opt++; } if (opt < args.length) { throw new ArgumentError(ruby, "wrong # of arguments(" + args.length + " for " + opt + ")"); } ruby.getActFrame().setArgs(args); } if (ruby.getScope().getLocalValues() != null) { if (i > 0) { for (int j = 0; j < i; j++) { ruby.getScope().setValue(j + 2, args[j]); } } if (argsNode.getOptArgs() != null) { IListNode optArgs = argsNode.getOptArgs(); Iterator iter = optArgs.iterator(); for (int j = i; j < args.length && iter.hasNext(); j++) { new AssignmentVisitor(ruby, receiver).assign((INode)iter.next(), args[j], true); i++; } // assign the default values. while (iter.hasNext()) { EvaluateVisitor.createVisitor(receiver).eval((INode)iter.next()); } } if (argsNode.getRestArg() >= 0) { RubyArray array = null; if (args.length > i) { array = RubyArray.newArray(ruby, Arrays.asList(args).subList(i, args.length)); } else { array = RubyArray.newArray(ruby, 0); } ruby.getScope().setValue(argsNode.getRestArg(), array); } } } if (optionalBlockArg != null) { ruby.getScope().setValue(argsNode.getBlockArgNode().getCount(), optionalBlockArg); } if (ruby.getRuntime().getTraceFunction() != null) { //a lot of complication to try to get a line number and a file name //without a NullPointerException ISourcePosition lPos = null; if (body != null) if (body.getBodyNode() != null) if(body.getBodyNode().getPosition() != null) lPos = body.getBodyNode().getPosition(); else ; else if (body.getPosition() != null) lPos = body.getPosition(); else ; else if (argsNode != null) lPos = argsNode.getPosition(); String lFile = ruby.getSourceFile(); int lLine = ruby.getSourceLine(); if (lPos != null) { lFile = lPos.getFile(); lLine = lPos.getLine(); } ruby.getRuntime().callTraceFunction("call", lFile, lLine, receiver, name, getImplementationClass()); // XXX } return receiver.eval(body.getBodyNode()); // skip scope assignment } catch (ReturnException rExcptn) { return rExcptn.getReturnValue(); } finally { RubyVarmap.pop(ruby); ruby.getScope().pop(); if (savedNamespace != null) { ruby.setNamespace(savedNamespace); } if (ruby.getRuntime().getTraceFunction() != null) { String file = ruby.getFrameStack().getPrevious().getFile(); int line = ruby.getFrameStack().getPrevious().getLine(); if (file == null) { file = ruby.getSourceFile(); line = ruby.getSourceLine(); } ruby.getRuntime().callTraceFunction("return", file, line, receiver, name, getImplementationClass()); // XXX } } }
|
final public RubyObject execute(final Ruby ruby, final RubyObject receiver, final String name, RubyObject[] args, final boolean noSuper) { if (args == null) { args = new RubyObject[0]; } RubyProc optionalBlockArg = null; if (argsNode.getBlockArgNode() != null && ruby.isBlockGiven()) { optionalBlockArg = RubyProc.newProc(ruby, ruby.getClasses().getProcClass()); } ruby.getScope().push(); Namespace savedNamespace = null; if (namespace != null) { savedNamespace = ruby.getNamespace(); ruby.setNamespace(namespace); ruby.getActFrame().setNamespace(namespace); } if (body.getLocalNames() != null) { ruby.getScope().setLocalValues(new ArrayList(Collections.nCopies(body.getLocalNames().size(), ruby.getNil()))); ruby.getScope().setLocalNames(body.getLocalNames()); } RubyVarmap.push(ruby); try { if (argsNode != null) { int i = argsNode.getArgsCount(); if (i > args.length) { throw new ArgumentError(ruby, "Wrong # of arguments(" + args.length + " for " + i + ")"); } if (argsNode.getRestArg() == -1 && argsNode.getOptArgs() != null) { int opt = i; IListNode optNode = argsNode.getOptArgs(); Iterator iter = optNode.iterator(); while (iter.hasNext()) { iter.next(); opt++; } if (opt < args.length) { throw new ArgumentError(ruby, "wrong # of arguments(" + args.length + " for " + opt + ")"); } ruby.getActFrame().setArgs(args); } if (ruby.getScope().getLocalValues() != null) { if (i > 0) { for (int j = 0; j < i; j++) { ruby.getScope().setValue(j + 2, args[j]); } } if (argsNode.getOptArgs() != null) { IListNode optArgs = argsNode.getOptArgs(); Iterator iter = optArgs.iterator(); for (int j = i; j < args.length && iter.hasNext(); j++) { new AssignmentVisitor(ruby, receiver).assign((INode)iter.next(), args[j], true); i++; } // assign the default values. while (iter.hasNext()) { EvaluateVisitor.createVisitor(receiver).eval((INode)iter.next()); } } if (argsNode.getRestArg() >= 0) { RubyArray array = null; if (args.length > i) { ArrayList list = new ArrayList(args.length - i); for (int j = i; j < args.length; j++) { list.add(args[j]); } array = RubyArray.newArray(ruby, list); } else { array = RubyArray.newArray(ruby, 0); } ruby.getScope().setValue(argsNode.getRestArg(), array); } } } if (optionalBlockArg != null) { ruby.getScope().setValue(argsNode.getBlockArgNode().getCount(), optionalBlockArg); } if (ruby.getRuntime().getTraceFunction() != null) { //a lot of complication to try to get a line number and a file name //without a NullPointerException ISourcePosition lPos = null; if (body != null) if (body.getBodyNode() != null) if(body.getBodyNode().getPosition() != null) lPos = body.getBodyNode().getPosition(); else ; else if (body.getPosition() != null) lPos = body.getPosition(); else ; else if (argsNode != null) lPos = argsNode.getPosition(); String lFile = ruby.getSourceFile(); int lLine = ruby.getSourceLine(); if (lPos != null) { lFile = lPos.getFile(); lLine = lPos.getLine(); } ruby.getRuntime().callTraceFunction("call", lFile, lLine, receiver, name, getImplementationClass()); // XXX } return receiver.eval(body.getBodyNode()); // skip scope assignment } catch (ReturnException rExcptn) { return rExcptn.getReturnValue(); } finally { RubyVarmap.pop(ruby); ruby.getScope().pop(); if (savedNamespace != null) { ruby.setNamespace(savedNamespace); } if (ruby.getRuntime().getTraceFunction() != null) { String file = ruby.getFrameStack().getPrevious().getFile(); int line = ruby.getFrameStack().getPrevious().getLine(); if (file == null) { file = ruby.getSourceFile(); line = ruby.getSourceLine(); } ruby.getRuntime().callTraceFunction("return", file, line, receiver, name, getImplementationClass()); // XXX } } }
| 3,233,453
|
private Integer linearize(int z, int w, int t) { if (z < 0 || dims.sizeZ <= z) throw new IllegalArgumentException( "z out of range [0, "+dims.sizeZ+"): "+z+"."); if(w < 0 || dims.sizeW <= w) throw new IllegalArgumentException( "w out of range [0, "+dims.sizeW+"): "+w+"."); if(t < 0 || dims.sizeT <= t) throw new IllegalArgumentException( "t out of range [0, "+dims.sizeT+"): "+t+"."); return new Integer(dims.sizeZ*dims.sizeW*t + dims.sizeZ*w + z); }
|
private Integer linearize(int z, int w, int t) { if (z < 0 || dims.sizeZ <= z) throw new IllegalArgumentException( "z out of range [0, "+dims.sizeZ+"): "+z+"."); if (w < 0 || dims.sizeW <= w) throw new IllegalArgumentException( "w out of range [0, "+dims.sizeW+"): "+w+"."); if(t < 0 || dims.sizeT <= t) throw new IllegalArgumentException( "t out of range [0, "+dims.sizeT+"): "+t+"."); return new Integer(dims.sizeZ*dims.sizeW*t + dims.sizeZ*w + z); }
| 3,233,454
|
private Integer linearize(int z, int w, int t) { if (z < 0 || dims.sizeZ <= z) throw new IllegalArgumentException( "z out of range [0, "+dims.sizeZ+"): "+z+"."); if(w < 0 || dims.sizeW <= w) throw new IllegalArgumentException( "w out of range [0, "+dims.sizeW+"): "+w+"."); if(t < 0 || dims.sizeT <= t) throw new IllegalArgumentException( "t out of range [0, "+dims.sizeT+"): "+t+"."); return new Integer(dims.sizeZ*dims.sizeW*t + dims.sizeZ*w + z); }
|
private Integer linearize(int z, int w, int t) { if (z < 0 || dims.sizeZ <= z) throw new IllegalArgumentException( "z out of range [0, "+dims.sizeZ+"): "+z+"."); if(w < 0 || dims.sizeW <= w) throw new IllegalArgumentException( "w out of range [0, "+dims.sizeW+"): "+w+"."); if (t < 0 || dims.sizeT <= t) throw new IllegalArgumentException( "t out of range [0, "+dims.sizeT+"): "+t+"."); return new Integer(dims.sizeZ*dims.sizeW*t + dims.sizeZ*w + z); }
| 3,233,455
|
public RubyObject call0(RubyObject recv, RubyId id, RubyObject[] args, NODE body, boolean noSuper) { // ... RubyInterpreter interpreter = getRuby().getInterpreter(); interpreter.getRubyFrame().push(); // HACK +++ interpreter.getRubyIter().push(Iter.ITER_NOT); // HACK --- interpreter.getRubyFrame().setLastFunc(id); interpreter.getRubyFrame().setLastClass(noSuper ? null : this); interpreter.getRubyFrame().setSelf(recv); interpreter.getRubyFrame().setArgs(new ShiftableList(args)); RubyObject result = null; switch (body.nd_type()) { case NODE_CFUNC: { result = ((RubyCallbackMethod)body.nd_cfnc()).execute(recv, args, getRuby()); break; } case NODE_ZSUPER: case NODE_ATTRSET: case NODE_IVAR: { result = interpreter.eval(recv, body); break; } case NODE_SCOPE: { NODE savedCref = null; // VALUE[] localVars = null; ShiftableList argsList = new ShiftableList(args); ShiftableList localVarsList = null; getRuby().rubyScope.push(); if (body.nd_rval() != null) { savedCref = interpreter.ruby_cref; interpreter.ruby_cref = (NODE)body.nd_rval(); interpreter.getRubyFrame().setCbase(body.nd_rval()); } if (body.nd_tbl() != null) { // ? +++ List tmpList = Collections.nCopies(body.nd_tbl()[0].intValue() + 1, getRuby().getNil()); // ? --- localVarsList = new ShiftableList(new ArrayList(tmpList)); localVarsList.set(0, body); localVarsList.shift(1); getRuby().rubyScope.setLocalTbl(body.nd_tbl()); getRuby().rubyScope.setLocalVars(localVarsList.getList()); } else { localVarsList = getRuby().rubyScope.getLocalVars(); getRuby().rubyScope.setLocalVars(null); getRuby().rubyScope.setLocalTbl(null); } body = body.nd_next(); RubyVarmap.push(getRuby()); // PUSH_TAG(PROT_FUNC); try { NODE node = null; int i; if (body.nd_type() == NODE_ARGS) { node = body; body = null; } else if (body.nd_type() == NODE_BLOCK) { node = body.nd_head(); body = body.nd_next(); } if (node != null) { if (node.nd_type() != NODE_ARGS) { // rb_bug("no argument-node"); } i = node.nd_cnt(); if (i > (args != null ? args.length : 0)) { throw new RubyArgumentException("wrong # of arguments(" + args.length + " for " + i + ")"); } if (node.nd_rest() == -1) { int opt = i; NODE optnode = node.nd_opt(); while (optnode != null) { opt++; optnode = optnode.nd_next(); } if (opt < (args != null ? args.length : 0)) { throw new RubyArgumentException("wrong # of arguments(" + args.length + " for " + opt + ")"); } interpreter.getRubyFrame().setArgs(localVarsList != null ? localVarsList.getList(2) : null); } if (localVarsList != null) { if (i > 0) { localVarsList.shift(2); for (int j = 0; j < i; j++ ) { localVarsList.set(j, argsList.get(j)); } localVarsList.shiftLeft(2); } argsList.shift(i); if (node.nd_opt() != null) { NODE opt = node.nd_opt(); while (opt != null && argsList.size() != 0) { interpreter.assign(recv, opt.nd_head(), (RubyObject)argsList.get(0), true); argsList.shift(1); opt = opt.nd_next(); } interpreter.eval(recv, opt); } if (node.nd_rest() >= 0) { RubyArray array = null; if (argsList.size() > 0) { array = RubyArray.m_newArray(getRuby(), argsList); } else { array = RubyArray.m_newArray(getRuby(), 0); } localVarsList.set(node.nd_rest(), array); } } } result = interpreter.eval(recv, body); } catch (ReturnException rExcptn) { } RubyVarmap.pop(getRuby()); getRuby().rubyScope.pop(); interpreter.ruby_cref = savedCref; break; } default: { System.out.println("Not implemented yet (method call): " + id.toName() + ", node_type:" + body.nd_type()); } } interpreter.getRubyFrame().pop(); interpreter.getRubyIter().pop(); return result ; }
|
public RubyObject call0(RubyObject recv, RubyId id, RubyObject[] args, NODE body, boolean noSuper) { // ... RubyInterpreter interpreter = getRuby().getInterpreter(); interpreter.getRubyFrame().push(); // HACK +++ interpreter.getRubyIter().push(Iter.ITER_NOT); // HACK --- interpreter.getRubyFrame().setLastFunc(id); interpreter.getRubyFrame().setLastClass(noSuper ? null : this); interpreter.getRubyFrame().setSelf(recv); interpreter.getRubyFrame().setArgs(new ShiftableList(args)); RubyObject result = null; switch (body.nd_type()) { case NODE_CFUNC: { try { result = ((RubyCallbackMethod)body.nd_cfnc()).execute(recv, args, getRuby()); } catch (RubyArgumentException raExcptn) { System.out.print("Cannot call method \"" + id.toName() + "\". "); System.out.println(raExcptn.getMessage()); } break; } case NODE_ZSUPER: case NODE_ATTRSET: case NODE_IVAR: { result = interpreter.eval(recv, body); break; } case NODE_SCOPE: { NODE savedCref = null; // VALUE[] localVars = null; ShiftableList argsList = new ShiftableList(args); ShiftableList localVarsList = null; getRuby().rubyScope.push(); if (body.nd_rval() != null) { savedCref = interpreter.ruby_cref; interpreter.ruby_cref = (NODE)body.nd_rval(); interpreter.getRubyFrame().setCbase(body.nd_rval()); } if (body.nd_tbl() != null) { // ? +++ List tmpList = Collections.nCopies(body.nd_tbl()[0].intValue() + 1, getRuby().getNil()); // ? --- localVarsList = new ShiftableList(new ArrayList(tmpList)); localVarsList.set(0, body); localVarsList.shift(1); getRuby().rubyScope.setLocalTbl(body.nd_tbl()); getRuby().rubyScope.setLocalVars(localVarsList.getList()); } else { localVarsList = getRuby().rubyScope.getLocalVars(); getRuby().rubyScope.setLocalVars(null); getRuby().rubyScope.setLocalTbl(null); } body = body.nd_next(); RubyVarmap.push(getRuby()); // PUSH_TAG(PROT_FUNC); try { NODE node = null; int i; if (body.nd_type() == NODE_ARGS) { node = body; body = null; } else if (body.nd_type() == NODE_BLOCK) { node = body.nd_head(); body = body.nd_next(); } if (node != null) { if (node.nd_type() != NODE_ARGS) { // rb_bug("no argument-node"); } i = node.nd_cnt(); if (i > (args != null ? args.length : 0)) { throw new RubyArgumentException("wrong # of arguments(" + args.length + " for " + i + ")"); } if (node.nd_rest() == -1) { int opt = i; NODE optnode = node.nd_opt(); while (optnode != null) { opt++; optnode = optnode.nd_next(); } if (opt < (args != null ? args.length : 0)) { throw new RubyArgumentException("wrong # of arguments(" + args.length + " for " + opt + ")"); } interpreter.getRubyFrame().setArgs(localVarsList != null ? localVarsList.getList(2) : null); } if (localVarsList != null) { if (i > 0) { localVarsList.shift(2); for (int j = 0; j < i; j++ ) { localVarsList.set(j, argsList.get(j)); } localVarsList.shiftLeft(2); } argsList.shift(i); if (node.nd_opt() != null) { NODE opt = node.nd_opt(); while (opt != null && argsList.size() != 0) { interpreter.assign(recv, opt.nd_head(), (RubyObject)argsList.get(0), true); argsList.shift(1); opt = opt.nd_next(); } interpreter.eval(recv, opt); } if (node.nd_rest() >= 0) { RubyArray array = null; if (argsList.size() > 0) { array = RubyArray.m_newArray(getRuby(), argsList); } else { array = RubyArray.m_newArray(getRuby(), 0); } localVarsList.set(node.nd_rest(), array); } } } result = interpreter.eval(recv, body); } catch (ReturnException rExcptn) { } RubyVarmap.pop(getRuby()); getRuby().rubyScope.pop(); interpreter.ruby_cref = savedCref; break; } default: { System.out.println("Not implemented yet (method call): " + id.toName() + ", node_type:" + body.nd_type()); } } interpreter.getRubyFrame().pop(); interpreter.getRubyIter().pop(); return result ; }
| 3,233,456
|
public void testAPITask() { final File currentDir = new File(System.getProperty("user.dir")); final File commonDir = new File(currentDir.getParentFile().getPath() + File.separator + "common"); final class T extends APITask { public T() { DefaultLogger logger = new DefaultLogger(); logger.setMessageOutputLevel(Project.MSG_DEBUG); logger.setErrorPrintStream(System.err); logger.setOutputPrintStream(System.out); setProject(new Project()); getProject().setBasedir(commonDir.getPath()); getProject().addBuildListener(logger); getProject().init(); setTaskName("api"); setTaskType("api"); setOwningTarget(new Target()); } } T task = new T(); FileSet fileSet = new FileSet(); fileSet.setDir(commonDir); NameEntry entry = fileSet.createInclude(); entry.setName("**/api/*.java"); task.addFileset(fileSet); task.setDestdir(new File("/tmp")); task.execute(); }
|
public void testAPITask() { final File currentDir = new File(System.getProperty("user.dir")); final File commonDir = new File(currentDir.getParentFile().getPath() + File.separator + "common"); final class T extends APITask { public T() { DefaultLogger logger = new DefaultLogger(); logger.setMessageOutputLevel(Project.MSG_DEBUG); logger.setErrorPrintStream(System.err); logger.setOutputPrintStream(System.out); setProject(new Project()); getProject().setBasedir(commonDir.getPath()); getProject().addBuildListener(logger); getProject().init(); setTaskName("api"); setTaskType("api"); setOwningTarget(new Target()); } } T task = new T(); FileSet fileSet = new FileSet(); fileSet.setDir(commonDir); NameEntry entry = fileSet.createInclude(); entry.setName("**/api/*.java"); task.addFileset(fileSet); task.setDestdir(new File("/tmp")); task.execute(); }
| 3,233,458
|
public RubyObject eval(Ruby ruby, RubyObject self) { RubyClass rubyClass = (RubyClass)getRecvNode().eval(ruby, self); if (rubyClass.isSpecialConst()) { throw new TypeError(ruby, "no virtual class for " + rubyClass.getRubyClass().toName()); } if (ruby.getSafeLevel() >= 4 && !rubyClass.isTaint()) { throw new RubySecurityException(ruby, "Insecure: can't extend object"); } if (rubyClass.getRubyClass().isSingleton()) { // rb_clear_cache(); } ruby.setRubyClass(rubyClass.getSingletonClass()); if (ruby.getWrapper() != null) { rubyClass.getSingletonClass().includeModule(ruby.getWrapper()); rubyClass.includeModule(ruby.getWrapper()); } return ((ScopeNode)getBodyNode()).setupModule(ruby, rubyClass); }
|
public RubyObject eval(Ruby ruby, RubyObject self) { RubyClass rubyClass = (RubyClass)getRecvNode().eval(ruby, self); if (rubyClass.isSpecialConst()) { throw new TypeError(ruby, "no virtual class for " + rubyClass.getRubyClass().toName()); } if (ruby.getSafeLevel() >= 4 && !rubyClass.isTaint()) { throw new RubySecurityException(ruby, "Insecure: can't extend object"); } if (rubyClass.getRubyClass().isSingleton()) { // rb_clear_cache(); } ruby.setRubyClass(rubyClass.getSingletonClass()); if (ruby.getWrapper() != null) { rubyClass.getSingletonClass().includeModule(ruby.getWrapper()); rubyClass.includeModule(ruby.getWrapper()); } return ((ScopeNode)getBodyNode()).setupModule(ruby, rubyClass); }
| 3,233,459
|
public RubyObject eval(Ruby ruby, RubyObject self) { RubyClass rubyClass = (RubyClass)getRecvNode().eval(ruby, self); if (rubyClass.isSpecialConst()) { throw new TypeError(ruby, "no virtual class for " + rubyClass.getRubyClass().toName()); } if (ruby.getSafeLevel() >= 4 && !rubyClass.isTaint()) { throw new RubySecurityException(ruby, "Insecure: can't extend object"); } if (rubyClass.getRubyClass().isSingleton()) { // rb_clear_cache(); } ruby.setRubyClass(rubyClass.getSingletonClass()); if (ruby.getWrapper() != null) { rubyClass.getSingletonClass().includeModule(ruby.getWrapper()); rubyClass.includeModule(ruby.getWrapper()); } return ((ScopeNode)getBodyNode()).setupModule(ruby, rubyClass); }
|
public RubyObject eval(Ruby ruby, RubyObject self) { RubyClass rubyClass = (RubyClass)getRecvNode().eval(ruby, self); if (rubyClass.isSpecialConst()) { throw new TypeError(ruby, "no virtual class for " + rubyClass.getRubyClass().toName()); } if (ruby.getSafeLevel() >= 4 && !type.isTaint()) { throw new RubySecurityException(ruby, "Insecure: can't extend object"); } if (rubyClass.getRubyClass().isSingleton()) { // rb_clear_cache(); } ruby.setRubyClass(rubyClass.getSingletonClass()); if (ruby.getWrapper() != null) { rubyClass.getSingletonClass().includeModule(ruby.getWrapper()); rubyClass.includeModule(ruby.getWrapper()); } return ((ScopeNode)getBodyNode()).setupModule(ruby, rubyClass); }
| 3,233,460
|
public RubyObject eval(Ruby ruby, RubyObject self) { RubyClass rubyClass = (RubyClass)getRecvNode().eval(ruby, self); if (rubyClass.isSpecialConst()) { throw new TypeError(ruby, "no virtual class for " + rubyClass.getRubyClass().toName()); } if (ruby.getSafeLevel() >= 4 && !rubyClass.isTaint()) { throw new RubySecurityException(ruby, "Insecure: can't extend object"); } if (rubyClass.getRubyClass().isSingleton()) { // rb_clear_cache(); } ruby.setRubyClass(rubyClass.getSingletonClass()); if (ruby.getWrapper() != null) { rubyClass.getSingletonClass().includeModule(ruby.getWrapper()); rubyClass.includeModule(ruby.getWrapper()); } return ((ScopeNode)getBodyNode()).setupModule(ruby, rubyClass); }
|
public RubyObject eval(Ruby ruby, RubyObject self) { RubyClass rubyClass = (RubyClass)getRecvNode().eval(ruby, self); if (rubyClass.isSpecialConst()) { throw new TypeError(ruby, "no virtual class for " + rubyClass.getRubyClass().toName()); } if (ruby.getSafeLevel() >= 4 && !rubyClass.isTaint()) { throw new RubySecurityException(ruby, "Insecure: can't extend object"); } if (type.getRubyClass().isSingleton()) { // rb_clear_cache(); } ruby.setRubyClass(rubyClass.getSingletonClass()); if (ruby.getWrapper() != null) { rubyClass.getSingletonClass().includeModule(ruby.getWrapper()); rubyClass.includeModule(ruby.getWrapper()); } return ((ScopeNode)getBodyNode()).setupModule(ruby, rubyClass); }
| 3,233,461
|
public RubyObject eval(Ruby ruby, RubyObject self) { RubyClass rubyClass = (RubyClass)getRecvNode().eval(ruby, self); if (rubyClass.isSpecialConst()) { throw new TypeError(ruby, "no virtual class for " + rubyClass.getRubyClass().toName()); } if (ruby.getSafeLevel() >= 4 && !rubyClass.isTaint()) { throw new RubySecurityException(ruby, "Insecure: can't extend object"); } if (rubyClass.getRubyClass().isSingleton()) { // rb_clear_cache(); } ruby.setRubyClass(rubyClass.getSingletonClass()); if (ruby.getWrapper() != null) { rubyClass.getSingletonClass().includeModule(ruby.getWrapper()); rubyClass.includeModule(ruby.getWrapper()); } return ((ScopeNode)getBodyNode()).setupModule(ruby, rubyClass); }
|
public RubyObject eval(Ruby ruby, RubyObject self) { RubyClass rubyClass = (RubyClass)getRecvNode().eval(ruby, self); if (rubyClass.isSpecialConst()) { throw new TypeError(ruby, "no virtual class for " + rubyClass.getRubyClass().toName()); } if (ruby.getSafeLevel() >= 4 && !rubyClass.isTaint()) { throw new RubySecurityException(ruby, "Insecure: can't extend object"); } if (rubyClass.getRubyClass().isSingleton()) { // rb_clear_cache(); } type = type.getSingletonClass(); if (ruby.getWrapper() != null) { rubyClass.getSingletonClass().includeModule(ruby.getWrapper()); rubyClass.includeModule(ruby.getWrapper()); } return ((ScopeNode)getBodyNode()).setupModule(ruby, rubyClass); }
| 3,233,462
|
public RubyObject eval(Ruby ruby, RubyObject self) { RubyClass rubyClass = (RubyClass)getRecvNode().eval(ruby, self); if (rubyClass.isSpecialConst()) { throw new TypeError(ruby, "no virtual class for " + rubyClass.getRubyClass().toName()); } if (ruby.getSafeLevel() >= 4 && !rubyClass.isTaint()) { throw new RubySecurityException(ruby, "Insecure: can't extend object"); } if (rubyClass.getRubyClass().isSingleton()) { // rb_clear_cache(); } ruby.setRubyClass(rubyClass.getSingletonClass()); if (ruby.getWrapper() != null) { rubyClass.getSingletonClass().includeModule(ruby.getWrapper()); rubyClass.includeModule(ruby.getWrapper()); } return ((ScopeNode)getBodyNode()).setupModule(ruby, rubyClass); }
|
public RubyObject eval(Ruby ruby, RubyObject self) { RubyClass rubyClass = (RubyClass)getRecvNode().eval(ruby, self); if (rubyClass.isSpecialConst()) { throw new TypeError(ruby, "no virtual class for " + rubyClass.getRubyClass().toName()); } if (ruby.getSafeLevel() >= 4 && !rubyClass.isTaint()) { throw new RubySecurityException(ruby, "Insecure: can't extend object"); } if (rubyClass.getRubyClass().isSingleton()) { // rb_clear_cache(); } ruby.setRubyClass(rubyClass.getSingletonClass()); if (ruby.getWrapper() != null) { rubyClass.getSingletonClass().includeModule(ruby.getWrapper()); rubyClass.includeModule(ruby.getWrapper()); } return ((ScopeNode)getBodyNode()).setupModule(ruby, rubyClass); }
| 3,233,463
|
public RubyObject eval(Ruby ruby, RubyObject self) { RubyClass rubyClass = (RubyClass)getRecvNode().eval(ruby, self); if (rubyClass.isSpecialConst()) { throw new TypeError(ruby, "no virtual class for " + rubyClass.getRubyClass().toName()); } if (ruby.getSafeLevel() >= 4 && !rubyClass.isTaint()) { throw new RubySecurityException(ruby, "Insecure: can't extend object"); } if (rubyClass.getRubyClass().isSingleton()) { // rb_clear_cache(); } ruby.setRubyClass(rubyClass.getSingletonClass()); if (ruby.getWrapper() != null) { rubyClass.getSingletonClass().includeModule(ruby.getWrapper()); rubyClass.includeModule(ruby.getWrapper()); } return ((ScopeNode)getBodyNode()).setupModule(ruby, rubyClass); }
|
public RubyObject eval(Ruby ruby, RubyObject self) { RubyClass rubyClass = (RubyClass)getRecvNode().eval(ruby, self); if (rubyClass.isSpecialConst()) { throw new TypeError(ruby, "no virtual class for " + rubyClass.getRubyClass().toName()); } if (ruby.getSafeLevel() >= 4 && !rubyClass.isTaint()) { throw new RubySecurityException(ruby, "Insecure: can't extend object"); } if (rubyClass.getRubyClass().isSingleton()) { // rb_clear_cache(); } ruby.setRubyClass(rubyClass.getSingletonClass()); if (ruby.getWrapper() != null) { rubyClass.getSingletonClass().includeModule(ruby.getWrapper()); rubyClass.includeModule(ruby.getWrapper()); } return ((ScopeNode)getBodyNode()).setupModule(ruby, type); }
| 3,233,464
|
private void dumpClasses(PackageData packageData) { println("<classes>"); increaseIndentation(); Iterator it = packageData.getChildren().iterator(); while (it.hasNext()) { dumpClass((ClassData)it.next()); } decreaseIndentation(); println("</classes>"); }
|
private void dumpClasses(PackageData packageData) { println("<classes>"); increaseIndentation(); Iterator it = packageData.getChildren().iterator(); while (it.hasNext()) { dumpClass((ClassData)it.next()); } decreaseIndentation(); println("</classes>"); }
| 3,233,465
|
private void dumpClasses(PackageData packageData) { println("<classes>"); increaseIndentation(); Iterator it = packageData.getChildren().iterator(); while (it.hasNext()) { dumpClass((ClassData)it.next()); } decreaseIndentation(); println("</classes>"); }
|
private void dumpClasses(PackageData packageData) { println("<classes>"); increaseIndentation(); Iterator it = packageData.getChildren().iterator(); while (it.hasNext()) { dumpClass((ClassData)it.next()); } decreaseIndentation(); println("</classes>"); }
| 3,233,466
|
private void dumpClasses(PackageData packageData) { println("<classes>"); increaseIndentation(); Iterator it = packageData.getChildren().iterator(); while (it.hasNext()) { dumpClass((ClassData)it.next()); } decreaseIndentation(); println("</classes>"); }
|
private void dumpClasses(PackageData packageData) { println("<classes>"); increaseIndentation(); Iterator it = packageData.getChildren().iterator(); while (it.hasNext()) { dumpClass((ClassData)it.next()); } decreaseIndentation(); println("</classes>"); }
| 3,233,467
|
private void dumpPackage(PackageData packageData) { logger.debug("Dumping package " + packageData.getName()); double ccn = Util.getCCN(new File(sourceDirectory, packageData .getSourceFileName()), false); println("<package name=\"" + packageData.getName() + "\" line-rate=\"" + packageData.getLineCoverageRate() + "\" branch-rate=\"" + packageData.getBranchCoverageRate() + "\" complexity=\"" + ccn + "\"" + ">"); increaseIndentation(); dumpClasses(packageData); decreaseIndentation(); println("</package>"); }
|
private void dumpPackage(PackageData packageData) { logger.debug("Dumping package " + packageData.getName()); double ccn = Util.getCCN(new File(sourceDirectory, packageData .getSourceFileName()), false); println("<package name=\"" + packageData.getName() + "\" line-rate=\"" + packageData.getLineCoverageRate() + "\" branch-rate=\"" + packageData.getBranchCoverageRate() + "\" complexity=\"" + ccn + "\"" + ">"); increaseIndentation(); dumpClasses(packageData); decreaseIndentation(); println("</package>"); }
| 3,233,468
|
void addComponent(JComponent component) { if (component instanceof EditorUI) ((EditorUI) component) .setComponentsSize(workingPane.getBounds().width); JViewport viewPort = workingPane.getViewport(); viewPort.removeAll(); viewPort.add(component); viewPort.validate(); }
|
void addComponent(JComponent component) { if (component instanceof EditorUI) ((EditorUI) component) .setComponentsSize(workingPane.getBounds().width); JViewport viewPort = workingPane.getViewport(); viewPort.removeAll(); viewPort.add(component); viewPort.validate(); }
| 3,233,469
|
void showFinder(boolean b) { /* if (b) { //finder visible. JSplitPane pane = new JSplitPane(); pane.setOrientation(JSplitPane.VERTICAL_SPLIT); pane.setResizeWeight(1); pane.setOneTouchExpandable(true); pane.setContinuousLayout(true); pane.setTopComponent(workingPane); pane.setBottomComponent(model.getFinder()); splitPane.setRightComponent(pane); } else { splitPane.remove(splitPane.getRightComponent()); splitPane.setRightComponent(workingPane); } splitPane.setDividerLocation(splitPane.getDividerLocation()); splitPane.repaint(); */ JSplitPane pane = null; if (b) { //finder visible. pane = new JSplitPane(); pane.setOrientation(JSplitPane.VERTICAL_SPLIT); pane.setResizeWeight(1); pane.setOneTouchExpandable(true); pane.setContinuousLayout(true); pane.setTopComponent(splitPane); pane.setBottomComponent(model.getFinder()); } else pane = splitPane; Container c = getContentPane(); c.removeAll(); c.add(pane, BorderLayout.CENTER); c.validate(); }
|
void showFinder(boolean b) { /* if (b) { //finder visible. JSplitPane pane = new JSplitPane(); pane.setOrientation(JSplitPane.VERTICAL_SPLIT); pane.setResizeWeight(1); pane.setOneTouchExpandable(true); pane.setContinuousLayout(true); pane.setTopComponent(workingPane); pane.setBottomComponent(model.getFinder()); splitPane.setRightComponent(pane); } else { splitPane.remove(splitPane.getRightComponent()); splitPane.setRightComponent(workingPane); } splitPane.setDividerLocation(splitPane.getDividerLocation()); splitPane.repaint(); */ JSplitPane pane = null; if (b) { //finder visible. pane = new JSplitPane(); pane.setOrientation(JSplitPane.VERTICAL_SPLIT); pane.setResizeWeight(1); pane.setOneTouchExpandable(true); pane.setContinuousLayout(true); pane.setTopComponent(splitPane); pane.setBottomComponent(model.getFinder()); } else pane = splitPane; Container c = getContentPane(); c.removeAll(); c.add(pane, BorderLayout.CENTER); c.validate(); }
| 3,233,470
|
public List childNodes() { return Collections.EMPTY_LIST; }
|
public List childNodes() { return EMPTY_LIST; }
| 3,233,471
|
public void processAction(ActionEvent event) { UIComponent link = event.getComponent(); ArticleBlock ab = null; String id = WFUtil.getParameter(link, "id"); UIComponent component = link.getParent().getParent().getParent().findComponent(MAIN_TASKBAR_ID); if(component instanceof WFTabbedPane){ WFTabbedPane tb = (WFTabbedPane) component; tb.setSelectedMenuItemId(TASK_ID_EDIT); ab = (ArticleBlock) tb.findComponent(ArticleBlock.ARTICLE_BLOCK_ID); ab.setEditMode(); } WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "clear"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setLocaleId", "sv"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setHeadline", "headline"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setBody", id); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setAuthor", "author"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setComment", "comment"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setDescription", "description"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setSource", "source"); if (link.getId().equals(ArticleListBean.ARTICLE_ID)) { WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setStatus", ContentItemCase.STATUS_PUBLISHED); } else { WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setStatus", ContentItemCase.STATUS_UNDER_REVIEW); } WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setMainCategoryId", new Integer(3)); if(ab!=null){ ab.updateEditButtons(); } }
|
public void processAction(ActionEvent event) { UIComponent link = event.getComponent(); ArticleBlock ab = null; String id = WFUtil.getParameter(link, "id"); UIComponent component = link.getParent().getParent().getParent().findComponent(MAIN_TASKBAR_ID); if(component instanceof WFTabbedPane){ WFTabbedPane tb = (WFTabbedPane) component; tb.setSelectedMenuItemId(TASK_ID_EDIT); ab = (ArticleBlock) tb.findComponent(ArticleBlock.ARTICLE_BLOCK_ID); ab.setEditMode(); } WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "clear"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setLocaleId", "sv"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setHeadline", "headline"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setBody", id); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setAuthor", "author"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setComment", "comment"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setDescription", "description"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setSource", "source"); if (link.getId().equals(ArticleListBean.ARTICLE_ID)) { WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setStatus", ContentItemCase.STATUS_PUBLISHED); } else { WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setStatus", ContentItemCase.STATUS_UNDER_REVIEW); } WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setMainCategoryId", new Integer(3)); if(ab!=null){ ab.updateEditButtons(); } }
| 3,233,472
|
public void processAction(ActionEvent event) { UIComponent link = event.getComponent(); ArticleBlock ab = null; String id = WFUtil.getParameter(link, "id"); UIComponent component = link.getParent().getParent().getParent().findComponent(MAIN_TASKBAR_ID); if(component instanceof WFTabbedPane){ WFTabbedPane tb = (WFTabbedPane) component; tb.setSelectedMenuItemId(TASK_ID_EDIT); ab = (ArticleBlock) tb.findComponent(ArticleBlock.ARTICLE_BLOCK_ID); ab.setEditMode(); } WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "clear"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setLocaleId", "sv"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setHeadline", "headline"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setBody", id); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setAuthor", "author"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setComment", "comment"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setDescription", "description"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setSource", "source"); if (link.getId().equals(ArticleListBean.ARTICLE_ID)) { WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setStatus", ContentItemCase.STATUS_PUBLISHED); } else { WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setStatus", ContentItemCase.STATUS_UNDER_REVIEW); } WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setMainCategoryId", new Integer(3)); if(ab!=null){ ab.updateEditButtons(); } }
|
public void processAction(ActionEvent event) { UIComponent link = event.getComponent(); ArticleBlock ab = null; String id = WFUtil.getParameter(link, "id"); UIComponent component = link.getParent().getParent().getParent().findComponent(MAIN_TASKBAR_ID); if(component instanceof WFTabbedPane){ WFTabbedPane tb = (WFTabbedPane) component; tb.setSelectedMenuItemId(TASK_ID_EDIT); ab = (ArticleBlock) tb.findComponent(ArticleBlock.ARTICLE_BLOCK_ID); ab.setEditMode(); } WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "clear"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setLocaleId", "sv"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setHeadline", "headline"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setBody", id); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setAuthor", "author"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setComment", "comment"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setDescription", "description"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setSource", "source"); if (link.getId().equals(ArticleListBean.ARTICLE_ID)) { WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setStatus", ContentItemCase.STATUS_PUBLISHED); } else { WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setStatus", ContentItemCase.STATUS_UNDER_REVIEW); } WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setMainCategoryId", new Integer(3)); if(ab!=null){ ab.updateEditButtons(); } }
| 3,233,473
|
public static Object constructYamlTimestamp(final Constructor ctor, final Node node) { return ((JRubyConstructor)ctor).runtime.newTime(((Date)SafeConstructorImpl.constructYamlTimestamp(ctor,node)).getTime()); }
|
public static Object constructYamlTimestamp(final Constructor ctor, final Node node) { return ((JRubyConstructor)ctor).runtime.newTime(((Date)SafeConstructorImpl.constructYamlTimestamp(ctor,node)).getTime()).callMethod(((JRubyConstructor)ctor).runtime.getCurrentContext(),"utc"); }
| 3,233,475
|
public ILink[] link(ILink[] arg0, Map arg1) { ILink[] retVal = (ILink[])iUpdate.saveAndReturnArray(arg0); collectCounts( retVal, new PojoOptions(arg1) ); return retVal; }
|
public ILink[] link(ILink[] arg0, Map arg1) { ILink[] retVal = (ILink[])iUpdate.saveAndReturnArray(arg0); collectCounts( retVal, new PojoOptions(arg1) ); return retVal; }
| 3,233,476
|
public InputSource resolveEntity(String publicId, String systemId) throws SAXException { // If the requested entity is our cobertura DTD, then use the local // version instead of the remote version try { if (systemId.equals(coverageDTD)) return new InputSource(new FileInputStream(localDTD)); } catch (FileNotFoundException e) { System.out.println("Unable to open local DTD file " + localDTD.getAbsolutePath() + ", using " + systemId + " instead."); } return super.resolveEntity(publicId, systemId); }
|
public InputSource resolveEntity(String publicId, String systemId) throws SAXException { // If the requested entity is our cobertura DTD, then use the local // version instead of the remote version try { if (systemId.equals(coverageDTD)) return new InputSource(new FileInputStream(localDTD)); } catch (FileNotFoundException e) { System.out.println("Unable to open local DTD file " + localDTD.getAbsolutePath() + ", using " + systemId + " instead."); } return super.resolveEntity(publicId, systemId); }
| 3,233,477
|
private void endSelectionHandler() { double s = model.getWindowStart(); double val = Double.parseDouble(endField.getText()); if (val == model.getWindowEnd()) return; if (startFieldValid()) { controller.setInputInterval(s, val, true); onCurveChange(); } else { startField.selectAll(); UserNotifier un = ImViewerAgent.getRegistry().getUserNotifier(); un.notifyInfo("Invalid pixels intensity interval", "["+val+","+s+"]"); } }
|
private void endSelectionHandler() { double s = model.getWindowStart(); double val = Double.parseDouble(endField.getText()); if (val == model.getWindowEnd()) return; if (endFieldValid()) { controller.setInputInterval(s, val, true); onCurveChange(); } else { startField.selectAll(); UserNotifier un = ImViewerAgent.getRegistry().getUserNotifier(); un.notifyInfo("Invalid pixels intensity interval", "["+val+","+s+"]"); } }
| 3,233,478
|
private void endSelectionHandler() { double s = model.getWindowStart(); double val = Double.parseDouble(endField.getText()); if (val == model.getWindowEnd()) return; if (startFieldValid()) { controller.setInputInterval(s, val, true); onCurveChange(); } else { startField.selectAll(); UserNotifier un = ImViewerAgent.getRegistry().getUserNotifier(); un.notifyInfo("Invalid pixels intensity interval", "["+val+","+s+"]"); } }
|
private void endSelectionHandler() { double s = model.getWindowStart(); double val = Double.parseDouble(endField.getText()); if (val == model.getWindowEnd()) return; if (startFieldValid()) { controller.setInputInterval(s, val, true); onCurveChange(); } else { endField.selectAll(); UserNotifier un = ImViewerAgent.getRegistry().getUserNotifier(); un.notifyInfo("Invalid pixels intensity interval", "["+val+","+s+"]"); } }
| 3,233,479
|
private void endSelectionHandler() { double s = model.getWindowStart(); double val = Double.parseDouble(endField.getText()); if (val == model.getWindowEnd()) return; if (startFieldValid()) { controller.setInputInterval(s, val, true); onCurveChange(); } else { startField.selectAll(); UserNotifier un = ImViewerAgent.getRegistry().getUserNotifier(); un.notifyInfo("Invalid pixels intensity interval", "["+val+","+s+"]"); } }
|
private void endSelectionHandler() { double s = model.getWindowStart(); double val = Double.parseDouble(endField.getText()); if (val == model.getWindowEnd()) return; if (startFieldValid()) { controller.setInputInterval(s, val, true); onCurveChange(); } else { startField.selectAll(); UserNotifier un = ImViewerAgent.getRegistry().getUserNotifier(); un.notifyInfo("Invalid pixels intensity interval", "["+s+","+val+"]"); } }
| 3,233,480
|
public void focusLost(FocusEvent fe) { if (fe.getSource() == startField) if (startFieldValid()) startSelectionHandler(); else { UserNotifier un = ImViewerAgent.getRegistry().getUserNotifier(); un.notifyInfo("Invalid pixels intensity interval", "["+startField.getText()+","+model.getWindowEnd()+"]"); startField.setText(model.getWindowStart()+""); } if (fe.getSource() == endField) if (endFieldValid()) endSelectionHandler(); else { UserNotifier un = ImViewerAgent.getRegistry().getUserNotifier(); un.notifyInfo("Invalid pixels intensity interval", "["+model.getWindowStart()+","+endField.getText()+"]"); endField.setText(model.getWindowEnd()+""); } }
|
public void focusLost(FocusEvent fe) { if (fe.getSource() == startField) if (startFieldValid()) startSelectionHandler(); else { UserNotifier un = ImViewerAgent.getRegistry().getUserNotifier(); un.notifyInfo("Invalid pixels intensity interval", "["+startField.getText()+","+model.getWindowEnd()+"]"); startField.setText(model.getWindowStart()+""); } if (fe.getSource() == endField) if (endFieldValid()) endSelectionHandler(); else { UserNotifier un = ImViewerAgent.getRegistry().getUserNotifier(); un.notifyInfo("Invalid pixels intensity interval", "["+model.getWindowStart()+","+endField.getText()+"]"); endField.setText(model.getWindowEnd()+""); } }
| 3,233,481
|
public void focusLost(FocusEvent fe) { if (fe.getSource() == startField) if (startFieldValid()) startSelectionHandler(); else { UserNotifier un = ImViewerAgent.getRegistry().getUserNotifier(); un.notifyInfo("Invalid pixels intensity interval", "["+startField.getText()+","+model.getWindowEnd()+"]"); startField.setText(model.getWindowStart()+""); } if (fe.getSource() == endField) if (endFieldValid()) endSelectionHandler(); else { UserNotifier un = ImViewerAgent.getRegistry().getUserNotifier(); un.notifyInfo("Invalid pixels intensity interval", "["+model.getWindowStart()+","+endField.getText()+"]"); endField.setText(model.getWindowEnd()+""); } }
|
public void focusLost(FocusEvent fe) { if (fe.getSource() == startField) if (startFieldValid()) startSelectionHandler(); else { UserNotifier un = ImViewerAgent.getRegistry().getUserNotifier(); un.notifyInfo("Invalid pixels intensity interval", "["+startField.getText()+","+model.getWindowEnd()+"]"); startField.setText(model.getWindowStart()+""); } if (fe.getSource() == endField) if (endFieldValid()) endSelectionHandler(); else { UserNotifier un = ImViewerAgent.getRegistry().getUserNotifier(); un.notifyInfo("Invalid pixels intensity interval", "["+model.getWindowStart()+","+endField.getText()+"]"); endField.setText(model.getWindowEnd()+""); } }
| 3,233,482
|
public void focusLost(FocusEvent fe) { if (fe.getSource() == startField) if (startFieldValid()) startSelectionHandler(); else { UserNotifier un = ImViewerAgent.getRegistry().getUserNotifier(); un.notifyInfo("Invalid pixels intensity interval", "["+startField.getText()+","+model.getWindowEnd()+"]"); startField.setText(model.getWindowStart()+""); } if (fe.getSource() == endField) if (endFieldValid()) endSelectionHandler(); else { UserNotifier un = ImViewerAgent.getRegistry().getUserNotifier(); un.notifyInfo("Invalid pixels intensity interval", "["+model.getWindowStart()+","+endField.getText()+"]"); endField.setText(model.getWindowEnd()+""); } }
|
publicvoidfocusLost(FocusEventfe){if(fe.getSource()==startField) if(startFieldValid())startSelectionHandler(); else { UserNotifierun=ImViewerAgent.getRegistry().getUserNotifier(); un.notifyInfo("Invalidpixelsintensityinterval","["+startField.getText()+","+model.getWindowEnd()+"]"); startField.setText(model.getWindowStart()+""); } if(fe.getSource()==endField) if(endFieldValid())endSelectionHandler(); else { UserNotifierun=ImViewerAgent.getRegistry().getUserNotifier(); un.notifyInfo("Invalidpixelsintensityinterval","["+model.getWindowStart()+","+endField.getText()+"]"); endField.setText(model.getWindowEnd()+""); } }
| 3,233,483
|
public Transports(final XMPPConnection con) { setLayout(new GridBagLayout()); list = new JList(model); // Use JPanel Renderer list.setCellRenderer(new JPanelRenderer()); TitlePanel titlePanel = new TitlePanel(Res.getString("title.available.transports"), Res.getString("message.register.transports"), null, true); add(titlePanel, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0, GridBagConstraints.NORTH, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0)); final JScrollPane pane = new JScrollPane(list); add(pane, new GridBagConstraints(0, 1, 1, 1, 1.0, 1.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0)); list.addMouseListener(new MouseAdapter() { public void mouseClicked(MouseEvent e) { if (e.getClickCount() == 2) { TransportItem item = (TransportItem)list.getSelectedValue(); Presence presence = con.getRoster().getPresence(item.getTransport().getServiceName()); boolean registered = presence != null && presence.getMode() != null; if (registered) { int confirm = JOptionPane.showConfirmDialog(item, Res.getString("message.disable.transport"), Res.getString("title.disable.transport"), JOptionPane.YES_NO_OPTION); if (confirm == JOptionPane.YES_OPTION) { try { TransportManager.unregister(con, item.getTransport().getServiceName()); } catch (XMPPException e1) { e1.printStackTrace(); } } } else { // registrationDialog.registerWithService(con, item.getTransport().getServiceName()); } } } }); for (Transport transport : TransportManager.getTransports()) { final TransportItem transportItem = new TransportItem(transport, TransportManager.isRegistered(con, transport), transport.getServiceName()); model.addElement(transportItem); } }
|
public Transports(final XMPPConnection con) { setLayout(new GridBagLayout()); list = new JList(model); // Use JPanel Renderer list.setCellRenderer(new JPanelRenderer()); TitlePanel titlePanel = new TitlePanel(Res.getString("title.available.transports"), Res.getString("message.register.transports"), null, true); add(titlePanel, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0, GridBagConstraints.NORTH, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0)); final JScrollPane pane = new JScrollPane(list); add(pane, new GridBagConstraints(0, 1, 1, 1, 1.0, 1.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0)); list.addMouseListener(new MouseAdapter() { public void mouseClicked(MouseEvent e) { if (e.getClickCount() == 2) { TransportItem item = (TransportItem)list.getSelectedValue(); Presence presence = con.getRoster().getPresence(item.getTransport().getServiceName()); boolean registered = presence != null && presence.getMode() != null; if (registered) { int confirm = JOptionPane.showConfirmDialog(item, Res.getString("message.disable.transport"), Res.getString("title.disable.transport"), JOptionPane.YES_NO_OPTION); if (confirm == JOptionPane.YES_OPTION) { try { TransportUtils.unregister(con, item.getTransport().getServiceName()); } catch (XMPPException e1) { e1.printStackTrace(); } } } else { // registrationDialog.registerWithService(con, item.getTransport().getServiceName()); } } } }); for (Transport transport : TransportManager.getTransports()) { final TransportItem transportItem = new TransportItem(transport, TransportManager.isRegistered(con, transport), transport.getServiceName()); model.addElement(transportItem); } }
| 3,233,484
|
public Transports(final XMPPConnection con) { setLayout(new GridBagLayout()); list = new JList(model); // Use JPanel Renderer list.setCellRenderer(new JPanelRenderer()); TitlePanel titlePanel = new TitlePanel(Res.getString("title.available.transports"), Res.getString("message.register.transports"), null, true); add(titlePanel, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0, GridBagConstraints.NORTH, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0)); final JScrollPane pane = new JScrollPane(list); add(pane, new GridBagConstraints(0, 1, 1, 1, 1.0, 1.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0)); list.addMouseListener(new MouseAdapter() { public void mouseClicked(MouseEvent e) { if (e.getClickCount() == 2) { TransportItem item = (TransportItem)list.getSelectedValue(); Presence presence = con.getRoster().getPresence(item.getTransport().getServiceName()); boolean registered = presence != null && presence.getMode() != null; if (registered) { int confirm = JOptionPane.showConfirmDialog(item, Res.getString("message.disable.transport"), Res.getString("title.disable.transport"), JOptionPane.YES_NO_OPTION); if (confirm == JOptionPane.YES_OPTION) { try { TransportManager.unregister(con, item.getTransport().getServiceName()); } catch (XMPPException e1) { e1.printStackTrace(); } } } else { // registrationDialog.registerWithService(con, item.getTransport().getServiceName()); } } } }); for (Transport transport : TransportManager.getTransports()) { final TransportItem transportItem = new TransportItem(transport, TransportManager.isRegistered(con, transport), transport.getServiceName()); model.addElement(transportItem); } }
|
public Transports(final XMPPConnection con) { setLayout(new GridBagLayout()); list = new JList(model); // Use JPanel Renderer list.setCellRenderer(new JPanelRenderer()); TitlePanel titlePanel = new TitlePanel(Res.getString("title.available.transports"), Res.getString("message.register.transports"), null, true); add(titlePanel, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0, GridBagConstraints.NORTH, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0)); final JScrollPane pane = new JScrollPane(list); add(pane, new GridBagConstraints(0, 1, 1, 1, 1.0, 1.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0)); list.addMouseListener(new MouseAdapter() { public void mouseClicked(MouseEvent e) { if (e.getClickCount() == 2) { TransportItem item = (TransportItem)list.getSelectedValue(); Presence presence = con.getRoster().getPresence(item.getTransport().getServiceName()); boolean registered = presence != null && presence.getMode() != null; if (registered) { int confirm = JOptionPane.showConfirmDialog(item, Res.getString("message.disable.transport"), Res.getString("title.disable.transport"), JOptionPane.YES_NO_OPTION); if (confirm == JOptionPane.YES_OPTION) { try { TransportManager.unregister(con, item.getTransport().getServiceName()); } catch (XMPPException e1) { e1.printStackTrace(); } } } else { // registrationDialog.registerWithService(con, item.getTransport().getServiceName()); } } } }); for (Transport transport : TransportManager.getTransports()) { final TransportItem transportItem = new TransportItem(transport, TransportManager.isRegistered(con, transport), transport.getServiceName()); model.addElement(transportItem); } }
| 3,233,485
|
public void mouseClicked(MouseEvent e) { if (e.getClickCount() == 2) { TransportItem item = (TransportItem)list.getSelectedValue(); Presence presence = con.getRoster().getPresence(item.getTransport().getServiceName()); boolean registered = presence != null && presence.getMode() != null; if (registered) { int confirm = JOptionPane.showConfirmDialog(item, Res.getString("message.disable.transport"), Res.getString("title.disable.transport"), JOptionPane.YES_NO_OPTION); if (confirm == JOptionPane.YES_OPTION) { try { TransportManager.unregister(con, item.getTransport().getServiceName()); } catch (XMPPException e1) { e1.printStackTrace(); } } } else { // registrationDialog.registerWithService(con, item.getTransport().getServiceName()); } } }
|
public void mouseClicked(MouseEvent e) { if (e.getClickCount() == 2) { TransportItem item = (TransportItem)list.getSelectedValue(); Presence presence = con.getRoster().getPresence(item.getTransport().getServiceName()); boolean registered = presence != null && presence.getMode() != null; if (registered) { int confirm = JOptionPane.showConfirmDialog(item, Res.getString("message.disable.transport"), Res.getString("title.disable.transport"), JOptionPane.YES_NO_OPTION); if (confirm == JOptionPane.YES_OPTION) { try { TransportUtils.unregister(con, item.getTransport().getServiceName()); } catch (XMPPException e1) { e1.printStackTrace(); } } } else { // registrationDialog.registerWithService(con, item.getTransport().getServiceName()); } } }
| 3,233,486
|
public String toString(){ return "ImageAnnotation"+(attributeId==null ? ":Hash"+this.hashCode() : ":"+attributeId); }
|
public String toString(){ return "ImageAnnotation"+(attributeId==null ? ":Hash_"+this.hashCode() : ":Id_"+attributeId); }
| 3,233,487
|
public Broker() throws InitException { this(fileSettings(WEBMACRO_PROPERTIES,null), WEBMACRO_PROPERTIES, null); }
|
public Broker() throws InitException { this(fileSettings(WEBMACRO_PROPERTIES), WEBMACRO_PROPERTIES); }
| 3,233,488
|
static private Settings fileSettings(String name, ClassLoader cl) throws InitException { try { Settings s = initSettings(cl); s.load(name,cl); return s; } catch (IOException e) { throw new InitException("Error reading from " + name, e); } }
|
static private Settings fileSettings(String name) throws InitException { try { Settings s = initSettings(cl); s.load(name,cl); return s; } catch (IOException e) { throw new InitException("Error reading from " + name, e); } }
| 3,233,489
|
static private Settings fileSettings(String name, ClassLoader cl) throws InitException { try { Settings s = initSettings(cl); s.load(name,cl); return s; } catch (IOException e) { throw new InitException("Error reading from " + name, e); } }
|
static private Settings fileSettings(String name, ClassLoader cl) throws InitException { try { Settings s = initSettings(cl); s.load(name,cl); return s; } catch (IOException e) { throw new InitException("Error reading from " + name, e); } }
| 3,233,490
|
static private Settings initSettings(ClassLoader cl) throws InitException { Settings defaults = new Settings(); try { defaults.load(WEBMACRO_DEFAULTS,cl); } catch (java.io.IOException e) { throw new InitException("IO Error reading " + WEBMACRO_DEFAULTS, e); } return new Settings(defaults); }
|
static private Settings initSettings() throws InitException { Settings defaults = new Settings(); try { defaults.load(WEBMACRO_DEFAULTS,cl); } catch (java.io.IOException e) { throw new InitException("IO Error reading " + WEBMACRO_DEFAULTS, e); } return new Settings(defaults); }
| 3,233,491
|
static private Settings initSettings(ClassLoader cl) throws InitException { Settings defaults = new Settings(); try { defaults.load(WEBMACRO_DEFAULTS,cl); } catch (java.io.IOException e) { throw new InitException("IO Error reading " + WEBMACRO_DEFAULTS, e); } return new Settings(defaults); }
|
static private Settings initSettings(ClassLoader cl) throws InitException { Settings defaults = new Settings(); try { defaults.load(WEBMACRO_DEFAULTS); } catch (java.io.IOException e) { throw new InitException("IO Error reading " + WEBMACRO_DEFAULTS, e); } return new Settings(defaults); }
| 3,233,492
|
static private Settings urlSettings(URL u, ClassLoader cl) throws InitException { try { Settings s = initSettings(cl); s.load(u); return s; } catch (IOException e) { throw new InitException("Error reading from " + u.toString(), e); } }
|
static private Settings urlSettings(URL u) throws InitException { try { Settings s = initSettings(cl); s.load(u); return s; } catch (IOException e) { throw new InitException("Error reading from " + u.toString(), e); } }
| 3,233,493
|
static private Settings urlSettings(URL u, ClassLoader cl) throws InitException { try { Settings s = initSettings(cl); s.load(u); return s; } catch (IOException e) { throw new InitException("Error reading from " + u.toString(), e); } }
|
static private Settings urlSettings(URL u, ClassLoader cl) throws InitException { try { Settings s = initSettings(); s.load(u); return s; } catch (IOException e) { throw new InitException("Error reading from " + u.toString(), e); } }
| 3,233,494
|
private static String getVersion() { if (version == null) { try { Class cl = Class.forName("org.springframework.beans.factory.xml.BeanDefinitionParserDelegate"); try { cl.getMethod("parsePropertyElements", new Class[] { Element.class, BeanDefinition.class }); version = "v2b"; } catch (NoSuchMethodException e) { version = "v2a"; } } catch (Throwable e) { throw (IllegalStateException) new IllegalStateException("Could not create namespace handler for: " + version).initCause(e); } } return version; }
|
private static String getVersion() { if (version == null) { try { try { cl.getMethod("parsePropertyElements", new Class[] { Element.class, BeanDefinition.class }); version = "v2b"; } catch (NoSuchMethodException e) { version = "v2a"; } } catch (Throwable e) { throw (IllegalStateException) new IllegalStateException("Could not create namespace handler for: " + version).initCause(e); } } return version; }
| 3,233,495
|
private static String getVersion() { if (version == null) { try { Class cl = Class.forName("org.springframework.beans.factory.xml.BeanDefinitionParserDelegate"); try { cl.getMethod("parsePropertyElements", new Class[] { Element.class, BeanDefinition.class }); version = "v2b"; } catch (NoSuchMethodException e) { version = "v2a"; } } catch (Throwable e) { throw (IllegalStateException) new IllegalStateException("Could not create namespace handler for: " + version).initCause(e); } } return version; }
|
private static String getVersion() { if (version == null) { try { Class cl = Class.forName("org.springframework.beans.factory.xml.BeanDefinitionParserDelegate"); try { cl.getMethod("parsePropertyElements", new Class[] { Element.class, BeanDefinition.class }); version = "v2b"; } catch (NoSuchMethodException e) { version = "v2a"; } } catch (Throwable e) { throw (IllegalStateException) new IllegalStateException("Could not create namespace handler for: " + version).initCause(e); } } return version; }
| 3,233,496
|
public ROIStatsSaver(ROIStatsMng mng, ROIAgtCtrl control) { super(control.getReferenceFrame(), "Save ROI results", true); manager = new ROIStatsSaverMng(this, mng, control); buildGUI(IconManager.getInstance(control.getRegistry())); pack(); UIUtilities.centerAndShow(this); }
|
public ROIStatsSaver(ROIStatsMng mng, ROIAgtCtrl control) { super(control.getReferenceFrame(), "Save ROI results", true); manager = new ROIStatsSaverMng(this, mng, control); buildGUI(IconManager.getInstance(control.getRegistry())); pack(); }
| 3,233,497
|
protected RubyObject invokeMethod(RubyObject recv, Object[] methodArgs, Ruby ruby) { if (restArgs) { RubyObject[] restArray = new RubyObject[methodArgs.length - (args.length - 1)]; Object[] newMethodArgs = new Object[args.length]; try { System.arraycopy(methodArgs, args.length - 1, restArray, 0, methodArgs.length - (args.length - 1)); } catch (ArrayIndexOutOfBoundsException aioobExcptn) { throw new RuntimeException("Cannot call \"" + methodName + "\" in class \"" + klass.getName() + "\". " + getExceptedArgsString((RubyObject[])methodArgs)); } System.arraycopy(methodArgs, 0, newMethodArgs, 0, args.length - 1); newMethodArgs[args.length - 1] = restArray; methodArgs = newMethodArgs; } if (staticMethod) { Object[] newMethodArgs = new Object[methodArgs.length + 2]; System.arraycopy(methodArgs, 0, newMethodArgs, 2, methodArgs.length); newMethodArgs[0] = ruby; newMethodArgs[1] = recv; methodArgs = newMethodArgs; } try { return (RubyObject)getMethod().invoke(staticMethod ? null : recv, methodArgs); } catch (InvocationTargetException itExcptn) { if (itExcptn.getTargetException() instanceof RaiseException) { throw (RaiseException)itExcptn.getTargetException(); } else { itExcptn.getTargetException().printStackTrace(); return ruby.getNil(); } } catch (IllegalAccessException iaExcptn) { throw new RaiseException(ruby, "RuntimeError", iaExcptn.getMessage()); } catch (IllegalArgumentException iaExcptn) { throw new RaiseException(ruby, "RuntimeError", iaExcptn.getMessage()); } }
|
protected RubyObject invokeMethod(RubyObject recv, Object[] methodArgs, Ruby ruby) { if (restArgs) { RubyObject[] restArray = new RubyObject[methodArgs.length - (args.length - 1)]; Object[] newMethodArgs = new Object[args.length]; try { System.arraycopy(methodArgs, args.length - 1, restArray, 0, methodArgs.length - (args.length - 1)); } catch (ArrayIndexOutOfBoundsException aioobExcptn) { throw new RuntimeException("Cannot call \"" + methodName + "\" in class \"" + klass.getName() + "\". " + getExceptedArgsString((RubyObject[])methodArgs)); } System.arraycopy(methodArgs, 0, newMethodArgs, 0, args.length - 1); newMethodArgs[args.length - 1] = restArray; methodArgs = newMethodArgs; } if (staticMethod) { Object[] newMethodArgs = new Object[methodArgs.length + 2]; System.arraycopy(methodArgs, 0, newMethodArgs, 2, methodArgs.length); newMethodArgs[0] = ruby; newMethodArgs[1] = recv; methodArgs = newMethodArgs; } try { return (RubyObject)getMethod().invoke(staticMethod ? null : recv, methodArgs); } catch (InvocationTargetException itExcptn) { if (itExcptn.getTargetException() instanceof RaiseException) { throw (RaiseException)itExcptn.getTargetException(); } else { itExcptn.getTargetException().printStackTrace(); return ruby.getNil(); } } catch (IllegalAccessException iaExcptn) { throw new RaiseException(ruby, "RuntimeError", iaExcptn.getMessage()); } catch (IllegalArgumentException iaExcptn) { throw new RaiseException(ruby, "RuntimeError", iaExcptn.getMessage()); } }
| 3,233,498
|
protected RubyObject invokeMethod(RubyObject recv, Object[] methodArgs, Ruby ruby) { if (restArgs) { RubyObject[] restArray = new RubyObject[methodArgs.length - (args.length - 1)]; Object[] newMethodArgs = new Object[args.length]; try { System.arraycopy(methodArgs, args.length - 1, restArray, 0, methodArgs.length - (args.length - 1)); } catch (ArrayIndexOutOfBoundsException aioobExcptn) { throw new RuntimeException("Cannot call \"" + methodName + "\" in class \"" + klass.getName() + "\". " + getExceptedArgsString((RubyObject[])methodArgs)); } System.arraycopy(methodArgs, 0, newMethodArgs, 0, args.length - 1); newMethodArgs[args.length - 1] = restArray; methodArgs = newMethodArgs; } if (staticMethod) { Object[] newMethodArgs = new Object[methodArgs.length + 2]; System.arraycopy(methodArgs, 0, newMethodArgs, 2, methodArgs.length); newMethodArgs[0] = ruby; newMethodArgs[1] = recv; methodArgs = newMethodArgs; } try { return (RubyObject)getMethod().invoke(staticMethod ? null : recv, methodArgs); } catch (InvocationTargetException itExcptn) { if (itExcptn.getTargetException() instanceof RaiseException) { throw (RaiseException)itExcptn.getTargetException(); } else { itExcptn.getTargetException().printStackTrace(); return ruby.getNil(); } } catch (IllegalAccessException iaExcptn) { throw new RaiseException(ruby, "RuntimeError", iaExcptn.getMessage()); } catch (IllegalArgumentException iaExcptn) { throw new RaiseException(ruby, "RuntimeError", iaExcptn.getMessage()); } }
|
protected RubyObject invokeMethod(RubyObject recv, Object[] methodArgs, Ruby ruby) { if (restArgs) { RubyObject[] restArray = new RubyObject[methodArgs.length - (args.length - 1)]; Object[] newMethodArgs = new Object[args.length]; try { System.arraycopy(methodArgs, args.length - 1, restArray, 0, methodArgs.length - (args.length - 1)); } catch (ArrayIndexOutOfBoundsException aioobExcptn) { throw new RuntimeException("Cannot call \"" + methodName + "\" in class \"" + klass.getName() + "\". " + getExceptedArgsString((RubyObject[])methodArgs)); } System.arraycopy(methodArgs, 0, newMethodArgs, 0, args.length - 1); newMethodArgs[args.length - 1] = restArray; methodArgs = newMethodArgs; } if (staticMethod) { Object[] newMethodArgs = new Object[methodArgs.length + 2]; System.arraycopy(methodArgs, 0, newMethodArgs, 2, methodArgs.length); newMethodArgs[0] = ruby; newMethodArgs[1] = recv; methodArgs = newMethodArgs; } try { return (RubyObject)getMethod().invoke(staticMethod ? null : recv, methodArgs); } catch (InvocationTargetException itExcptn) { if (itExcptn.getTargetException() instanceof RaiseException) { throw (RaiseException)itExcptn.getTargetException(); } else { itExcptn.getTargetException().printStackTrace(); return ruby.getNil(); } } catch (IllegalAccessException iaExcptn) { throw new RaiseException(ruby, "RuntimeError", iaExcptn.getMessage()); } catch (IllegalArgumentException iaExcptn) { throw new RaiseException(ruby, "RuntimeError", iaExcptn.getMessage()); } }
| 3,233,499
|
protected void testArgsCount(Ruby ruby, RubyObject[] methodArgs) { if (restArgs) { if (methodArgs.length < (args.length -1)) { throw new RubyArgumentException(ruby, getExceptedArgsString(methodArgs)); } } else { if (methodArgs.length != args.length) { throw new RubyArgumentException(ruby, getExceptedArgsString(methodArgs)); } } }
|
protected void testArgsCount(Ruby ruby, RubyObject[] methodArgs) { if (restArgs) { if (methodArgs.length < (args.length -1)) { throw new RubyArgumentException(ruby, getExceptedArgsString(methodArgs)); } } else { if (methodArgs.length != args.length) { throw new RubyArgumentException(ruby, getExceptedArgsString(methodArgs)); } } }
| 3,233,500
|
public void setZoomFactor(double factor) { if (factor != -1) { if (factor > ZoomAction.MAX_ZOOM_FACTOR || factor < ZoomAction.MIN_ZOOM_FACTOR) throw new IllegalArgumentException("The zoom factor is value " + "between "+ZoomAction.MIN_ZOOM_FACTOR+" and "+ ZoomAction.MAX_ZOOM_FACTOR); model.setZoomFitToWindow(false); model.setZoomFactor(factor); } else { model.setZoomFitToWindow(true); model.setZoomFactor(factor); } if (view.isLensVisible()) view.setImageZoomFactor((float) model.getZoomFactor()); }
|
public void setZoomFactor(double factor) { if (factor != -1) { if (factor > ZoomAction.MAX_ZOOM_FACTOR || factor < ZoomAction.MIN_ZOOM_FACTOR) throw new IllegalArgumentException("The zoom factor is value " + "between "+ZoomAction.MIN_ZOOM_FACTOR+" and "+ ZoomAction.MAX_ZOOM_FACTOR); model.setZoomFitToWindow(false); model.setZoomFactor(factor); } else { model.setZoomFitToWindow(true); model.setZoomFactor(factor); } if (view.isLensVisible()) { view.setImageZoomFactor((float) model.getZoomFactor()); }
| 3,233,501
|
private void writeChars(char[] cbuf, int offset, int len) throws IOException { try { if (_asciiHack) { // cheat while (len > 0) { int max = (len < _BSIZE) ? len : _BSIZE; for (int i = 0; i < max; i++) { _bbuf[i] = (byte) cbuf[i + offset]; } _out.write(_bbuf,0,max); len -= max; offset += max; } } else { // slow, but correct int nextC = 0; while (nextC < _cpos) { nextC += _c2b.convert(cbuf,nextC,_cpos,_bbuf,0,_BSIZE); _out.write(_bbuf, 0, _c2b.nextByteIndex()); } } } catch (Exception e) { throw new IOException("Unicode conversion error: " + e); } finally { _c2b.reset(); } }
|
private void writeChars(char[] cbuf, int offset, int len) throws IOException { try { if (_asciiHack) { // cheat while (len > 0) { int max = (len < _BSIZE) ? len : _BSIZE; for (int i = 0; i < max; i++) { _bbuf[i] = (byte) cbuf[i + offset]; } _out.write(_bbuf,0,max); len -= max; offset += max; } } else { // slow, but correct int nextC = 0; while (nextC < _cpos) { nextC += _c2b.convert(cbuf,nextC,_cpos,_bbuf,0,_BSIZE); _out.write(_bbuf, 0, _c2b.nextByteIndex()); } } } catch (Exception e) { throw new IOException("Unicode conversion error: " + e); } finally { _c2b.reset(); } }
| 3,233,503
|
public RenderingDef retrieveRndSettings(final long pixId) { final Long userId = CurrentDetails.getOwner().getId(); return (RenderingDef) iQuery.findByQuery( " select rdef from RenderingDef rdef where " + " rdef.pixels.id = :pixid and rdef.details.owner.id = :ownerid", new Parameters().addLong("pixid",pixId).addLong("ownerid",userId)); }
|
public RenderingDef retrieveRndSettings(final long pixId) { final Long userId = securitySystem.currentUserId(); return (RenderingDef) iQuery.findByQuery( " select rdef from RenderingDef rdef where " + " rdef.pixels.id = :pixid and rdef.details.owner.id = :ownerid", new Parameters().addLong("pixid",pixId).addLong("ownerid",userId)); }
| 3,233,504
|
public static IRubyObject define_finalizer(IRubyObject recv, IRubyObject[] args) { // Put in to fake tempfile.rb out. return recv; }
|
public static IRubyObject define_finalizer(IRubyObject recv, IRubyObject[] args) { // Put in to fake tempfile.rb out. return recv; }
| 3,233,506
|
public Main loadMain() { if (serverBaseDirectory == null) { throw new NullPointerException("serverBaseDirectory is null"); } File baseDirectory = new File(serverBaseDirectory); if (!baseDirectory.isDirectory()) { throw new IllegalArgumentException("serverBaseDirectory is not a directory: " + serverBaseDirectory); } if (configurationFile == null) { throw new NullPointerException("configurationFile is null"); } ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader(); Thread.currentThread().setContextClassLoader(SpringBootstrap.class.getClassLoader()); try { // add our property editors into the system if (propertyEditorPaths != null && !propertyEditorPaths.isEmpty()) { List editorSearchPath = new LinkedList(Arrays.asList(PropertyEditorManager.getEditorSearchPath())); editorSearchPath.addAll(propertyEditorPaths); PropertyEditorManager.setEditorSearchPath((String[]) editorSearchPath.toArray(new String[editorSearchPath.size()])); } // set the server base directory system property System.setProperty("xbean.base.dir", baseDirectory.getAbsolutePath()); // load the configuration file SpringApplicationContext factory; File file = new File(baseDirectory.toURI().resolve(configurationFile)); if (file.canRead()) { try { // configuration file is on the local file system factory = new FileSystemXmlApplicationContext(file.toURL().toString()); } catch (MalformedURLException e) { throw new FatalStartupError("Error creating url for bootstrap file", e); } } else { // assume it is a classpath resource factory = new ClassPathXmlApplicationContext(configurationFile); } // get the main service from the configuration file String[] names = factory.getBeanNamesForType(Main.class); Main main = null; if (names.length == 0) { throw new FatalStartupError("No bean of type: " + Main.class.getName() + " found in the bootstrap.xml", 10); } main = (Main) factory.getBean(names[0]); return main; } finally { Thread.currentThread().setContextClassLoader(oldClassLoader); } }
|
public Main loadMain() { if (serverBaseDirectory == null) { throw new NullPointerException("serverBaseDirectory is null"); } File baseDirectory = new File(serverBaseDirectory); if (!baseDirectory.isDirectory()) { throw new IllegalArgumentException("serverBaseDirectory is not a directory: " + serverBaseDirectory); } if (configurationFile == null) { throw new NullPointerException("configurationFile is null"); } ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader(); Thread.currentThread().setContextClassLoader(SpringBootstrap.class.getClassLoader()); try { // add our property editors into the system if (propertyEditorPaths != null && !propertyEditorPaths.isEmpty()) { List editorSearchPath = new LinkedList(Arrays.asList(PropertyEditorManager.getEditorSearchPath())); editorSearchPath.addAll(propertyEditorPaths); PropertyEditorManager.setEditorSearchPath((String[]) editorSearchPath.toArray(new String[editorSearchPath.size()])); } // set the server base directory system property System.setProperty("xbean.base.dir", baseDirectory.getAbsolutePath()); // load the configuration file SpringApplicationContext factory; File file = new File(configurationFile); if (!file.isAbsolute()) { file = new File(baseDirectory.toURI().resolve(configurationFile)); } if (file.canRead()) { try { // configuration file is on the local file system factory = new FileSystemXmlApplicationContext(file.toURL().toString()); } catch (MalformedURLException e) { throw new FatalStartupError("Error creating url for bootstrap file", e); } } else { // assume it is a classpath resource factory = new ClassPathXmlApplicationContext(configurationFile); } // get the main service from the configuration file String[] names = factory.getBeanNamesForType(Main.class); Main main = null; if (names.length == 0) { throw new FatalStartupError("No bean of type: " + Main.class.getName() + " found in the bootstrap.xml", 10); } main = (Main) factory.getBean(names[0]); return main; } finally { Thread.currentThread().setContextClassLoader(oldClassLoader); } }
| 3,233,507
|
final public MapBuilder CurlyMap() throws ParseException { MapBuilder map; jj_consume_token(LBRACE); map = MapArgList(); SetState(DEFAULT); jj_consume_token(RBRACE); SetState(WM); {if (true) return map;} throw new Error("Missing return statement in function"); }
|
final public MapBuilder CurlyMap() throws ParseException { MapBuilder map; jj_consume_token(LBRACE); map = MapArgList(); SetState(DEFAULT); jj_consume_token(RBRACE); SetState(WM); {if (true) return map;} throw new Error("Missing return statement in function"); }
| 3,233,508
|
final public MapBuilder CurlyMap() throws ParseException { MapBuilder map; jj_consume_token(LBRACE); map = MapArgList(); SetState(DEFAULT); jj_consume_token(RBRACE); SetState(WM); {if (true) return map;} throw new Error("Missing return statement in function"); }
|
final public MapBuilder CurlyMap() throws ParseException { MapBuilder map; jj_consume_token(LBRACE); map = MapArgList(); SetState(DEFAULT); jj_consume_token(RBRACE); SetState(WM); {if (true) return map;} throw new Error("Missing return statement in function"); }
| 3,233,509
|
final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: case LPAREN: case LBRACKET: case OP_MINUS: case OP_NOT: case NUMBER: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[39] = jj_gen; break label_5; } } break; default: jj_la1[40] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_6: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[41] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[42] = jj_gen; break label_6; } } break; default: jj_la1[43] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_7: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[44] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[45] = jj_gen; break label_7; } } break; default: jj_la1[46] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_8: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[47] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[48] = jj_gen; break label_8; } } break; default: jj_la1[49] = jj_gen; ; } map.put(key, value); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: jj_la1[50] = jj_gen; break label_9; } jj_consume_token(COMMA); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_10: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[51] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[52] = jj_gen; break label_10; } } break; default: jj_la1[53] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_11: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[54] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[55] = jj_gen; break label_11; } } break; default: jj_la1[56] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_12: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[57] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[58] = jj_gen; break label_12; } } break; default: jj_la1[59] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[60] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[61] = jj_gen; break label_13; } } break; default: jj_la1[62] = jj_gen; ; } map.put(key, value); } break; default: jj_la1[63] = jj_gen; ; } {if (true) return map;} throw new Error("Missing return statement in function"); }
|
final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: case LPAREN: case LBRACKET: case OP_MINUS: case OP_NOT: case NUMBER: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[39] = jj_gen; break label_5; } } break; default: jj_la1[40] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_6: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[41] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[42] = jj_gen; break label_6; } } break; default: jj_la1[43] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_7: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[44] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[45] = jj_gen; break label_7; } } break; default: jj_la1[46] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_8: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[47] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[48] = jj_gen; break label_8; } } break; default: jj_la1[49] = jj_gen; ; } map.put(key, value); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: jj_la1[50] = jj_gen; break label_9; } jj_consume_token(COMMA); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_10: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[51] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[52] = jj_gen; break label_10; } } break; default: jj_la1[53] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_11: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[54] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[55] = jj_gen; break label_11; } } break; default: jj_la1[56] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_12: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[57] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[58] = jj_gen; break label_12; } } break; default: jj_la1[59] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[60] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[61] = jj_gen; break label_13; } } break; default: jj_la1[62] = jj_gen; ; } map.put(key, value); } break; default: jj_la1[63] = jj_gen; ; } {if (true) return map;} throw new Error("Missing return statement in function"); }
| 3,233,510
|
final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: case LPAREN: case LBRACKET: case OP_MINUS: case OP_NOT: case NUMBER: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[39] = jj_gen; break label_5; } } break; default: jj_la1[40] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_6: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[41] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[42] = jj_gen; break label_6; } } break; default: jj_la1[43] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_7: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[44] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[45] = jj_gen; break label_7; } } break; default: jj_la1[46] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_8: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[47] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[48] = jj_gen; break label_8; } } break; default: jj_la1[49] = jj_gen; ; } map.put(key, value); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: jj_la1[50] = jj_gen; break label_9; } jj_consume_token(COMMA); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_10: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[51] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[52] = jj_gen; break label_10; } } break; default: jj_la1[53] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_11: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[54] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[55] = jj_gen; break label_11; } } break; default: jj_la1[56] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_12: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[57] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[58] = jj_gen; break label_12; } } break; default: jj_la1[59] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[60] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[61] = jj_gen; break label_13; } } break; default: jj_la1[62] = jj_gen; ; } map.put(key, value); } break; default: jj_la1[63] = jj_gen; ; } {if (true) return map;} throw new Error("Missing return statement in function"); }
|
final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: case LPAREN: case LBRACKET: case OP_MINUS: case OP_NOT: case NUMBER: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[39] = jj_gen; break label_5; } } break; default: jj_la1[40] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_6: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[41] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[42] = jj_gen; break label_6; } } break; default: jj_la1[43] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_7: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[44] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[45] = jj_gen; break label_7; } } break; default: jj_la1[46] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_8: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[47] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[48] = jj_gen; break label_8; } } break; default: jj_la1[49] = jj_gen; ; } map.put(key, value); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: jj_la1[50] = jj_gen; break label_9; } jj_consume_token(COMMA); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_10: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[51] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[52] = jj_gen; break label_10; } } break; default: jj_la1[53] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_11: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[54] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[55] = jj_gen; break label_11; } } break; default: jj_la1[56] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_12: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[57] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[58] = jj_gen; break label_12; } } break; default: jj_la1[59] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[60] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[61] = jj_gen; break label_13; } } break; default: jj_la1[62] = jj_gen; ; } map.put(key, value); } break; default: jj_la1[63] = jj_gen; ; } {if (true) return map;} throw new Error("Missing return statement in function"); }
| 3,233,511
|
final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: case LPAREN: case LBRACKET: case OP_MINUS: case OP_NOT: case NUMBER: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[39] = jj_gen; break label_5; } } break; default: jj_la1[40] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_6: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[41] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[42] = jj_gen; break label_6; } } break; default: jj_la1[43] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_7: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[44] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[45] = jj_gen; break label_7; } } break; default: jj_la1[46] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_8: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[47] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[48] = jj_gen; break label_8; } } break; default: jj_la1[49] = jj_gen; ; } map.put(key, value); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: jj_la1[50] = jj_gen; break label_9; } jj_consume_token(COMMA); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_10: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[51] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[52] = jj_gen; break label_10; } } break; default: jj_la1[53] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_11: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[54] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[55] = jj_gen; break label_11; } } break; default: jj_la1[56] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_12: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[57] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[58] = jj_gen; break label_12; } } break; default: jj_la1[59] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[60] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[61] = jj_gen; break label_13; } } break; default: jj_la1[62] = jj_gen; ; } map.put(key, value); } break; default: jj_la1[63] = jj_gen; ; } {if (true) return map;} throw new Error("Missing return statement in function"); }
|
final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: case LPAREN: case LBRACKET: case OP_MINUS: case OP_NOT: case NUMBER: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[39] = jj_gen; break label_5; } } break; default: jj_la1[40] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_6: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[41] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[42] = jj_gen; break label_6; } } break; default: jj_la1[43] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_7: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[44] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[45] = jj_gen; break label_7; } } break; default: jj_la1[46] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_8: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[47] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[48] = jj_gen; break label_8; } } break; default: jj_la1[49] = jj_gen; ; } map.put(key, value); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: jj_la1[50] = jj_gen; break label_9; } jj_consume_token(COMMA); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_10: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[51] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[52] = jj_gen; break label_10; } } break; default: jj_la1[53] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_11: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[54] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[55] = jj_gen; break label_11; } } break; default: jj_la1[56] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_12: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[57] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[58] = jj_gen; break label_12; } } break; default: jj_la1[59] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[60] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[61] = jj_gen; break label_13; } } break; default: jj_la1[62] = jj_gen; ; } map.put(key, value); } break; default: jj_la1[63] = jj_gen; ; } {if (true) return map;} throw new Error("Missing return statement in function"); }
| 3,233,512
|
final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: case LPAREN: case LBRACKET: case OP_MINUS: case OP_NOT: case NUMBER: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[39] = jj_gen; break label_5; } } break; default: jj_la1[40] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_6: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[41] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[42] = jj_gen; break label_6; } } break; default: jj_la1[43] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_7: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[44] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[45] = jj_gen; break label_7; } } break; default: jj_la1[46] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_8: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[47] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[48] = jj_gen; break label_8; } } break; default: jj_la1[49] = jj_gen; ; } map.put(key, value); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: jj_la1[50] = jj_gen; break label_9; } jj_consume_token(COMMA); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_10: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[51] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[52] = jj_gen; break label_10; } } break; default: jj_la1[53] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_11: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[54] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[55] = jj_gen; break label_11; } } break; default: jj_la1[56] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_12: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[57] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[58] = jj_gen; break label_12; } } break; default: jj_la1[59] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[60] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[61] = jj_gen; break label_13; } } break; default: jj_la1[62] = jj_gen; ; } map.put(key, value); } break; default: jj_la1[63] = jj_gen; ; } {if (true) return map;} throw new Error("Missing return statement in function"); }
|
final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: case LPAREN: case LBRACKET: case OP_MINUS: case OP_NOT: case NUMBER: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[39] = jj_gen; break label_5; } } break; default: jj_la1[40] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_6: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[41] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[42] = jj_gen; break label_6; } } break; default: jj_la1[43] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_7: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[44] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[45] = jj_gen; break label_7; } } break; default: jj_la1[46] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_8: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[47] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[48] = jj_gen; break label_8; } } break; default: jj_la1[49] = jj_gen; ; } map.put(key, value); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: jj_la1[50] = jj_gen; break label_9; } jj_consume_token(COMMA); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_10: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[51] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[52] = jj_gen; break label_10; } } break; default: jj_la1[53] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_11: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[54] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[55] = jj_gen; break label_11; } } break; default: jj_la1[56] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_12: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[57] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[58] = jj_gen; break label_12; } } break; default: jj_la1[59] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[60] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[61] = jj_gen; break label_13; } } break; default: jj_la1[62] = jj_gen; ; } map.put(key, value); } break; default: jj_la1[63] = jj_gen; ; } {if (true) return map;} throw new Error("Missing return statement in function"); }
| 3,233,513
|
final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: case LPAREN: case LBRACKET: case OP_MINUS: case OP_NOT: case NUMBER: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[39] = jj_gen; break label_5; } } break; default: jj_la1[40] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_6: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[41] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[42] = jj_gen; break label_6; } } break; default: jj_la1[43] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_7: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[44] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[45] = jj_gen; break label_7; } } break; default: jj_la1[46] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_8: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[47] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[48] = jj_gen; break label_8; } } break; default: jj_la1[49] = jj_gen; ; } map.put(key, value); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: jj_la1[50] = jj_gen; break label_9; } jj_consume_token(COMMA); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_10: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[51] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[52] = jj_gen; break label_10; } } break; default: jj_la1[53] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_11: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[54] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[55] = jj_gen; break label_11; } } break; default: jj_la1[56] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_12: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[57] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[58] = jj_gen; break label_12; } } break; default: jj_la1[59] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[60] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[61] = jj_gen; break label_13; } } break; default: jj_la1[62] = jj_gen; ; } map.put(key, value); } break; default: jj_la1[63] = jj_gen; ; } {if (true) return map;} throw new Error("Missing return statement in function"); }
|
final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: case LPAREN: case LBRACKET: case OP_MINUS: case OP_NOT: case NUMBER: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[39] = jj_gen; break label_5; } } break; default: jj_la1[40] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_6: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[41] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[42] = jj_gen; break label_6; } } break; default: jj_la1[43] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_7: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[44] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[45] = jj_gen; break label_7; } } break; default: jj_la1[46] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_8: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[47] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[48] = jj_gen; break label_8; } } break; default: jj_la1[49] = jj_gen; ; } map.put(key, value); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: jj_la1[50] = jj_gen; break label_9; } jj_consume_token(COMMA); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_10: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[51] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[52] = jj_gen; break label_10; } } break; default: jj_la1[53] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_11: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[54] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[55] = jj_gen; break label_11; } } break; default: jj_la1[56] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_12: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[57] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[58] = jj_gen; break label_12; } } break; default: jj_la1[59] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[60] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[61] = jj_gen; break label_13; } } break; default: jj_la1[62] = jj_gen; ; } map.put(key, value); } break; default: jj_la1[63] = jj_gen; ; } {if (true) return map;} throw new Error("Missing return statement in function"); }
| 3,233,514
|
final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: case LPAREN: case LBRACKET: case OP_MINUS: case OP_NOT: case NUMBER: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[39] = jj_gen; break label_5; } } break; default: jj_la1[40] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_6: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[41] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[42] = jj_gen; break label_6; } } break; default: jj_la1[43] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_7: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[44] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[45] = jj_gen; break label_7; } } break; default: jj_la1[46] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_8: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[47] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[48] = jj_gen; break label_8; } } break; default: jj_la1[49] = jj_gen; ; } map.put(key, value); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: jj_la1[50] = jj_gen; break label_9; } jj_consume_token(COMMA); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_10: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[51] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[52] = jj_gen; break label_10; } } break; default: jj_la1[53] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_11: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[54] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[55] = jj_gen; break label_11; } } break; default: jj_la1[56] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_12: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[57] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[58] = jj_gen; break label_12; } } break; default: jj_la1[59] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[60] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[61] = jj_gen; break label_13; } } break; default: jj_la1[62] = jj_gen; ; } map.put(key, value); } break; default: jj_la1[63] = jj_gen; ; } {if (true) return map;} throw new Error("Missing return statement in function"); }
|
final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: case LPAREN: case LBRACKET: case OP_MINUS: case OP_NOT: case NUMBER: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[39] = jj_gen; break label_5; } } break; default: jj_la1[40] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_6: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[41] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[42] = jj_gen; break label_6; } } break; default: jj_la1[43] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_7: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[44] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[45] = jj_gen; break label_7; } } break; default: jj_la1[46] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_8: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[47] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[48] = jj_gen; break label_8; } } break; default: jj_la1[49] = jj_gen; ; } map.put(key, value); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: jj_la1[50] = jj_gen; break label_9; } jj_consume_token(COMMA); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_10: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[51] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[52] = jj_gen; break label_10; } } break; default: jj_la1[53] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_11: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[54] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[55] = jj_gen; break label_11; } } break; default: jj_la1[56] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_12: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[57] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[58] = jj_gen; break label_12; } } break; default: jj_la1[59] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[60] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[61] = jj_gen; break label_13; } } break; default: jj_la1[62] = jj_gen; ; } map.put(key, value); } break; default: jj_la1[63] = jj_gen; ; } {if (true) return map;} throw new Error("Missing return statement in function"); }
| 3,233,515
|
final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: case LPAREN: case LBRACKET: case OP_MINUS: case OP_NOT: case NUMBER: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[39] = jj_gen; break label_5; } } break; default: jj_la1[40] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_6: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[41] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[42] = jj_gen; break label_6; } } break; default: jj_la1[43] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_7: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[44] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[45] = jj_gen; break label_7; } } break; default: jj_la1[46] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_8: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[47] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[48] = jj_gen; break label_8; } } break; default: jj_la1[49] = jj_gen; ; } map.put(key, value); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: jj_la1[50] = jj_gen; break label_9; } jj_consume_token(COMMA); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_10: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[51] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[52] = jj_gen; break label_10; } } break; default: jj_la1[53] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_11: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[54] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[55] = jj_gen; break label_11; } } break; default: jj_la1[56] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_12: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[57] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[58] = jj_gen; break label_12; } } break; default: jj_la1[59] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[60] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[61] = jj_gen; break label_13; } } break; default: jj_la1[62] = jj_gen; ; } map.put(key, value); } break; default: jj_la1[63] = jj_gen; ; } {if (true) return map;} throw new Error("Missing return statement in function"); }
|
final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: case LPAREN: case LBRACKET: case OP_MINUS: case OP_NOT: case NUMBER: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[39] = jj_gen; break label_5; } } break; default: jj_la1[40] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_6: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[41] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[42] = jj_gen; break label_6; } } break; default: jj_la1[43] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_7: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[44] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[45] = jj_gen; break label_7; } } break; default: jj_la1[46] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_8: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[47] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[48] = jj_gen; break label_8; } } break; default: jj_la1[49] = jj_gen; ; } map.put(key, value); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: jj_la1[50] = jj_gen; break label_9; } jj_consume_token(COMMA); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_10: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[51] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[52] = jj_gen; break label_10; } } break; default: jj_la1[53] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_11: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[54] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[55] = jj_gen; break label_11; } } break; default: jj_la1[56] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_12: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[57] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[58] = jj_gen; break label_12; } } break; default: jj_la1[59] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[60] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[61] = jj_gen; break label_13; } } break; default: jj_la1[62] = jj_gen; ; } map.put(key, value); } break; default: jj_la1[63] = jj_gen; ; } {if (true) return map;} throw new Error("Missing return statement in function"); }
| 3,233,516
|
final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: case LPAREN: case LBRACKET: case OP_MINUS: case OP_NOT: case NUMBER: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[39] = jj_gen; break label_5; } } break; default: jj_la1[40] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_6: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[41] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[42] = jj_gen; break label_6; } } break; default: jj_la1[43] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_7: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[44] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[45] = jj_gen; break label_7; } } break; default: jj_la1[46] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_8: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[47] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[48] = jj_gen; break label_8; } } break; default: jj_la1[49] = jj_gen; ; } map.put(key, value); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: jj_la1[50] = jj_gen; break label_9; } jj_consume_token(COMMA); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_10: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[51] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[52] = jj_gen; break label_10; } } break; default: jj_la1[53] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_11: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[54] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[55] = jj_gen; break label_11; } } break; default: jj_la1[56] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_12: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[57] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[58] = jj_gen; break label_12; } } break; default: jj_la1[59] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[60] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[61] = jj_gen; break label_13; } } break; default: jj_la1[62] = jj_gen; ; } map.put(key, value); } break; default: jj_la1[63] = jj_gen; ; } {if (true) return map;} throw new Error("Missing return statement in function"); }
|
final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: case LPAREN: case LBRACKET: case OP_MINUS: case OP_NOT: case NUMBER: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[39] = jj_gen; break label_5; } } break; default: jj_la1[40] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_6: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[41] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[42] = jj_gen; break label_6; } } break; default: jj_la1[43] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_7: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[44] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[45] = jj_gen; break label_7; } } break; default: jj_la1[46] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_8: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[47] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[48] = jj_gen; break label_8; } } break; default: jj_la1[49] = jj_gen; ; } map.put(key, value); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: jj_la1[50] = jj_gen; break label_9; } jj_consume_token(COMMA); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_10: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[51] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[52] = jj_gen; break label_10; } } break; default: jj_la1[53] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_11: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[54] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[55] = jj_gen; break label_11; } } break; default: jj_la1[56] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_12: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[57] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[58] = jj_gen; break label_12; } } break; default: jj_la1[59] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[60] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[61] = jj_gen; break label_13; } } break; default: jj_la1[62] = jj_gen; ; } map.put(key, value); } break; default: jj_la1[63] = jj_gen; ; } {if (true) return map;} throw new Error("Missing return statement in function"); }
| 3,233,517
|
final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: case LPAREN: case LBRACKET: case OP_MINUS: case OP_NOT: case NUMBER: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[39] = jj_gen; break label_5; } } break; default: jj_la1[40] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_6: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[41] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[42] = jj_gen; break label_6; } } break; default: jj_la1[43] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_7: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[44] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[45] = jj_gen; break label_7; } } break; default: jj_la1[46] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_8: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[47] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[48] = jj_gen; break label_8; } } break; default: jj_la1[49] = jj_gen; ; } map.put(key, value); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: jj_la1[50] = jj_gen; break label_9; } jj_consume_token(COMMA); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_10: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[51] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[52] = jj_gen; break label_10; } } break; default: jj_la1[53] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_11: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[54] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[55] = jj_gen; break label_11; } } break; default: jj_la1[56] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_12: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[57] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[58] = jj_gen; break label_12; } } break; default: jj_la1[59] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[60] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[61] = jj_gen; break label_13; } } break; default: jj_la1[62] = jj_gen; ; } map.put(key, value); } break; default: jj_la1[63] = jj_gen; ; } {if (true) return map;} throw new Error("Missing return statement in function"); }
|
final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: case LPAREN: case LBRACKET: case OP_MINUS: case OP_NOT: case NUMBER: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[39] = jj_gen; break label_5; } } break; default: jj_la1[40] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_6: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[41] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[42] = jj_gen; break label_6; } } break; default: jj_la1[43] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_7: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[44] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[45] = jj_gen; break label_7; } } break; default: jj_la1[46] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_8: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[47] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[48] = jj_gen; break label_8; } } break; default: jj_la1[49] = jj_gen; ; } map.put(key, value); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: jj_la1[50] = jj_gen; break label_9; } jj_consume_token(COMMA); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_10: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[51] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[52] = jj_gen; break label_10; } } break; default: jj_la1[53] = jj_gen; ; } key = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_11: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[54] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[55] = jj_gen; break label_11; } } break; default: jj_la1[56] = jj_gen; ; } jj_consume_token(COLON); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_12: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[57] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[58] = jj_gen; break label_12; } } break; default: jj_la1[59] = jj_gen; ; } value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[60] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: ; break; default: jj_la1[61] = jj_gen; break label_13; } } break; default: jj_la1[62] = jj_gen; ; } map.put(key, value); } break; default: jj_la1[60] = jj_gen; ; } {if (true) return map;} throw new Error("Missing return statement in function"); }
| 3,233,518
|
private static void jj_la1_0() { jj_la1_0 = new int[] {0x40000000,0xc0000000,0x40000000,0x80000000,0x40000000,0x80000000,0x40000000,0xc0000000,0xc0000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x0,0x0,0x100000,0x0,0x700000,0x600000,0x700000,0x600000,0x3000000,0x3100000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0x0,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xff108000,0x40000000,0x40000000,0x0,0x40000000,0x40000000,0x7f108000,0x40000000,0x40000000,0x0,0x40000000,0x40000000,0x40100000,0x0,0x0,0x40000000,0x40000000,0x40000000,0x3f108000,0x40000000,0x0,0x40000000,0x40000000,0x0,0x40000000,0x0,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000,0x100000,0xe20800,0x620800,0xd20800,0xf20800,0xf26800,0x6000,0xf26800,0x4000,0xf29800,0x9000,0xf29800,0xf2f800,0xf26800,0x6000,0xf26800,0x4000,0x9000,0x729801,0x2000,0xf2f800,0xf000,0xf2f800,}; }
|
private static void jj_la1_0() { jj_la1_0 = new int[] {0x40000000,0xc0000000,0x40000000,0x80000000,0x40000000,0x80000000,0x40000000,0xc0000000,0xc0000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x0,0x0,0x100000,0x0,0x700000,0x600000,0x700000,0x600000,0x3000000,0x3100000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0x0,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0xc0000000,0x3f108000,0xc0000000,0xc0000000,0xc0000000,0x40000000,0x40000000,0x0,0x40000000,0x40000000,0x7f108000,0x40000000,0x40000000,0x0,0x40000000,0x40000000,0x40100000,0x0,0x0,0x40000000,0x40000000,0x40000000,0x3f108000,0x40000000,0x0,0x40000000,0x40000000,0x0,0x40000000,0x0,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000,0x100000,0xe20800,0x620800,0xd20800,0xf20800,0xf26800,0x6000,0xf26800,0x4000,0xf29800,0x9000,0xf29800,0xf2f800,0xf26800,0x6000,0xf26800,0x4000,0x9000,0x729801,0x2000,0xf2f800,0xf000,0xf2f800,}; }
| 3,233,519
|
private static void jj_la1_1() { jj_la1_1 = new int[] {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x400000,0x1,0x0,0x400001,0x2000000,0x2000000,0x4000000,0x4000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x100000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x884005,0x0,0x0,0x100000,0x0,0x0,0x884005,0x0,0x0,0x100000,0x0,0x0,0x0,0x1,0x1,0x0,0x0,0x0,0x884005,0x0,0x18000,0x0,0x0,0x6000,0x0,0x1fc0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,}; }
|
private static void jj_la1_1() { jj_la1_1 = new int[] {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x400000,0x1,0x0,0x400001,0x2000000,0x2000000,0x4000000,0x4000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x100000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x884005,0x0,0x0,0x0,0x0,0x0,0x100000,0x0,0x0,0x884005,0x0,0x0,0x100000,0x0,0x0,0x0,0x1,0x1,0x0,0x0,0x0,0x884005,0x0,0x18000,0x0,0x0,0x6000,0x0,0x1fc0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,}; }
| 3,233,520
|
public Object build(DirectiveBuilder builder, BuildContext bc) throws BuildException { _broker = bc.getBroker(); // BeanConf object is created by the init method when this directive // is registered by the DirectiveProvider beanConf = (BeanConf)_broker.getBrokerLocal("BeanDirective.Conf"); if (beanConf == null){ throw new BuildException( "Error building the #bean directive. The directive has not been properly initialized!"); } try { target = (Variable) builder.getArg(BEAN_TARGET, bc); } catch (ClassCastException e) { throw new NotVariableBuildException(myDescr.name, e); } targetName = target.getName(); _className = (String)builder.getArg(BEAN_CLASS_NAME, bc); _class = classForName(_className); // check if bean is declared as static // this implies global scope and no constructor invocation isStaticClass = (builder.getArg(BEAN_TYPE_STATIC) != null); if (isStaticClass) scope = BEAN_SCOPE_GLOBAL; else { scope = getScope(builder, bc); // initArgs is only valid for non-static beans initArgObj = builder.getArg(BEAN_INITARGS_VAL); if (initArgObj instanceof Builder) initArgObj = ((Builder)initArgObj).build(bc); } onNewBlock = (Block)builder.getArg(BEAN_ON_NEW_BLOCK, bc); if (DEBUG) System.err.println("DBG: #bean, target="+target +", className="+_className+", scope="+scope +", isStaticClass="+isStaticClass+", initArgs="+initArgObj); return this; }
|
_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); public_log = _broker.getLog("directive"); Object_log = _broker.getLog("directive"); build(DirectiveBuilder_log = _broker.getLog("directive"); builder,_log = _broker.getLog("directive"); BuildContext_log = _broker.getLog("directive"); bc)_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); throws_log = _broker.getLog("directive"); BuildException_log = _broker.getLog("directive"); {_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _broker_log = _broker.getLog("directive"); =_log = _broker.getLog("directive"); bc.getBroker();_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); //_log = _broker.getLog("directive"); BeanConf_log = _broker.getLog("directive"); object_log = _broker.getLog("directive"); is_log = _broker.getLog("directive"); created_log = _broker.getLog("directive"); by_log = _broker.getLog("directive"); the_log = _broker.getLog("directive"); init_log = _broker.getLog("directive"); method_log = _broker.getLog("directive"); when_log = _broker.getLog("directive"); this_log = _broker.getLog("directive"); directive_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); //_log = _broker.getLog("directive"); is_log = _broker.getLog("directive"); registered_log = _broker.getLog("directive"); by_log = _broker.getLog("directive"); the_log = _broker.getLog("directive"); DirectiveProvider_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); beanConf_log = _broker.getLog("directive"); =_log = _broker.getLog("directive"); (BeanConf)_broker.getBrokerLocal("BeanDirective.Conf");_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); if_log = _broker.getLog("directive"); (beanConf_log = _broker.getLog("directive"); ==_log = _broker.getLog("directive"); null){_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); throw_log = _broker.getLog("directive"); new_log = _broker.getLog("directive"); BuildException(_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); "Error_log = _broker.getLog("directive"); building_log = _broker.getLog("directive"); the_log = _broker.getLog("directive"); #bean_log = _broker.getLog("directive"); directive._log = _broker.getLog("directive"); _log = _broker.getLog("directive"); The_log = _broker.getLog("directive"); directive_log = _broker.getLog("directive"); has_log = _broker.getLog("directive"); not_log = _broker.getLog("directive"); been_log = _broker.getLog("directive"); properly_log = _broker.getLog("directive"); initialized!");_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); }_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); try_log = _broker.getLog("directive"); {_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); target_log = _broker.getLog("directive"); =_log = _broker.getLog("directive"); (Variable)_log = _broker.getLog("directive"); builder.getArg(BEAN_TARGET,_log = _broker.getLog("directive"); bc);_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); }_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); catch_log = _broker.getLog("directive"); (ClassCastException_log = _broker.getLog("directive"); e)_log = _broker.getLog("directive"); {_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); throw_log = _broker.getLog("directive"); new_log = _broker.getLog("directive"); NotVariableBuildException(myDescr.name,_log = _broker.getLog("directive"); e);_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); }_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); targetName_log = _broker.getLog("directive"); =_log = _broker.getLog("directive"); target.getName();_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _className_log = _broker.getLog("directive"); =_log = _broker.getLog("directive"); (String)builder.getArg(BEAN_CLASS_NAME,_log = _broker.getLog("directive"); bc);_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _class_log = _broker.getLog("directive"); =_log = _broker.getLog("directive"); classForName(_className);_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); //_log = _broker.getLog("directive"); check_log = _broker.getLog("directive"); if_log = _broker.getLog("directive"); bean_log = _broker.getLog("directive"); is_log = _broker.getLog("directive"); declared_log = _broker.getLog("directive"); as_log = _broker.getLog("directive"); static_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); //_log = _broker.getLog("directive"); this_log = _broker.getLog("directive"); implies_log = _broker.getLog("directive"); global_log = _broker.getLog("directive"); scope_log = _broker.getLog("directive"); and_log = _broker.getLog("directive"); no_log = _broker.getLog("directive"); constructor_log = _broker.getLog("directive"); invocation_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); isStaticClass_log = _broker.getLog("directive"); =_log = _broker.getLog("directive"); (builder.getArg(BEAN_TYPE_STATIC)_log = _broker.getLog("directive"); !=_log = _broker.getLog("directive"); null);_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); if_log = _broker.getLog("directive"); (isStaticClass)_log = _broker.getLog("directive"); scope_log = _broker.getLog("directive"); =_log = _broker.getLog("directive"); BEAN_SCOPE_GLOBAL;_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); else_log = _broker.getLog("directive"); {_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); scope_log = _broker.getLog("directive"); =_log = _broker.getLog("directive"); getScope(builder,_log = _broker.getLog("directive"); bc);_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); //_log = _broker.getLog("directive"); initArgs_log = _broker.getLog("directive"); is_log = _broker.getLog("directive"); only_log = _broker.getLog("directive"); valid_log = _broker.getLog("directive"); for_log = _broker.getLog("directive"); non-static_log = _broker.getLog("directive"); beans_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); initArgObj_log = _broker.getLog("directive"); =_log = _broker.getLog("directive"); builder.getArg(BEAN_INITARGS_VAL);_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); if_log = _broker.getLog("directive"); (initArgObj_log = _broker.getLog("directive"); instanceof_log = _broker.getLog("directive"); Builder)_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); initArgObj_log = _broker.getLog("directive"); =_log = _broker.getLog("directive"); ((Builder)initArgObj).build(bc);_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); }_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); onNewBlock_log = _broker.getLog("directive"); =_log = _broker.getLog("directive"); (Block)builder.getArg(BEAN_ON_NEW_BLOCK,_log = _broker.getLog("directive"); bc);_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); if_log = _broker.getLog("directive"); (DEBUG)_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); System.err.println("DBG:_log = _broker.getLog("directive"); #bean,_log = _broker.getLog("directive"); target="+target_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); +",_log = _broker.getLog("directive"); className="+_className+",_log = _broker.getLog("directive"); scope="+scope_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); +",_log = _broker.getLog("directive"); isStaticClass="+isStaticClass+",_log = _broker.getLog("directive"); initArgs="+initArgObj);_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); return_log = _broker.getLog("directive"); this;_log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); _log = _broker.getLog("directive"); }
| 3,233,521
|
public Object build(DirectiveBuilder builder, BuildContext bc) throws BuildException { _broker = bc.getBroker(); // BeanConf object is created by the init method when this directive // is registered by the DirectiveProvider beanConf = (BeanConf)_broker.getBrokerLocal("BeanDirective.Conf"); if (beanConf == null){ throw new BuildException( "Error building the #bean directive. The directive has not been properly initialized!"); } try { target = (Variable) builder.getArg(BEAN_TARGET, bc); } catch (ClassCastException e) { throw new NotVariableBuildException(myDescr.name, e); } targetName = target.getName(); _className = (String)builder.getArg(BEAN_CLASS_NAME, bc); _class = classForName(_className); // check if bean is declared as static // this implies global scope and no constructor invocation isStaticClass = (builder.getArg(BEAN_TYPE_STATIC) != null); if (isStaticClass) scope = BEAN_SCOPE_GLOBAL; else { scope = getScope(builder, bc); // initArgs is only valid for non-static beans initArgObj = builder.getArg(BEAN_INITARGS_VAL); if (initArgObj instanceof Builder) initArgObj = ((Builder)initArgObj).build(bc); } onNewBlock = (Block)builder.getArg(BEAN_ON_NEW_BLOCK, bc); if (DEBUG) System.err.println("DBG: #bean, target="+target +", className="+_className+", scope="+scope +", isStaticClass="+isStaticClass+", initArgs="+initArgObj); return this; }
|
public Object build(DirectiveBuilder builder, BuildContext bc) throws BuildException { _broker = bc.getBroker(); // BeanConf object is created by the init method when this directive // is registered by the DirectiveProvider beanConf = (BeanConf)_broker.getBrokerLocal("BeanDirective.Conf"); if (beanConf == null){ throw new BuildException( "Error building the #bean directive. The directive has not been properly initialized!"); } try { target = (Variable) builder.getArg(BEAN_TARGET, bc); } catch (ClassCastException e) { throw new NotVariableBuildException(myDescr.name, e); } targetName = target.getName(); _className = (String)builder.getArg(BEAN_CLASS_NAME, bc); _class = classForName(_className); // check if bean is declared as static // this implies global scope and no constructor invocation isStaticClass = (builder.getArg(BEAN_TYPE_STATIC) != null); if (isStaticClass) scope = BEAN_SCOPE_GLOBAL; else { scope = getScope(builder, bc); // initArgs is only valid for non-static beans initArgObj = builder.getArg(BEAN_INITARGS_VAL); if (initArgObj instanceof Builder) initArgObj = ((Builder)initArgObj).build(bc); } onNewBlock = (Block)builder.getArg(BEAN_ON_NEW_BLOCK, bc); if (DEBUG) System.err.println("DBG: #bean, target="+target +", className="+_className+", scope="+scope +", isStaticClass="+isStaticClass+", initArgs="+initArgObj); return this; }
| 3,233,522
|
public static void init(Broker b){ // get configuration parameters synchronized (b){ BeanConf bCfg = new BeanConf(b); b.setBrokerLocal("BeanDirective.Conf", bCfg); if (DEBUG){ System.err.println("DBG: #bean - impliedPackages: " + bCfg.impliedPackages); System.err.println("DBG: #bean - allowedPackages: " + bCfg.allowedPackages); } } }
|
public static void init(Broker b){ // get configuration parameters synchronized (b){ BeanConf bCfg = new BeanConf(b); b.setBrokerLocal("BeanDirective.Conf", bCfg); if (DEBUG){ System.err.println("DBG: #bean - impliedPackages: " + bCfg.impliedPackages); System.err.println("DBG: #bean - allowedPackages: " + bCfg.allowedPackages); } } }
| 3,233,523
|
public void write(FastWriter out, Context context) throws PropertyException, IOException { Map globalBeans = BeanConf.globalBeans; Map appBeans = beanConf.appBeans; boolean isNew = false; try { while (initArgObj instanceof Macro) initArgObj = ((Macro) initArgObj).evaluate(context); // store init args in array if (initArgObj == null || initArgObj.getClass().isArray()){ initArgs = (Object[])initArgObj; } else { initArgs = new Object[1]; initArgs[0] = initArgObj; } Object o = null; Class c = null; switch (scope){ case BEAN_SCOPE_GLOBAL: synchronized (globalBeans){ o = globalBeans.get(targetName); if (o == null){ if (isStaticClass){ c = context.getBroker().classForName(_className); o = new org.webmacro.engine.StaticClassWrapper(c); } else { //c = Class.forName(_className); //o = c.newInstance(); o = instantiate(_className, initArgs); } isNew = true; globalBeans.put(targetName,o); } } break; case BEAN_SCOPE_APPLICATION: synchronized (appBeans){ o = appBeans.get(targetName); if (o == null){ o = instantiate(_className, initArgs); isNew = true; appBeans.put(targetName, o); } } break; case BEAN_SCOPE_SESSION: javax.servlet.http.HttpSession session = (javax.servlet.http.HttpSession)context.getProperty("Session"); //if (context instanceof WebContext){ if (session != null){ synchronized(session){ o = session.getAttribute(targetName); if (o == null){ o = instantiate(_className, initArgs); isNew = true; session.setAttribute(targetName, o); } } } else { throw new PropertyException("#bean usage error: session scope is only valid with servlets!"); } break; default: // make "page" the default scope //case BEAN_SCOPE_PAGE: // NOTE: page beans always overwrite anything in the context // with the same name o = instantiate(_className, initArgs); isNew = true; if (o != null){ Class[] paramTypes = { Context.class }; try { java.lang.reflect.Method m = o.getClass().getMethod("init", paramTypes); if (m != null){ Object[] args = { context }; m.invoke(o, args); } } catch (Exception e){ // ignore } } break; } if (DEBUG) System.err.println("#bean: Class " + _className + " loaded."); target.setValue(context, o); } catch (PropertyException e) { if (DEBUG) System.err.println("#bean: Class " + _className + " failed: " + e); this._log.error("#bean: Class " + _className + " failed.", e); throw e; } catch (Exception e) { String errorText = "#bean: Unable to load bean " + target + " of type " + _className; context.getBroker().getLog("engine").error(errorText, e); writeWarning(errorText, context, out); } if (isNew && onNewBlock != null) onNewBlock.write(out, context); }
|
public void write(FastWriter out, Context context) throws PropertyException, IOException { Map globalBeans = BeanConf.globalBeans; Map appBeans = beanConf.appBeans; boolean isNew = false; try { while (initArgObj instanceof Macro) initArgObj = ((Macro) initArgObj).evaluate(context); // store init args in array if (initArgObj == null || initArgObj.getClass().isArray()){ initArgs = (Object[])initArgObj; } else { initArgs = new Object[1]; initArgs[0] = initArgObj; } Object o = null; Class c = null; switch (scope){ case BEAN_SCOPE_GLOBAL: synchronized (globalBeans){ o = globalBeans.get(targetName); if (o == null){ if (isStaticClass){ c = context.getBroker().classForName(_className); o = new org.webmacro.engine.StaticClassWrapper(c); } else { //c = Class.forName(_className); //o = c.newInstance(); o = instantiate(_className, initArgs); } isNew = true; globalBeans.put(targetName,o); } } break; case BEAN_SCOPE_APPLICATION: synchronized (appBeans){ o = appBeans.get(targetName); if (o == null){ o = instantiate(_className, initArgs); isNew = true; appBeans.put(targetName, o); } } break; case BEAN_SCOPE_SESSION: javax.servlet.http.HttpSession session = (javax.servlet.http.HttpSession)context.getProperty("Session"); //if (context instanceof WebContext){ if (session != null){ synchronized(session){ o = session.getAttribute(targetName); if (o == null){ o = instantiate(_className, initArgs); isNew = true; session.setAttribute(targetName, o); } } } else { PropertyException e = new PropertyException( "#bean usage error: session scope is only valid with servlets!"); _broker.getEvaluationExceptionHandler().evaluate( target, context, e); } break; default: // make "page" the default scope //case BEAN_SCOPE_PAGE: // NOTE: page beans always overwrite anything in the context // with the same name o = instantiate(_className, initArgs); isNew = true; if (o != null){ Class[] paramTypes = { Context.class }; try { java.lang.reflect.Method m = o.getClass().getMethod("init", paramTypes); if (m != null){ Object[] args = { context }; m.invoke(o, args); } } catch (Exception e){ // ignore } } break; } if (DEBUG) System.err.println("#bean: Class " + _className + " loaded."); target.setValue(context, o); } catch (PropertyException e) { if (DEBUG) System.err.println("#bean: Class " + _className + " failed: " + e); this._log.error("#bean: Class " + _className + " failed.", e); throw e; } catch (Exception e) { String errorText = "#bean: Unable to load bean " + target + " of type " + _className; context.getBroker().getLog("engine").error(errorText, e); writeWarning(errorText, context, out); } if (isNew && onNewBlock != null) onNewBlock.write(out, context); }
| 3,233,524
|
public void write(FastWriter out, Context context) throws PropertyException, IOException { Map globalBeans = BeanConf.globalBeans; Map appBeans = beanConf.appBeans; boolean isNew = false; try { while (initArgObj instanceof Macro) initArgObj = ((Macro) initArgObj).evaluate(context); // store init args in array if (initArgObj == null || initArgObj.getClass().isArray()){ initArgs = (Object[])initArgObj; } else { initArgs = new Object[1]; initArgs[0] = initArgObj; } Object o = null; Class c = null; switch (scope){ case BEAN_SCOPE_GLOBAL: synchronized (globalBeans){ o = globalBeans.get(targetName); if (o == null){ if (isStaticClass){ c = context.getBroker().classForName(_className); o = new org.webmacro.engine.StaticClassWrapper(c); } else { //c = Class.forName(_className); //o = c.newInstance(); o = instantiate(_className, initArgs); } isNew = true; globalBeans.put(targetName,o); } } break; case BEAN_SCOPE_APPLICATION: synchronized (appBeans){ o = appBeans.get(targetName); if (o == null){ o = instantiate(_className, initArgs); isNew = true; appBeans.put(targetName, o); } } break; case BEAN_SCOPE_SESSION: javax.servlet.http.HttpSession session = (javax.servlet.http.HttpSession)context.getProperty("Session"); //if (context instanceof WebContext){ if (session != null){ synchronized(session){ o = session.getAttribute(targetName); if (o == null){ o = instantiate(_className, initArgs); isNew = true; session.setAttribute(targetName, o); } } } else { throw new PropertyException("#bean usage error: session scope is only valid with servlets!"); } break; default: // make "page" the default scope //case BEAN_SCOPE_PAGE: // NOTE: page beans always overwrite anything in the context // with the same name o = instantiate(_className, initArgs); isNew = true; if (o != null){ Class[] paramTypes = { Context.class }; try { java.lang.reflect.Method m = o.getClass().getMethod("init", paramTypes); if (m != null){ Object[] args = { context }; m.invoke(o, args); } } catch (Exception e){ // ignore } } break; } if (DEBUG) System.err.println("#bean: Class " + _className + " loaded."); target.setValue(context, o); } catch (PropertyException e) { if (DEBUG) System.err.println("#bean: Class " + _className + " failed: " + e); this._log.error("#bean: Class " + _className + " failed.", e); throw e; } catch (Exception e) { String errorText = "#bean: Unable to load bean " + target + " of type " + _className; context.getBroker().getLog("engine").error(errorText, e); writeWarning(errorText, context, out); } if (isNew && onNewBlock != null) onNewBlock.write(out, context); }
|
public void write(FastWriter out, Context context) throws PropertyException, IOException { Map globalBeans = BeanConf.globalBeans; Map appBeans = beanConf.appBeans; boolean isNew = false; try { while (initArgObj instanceof Macro) initArgObj = ((Macro) initArgObj).evaluate(context); // store init args in array if (initArgObj == null || initArgObj.getClass().isArray()){ initArgs = (Object[])initArgObj; } else { initArgs = new Object[1]; initArgs[0] = initArgObj; } Object o = null; Class c = null; switch (scope){ case BEAN_SCOPE_GLOBAL: synchronized (globalBeans){ o = globalBeans.get(targetName); if (o == null){ if (isStaticClass){ c = context.getBroker().classForName(_className); o = new org.webmacro.engine.StaticClassWrapper(c); } else { //c = Class.forName(_className); //o = c.newInstance(); o = instantiate(_className, initArgs); } isNew = true; globalBeans.put(targetName,o); } } break; case BEAN_SCOPE_APPLICATION: synchronized (appBeans){ o = appBeans.get(targetName); if (o == null){ o = instantiate(_className, initArgs); isNew = true; appBeans.put(targetName, o); } } break; case BEAN_SCOPE_SESSION: javax.servlet.http.HttpSession session = (javax.servlet.http.HttpSession)context.getProperty("Session"); //if (context instanceof WebContext){ if (session != null){ synchronized(session){ o = session.getAttribute(targetName); if (o == null){ o = instantiate(_className, initArgs); isNew = true; session.setAttribute(targetName, o); } } } else { throw new PropertyException("#bean usage error: session scope is only valid with servlets!"); } break; default: // make "page" the default scope //case BEAN_SCOPE_PAGE: // NOTE: page beans always overwrite anything in the context // with the same name o = instantiate(_className, initArgs); isNew = true; if (o != null){ Class[] paramTypes = { Context.class }; try { java.lang.reflect.Method m = o.getClass().getMethod("init", paramTypes); if (m != null){ Object[] args = { context }; m.invoke(o, args); } } catch (Exception e){ // ignore } } break; } _log.debug("BeanDirective: Class " + _className + " loaded."); target.setValue(context, o); } catch (PropertyException e) { if (DEBUG) System.err.println("#bean: Class " + _className + " failed: " + e); this._log.error("#bean: Class " + _className + " failed.", e); throw e; } catch (Exception e) { String errorText = "#bean: Unable to load bean " + target + " of type " + _className; context.getBroker().getLog("engine").error(errorText, e); writeWarning(errorText, context, out); } if (isNew && onNewBlock != null) onNewBlock.write(out, context); }
| 3,233,525
|
public void write(FastWriter out, Context context) throws PropertyException, IOException { Map globalBeans = BeanConf.globalBeans; Map appBeans = beanConf.appBeans; boolean isNew = false; try { while (initArgObj instanceof Macro) initArgObj = ((Macro) initArgObj).evaluate(context); // store init args in array if (initArgObj == null || initArgObj.getClass().isArray()){ initArgs = (Object[])initArgObj; } else { initArgs = new Object[1]; initArgs[0] = initArgObj; } Object o = null; Class c = null; switch (scope){ case BEAN_SCOPE_GLOBAL: synchronized (globalBeans){ o = globalBeans.get(targetName); if (o == null){ if (isStaticClass){ c = context.getBroker().classForName(_className); o = new org.webmacro.engine.StaticClassWrapper(c); } else { //c = Class.forName(_className); //o = c.newInstance(); o = instantiate(_className, initArgs); } isNew = true; globalBeans.put(targetName,o); } } break; case BEAN_SCOPE_APPLICATION: synchronized (appBeans){ o = appBeans.get(targetName); if (o == null){ o = instantiate(_className, initArgs); isNew = true; appBeans.put(targetName, o); } } break; case BEAN_SCOPE_SESSION: javax.servlet.http.HttpSession session = (javax.servlet.http.HttpSession)context.getProperty("Session"); //if (context instanceof WebContext){ if (session != null){ synchronized(session){ o = session.getAttribute(targetName); if (o == null){ o = instantiate(_className, initArgs); isNew = true; session.setAttribute(targetName, o); } } } else { throw new PropertyException("#bean usage error: session scope is only valid with servlets!"); } break; default: // make "page" the default scope //case BEAN_SCOPE_PAGE: // NOTE: page beans always overwrite anything in the context // with the same name o = instantiate(_className, initArgs); isNew = true; if (o != null){ Class[] paramTypes = { Context.class }; try { java.lang.reflect.Method m = o.getClass().getMethod("init", paramTypes); if (m != null){ Object[] args = { context }; m.invoke(o, args); } } catch (Exception e){ // ignore } } break; } if (DEBUG) System.err.println("#bean: Class " + _className + " loaded."); target.setValue(context, o); } catch (PropertyException e) { if (DEBUG) System.err.println("#bean: Class " + _className + " failed: " + e); this._log.error("#bean: Class " + _className + " failed.", e); throw e; } catch (Exception e) { String errorText = "#bean: Unable to load bean " + target + " of type " + _className; context.getBroker().getLog("engine").error(errorText, e); writeWarning(errorText, context, out); } if (isNew && onNewBlock != null) onNewBlock.write(out, context); }
|
public void write(FastWriter out, Context context) throws PropertyException, IOException { Map globalBeans = BeanConf.globalBeans; Map appBeans = beanConf.appBeans; boolean isNew = false; try { while (initArgObj instanceof Macro) initArgObj = ((Macro) initArgObj).evaluate(context); // store init args in array if (initArgObj == null || initArgObj.getClass().isArray()){ initArgs = (Object[])initArgObj; } else { initArgs = new Object[1]; initArgs[0] = initArgObj; } Object o = null; Class c = null; switch (scope){ case BEAN_SCOPE_GLOBAL: synchronized (globalBeans){ o = globalBeans.get(targetName); if (o == null){ if (isStaticClass){ c = context.getBroker().classForName(_className); o = new org.webmacro.engine.StaticClassWrapper(c); } else { //c = Class.forName(_className); //o = c.newInstance(); o = instantiate(_className, initArgs); } isNew = true; globalBeans.put(targetName,o); } } break; case BEAN_SCOPE_APPLICATION: synchronized (appBeans){ o = appBeans.get(targetName); if (o == null){ o = instantiate(_className, initArgs); isNew = true; appBeans.put(targetName, o); } } break; case BEAN_SCOPE_SESSION: javax.servlet.http.HttpSession session = (javax.servlet.http.HttpSession)context.getProperty("Session"); //if (context instanceof WebContext){ if (session != null){ synchronized(session){ o = session.getAttribute(targetName); if (o == null){ o = instantiate(_className, initArgs); isNew = true; session.setAttribute(targetName, o); } } } else { throw new PropertyException("#bean usage error: session scope is only valid with servlets!"); } break; default: // make "page" the default scope //case BEAN_SCOPE_PAGE: // NOTE: page beans always overwrite anything in the context // with the same name o = instantiate(_className, initArgs); isNew = true; if (o != null){ Class[] paramTypes = { Context.class }; try { java.lang.reflect.Method m = o.getClass().getMethod("init", paramTypes); if (m != null){ Object[] args = { context }; m.invoke(o, args); } } catch (Exception e){ // ignore } } break; } if (DEBUG) System.err.println("#bean: Class " + _className + " loaded."); target.setValue(context, o); } catch (PropertyException e) { if (DEBUG) System.err.println("#bean: Class " + _className + " failed: " + e); this._log.error("#bean: Class " + _className + " failed.", e); throw e; } catch (Exception e) { String errorText = "#bean: Unable to load bean " + target + " of type " + _className; context.getBroker().getLog("engine").error(errorText, e); writeWarning(errorText, context, out); } if (isNew && onNewBlock != null) onNewBlock.write(out, context); }
| 3,233,526
|
public void write(FastWriter out, Context context) throws PropertyException, IOException { Map globalBeans = BeanConf.globalBeans; Map appBeans = beanConf.appBeans; boolean isNew = false; try { while (initArgObj instanceof Macro) initArgObj = ((Macro) initArgObj).evaluate(context); // store init args in array if (initArgObj == null || initArgObj.getClass().isArray()){ initArgs = (Object[])initArgObj; } else { initArgs = new Object[1]; initArgs[0] = initArgObj; } Object o = null; Class c = null; switch (scope){ case BEAN_SCOPE_GLOBAL: synchronized (globalBeans){ o = globalBeans.get(targetName); if (o == null){ if (isStaticClass){ c = context.getBroker().classForName(_className); o = new org.webmacro.engine.StaticClassWrapper(c); } else { //c = Class.forName(_className); //o = c.newInstance(); o = instantiate(_className, initArgs); } isNew = true; globalBeans.put(targetName,o); } } break; case BEAN_SCOPE_APPLICATION: synchronized (appBeans){ o = appBeans.get(targetName); if (o == null){ o = instantiate(_className, initArgs); isNew = true; appBeans.put(targetName, o); } } break; case BEAN_SCOPE_SESSION: javax.servlet.http.HttpSession session = (javax.servlet.http.HttpSession)context.getProperty("Session"); //if (context instanceof WebContext){ if (session != null){ synchronized(session){ o = session.getAttribute(targetName); if (o == null){ o = instantiate(_className, initArgs); isNew = true; session.setAttribute(targetName, o); } } } else { throw new PropertyException("#bean usage error: session scope is only valid with servlets!"); } break; default: // make "page" the default scope //case BEAN_SCOPE_PAGE: // NOTE: page beans always overwrite anything in the context // with the same name o = instantiate(_className, initArgs); isNew = true; if (o != null){ Class[] paramTypes = { Context.class }; try { java.lang.reflect.Method m = o.getClass().getMethod("init", paramTypes); if (m != null){ Object[] args = { context }; m.invoke(o, args); } } catch (Exception e){ // ignore } } break; } if (DEBUG) System.err.println("#bean: Class " + _className + " loaded."); target.setValue(context, o); } catch (PropertyException e) { if (DEBUG) System.err.println("#bean: Class " + _className + " failed: " + e); this._log.error("#bean: Class " + _className + " failed.", e); throw e; } catch (Exception e) { String errorText = "#bean: Unable to load bean " + target + " of type " + _className; context.getBroker().getLog("engine").error(errorText, e); writeWarning(errorText, context, out); } if (isNew && onNewBlock != null) onNewBlock.write(out, context); }
|
public void write(FastWriter out, Context context) throws PropertyException, IOException { Map globalBeans = BeanConf.globalBeans; Map appBeans = beanConf.appBeans; boolean isNew = false; try { while (initArgObj instanceof Macro) initArgObj = ((Macro) initArgObj).evaluate(context); // store init args in array if (initArgObj == null || initArgObj.getClass().isArray()){ initArgs = (Object[])initArgObj; } else { initArgs = new Object[1]; initArgs[0] = initArgObj; } Object o = null; Class c = null; switch (scope){ case BEAN_SCOPE_GLOBAL: synchronized (globalBeans){ o = globalBeans.get(targetName); if (o == null){ if (isStaticClass){ c = context.getBroker().classForName(_className); o = new org.webmacro.engine.StaticClassWrapper(c); } else { //c = Class.forName(_className); //o = c.newInstance(); o = instantiate(_className, initArgs); } isNew = true; globalBeans.put(targetName,o); } } break; case BEAN_SCOPE_APPLICATION: synchronized (appBeans){ o = appBeans.get(targetName); if (o == null){ o = instantiate(_className, initArgs); isNew = true; appBeans.put(targetName, o); } } break; case BEAN_SCOPE_SESSION: javax.servlet.http.HttpSession session = (javax.servlet.http.HttpSession)context.getProperty("Session"); //if (context instanceof WebContext){ if (session != null){ synchronized(session){ o = session.getAttribute(targetName); if (o == null){ o = instantiate(_className, initArgs); isNew = true; session.setAttribute(targetName, o); } } } else { throw new PropertyException("#bean usage error: session scope is only valid with servlets!"); } break; default: // make "page" the default scope //case BEAN_SCOPE_PAGE: // NOTE: page beans always overwrite anything in the context // with the same name o = instantiate(_className, initArgs); isNew = true; if (o != null){ Class[] paramTypes = { Context.class }; try { java.lang.reflect.Method m = o.getClass().getMethod("init", paramTypes); if (m != null){ Object[] args = { context }; m.invoke(o, args); } } catch (Exception e){ // ignore } } break; } if (DEBUG) System.err.println("#bean: Class " + _className + " loaded."); target.setValue(context, o); } catch (PropertyException e) { if (DEBUG) System.err.println("#bean: Class " + _className + " failed: " + e); this._log.error("#bean: Class " + _className + " failed.", e); throw e; } catch (Exception e) { String errorText = "#bean: Unable to load bean " + target + " of type " + _className; context.getBroker().getLog("engine").error(errorText, e); writeWarning(errorText, context, out); } if (isNew && onNewBlock != null) onNewBlock.write(out, context); }
| 3,233,527
|
public IRubyObject callIndexed(int index, IRubyObject[] args) { switch (index) { case ThreadDefinition.ABORT_ON_EXCEPTION : return abort_on_exception(); case ThreadDefinition.ABORT_ON_EXCEPTION_SET : return abort_on_exception_set(args[0]); case ThreadDefinition.AREF : return aref(args[0]); case ThreadDefinition.ASET : return aset(args[0], args[1]); case ThreadDefinition.IS_KEY : return has_key(args[0]); case ThreadDefinition.IS_ALIVE : return is_alive(); case ThreadDefinition.JOIN : return join(); case ThreadDefinition.PRIORITY : return priority(); case ThreadDefinition.PRIORITY_SET : return priority_set(args[0]); case ThreadDefinition.RAISE : return raise(args[0]); case ThreadDefinition.STATUS : return status(); } return super.callIndexed(index, args); }
|
public IRubyObject callIndexed(int index, IRubyObject[] args) { switch (index) { case ThreadDefinition.ABORT_ON_EXCEPTION : return abort_on_exception(); case ThreadDefinition.ABORT_ON_EXCEPTION_SET : return abort_on_exception_set(args[0]); case ThreadDefinition.AREF : return aref(args[0]); case ThreadDefinition.ASET : return aset(args[0], args[1]); case ThreadDefinition.IS_KEY : return has_key(args[0]); case ThreadDefinition.IS_ALIVE : return is_alive(); case ThreadDefinition.JOIN : return join(); case ThreadDefinition.PRIORITY : return priority(); case ThreadDefinition.PRIORITY_SET : return priority_set(args[0]); case ThreadDefinition.RAISE : return raise(args[0]); case ThreadDefinition.STATUS : return status(); } }
| 3,233,528
|
private ChatManager() { chatContainer = new ChatContainer(); // Add a Message Handler SparkManager.getMessageEventManager().addMessageEventNotificationListener(this); SparkManager.getConnection().addPacketListener(new PacketListener() { public void processPacket(final Packet packet) { try { if (customList.contains(StringUtils.parseBareAddress(packet.getFrom()))) { cancelledNotification(packet.getFrom(), ""); } } catch (Exception e) { Log.error(e); } } }, new PacketTypeFilter(Message.class)); }
|
private ChatManager() { chatContainer = new ChatContainer(); // Add a Message Handler SparkManager.getMessageEventManager().addMessageEventNotificationListener(this); SparkManager.getConnection().addPacketListener(new PacketListener() { public void processPacket(final Packet packet) { try { if (customList.contains(StringUtils.parseBareAddress(packet.getFrom()))) { cancelledNotification(packet.getFrom(), ""); } } catch (Exception e) { Log.error(e); } } }, new PacketTypeFilter(Message.class)); }
| 3,233,529
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.