Examples of overrides()


Examples of javax.lang.model.util.Elements.overrides()

    public boolean isOverriding(ExecutableElement method, TypeElement base) {
        Elements elements = env.getElementUtils();

        while (true) {
            for (ExecutableElement m : ElementFilter.methodsIn(elements.getAllMembers(base))) {
                if (elements.overrides(method, m, base))
                    return true;
            }

            if (base.getSuperclass().getKind().equals(TypeKind.NONE))
                return false;
View Full Code Here

Examples of no.priv.garshol.duke.Link.overrides()

        String key = makeKey(newl);
        Link oldl = oldmap.get(key);
        if (oldl == null)
          continue;

        if (oldl.overrides(newl))
          // previous information overrides this link, so ignore
          curlinks.remove(newl);
        else if (sameAs(oldl, newl)) {
          // there's no new information here, so just ignore this
          curlinks.remove(newl);
View Full Code Here

Examples of org.eclipse.jdt.core.dom.IMethodBinding.overrides()

              && mbx.getName().equals(mb.getName())
              && TransformUtil.sameParameters(mb, mbx, true)) {
            return last;
          }

          if (last.overrides(mbx)) {
            // This will give the final name of the method
            last = mbx;
          }
        }
      }
View Full Code Here

Examples of org.hibernate.validator.internal.metadata.raw.ExecutableElement.overrides()

      //are the locations equal (created by different builders) or
      //does one of the executables override the other one?
      return
          location.getExecutableElement().equals( executableElement ) ||
              location.getExecutableElement().overrides( executableElement ) ||
              executableElement.overrides(
                  location.getExecutableElement()
              );
    }

    @Override
View Full Code Here

Examples of org.hibernate.validator.internal.metadata.raw.ExecutableElement.overrides()

      ExecutableElement executableElement = ( (ConstrainedExecutable) constrainedElement ).getLocation()
          .getExecutableElement();

      //does one of the executables override the other one?
      return location.getExecutableElement()
          .overrides( executableElement ) || executableElement.overrides(
          location.getExecutableElement()
      );
    }

    @Override
View Full Code Here

Examples of org.hibernate.validator.internal.metadata.raw.ExecutableElement.overrides()

      //are the locations equal (created by different builders) or
      //does one of the executables override the other one?
      return
          location.getExecutableElement().equals( executableElement ) ||
              location.getExecutableElement().overrides( executableElement ) ||
              executableElement.overrides(
                  location.getExecutableElement()
              );
    }

    @Override
View Full Code Here

Examples of org.hibernate.validator.internal.metadata.raw.ExecutableElement.overrides()

      //are the locations equal (created by different builders) or
      //does one of the executables override the other one?
      return
          location.getExecutableElement().equals( executableElement ) ||
              location.getExecutableElement().overrides( executableElement ) ||
              executableElement.overrides(
                  location.getExecutableElement()
              );
    }

    @Override
View Full Code Here

Examples of org.hibernate.validator.internal.metadata.raw.ExecutableElement.overrides()

      //are the locations equal (created by different builders) or
      //does one of the executables override the other one?
      return
          location.getExecutableElement().equals( executableElement ) ||
              location.getExecutableElement().overrides( executableElement ) ||
              executableElement.overrides(
                  location.getExecutableElement()
              );
    }

    @Override
View Full Code Here

Examples of org.hibernate.validator.internal.metadata.raw.ExecutableElement.overrides()

      //are the locations equal (created by different builders) or
      //does one of the executables override the other one?
      return
          location.getExecutableElement().equals( executableElement ) ||
              location.getExecutableElement().overrides( executableElement ) ||
              executableElement.overrides(
                  location.getExecutableElement()
              );
    }

    @Override
View Full Code Here

Examples of org.hibernate.validator.internal.metadata.raw.ExecutableElement.overrides()

      //are the locations equal (created by different builders) or
      //does one of the executables override the other one?
      return
          location.getExecutableElement().equals( executableElement ) ||
              location.getExecutableElement().overrides( executableElement ) ||
              executableElement.overrides(
                  location.getExecutableElement()
              );
    }

    @Override
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.