Examples of availableMethods()


Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.availableMethods()

  public IMemberValuePairBinding[] getAllMemberValuePairs() {
    IMemberValuePairBinding[] pairs = getDeclaredMemberValuePairs();
    ReferenceBinding typeBinding = this.internalAnnotation.getAnnotationType();
    if (typeBinding == null) return pairs;
    MethodBinding[] methods = typeBinding.availableMethods(); // resilience
    int methodLength = methods == null ? 0 : methods.length;
    if (methodLength == 0) return pairs;

    int declaredLength = pairs.length;
    if (declaredLength == methodLength)
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.availableMethods()

      return this.methods;
    }
    try {
      if (isClass() || isInterface() || isEnum()) {
        ReferenceBinding referenceBinding = (ReferenceBinding) this.binding;
        org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding[] internalMethods = referenceBinding.availableMethods(); // be resilient
        int length = internalMethods.length;
        if (length != 0) {
          int removeSyntheticsCounter = 0;
          IMethodBinding[] newMethods = new IMethodBinding[length];
          for (int i = 0; i < length; i++) {
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.availableMethods()

      ReferenceBinding[] interfacesToVisit = itsInterfaces;
      int nextPosition = interfacesToVisit.length;

      for (int i = 0; i < nextPosition; i++) {
        ReferenceBinding currentType = interfacesToVisit[i];
        MethodBinding[] methods = currentType.availableMethods();
        if(methods != null) {
          searchVisibleLocalMethods(
              methods,
              receiverType,
              scope,
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.availableMethods()

      }
    }
    boolean hasPotentialDefaultAbstractMethods = true;
    while (currentType != null) {

      MethodBinding[] methods = currentType.availableMethods();
      if (methods != null) {
        searchVisibleLocalMethods(
            methods,
            receiverType,
            scope,
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.availableMethods()

  public IMemberValuePairBinding[] getAllMemberValuePairs() {
    IMemberValuePairBinding[] pairs = getDeclaredMemberValuePairs();
    ReferenceBinding typeBinding = this.binding.getAnnotationType();
    if (typeBinding == null || ((typeBinding.tagBits & TagBits.HasMissingType) != 0)) return pairs;
    MethodBinding[] methods = typeBinding.availableMethods(); // resilience
    int methodLength = methods == null ? 0 : methods.length;
    if (methodLength == 0) return pairs;

    int declaredLength = pairs.length;
    if (declaredLength == methodLength)
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.availableMethods()

      return this.methods;
    }
    try {
      if (isClass() || isInterface() || isEnum()) {
        ReferenceBinding referenceBinding = (ReferenceBinding) this.binding;
        org.eclipse.jdt.internal.compiler.lookup.MethodBinding[] internalMethods = referenceBinding.availableMethods(); // be resilient
        int length = internalMethods.length;
        if (length != 0) {
          int convertedMethodCount = 0;
          IMethodBinding[] newMethods = new IMethodBinding[length];
          for (int i = 0; i < length; i++) {
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.availableMethods()

      ReferenceBinding[] interfacesToVisit = itsInterfaces;
      int nextPosition = interfacesToVisit.length;

      for (int i = 0; i < nextPosition; i++) {
        ReferenceBinding currentType = interfacesToVisit[i];
        MethodBinding[] methods = currentType.availableMethods();
        if(methods != null) {
          searchVisibleLocalMethods(
              methods,
              receiverType,
              scope,
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.availableMethods()

      }
    }
    boolean hasPotentialDefaultAbstractMethods = true;
    while (currentType != null) {

      MethodBinding[] methods = currentType.availableMethods();
      if (methods != null) {
        searchVisibleLocalMethods(
            methods,
            receiverType,
            scope,
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.availableMethods()

      return this.methods;
    }
    try {
      if (isClass() || isInterface() || isEnum()) {
        ReferenceBinding referenceBinding = (ReferenceBinding) this.binding;
        org.eclipse.jdt.internal.compiler.lookup.MethodBinding[] internalMethods = referenceBinding.availableMethods(); // be resilient
        int length = internalMethods.length;
        if (length != 0) {
          int convertedMethodCount = 0;
          IMethodBinding[] newMethods = new IMethodBinding[length];
          for (int i = 0; i < length; i++) {
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.availableMethods()

      ReferenceBinding[] interfacesToVisit = itsInterfaces;
      int nextPosition = interfacesToVisit.length;

      for (int i = 0; i < nextPosition; i++) {
        ReferenceBinding currentType = interfacesToVisit[i];
        MethodBinding[] methods = currentType.availableMethods();
        if(methods != null) {
          searchVisibleLocalMethods(
              methods,
              receiverType,
              scope,
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.