Examples of QualifiedName


Examples of com.asakusafw.utils.java.model.syntax.QualifiedName

        CompilationUnit source = engine.generate();
        environment.emit(source);
        Name packageName = source.getPackageDeclaration().getName();
        SimpleName simpleName = source.getTypeDeclarations().get(0).getName();

        QualifiedName name = environment
            .getModelFactory()
            .newQualifiedName(packageName, simpleName);

        LOG.debug("{}の処理には{}が利用されます", fragment, name);
        return new CompiledType(name);

Examples of com.bacoder.parser.java.api.QualifiedName

    super(adapters);
  }

  @Override
  public QualifiedName adapt(QualifiedNameContext context) {
    QualifiedName qualifiedName = createNode(context);

    List<Identifier> identifiers =
        transform(context, TerminalNode.class, new Function<TerminalNode, Identifier>() {
          @Override
          public Identifier apply(TerminalNode input) {
            if (input.getSymbol().getType() == JavaParser.DOT) {
              return null;
            } else {
              return getAdapter(IdentifierAdapter.class).adapt(input);
            }
          }
        });
    qualifiedName.setIdentifiers(identifiers);

    return qualifiedName;
  }

Examples of com.facebook.presto.sql.tree.QualifiedName

    {
        List<Partition> partitions = splitManager.getPartitions(tableHandle, Optional.<Map<ColumnHandle, Object>>of(ImmutableMap.<ColumnHandle, Object>of(dsColumnHandle, "foo")));
        assertEquals(partitions.size(), 2);

        // ds=3. No partition will match this.
        Expression nonMatching = new ComparisonExpression(Type.EQUAL, new QualifiedNameReference(new QualifiedName("ds")), new StringLiteral("3"));
        DataSource dataSource = splitManager.getSplits(session, tableHandle, BooleanLiteral.TRUE_LITERAL, nonMatching, Predicates.<Partition>alwaysTrue(), symbols);
        List<Split> splits = ImmutableList.copyOf(dataSource.getSplits());
        // no splits found
        assertEquals(splits.size(), 0);
    }

Examples of com.google.javascript.jscomp.newtypes.QualifiedName

      FunctionType fnType = summaryType.getFunType();
      if (fnType.isConstructor() || fnType.isInterfaceDefinition()) {
        summaryType = fnType.createConstructorObject();
      } else {
        summaryType = summaryType.withProperty(
            new QualifiedName("prototype"), JSType.TOP_OBJECT);
      }
      entryEnv = envPutType(entryEnv, fnName, summaryType);
    }
    println("Keeping env: ", entryEnv);
    setOutEnv(cfg.getEntry(), entryEnv);

Examples of com.sun.xml.fastinfoset.QualifiedName

                    processEII(decodeEIIIndexLarge(), (_b & EncodingConstants.ELEMENT_ATTRIBUTE_FLAG) > 0);
                    firstElementHasOccured = true;
                    break;
                case DecoderStateTables.EII_LITERAL:
                {
                    final QualifiedName qn = processLiteralQualifiedName(
                            _b & EncodingConstants.LITERAL_QNAME_PREFIX_NAMESPACE_NAME_MASK,
                            _elementNameTable.getNext());
                    _elementNameTable.add(qn);
                    processEII(qn, (_b & EncodingConstants.ELEMENT_ATTRIBUTE_FLAG) > 0);
                    firstElementHasOccured = true;

Examples of com.sun.xml.internal.fastinfoset.QualifiedName

            prefix = qName.substring(0, i);
            localName = qName.substring(i + 1);
        }

        for (i = 0; i < _attributeCount; i++) {
            QualifiedName name = _names[i];
            if (localName.equals(name.localName) &&
                prefix.equals(name.prefix)) {
                return i;
            }
        }

Examples of io.crate.sql.tree.QualifiedName

                .addPrimaryKey("name").build();

        PartitionName partitionName = PartitionPropertiesAnalyzer.toPartitionName(
                tableInfo,
                Arrays.asList(new Assignment(
                        new QualifiedNameReference(new QualifiedName("name")),
                        new StringLiteral("foo"))),
                new Object[0]);
        assertThat(partitionName.stringValue(), is(".partitioned.users.0426crrf"));
    }

Examples of net.ftlines.metagen.processor.model.QualifiedName

    while (element.getNestingKind() != NestingKind.TOP_LEVEL)
    {
      element = (TypeElement)element.getEnclosingElement();
      cn = element.getSimpleName() + MARKER + "." + cn;
    }
    cn = new QualifiedName(element.getQualifiedName().toString()).getNamespace() + "." + cn;

    return new QualifiedName(cn);
  }

Examples of net.sf.hajdbc.QualifiedName

   */
  @Override
  public void getAlterSequenceSQL() throws SQLException
  {
    SequenceProperties sequence = mock(SequenceProperties.class);
    QualifiedName name = mock(QualifiedName.class);
   
    when(sequence.getName()).thenReturn(name);
    when(name.getDDLName()).thenReturn("sequence");
    when(sequence.getIncrement()).thenReturn(1);
   
    String result = this.dialect.getSequenceSupport().getAlterSequenceSQL(sequence, 1000L);

    assertEquals("SET GENERATOR sequence TO 1000", result);

Examples of org.apache.torque.generator.qname.QualifiedName

    {
        if (name == null)
        {
            throw new IllegalArgumentException("name must not be null");
        }
        this.name = new QualifiedName(name, Namespace.ROOT_NAMESPACE);
        namespace = this.name.getNamespace();
    }
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.