Examples of kind()


Examples of com.alkacon.diff.rangedifferencer.RangeDifference.kind()

            int leftLineCount = leftComparator.getRangeCount();
            do {
                RangeDifference diff = differences[diffIndex];

                if (diff.kind() == RangeDifference.CHANGE) {
                    int nextChangedLine = diff.leftStart();

                    // output contextLineCount number of lines (if available) or all lines if contextLineCount == -1
                    if (pos != 0) { // at start of file, skip immediately to first changes
                        int beginContextEndPos = pos + config.getLinesBeforeSkip();
View Full Code Here

Examples of com.google.caliper.runner.StreamService.StreamItem.kind()

  @Test public void testReadOutput() throws Exception {
    makeService(FakeWorkers.PrintClient.class, "foo", "bar");
    service.startAsync().awaitRunning();
    StreamItem item1 = readItem();
    assertEquals(Kind.DATA, item1.kind());
    Set<String> lines = Sets.newHashSet();
    lines.add(item1.content().toString());
    StreamItem item2 = readItem();
    assertEquals(Kind.DATA, item2.kind());
    lines.add(item2.content().toString());
View Full Code Here

Examples of com.ibm.icu.impl.ICULocaleService.LocaleKey.kind()

        public Object create(Key key, ICUService srvc) {
            if (handlesKey(key)) {
                LocaleKey lkey = (LocaleKey)key;
                ULocale loc = lkey.canonicalLocale();
                int kind = lkey.kind();

                Object result = delegate.createFormat(loc, kind);
                if (result == null) {
                    result = srvc.getKey(key, null, this);
                }
View Full Code Here

Examples of com.sun.corba.se.impl.corba.TypeCodeImpl.kind()

        // But still we would need to make sure that the whole typecode,
        // including encapsulations, is read off.
        try {
            tc.read_value(parent);
        } catch (MARSHAL ex) {
            if (tc.kind().value() != TCKind._tk_value)
                throw ex;
            // We can be sure that the whole typecode encapsulation has been
            // read off.
            dprintThrowable(ex);
        }
View Full Code Here

Examples of com.sun.javadoc.Tag.kind()

  }

  private void processTags(Tag[] tags) {
    for (int i = 0; i < tags.length; i++) {
      Tag tag = tags[i];
      String tagKind = tag.kind();
      if (tagKind.equals("Text")) {
        text(tag.text());
      } else if (tagKind.equals("@see")) {
        processSeeTag((SeeTag) tag);
      } else if (tagKind.equals("@param")) {
View Full Code Here

Examples of com.sun.tools.xjc.model.CPropertyInfo.kind()

        JClass fieldType = (JClass) field.getRawType();
        CPropertyInfo fieldPropertyInfo = field.getPropertyInfo();

        // For example, XSD attributes (PropertyKind.ATTRIBUTE) are always simple types:
        if (!(fieldPropertyInfo.kind() == PropertyKind.ELEMENT || fieldPropertyInfo.kind() == PropertyKind.REFERENCE)) {
          continue;
        }

        String fieldName = fieldPropertyInfo.getName(false);
View Full Code Here

Examples of org.apache.cassandra.db.RowPosition.kind()

        if (stopPosition.isMinimum())
        {
            stop = null;
        }
        boolean includeLower = includeLower(startPosition.kind());
        boolean includeUpper = includeUpper(stopPosition.kind());
        Log.debug("Filtering %s %d, %d %s", includeLower ? "[" : "(", start, stop, includeUpper ? "]" : ")");
        return NumericRangeFilter.newLongRange(FIELD_NAME, start, stop, includeLower, includeUpper);
    }

    /**
 
View Full Code Here

Examples of org.aspectj.internal.lang.annotation.ajcDeclareAnnotation.kind()

            break;
          }
        }
        DeclareAnnotationImpl da = new DeclareAnnotationImpl(
            this,
            decAnn.kind(),
            decAnn.pattern(),
            targetAnnotation,
            decAnn.annotation()
            );
        decAs.add(da);
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding.kind()

    if (this.binding != null) {
      Binding existingType = scope.parent.getBinding(this.name, Binding.TYPE, this, false/*do not resolve hidden field*/);
      if (existingType != null
          && this.binding != existingType
          && existingType.isValidBinding()
          && (existingType.kind() != Binding.TYPE_PARAMETER || !staticContext)) {
        scope.problemReporter().typeHiding(this, existingType);
      }
    }
  }
 
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding.kind()

              if (binding instanceof org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding) {
                ITypeBinding typeBinding = this.getTypeBinding((org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding) binding);
                return typeBinding == null ? null : typeBinding;
              }
            } else {
              if ((binding.kind() & Binding.PACKAGE) != 0) {
                IPackageBinding packageBinding = this.getPackageBinding((org.aspectj.org.eclipse.jdt.internal.compiler.lookup.PackageBinding) binding);
                if (packageBinding == null) {
                  return null;
                }
                return packageBinding;
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.