Package org.aspectj.org.eclipse.jdt.internal.compiler.lookup

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


      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

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.