Examples of Location


Examples of edu.umd.cs.findbugs.ba.Location

    }

    @Override
    public void transferInstruction(InstructionHandle handle, BasicBlock basicBlock, TypeFrame fact)
            throws DataflowAnalysisException {
        visitor.setFrameAndLocation(fact, new Location(handle, basicBlock));
        visitor.analyzeInstruction(handle.getInstruction());
    }
View Full Code Here

Examples of edu.umn.cs.melt.copper.runtime.io.Location

      host = new CupSkinParser().parse(new InputStreamReader(is), original.getName());
    } catch (Exception e) {
      throw new BuildException(e);
    }

    Location newFCLoc = null;
    try {
      newFCLoc = host.getGrammar(CopperElementName.newName("_" + hostGrammar))
          .getGrammarElement(CopperElementName.newName(newFC)).getLocation();
      host.setStartSymbol(CopperElementReference.ref(CopperElementName.newName("_" + hostGrammar), newFC, newFCLoc));
    } catch (ParseException e) {
View Full Code Here

Examples of ee.devclub.model.Location

    }

    @POST
    public PhotoSpot newPhotoSpot(@FormParam("name") String name, @FormParam("description") String description,
                                  @FormParam("lat") float lat, @FormParam("lon") float lon) {
        return repo.persist(new PhotoSpot(name, description, new Location(lat, lon)));
    }
View Full Code Here

Examples of elemental.html.Location

        PathUtil nodePath = fileTreeNode.getNodePath();

        String downloadFileName = fileTreeNode.isDirectory() ? nodePath.getBaseName() + ".zip"
            : nodePath.getBaseName();

        Location location = elemental.client.Browser.getWindow().getLocation();
        String urlHttpHostPort = location.getProtocol() + "//" + location.getHost();

        String downloadUrl = "application/octet-stream:" + downloadFileName + ":"
            + ResourceUriUtils.getAbsoluteResourceUri(nodePath)
            + (fileTreeNode.isDirectory() ? "?rt=zip" : "");
        event.getDataTransfer().setData("DownloadURL", downloadUrl);
View Full Code Here

Examples of eu.admire.gateway.engine.ogsadai.Location

    }

    @Override
    public Location getLocation(String executionEngineName) throws UnknownExecutionEngineException
    {
        Location result = mExecutionEngineToLocation.get(executionEngineName);
        if (result == null)
        {
            throw new UnknownExecutionEngineException(executionEngineName);
        }
        return result;
View Full Code Here

Examples of eu.flatworld.cstrader.data.Location

                long w = Long.parseLong(m.group(4));
                weightCache.put(itemLine.getItem().getName(), new Long(w));
                itemLine.getItem().setWeight(w);
            }
            itemLine.setPrice(Long.parseLong(m.group(5)));
            Location l = new Location();
            l.setName(m.group(9).trim());
            Long grd = Long.parseLong(m.group(8));
            if (grd == 190) {
                l.setPlanet(true);
            } else {
                l.setPlanet(false);
            }
            l.setGrid(grd);
            Long sector = Long.parseLong(m.group(7));
            l.setSector(sector);
            // get system id (6) and cross check
            l.setSystem(galaxy);
            // NEW: stash coords in file.
            LocationProperty lp = locationsProperties.get(itemLine.getItem().getName());
            if (lp == null) {
                lp = new LocationProperty();
            }
View Full Code Here

Examples of facebook4j.Location

            JSONArray list = json.getJSONArray("data");
            final int size = list.length();
            ResponseList<Location> locations = new ResponseListImpl<Location>(size, json);
            for (int i = 0; i < size; i++) {
                JSONObject locationJSONObject = list.getJSONObject(i);
                Location location = new LocationJSONImpl(locationJSONObject);
                if (conf.isJSONStoreEnabled()) {
                    DataObjectFactoryUtil.registerJSONObject(location, locationJSONObject);
                }
                locations.add(location);
            }
View Full Code Here

