rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k |
|---|---|---|
if (strResponse == null) { KortathjonustanAuthorizationException cce = new KortathjonustanAuthorizationException(); cce.setDisplayError("Cannot connect to Central Payment Server"); cce.setErrorMessage("SendRequest returned null"); cce.setErrorNumber("-"); throw cce; } else if (!strResponse.startsWith(PROPERTY_ACTION_CO... | try { strResponse = client.sendRequest(REQUEST_TYPE_AUTHORIZATION, strPostData.toString()); } catch (Exception e) { KortathjonustanAuthorizationException cce = new KortathjonustanAuthorizationException(); cce.setDisplayError("Cannot connect to Central Payment Server"); cce.setErrorMessage("SendRequest failed"); cce.set... | private Hashtable getFirstResponse() throws KortathjonustanAuthorizationException { Hashtable properties = null; System.out.println(" ------ REQUEST ------"); //long lStartTime = System.currentTimeMillis(); try { SSLClient client = getSSLClient(); StringBuffer strPostData= new StringBuffer(); appen... |
} catch (UnsupportedEncodingException e) { KortathjonustanAuthorizationException cce = new KortathjonustanAuthorizationException(); cce.setDisplayError("Cannot connect to Central Payment Server"); cce.setErrorMessage("UnsupportedEncodingException"); cce.setErrorNumber("-"); cce.setParentException(e); throw cce; } } | if (strResponse == null) { KortathjonustanAuthorizationException cce = new KortathjonustanAuthorizationException(); cce.setDisplayError("Cannot connect to Central Payment Server"); cce.setErrorMessage("SendRequest returned null"); cce.setErrorNumber("-"); throw cce; } else if (!strResponse.startsWith(PROPERTY_ACTION_CO... | private Hashtable getFirstResponse() throws KortathjonustanAuthorizationException { Hashtable properties = null; System.out.println(" ------ REQUEST ------"); //long lStartTime = System.currentTimeMillis(); try { SSLClient client = getSSLClient(); StringBuffer strPostData= new StringBuffer(); appen... |
} else { throw new CreditCardAuthorizationException("Unsupported currency ("+currency+")"); | private void setCurrencyAndAmount(String currency, double amount) throws CreditCardAuthorizationException { if (currency != null) { int amountMultiplier = 100; if (currency.equalsIgnoreCase("ISK")) { strCurrencyCode = "352"; strCurrencyExponent = "2"; amountMultiplier = (int) Math.pow(10, Double.parse... | |
else { throw new CreditCardAuthorizationException("Unsupported currency (" + currency + ")"); } | private void setCurrencyAndAmount(String currency, double amount) throws CreditCardAuthorizationException { if (currency != null) { int amountMultiplier = 100; if (currency.equalsIgnoreCase("ISK")) { strCurrencyCode = "352"; strCurrencyExponent = "2"; amountMultiplier = (int) Math.pow(10, Double.parse... | |
FastEditorInput input = (FastEditorInput) fastEditor.getEditorInput(); File directory = input.getPath().removeLastSegments(1).toFile(); String filePath = input.getPath().removeFileExtension() .addFileExtension("fss").toOSString(); IPreferenceStore store = FastsdkPlugin.getDefault() .getPreferenceStore(); String pathToF... | FastEditorInput input = (FastEditorInput) fastEditor.getEditorInput(); File directory = input.getPath().removeLastSegments(1).toFile(); String filePath = input.getPath().removeFileExtension() .addFileExtension("fss").toOSString(); IPreferenceStore store = FastsdkPlugin.getDefault() .getPreferenceStore(); String pathToF... | public void run() { FastMultiPageEditor fastEditor = (FastMultiPageEditor) window .getActivePage().getActiveEditor(); FastEditorInput input = (FastEditorInput) fastEditor.getEditorInput(); File directory = input.getPath().removeLastSegments(1).toFile(); String filePath = i... |
viewMenu.add( autosizeColumns ); viewMenu.add( autosizeAndHideColumns ); | viewMenu.add( viewAutosizeColumns ); viewMenu.add( viewAutosizeAndHideColumns ); viewMenu.addSeparator(); viewExportMenu.add( viewExportFIX ); viewExportMenu.add( viewExportXML ); viewExportMenu.add( viewExportCSV ); viewMenu.add( viewExportMenu ); | public MenuBar() throws HeadlessException { super(); int keyMask = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); fileOpen.setAccelerator( KeyStroke.getKeyStroke( KeyEvent.VK_O, keyMask ) ); fileMenu.add( fileOpen ); fileClose.setAccelerator( KeyStroke.getKeyStroke( KeyEvent.VK_W, keyMask ) ); fileMen... |
helpMenu.add( about ); | helpMenu.add( helpAbout ); | public MenuBar() throws HeadlessException { super(); int keyMask = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(); fileOpen.setAccelerator( KeyStroke.getKeyStroke( KeyEvent.VK_O, keyMask ) ); fileMenu.add( fileOpen ); fileClose.setAccelerator( KeyStroke.getKeyStroke( KeyEvent.VK_W, keyMask ) ); fileMen... |
autosizeColumns.addActionListener( l ); autosizeAndHideColumns.addActionListener( l ); about.addActionListener( l ); | viewAutosizeColumns.addActionListener( l ); viewAutosizeAndHideColumns.addActionListener( l ); viewExportFIX.addActionListener( l ); viewExportXML.addActionListener( l ); viewExportCSV.addActionListener( l ); helpAbout.addActionListener( l ); | public void addActionListener( ActionListener l ) { if( l == this ) { fileOpen.addActionListener( l ); fileClose.addActionListener( l ); fileTrace.addActionListener( l ); autosizeColumns.addActionListener( l ); autosizeAndHideColumns.addActionListener( l ); about.addActionListener( l ); Component[] comp... |
form.getErr().emit("org.bedework.error.badcalendarid"); | form.getErr().emit("org.bedework.client.error.badcalendarid"); | public String doAction(HttpServletRequest request, BwActionForm form) throws Throwable { /* CalSvcI svci = form.getCalSvcI(); if (form.getGuest()) { return "doNothing"; } boolean subscribe = false; String reqpar = request.getParameter("subscribe"); if (Util.checkNu... |
if (au == null) { return forwardNoAccess; } | public int actionSetup(HttpServletRequest request, HttpServletResponse response, BwActionFormBase form) throws Throwable { if (getPublicAdmin(form)) { CalSvcI svc = form.fetchSvci(); UserAuth ua = svc.getUserAuth(); BwAuthUser au = ua.getUser(form.getC... | |
org.eclipse.gmf.internal.codegen.draw2d.GridLayout layoutThis = new org.eclipse.gmf.internal.codegen.draw2d.GridLayout(); | GridLayout layoutThis = new GridLayout(); | public StereotypeFigure() { org.eclipse.gmf.internal.codegen.draw2d.GridLayout layoutThis = new org.eclipse.gmf.internal.codegen.draw2d.GridLayout(); layoutThis.numColumns = 1; layoutThis.makeColumnsEqualWidth = true; this.setLayoutManager(layoutThis); this.setFill(true); this.setFillXOR(false); this.se... |
this.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); | this.setLineStyle(Graphics.LINE_SOLID); | public StereotypeFigure() { org.eclipse.gmf.internal.codegen.draw2d.GridLayout layoutThis = new org.eclipse.gmf.internal.codegen.draw2d.GridLayout(); layoutThis.numColumns = 1; layoutThis.makeColumnsEqualWidth = true; this.setLayoutManager(layoutThis); this.setFill(true); this.setFillXOR(false); this.se... |
org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel stereotypeFigure_StereotypeLabel0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); | WrapLabel stereotypeFigure_StereotypeLabel0 = new WrapLabel(); | private void createContents() { org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel stereotypeFigure_StereotypeLabel0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); stereotypeFigure_StereotypeLabel0.setText("\u00ABstereotype\u00BB"); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constrain... |
org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintStereotypeFigure_StereotypeLabel0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintStereotypeFigure_StereotypeLabel0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintStereotypeFigure_Stere... | GridLayoutData constraintStereotypeFigure_StereotypeLabel0 = new GridLayoutData(); constraintStereotypeFigure_StereotypeLabel0.verticalAlignment = GridLayoutData.FILL; constraintStereotypeFigure_StereotypeLabel0.horizontalAlignment = GridLayoutData.FILL; | private void createContents() { org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel stereotypeFigure_StereotypeLabel0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); stereotypeFigure_StereotypeLabel0.setText("\u00ABstereotype\u00BB"); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constrain... |
org.eclipse.draw2d.RectangleFigure stereotypeFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); | RectangleFigure stereotypeFigure_NameContainer0 = new RectangleFigure(); | private void createContents() { org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel stereotypeFigure_StereotypeLabel0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); stereotypeFigure_StereotypeLabel0.setText("\u00ABstereotype\u00BB"); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constrain... |
stereotypeFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); stereotypeFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); | stereotypeFigure_NameContainer0.setLineStyle(Graphics.LINE_SOLID); stereotypeFigure_NameContainer0.setMinimumSize(new Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); | private void createContents() { org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel stereotypeFigure_StereotypeLabel0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); stereotypeFigure_StereotypeLabel0.setText("\u00ABstereotype\u00BB"); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constrain... |
org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintStereotypeFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintStereotypeFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintStereotypeFigure_NameConta... | GridLayoutData constraintStereotypeFigure_NameContainer0 = new GridLayoutData(); constraintStereotypeFigure_NameContainer0.verticalAlignment = GridLayoutData.FILL; constraintStereotypeFigure_NameContainer0.horizontalAlignment = GridLayoutData.FILL; | private void createContents() { org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel stereotypeFigure_StereotypeLabel0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); stereotypeFigure_StereotypeLabel0.setText("\u00ABstereotype\u00BB"); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constrain... |
org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutStereotypeFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); | CenterLayout layoutStereotypeFigure_NameContainer0 = new CenterLayout(); | private void createContents() { org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel stereotypeFigure_StereotypeLabel0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); stereotypeFigure_StereotypeLabel0.setText("\u00ABstereotype\u00BB"); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constrain... |
org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel stereotypeFigure_NameLabel1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); | WrapLabel stereotypeFigure_NameLabel1 = new WrapLabel(); | private void createContents() { org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel stereotypeFigure_StereotypeLabel0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); stereotypeFigure_StereotypeLabel0.setText("\u00ABstereotype\u00BB"); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constrain... |
org.eclipse.draw2d.RectangleFigure stereotypeFigure_AttributesCompartment0 = new org.eclipse.draw2d.RectangleFigure(); | RectangleFigure stereotypeFigure_AttributesCompartment0 = new RectangleFigure(); | private void createContents() { org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel stereotypeFigure_StereotypeLabel0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); stereotypeFigure_StereotypeLabel0.setText("\u00ABstereotype\u00BB"); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constrain... |
stereotypeFigure_AttributesCompartment0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); | stereotypeFigure_AttributesCompartment0.setLineStyle(Graphics.LINE_SOLID); | private void createContents() { org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel stereotypeFigure_StereotypeLabel0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); stereotypeFigure_StereotypeLabel0.setText("\u00ABstereotype\u00BB"); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constrain... |
org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintStereotypeFigure_AttributesCompartment0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintStereotypeFigure_AttributesCompartment0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintStereotype... | GridLayoutData constraintStereotypeFigure_AttributesCompartment0 = new GridLayoutData(); constraintStereotypeFigure_AttributesCompartment0.verticalAlignment = GridLayoutData.FILL; constraintStereotypeFigure_AttributesCompartment0.horizontalAlignment = GridLayoutData.FILL; | private void createContents() { org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel stereotypeFigure_StereotypeLabel0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); stereotypeFigure_StereotypeLabel0.setText("\u00ABstereotype\u00BB"); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constrain... |
org.eclipse.draw2d.RectangleFigure stereotypeFigure_ConstraintsCompartment0 = new org.eclipse.draw2d.RectangleFigure(); | RectangleFigure stereotypeFigure_ConstraintsCompartment0 = new RectangleFigure(); | private void createContents() { org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel stereotypeFigure_StereotypeLabel0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); stereotypeFigure_StereotypeLabel0.setText("\u00ABstereotype\u00BB"); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constrain... |
stereotypeFigure_ConstraintsCompartment0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); | stereotypeFigure_ConstraintsCompartment0.setLineStyle(Graphics.LINE_SOLID); | private void createContents() { org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel stereotypeFigure_StereotypeLabel0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); stereotypeFigure_StereotypeLabel0.setText("\u00ABstereotype\u00BB"); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constrain... |
org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintStereotypeFigure_ConstraintsCompartment0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintStereotypeFigure_ConstraintsCompartment0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintStereoty... | GridLayoutData constraintStereotypeFigure_ConstraintsCompartment0 = new GridLayoutData(); constraintStereotypeFigure_ConstraintsCompartment0.verticalAlignment = GridLayoutData.FILL; constraintStereotypeFigure_ConstraintsCompartment0.horizontalAlignment = GridLayoutData.FILL; | private void createContents() { org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel stereotypeFigure_StereotypeLabel0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); stereotypeFigure_StereotypeLabel0.setText("\u00ABstereotype\u00BB"); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constrain... |
public org.eclipse.draw2d.RectangleFigure getFigureStereotypeFigure_AttributesCompartment() { | public RectangleFigure getFigureStereotypeFigure_AttributesCompartment() { | public org.eclipse.draw2d.RectangleFigure getFigureStereotypeFigure_AttributesCompartment() { return fStereotypeFigure_AttributesCompartment; } |
public org.eclipse.draw2d.RectangleFigure getFigureStereotypeFigure_ConstraintsCompartment() { | public RectangleFigure getFigureStereotypeFigure_ConstraintsCompartment() { | public org.eclipse.draw2d.RectangleFigure getFigureStereotypeFigure_ConstraintsCompartment() { return fStereotypeFigure_ConstraintsCompartment; } |
public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureStereotypeFigure_NameLabel() { | public WrapLabel getFigureStereotypeFigure_NameLabel() { | public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureStereotypeFigure_NameLabel() { return fStereotypeFigure_NameLabel; } |
public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureStereotypeFigure_StereotypeLabel() { | public WrapLabel getFigureStereotypeFigure_StereotypeLabel() { | public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureStereotypeFigure_StereotypeLabel() { return fStereotypeFigure_StereotypeLabel; } |
private void setFigureStereotypeFigure_AttributesCompartment(org.eclipse.draw2d.RectangleFigure fig) { | private void setFigureStereotypeFigure_AttributesCompartment(RectangleFigure fig) { | private void setFigureStereotypeFigure_AttributesCompartment(org.eclipse.draw2d.RectangleFigure fig) { fStereotypeFigure_AttributesCompartment = fig; } |
private void setFigureStereotypeFigure_ConstraintsCompartment(org.eclipse.draw2d.RectangleFigure fig) { | private void setFigureStereotypeFigure_ConstraintsCompartment(RectangleFigure fig) { | private void setFigureStereotypeFigure_ConstraintsCompartment(org.eclipse.draw2d.RectangleFigure fig) { fStereotypeFigure_ConstraintsCompartment = fig; } |
private void setFigureStereotypeFigure_NameLabel(org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig) { | private void setFigureStereotypeFigure_NameLabel(WrapLabel fig) { | private void setFigureStereotypeFigure_NameLabel(org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig) { fStereotypeFigure_NameLabel = fig; } |
private void setFigureStereotypeFigure_StereotypeLabel(org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig) { | private void setFigureStereotypeFigure_StereotypeLabel(WrapLabel fig) { | private void setFigureStereotypeFigure_StereotypeLabel(org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig) { fStereotypeFigure_StereotypeLabel = fig; } |
awp9Key.put("uid", "awp9"); | awp9Key.put("username", "awp9"); | public void testGetUserAttributesMap() { Map awp9Key = new HashMap(); awp9Key.put("uid", "awp9"); assertEquals(this.backingMap.get("awp9"), this.testInstance.getUserAttributes(awp9Key)); Map unknownUserKey = new HashMap(); unknownUserKey.put("uid", "unknownUser"); ... |
txt.setForeground(null); | txt.setForeground(Color.WHITE); | private static JTextArea makeTextArea(Controller c, String source, GridBagLayout gbl, GridBagConstraints con, int rows, int cols) { JTextArea txt = new JTextArea(); txt.setForeground(null); txt.setBackground(new Color(55, 55, 55)); txt.setCaretColor(Color.WHITE); txt.se... |
for (int i=0; i<fdata.length; i++) { fTrans[i] = Cmplx.mul(fTrans[i], gTrans[i]); | for (int i=0; i<fTrans.length; i++) { fTrans[i] = Cmplx.mul(fTrans[i], gTrans[i]); | public static final float[] convolve(float[] fdata, float[] gdata) { Cmplx[] fTrans = fft(fdata); Cmplx[] gTrans = fft(gdata); for (int i=0; i<fdata.length; i++) { fTrans[i] = Cmplx.mul(fTrans[i], gTrans[i]); } // end of for (int i=0; i<gdata.length; i++) return fftInverse(fTrans, fdata.length... |
for (int i=0; i<fdata.length; i++) { fTrans[i] = Cmplx.mul(fTrans[i], gTrans[i].conjg()); | for (int i=0; i<fTrans.length; i++) { fTrans[i] = Cmplx.mul(fTrans[i], gTrans[i].conjg()); | public static final float[] correlate(float[] fdata, float[] gdata) { Cmplx[] fTrans = fft(fdata); Cmplx[] gTrans = fft(gdata); for (int i=0; i<fdata.length; i++) { fTrans[i] = Cmplx.mul(fTrans[i], gTrans[i].conjg()); } // end of for (int i=0; i<gdata.length; i++) return fftInverse(fTrans, fdata.... |
svci = new CalSvc(); CalSvcIPars pars = new CalSvcIPars(user, access, user, publicAdmin, false, null, debug); svci.init(pars); BwWebUtil.setCalSvcI(request, svci); form.setCalSvcI(svci); | String runAsUser = user; | protected boolean checkSvci(HttpServletRequest request, BwActionFormBase form, BwSession sess, int access, String user, boolean publicAdmin, boo... |
if (t instanceof CalFacadeException) { throw (CalFacadeException)t; } | protected boolean checkSvci(HttpServletRequest request, BwActionFormBase form, BwSession sess, int access, String user, boolean publicAdmin, boo... | |
System.out.println("creating view for "+anIdea); | public IdeaView(Idea anIdea) { System.out.println("creating view for "+anIdea); this.idea = anIdea; this.setLength(15 * anIdea.getText().length()); int subNum = anIdea.getSubIdeas().size(); int i = 0; for (Idea subIdea: anIdea.getSubIdeas()) { IdeaView subView = ... | |
if (protocol == null) { | if (protocol == null || protocols == null) { | public boolean handlesProtocol(String protocol) { if (protocol == null) { return false; } for (int i = 0; i < protocols.length; i++) { if (protocol.equalsIgnoreCase(protocols[i])) { return true; } } return false; } |
jmethods[i] = getMethods(fromClass, methodName, isStatic); | jmethods[i++] = getMethods(fromClass, methodName, isStatic); | public static JavaMethod[] getAllMethods(Class fromClass, boolean isStatic) { // assemble a set of all unique selectors of all (non-)static methods of the class HashSet uniqueNames = new HashSet(); Method[] methods = fromClass.getMethods(); for (int i = 0; i < methods.length; i++) { Method m = methods[i]; if (... |
final Map mappedAttributesBuilder = new HashMap(); | final Map mappedAttributesBuilder = new HashMap(); for (final Iterator sourceAttrNameItr = mapping.keySet().iterator(); sourceAttrNameItr.hasNext(); ) { final Object key = sourceAttrNameItr.next(); | static Map parseAttributeToAttributeMapping(final Map mapping) { //null is assumed to be an empty map if (mapping == null) { return Collections.EMPTY_MAP; } //do a defenisve copy of the map final Map mappedAttributesBuilder = new HashMap(); f... |
for (final Iterator sourceAttrNameItr = mapping.keySet().iterator(); sourceAttrNameItr.hasNext(); ) { final Object key = sourceAttrNameItr.next(); | if (key == null) { throw new IllegalArgumentException("The map from attribute names to attributes must not have any null keys."); } if (! (key instanceof String)) { throw new IllegalArgumentException("The map from attribute names to attributes must only have String keys. Encountered a key of class [" + key.getClass(... | static Map parseAttributeToAttributeMapping(final Map mapping) { //null is assumed to be an empty map if (mapping == null) { return Collections.EMPTY_MAP; } //do a defenisve copy of the map final Map mappedAttributesBuilder = new HashMap(); f... |
if (key == null) { throw new IllegalArgumentException("The map from attribute names to attributes must not have any null keys."); | for (final Iterator sourceSetItr = sourceSet.iterator(); sourceSetItr.hasNext(); ) { final Object mappedAttributeName = sourceSetItr.next(); if (mappedAttributeName instanceof String) { mappedSet.add(mappedAttributeName); } else { throw new IllegalArgumentException("Invalid mapped type. key='" + sourceAttrName + "', v... | static Map parseAttributeToAttributeMapping(final Map mapping) { //null is assumed to be an empty map if (mapping == null) { return Collections.EMPTY_MAP; } //do a defenisve copy of the map final Map mappedAttributesBuilder = new HashMap(); f... |
if (! (key instanceof String)) { throw new IllegalArgumentException("The map from attribute names to attributes must only have String keys. Encountered a key of class [" + key.getClass().getName() + "]"); } final String sourceAttrName = (String) key; final Object mappedAttribute = mapping.get(sourceAttrName); if ... | mappedAttributesBuilder.put(sourceAttrName, Collections.unmodifiableSet(mappedSet)); | static Map parseAttributeToAttributeMapping(final Map mapping) { //null is assumed to be an empty map if (mapping == null) { return Collections.EMPTY_MAP; } //do a defenisve copy of the map final Map mappedAttributesBuilder = new HashMap(); f... |
return Collections.unmodifiableMap(mappedAttributesBuilder); | else { throw new IllegalArgumentException("Invalid mapped type. key='" + sourceAttrName + "', value type='" + mappedAttribute.getClass().getName() + "'"); } } return Collections.unmodifiableMap(mappedAttributesBuilder); | static Map parseAttributeToAttributeMapping(final Map mapping) { //null is assumed to be an empty map if (mapping == null) { return Collections.EMPTY_MAP; } //do a defenisve copy of the map final Map mappedAttributesBuilder = new HashMap(); f... |
form.assignAddingLocation(false); | public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access */ if (!form.getAuthorisedUser()) { return "noAccess"; } String reqpar = request.getParameter("delete"); if (reqpar != null)... | |
assertNull(nullBacking.getPossibleUserAttributeNames()); | assertEquals(Collections.EMPTY_SET, nullBacking.getPossibleUserAttributeNames()); | public void testGetPossibleUserAttributeNames() { HashSet expectedAttributeNames = new HashSet(); expectedAttributeNames.add("shirtColor"); expectedAttributeNames.add("phone"); Set possibleAttributeNames = this.testInstance.getPossibleUserAttributeNames(); assertEquals(expectedAtt... |
public Map getUserAttributes(final String uid) { if (uid == null) { throw new IllegalArgumentException("Illegal to invoke getUserAttributes(String) with a null argument."); | public Map getUserAttributes(final Map seed) { if (seed == null) { throw new IllegalArgumentException("Illegal to invoke getUserAttributes(Map) with a null argument."); | public Map getUserAttributes(final String uid) { if (uid == null) { throw new IllegalArgumentException("Illegal to invoke getUserAttributes(String) with a null argument."); } return this.backingMap; } |
sleep((int)(.1*1000)); | sleep((int)(.01*1000)); | public void run() { setProgressOwner(this); setProgressMax(this, 100); NetworkAccess[] nets = getSelectedNetworks(); try { clearStations(); setProgressValue(this, 10); for (int i=0; i<nets.length; i++) { logger.debug("Before get stations"); Station[] newStations = nets[i].retrieve_stations... |
System.out.println("The radiobutton selected is "+ ((AbstractButton)ae.getItem()).getText()); | public void itemStateChanged(ItemEvent ae) { if(ae.getStateChange() == ItemEvent.SELECTED) { view.addDisplayKey(((AbstractButton)ae.getItem()).getText()); } else if(ae.getStateChange() == ItemEvent.DESELECTED){ view.removeDisplaykey(((AbstractButton)ae.getItem()).getText()); } // view.setDisplayKey(a... | |
methods.put("PROPFIND", new CaldavPropFindMethod()); | public void addMethods(WebdavNsIntf nsIntf) throws WebdavException{ HashMap methods = nsIntf.getMethods(); super.addMethods(nsIntf); // Replace methods methods.put("MKCALENDAR", new MkcalendarMethod()); methods.put("OPTIONS", new CalDavOptionsMethod()); methods.put("REPORT", new ReportMethod()); } | |
System.out.println("yLoc: " + yLoc); System.out.println("rowWidth: " + rowWidth); | void drawPlottableNew(Graphics g) { int mean = getMean(); // get new graphics to avoid messing up original Graphics2D g2 = (Graphics2D)g.create(); g2.setClip(LABEL_X_SHIFT, 0, rowWidth, Integer.MAX_VALUE); AffineTransform originalTransform = AffineTransform.getTranslateInstance(LA... | |
short size = 4; | short size = 40; | protected void setUp() throws Exception { // JUnitDoclet begin method testcase.setUp super.setUp(); short size = 4; intTestData = new int[size]; shortTestData = new short[size]; floatTestData = new float[size]; doubleTestData = new double[size]; for (short i=0; i<size; i++) { sho... |
shortTestData[i] = i; intTestData[i] = i; floatTestData[i] = i; doubleTestData[i] = i; | shortTestData[i] = 1; intTestData[i] = i; floatTestData[i] = i; doubleTestData[i] = i; | protected void setUp() throws Exception { // JUnitDoclet begin method testcase.setUp super.setUp(); short size = 4; intTestData = new int[size]; shortTestData = new short[size]; floatTestData = new float[size]; doubleTestData = new double[size]; for (short i=0; i<size; i++) { sho... |
envPrefix, | public CalSvcI getSvci() throws WebdavIntfException { boolean publicMode = (account == null); if (svci != null) { if (!svci.isOpen()) { try { svci.open(); svci.beginTransaction(); } catch (Throwable t) { throw new WebdavIntfException(t); } } return ... | |
namespacePrefix = WebdavUtils.getUrlPrefix(req); namespace = namespacePrefix + "/schema"; try { | public void init(WebdavServlet servlet, HttpServletRequest req, Properties props, boolean debug) throws WebdavIntfException { super.init(servlet, req, props, debug); namespacePrefix = WebdavUtils.getUrlPrefix(req); namespace = namespacePrefix + "/schema";... | |
boolean superUser, | public boolean init(String authenticatedUser, String user, boolean publicAdmin, boolean superUser, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = deb... | |
if (authenticatedUser == null) { this.superUser = false; } | public boolean init(String authenticatedUser, String user, boolean publicAdmin, boolean superUser, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = deb... | |
this.superUser = superUser; | public boolean init(String authenticatedUser, String user, boolean publicAdmin, boolean superUser, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = deb... | |
selectionWindow.addWindowListener(new WindowAdapter() { | particleWindow.addWindowListener(new WindowAdapter() { | public void createParticleDisplay(BasicSeismogramDisplay creator){ if(particleDisplay == null){ logger.debug("creating particle display"); particleWindow = new JFrame(); LocalSeismogramImpl seis = (((LocalSeismogramImpl)((DataSetSeismogram)creator.getSeismograms().getFirst()).getSeismogram())); part... |
public void changeAccess(Object o, Collection aces) throws CalFacadeException { Collection oldAces = getAces(o); | public void changeAccess(BwShareableDbentity ent, Collection aces) throws CalFacadeException { Collection oldAces = getAces(ent); | public void changeAccess(Object o, Collection aces) throws CalFacadeException { Collection oldAces = getAces(o); try { Acl acl = new Acl(debug); acl.setAces(oldAces); Iterator it = aces.iterator(); while (it.hasNext()) { Ace ace = (Ace)it.next(); acl.removeAccess(ace); a... |
BwShareableDbentity sdbe = (BwShareableDbentity)o; sdbe.setAccess(new String(acl.encode())); | ent.setAccess(new String(acl.encode())); | public void changeAccess(Object o, Collection aces) throws CalFacadeException { Collection oldAces = getAces(o); try { Acl acl = new Acl(debug); acl.setAces(oldAces); Iterator it = aces.iterator(); while (it.hasNext()) { Ace ace = (Ace)it.next(); acl.removeAccess(ace); a... |
public Collection getAces(Object o) throws CalFacadeException { if (!(o instanceof BwShareableDbentity)) { throw new CalFacadeException(CalFacadeException.illegalObjectClass); } BwShareableDbentity sdbe = (BwShareableDbentity)o; return getAces(sdbe, privWriteAcl); | public Collection getAces(BwShareableDbentity ent) throws CalFacadeException { return getAces(ent, privWriteAcl); | public Collection getAces(Object o) throws CalFacadeException { if (!(o instanceof BwShareableDbentity)) { throw new CalFacadeException(CalFacadeException.illegalObjectClass); } BwShareableDbentity sdbe = (BwShareableDbentity)o; return getAces(sdbe, privWriteAcl); } |
boolean superUser, | public boolean init(String authenticatedUser, String user, boolean publicAdmin, boolean superUser, Groups groups, String synchId, boolean debug) throws CalFacadeException; | |
SelectTag select = (SelectTag) findAncestorWithClass(this, SelectTag.class); if (select == null) throw new JspException("selected-value tag must be nested inside a select tag"); select.addValue(value); return EVAL_PAGE; | try { SelectTag select = (SelectTag) findAncestorWithClass(this, SelectTag.class); if (select == null) throw new JspException("selected-value tag must be nested inside a select tag"); select.addValue(value); return EVAL_PAGE; } finally { release(); } | public int doEndTag() throws JspException { SelectTag select = (SelectTag) findAncestorWithClass(this, SelectTag.class); if (select == null) throw new JspException("selected-value tag must be nested inside a select tag"); select.addValue(value); return EVAL_PAGE; } |
(float)(data[data.length-i] * (f0 - f1 * Math.cos(omega*i))); | (float)(data[data.length-i-1] * (f0 - f1 * Math.cos(omega*i))); | public void applyInPlace(float[] data) { int w = Math.round(data.length*width); double[] coeff = getCoefficients(w); double omega = coeff[0]; double f0 = coeff[1]; double f1 = coeff[2]; for (int i=0; i < w ; i++) { data[i] = (float)(data[i] * (f0 - f1 * Math.cos(omega*i))); data[data... |
form.getErr().emit("org.bedework.error.exc", t.getMessage()); | form.getErr().emit("org.bedework.client.error.exc", t.getMessage()); | public String performAction(HttpServletRequest request, HttpServletResponse response, UtilActionForm frm, MessageResources messages) throws Throwable { String forward = "success"; ActionForm form = (ActionForm)frm; setup(r... |
if (defaultAttrName == null) { throw new IllegalStateException("Both 'defaultAttrName' and 'cacheKeyAttributes' properties may not be null."); | if (querySeed.containsKey(defaultAttrName)) { cacheKey.put(defaultAttrName, querySeed.get(defaultAttrName)); | protected Serializable getCacheKey(Map querySeed) { final HashMap cacheKey = new HashMap(); if (this.cacheKeyAttributes == null || this.cacheKeyAttributes.size() == 0) { final String defaultAttrName = this.getDefaultAttributeName(); if (defaultAttrName == null... |
cacheKey.put(defaultAttrName, querySeed.get(defaultAttrName)); | protected Serializable getCacheKey(Map querySeed) { final HashMap cacheKey = new HashMap(); if (this.cacheKeyAttributes == null || this.cacheKeyAttributes.size() == 0) { final String defaultAttrName = this.getDefaultAttributeName(); if (defaultAttrName == null... | |
cacheKey.put(attr, querySeed.get(attr)); | if (querySeed.containsKey(attr)) { cacheKey.put(attr, querySeed.get(attr)); } | protected Serializable getCacheKey(Map querySeed) { final HashMap cacheKey = new HashMap(); if (this.cacheKeyAttributes == null || this.cacheKeyAttributes.size() == 0) { final String defaultAttrName = this.getDefaultAttributeName(); if (defaultAttrName == null... |
System.out.println(fragment); | public Element retrieve() throws java.net.MalformedURLException, java.io.IOException, org.xml.sax.SAXException, javax.xml.transform.TransformerException { String xlink = element.getAttribute("xlink:href"); int sharpIndex = xlink.indexOf("#"); String fragment = xlink.substring(sharpIndex+1, xlink.length()); ... | |
checkAccess(ent, privWriteAcl, false); | public void changeAccess(BwShareableDbentity ent, Collection aces) throws CalFacadeException { checkOpen(); access.changeAccess(ent, aces); sess.saveOrUpdate(ent); } | |
DefaultViewNode windowViewNode2 = new WindowViewNode("window",viewManager.getWorkspaceRoot()); windowViewNode2.setRendered(false); | public void start(IWBundle starterBundle) { //Install the idegaweb views: ViewManager viewManager = ViewManager.getInstance(starterBundle.getApplication()); DefaultViewNode loginViewNode = new WindowViewNode("login",viewManager.getApplicationRoot()); //DefaultViewNode pagesViewNode = new BuilderRootViewNode("p... | |
this.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); this.setForegroundColor(org.eclipse.draw2d.ColorConstants.black); this.setBackgroundColor(org.eclipse.draw2d.ColorConstants.black); | this.setLineStyle(Graphics.LINE_SOLID); this.setForegroundColor(ColorConstants.black); this.setBackgroundColor(ColorConstants.black); | public ExtensionPolyline() { this.setFill(true); this.setFillXOR(false); this.setOutline(true); this.setOutlineXOR(false); this.setLineWidth(1); this.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); this.setForegroundColor(org.eclipse.draw2d.ColorConstants.black); this.setBackgroundColor(org.ecli... |
private org.eclipse.draw2d.RotatableDecoration createTargetDecoration() { org.eclipse.draw2d.PolygonDecoration df = new org.eclipse.draw2d.PolygonDecoration(); | private RotatableDecoration createTargetDecoration() { PolygonDecoration df = new PolygonDecoration(); | private org.eclipse.draw2d.RotatableDecoration createTargetDecoration() { org.eclipse.draw2d.PolygonDecoration df = new org.eclipse.draw2d.PolygonDecoration(); df.setFill(true); df.setFillXOR(false); df.setOutline(true); df.setOutlineXOR(false); df.setLineWidth(1); df.setLineStyle(org.eclipse.draw2d.Gra... |
df.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.draw2d.geometry.PointList pl = new org.eclipse.draw2d.geometry.PointList(); | df.setLineStyle(Graphics.LINE_SOLID); PointList pl = new PointList(); | private org.eclipse.draw2d.RotatableDecoration createTargetDecoration() { org.eclipse.draw2d.PolygonDecoration df = new org.eclipse.draw2d.PolygonDecoration(); df.setFill(true); df.setFillXOR(false); df.setOutline(true); df.setOutlineXOR(false); df.setLineWidth(1); df.setLineStyle(org.eclipse.draw2d.Gra... |
updateAuthPrefs(form, null, null, null, cal); | if (cal.getCalendarCollection()) { updateAuthPrefs(form, null, null, null, cal); } | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } String reqpar = request.... |
ace.encode(this); | if (!ace.getInherited()) { ace.encode(this); } | public char[] encode() throws AccessException { startEncoding(); if (aces != null) { Iterator it = aces.iterator(); while (it.hasNext()) { Ace ace = (Ace)it.next(); ace.encode(this); } } return getEncoding(); } |
} else { | } else if (match != null) { | public void dump(Logger log, String indent) { StringBuffer sb = new StringBuffer(indent); sb.append("<prop-filter name=\""); sb.append(name); sb.append("\">\n"); log.debug(sb.toString()); if (isNotDefined) { log.debug(indent + " " + "<is-not-defined/>\n"); } else if (timeRange != null) { ... |
}catch(InterruptedException e) { | }catch(InterruptedException interrupted) { | public void run() { int maxFail = 5; setFinished(false); consecutiveFailures = 0; quitThread = false; while (!quitThread) { try { checkNet(); } catch (RuntimeException e) { if(consecutiveFa... |
renderPrevLink(out, prevCal.get(Calendar.MONTH) + 1, prevCal.get(Calendar.YEAR)); | renderPrevLink(out, prevCal.get(Calendar.YEAR), prevCal.get(Calendar.MONTH) + 1); | public int doEndTag() throws JspException { try { JspWriter out = pageContext.getOut(); // get locale-specific stuff locale = getDefaultLocale(); if (resourceBundle == null) resourceBundle = getDefaultResourceBundle(); if (timeZone == null) timeZone = getDefaultTimeZone(); ... |
renderNextLink(out, nextCal.get(Calendar.MONTH) + 1, nextCal.get(Calendar.YEAR)); | renderNextLink(out, nextCal.get(Calendar.YEAR), nextCal.get(Calendar.MONTH) + 1); | public int doEndTag() throws JspException { try { JspWriter out = pageContext.getOut(); // get locale-specific stuff locale = getDefaultLocale(); if (resourceBundle == null) resourceBundle = getDefaultResourceBundle(); if (timeZone == null) timeZone = getDefaultTimeZone(); ... |
return addDisplay(dss, DisplayUtils.getSeismogramNames(dss)); | return addDisplay(dss, globalRegistrar, globalRegistrar); | public BasicSeismogramDisplay addDisplay(DataSetSeismogram[] dss){ return addDisplay(dss, DisplayUtils.getSeismogramNames(dss)); } |
AGSymbol.alloc("at"), | AGSymbol.jAlloc("at"), | public void testJavaBaseFieldAssignment() { try { ATMessage message = new NATMethodInvocation( AGSymbol.alloc("at"), NATTable.EMPTY); message.base_setArguments( new NATTable(new ATObject[] { closures.base_getLength() })); ATObject element = message.base_sendTo(closures); element... |
ATObject accessor = closures.meta_select(closures, AGSymbol.alloc("at")); | ATObject accessor = closures.meta_select(closures, AGSymbol.jAlloc("at")); | public void testSimulatedBaseFieldAccess() { try { ATObject accessor = closures.meta_select(closures, AGSymbol.alloc("at")); ATObject element = accessor.base_asClosure().base_apply( new NATTable(new ATObject[] { closures.meta_select(closures, AGSymbol.alloc("length"))})); element.base_asClosure().base... |
closures.meta_select(closures, AGSymbol.alloc("length"))})); | closures.meta_select(closures, AGSymbol.jAlloc("length"))})); | public void testSimulatedBaseFieldAccess() { try { ATObject accessor = closures.meta_select(closures, AGSymbol.alloc("at")); ATObject element = accessor.base_asClosure().base_apply( new NATTable(new ATObject[] { closures.meta_select(closures, AGSymbol.alloc("length"))})); element.base_asClosure().base... |
AGSymbol.alloc("at"), | AGSymbol.jAlloc("at"), | public void testSimulatedBaseFieldAssignment() { try { ATMessage message = new NATMethodInvocation( AGSymbol.alloc("at"), NATTable.EMPTY); message.meta_assignVariable( AGSymbol.alloc("arguments"), new NATTable(new ATObject[] { closures.base_getLength() })); ATObject element = mes... |
AGSymbol.alloc("arguments"), | AGSymbol.jAlloc("arguments"), | public void testSimulatedBaseFieldAssignment() { try { ATMessage message = new NATMethodInvocation( AGSymbol.alloc("at"), NATTable.EMPTY); message.meta_assignVariable( AGSymbol.alloc("arguments"), new NATTable(new ATObject[] { closures.base_getLength() })); ATObject element = mes... |
True, AGSymbol.alloc("ifTrue:"), | True, AGSymbol.jAlloc("ifTrue:"), | public void testSimulatedBaseInvocation() { try { True.meta_invoke( True, AGSymbol.alloc("ifTrue:"), new NATTable(new ATObject[] { success })); True.meta_invoke( True, AGSymbol.alloc("ifFalse:"), new NATTable(new ATObject[] { fail })); True.meta_invoke( True, AGSymbol.alloc("ifTrue:ifFalse:"... |
True, AGSymbol.alloc("ifFalse:"), | True, AGSymbol.jAlloc("ifFalse:"), | public void testSimulatedBaseInvocation() { try { True.meta_invoke( True, AGSymbol.alloc("ifTrue:"), new NATTable(new ATObject[] { success })); True.meta_invoke( True, AGSymbol.alloc("ifFalse:"), new NATTable(new ATObject[] { fail })); True.meta_invoke( True, AGSymbol.alloc("ifTrue:ifFalse:"... |
True, AGSymbol.alloc("ifTrue:ifFalse:"), | True, AGSymbol.jAlloc("ifTrue:ifFalse:"), | public void testSimulatedBaseInvocation() { try { True.meta_invoke( True, AGSymbol.alloc("ifTrue:"), new NATTable(new ATObject[] { success })); True.meta_invoke( True, AGSymbol.alloc("ifFalse:"), new NATTable(new ATObject[] { fail })); True.meta_invoke( True, AGSymbol.alloc("ifTrue:ifFalse:"... |
False, AGSymbol.alloc("ifTrue:"), | False, AGSymbol.jAlloc("ifTrue:"), | public void testSimulatedBaseInvocation() { try { True.meta_invoke( True, AGSymbol.alloc("ifTrue:"), new NATTable(new ATObject[] { success })); True.meta_invoke( True, AGSymbol.alloc("ifFalse:"), new NATTable(new ATObject[] { fail })); True.meta_invoke( True, AGSymbol.alloc("ifTrue:ifFalse:"... |
False, AGSymbol.alloc("ifFalse:"), | False, AGSymbol.jAlloc("ifFalse:"), | public void testSimulatedBaseInvocation() { try { True.meta_invoke( True, AGSymbol.alloc("ifTrue:"), new NATTable(new ATObject[] { success })); True.meta_invoke( True, AGSymbol.alloc("ifFalse:"), new NATTable(new ATObject[] { fail })); True.meta_invoke( True, AGSymbol.alloc("ifTrue:ifFalse:"... |
False, AGSymbol.alloc("ifTrue:ifFalse:"), | False, AGSymbol.jAlloc("ifTrue:ifFalse:"), | public void testSimulatedBaseInvocation() { try { True.meta_invoke( True, AGSymbol.alloc("ifTrue:"), new NATTable(new ATObject[] { success })); True.meta_invoke( True, AGSymbol.alloc("ifFalse:"), new NATTable(new ATObject[] { fail })); True.meta_invoke( True, AGSymbol.alloc("ifTrue:ifFalse:"... |
AGSymbol.alloc("addField"), | AGSymbol.jAlloc("addField"), | public ATNil meta_addField(ATField field) throws InterpreterException { mirror_.meta_invoke( mirror_, AGSymbol.alloc("addField"), new NATTable(new ATObject[] { field }) ); return NATNil._INSTANCE_; } |
AGSymbol.alloc("addMethod"), | AGSymbol.jAlloc("addMethod"), | public ATNil meta_addMethod(ATMethod method) throws InterpreterException { mirror_.meta_invoke( mirror_, AGSymbol.alloc("addMethod"), new NATTable(new ATObject[] { method }) ); return NATNil._INSTANCE_; } |
AGSymbol.alloc("assignField"), | AGSymbol.jAlloc("assignField"), | public ATNil meta_assignField(ATObject receiver, ATSymbol selector, ATObject value) throws InterpreterException { mirror_.meta_invoke( mirror_, AGSymbol.alloc("assignField"), new NATTable(new ATObject[] { receiver, selector, value }) ); return NATNil._INSTANCE_; } |
AGSymbol.alloc("assignVariable"), | AGSymbol.jAlloc("assignVariable"), | public ATNil meta_assignVariable(ATSymbol name, ATObject value) throws InterpreterException { mirror_.meta_invoke( mirror_, AGSymbol.alloc("assignVariable"), new NATTable(new ATObject[] { name, value }) ); return NATNil._INSTANCE_; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.