Examples of flash.tools.debugger.Location

        sb.append("n   ");

      Iterator<Location> itr = b.getLocations().iterator();
      while(itr.hasNext())
      {
        Location l = itr.next();
        SourceFile file = l.getFile();
        String funcName = (file == null)
          ? getLocalizationManager().getLocalizedTextString("unknownBreakpointLocation") //$NON-NLS-1$
          : file.getFunctionNameForLine(m_session, l.getLine()) ;
        int offset = adjustOffsetForUnitTests((file == null) ? 0 : file.getOffsetForLine(l.getLine()));

        sb.append("0x"); //$NON-NLS-1$
        FieldFormat.formatLongToHex(sb, offset, 8);
        sb.append(' ');

        if (funcName != null)
        {
          Map<String, Object> funcArgs = new HashMap<String, Object>();
          funcArgs.put("functionName", funcName); //$NON-NLS-1$
          sb.append(getLocalizationManager().getLocalizedTextString("inFunctionAt", funcArgs)); //$NON-NLS-1$
        }

        sb.append(file.getName());
        if (file != null)
        {
          sb.append("#"); //$NON-NLS-1$
          sb.append(file.getId());
        }
        sb.append(':');
        sb.append(l.getLine());

        try
        {
          SwfInfo info = m_fileInfo.swfForFile(file);
          Map<String, Object> swfArgs = new HashMap<String, Object>();
View Full Code Here

Examples of fr.obeo.releng.targetplatform.Location

      Resource _eResource_1 = targetPlatform.eResource();
      EList<Resource.Diagnostic> _errors_1 = _eResource_1.getErrors();
      boolean _isEmpty = _errors_1.isEmpty();
      Assert.assertTrue(_join, _isEmpty);
      EList<Location> _locations = targetPlatform.getLocations();
      final Location fisrtLocation = IterableExtensions.<Location>head(_locations);
      String _uri = fisrtLocation.getUri();
      Assert.assertEquals("https://hudson.eclipse.org/hudson/view/Modeling/job/emf-core-head/lastSuccessfulBuild/artifact/EMF.p2.repository/", _uri);
      EList<IU> _ius = fisrtLocation.getIus();
      int _size = _ius.size();
      Assert.assertEquals(2, _size);
      EList<IU> _ius_1 = fisrtLocation.getIus();
      final IU iu0 = IterableExtensions.<IU>head(_ius_1);
      String _iD = iu0.getID();
      Assert.assertEquals("org.eclipse.emf.sdk.feature.group", _iD);
      String _version = iu0.getVersion();
      Assert.assertEquals("[2.9.0,3.0.0)", _version);
      EList<IU> _ius_2 = fisrtLocation.getIus();
      final IU iu1 = IterableExtensions.<IU>last(_ius_2);
      String _iD_1 = iu1.getID();
      Assert.assertEquals("com.google.common.cache", _iD_1);
      String _version_1 = iu1.getVersion();
      Assert.assertEquals("10.0.1", _version_1);
      EList<Location> _locations_1 = targetPlatform.getLocations();
      final Location lastLocation = IterableExtensions.<Location>last(_locations_1);
      String _uri_1 = lastLocation.getUri();
      Assert.assertEquals("https://hudson.eclipse.org/hudson/view/Modeling/job/mdt-uml2-master/lastSuccessfulBuild/artifact/UML2.p2.repository/", _uri_1);
      EList<IU> _ius_3 = lastLocation.getIus();
      int _size_1 = _ius_3.size();
      Assert.assertEquals(1, _size_1);
      EList<IU> _ius_4 = lastLocation.getIus();
      final IU uml2iu = IterableExtensions.<IU>head(_ius_4);
      String _iD_2 = uml2iu.getID();
      Assert.assertEquals("org.eclipse.uml2.sdk.feature.group", _iD_2);
      String _version_2 = uml2iu.getVersion();
      Assert.assertEquals(null, _version_2);
View Full Code Here

Examples of gap.jac.tools.JavaFileManager.Location

    public void flush() throws IOException {
    }
    public void close() throws IOException {
    }
    public String toString(){
        Location location = this.location;
        if (null != location)
            return location.getName();
        else
            return "";
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.