Examples of shortReadableName()


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

        if (this.valueCast instanceof ReferenceBinding) {
      ReferenceBinding referenceCast = (ReferenceBinding) this.valueCast;
      if (!referenceCast.canBeSeenBy(scope)) {
            scope.problemReporter().invalidType(this,
                new ProblemReferenceBinding(
              CharOperation.splitOn('.', referenceCast.shortReadableName()),
              referenceCast,
              ProblemReasons.NotVisible));
      }
        }   
  }
View Full Code Here

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

          if (typeCast instanceof ReferenceBinding) {
        ReferenceBinding referenceCast = (ReferenceBinding) typeCast;
        if (!referenceCast.canBeSeenBy(scope)) {
              scope.problemReporter().invalidType(this,
                  new ProblemReferenceBinding(
                CharOperation.splitOn('.', referenceCast.shortReadableName()),
                referenceCast,
                ProblemReasons.NotVisible));
        }
          }           
    }  
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding.shortReadableName()

        buffer.append(", "); //$NON-NLS-1$
      TypeBinding type = types[i];
      boolean isVarargType = isVarargs && i == length - 1;
      if (isVarargType)
        type = ((ArrayBinding) type).elementsType();
      buffer.append(new String(makeShort ? type.shortReadableName() : type.readableName()));
      if (isVarargType)
        buffer.append("..."); //$NON-NLS-1$
    }
    return buffer.toString();
  }
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.ArrayBinding.shortReadableName()

          typesAsString(method, false),
          new String(varargsType.elementsType().readableName()),
      },
      new String[] {
          new String(argumentType.shortReadableName()),
          new String(varargsType.shortReadableName()),
          new String(method.declaringClass.shortReadableName()),
          typesAsString(method, true),
          new String(varargsType.elementsType().shortReadableName()),
      },
      severity,
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.ArrayBinding.shortReadableName()

          new String(method.declaringClass.readableName()),
          new String(varargsType.elementsType().readableName()),
      },
      new String[] {
          new String(argumentType.shortReadableName()),
          new String(varargsType.shortReadableName()),
          new String(method.selector), typesAsString(method, true),
          new String(method.declaringClass.shortReadableName()),
          new String(varargsType.elementsType().shortReadableName()),
      },
      severity,
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.ArrayBinding.shortReadableName()

          typesAsString(method.isVarargs(), method.parameters, false),
          new String(varargsType.elementsType().readableName()),
      },
      new String[] {
          new String(argumentType.shortReadableName()),
          new String(varargsType.shortReadableName()),
          new String(method.declaringClass.shortReadableName()),
          typesAsString(method.isVarargs(), method.parameters, true),
          new String(varargsType.elementsType().shortReadableName()),
      },
      severity,
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.ArrayBinding.shortReadableName()

          new String(method.declaringClass.readableName()),
          new String(varargsType.elementsType().readableName()),
      },
      new String[] {
          new String(argumentType.shortReadableName()),
          new String(varargsType.shortReadableName()),
          new String(method.selector), typesAsString(method.isVarargs(), method.parameters, true),
          new String(method.declaringClass.shortReadableName()),
          new String(varargsType.elementsType().shortReadableName()),
      },
      severity,
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.LocalVariableBinding.shortReadableName()

      new String[] {
          new String(exceptionType.readableName()),
          new String(localBinding.readableName())},
      new String[] {
          new String(exceptionType.shortReadableName()),
          new String(localBinding.shortReadableName())},
      location.sourceStart,
      location.sourceEnd);
  }
}
public void unhandledWarningToken(Expression token) {
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.MethodBinding.shortReadableName()

    problemId = checkForNull
        ? IProblem.NonNullMessageSendComparisonYieldsFalse
        : IProblem.RedundantNullCheckOnNonNullMessageSend;
    MethodBinding method = ((MessageSend)expr).binding;
    binding = method;
    arguments = new String[] { new String(method.shortReadableName()) };
    start = location.sourceStart;
    end = location.sourceEnd;
  } else if (expr instanceof Reference && !(expr instanceof ThisReference) && !(expr instanceof ArrayReference)) {
    FieldBinding field = ((Reference)expr).lastFieldBinding();
    if (field == null) {
View Full Code Here

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

        if (this.valueCast instanceof ReferenceBinding) {
      ReferenceBinding referenceCast = (ReferenceBinding) this.valueCast;
      if (!referenceCast.canBeSeenBy(scope)) {
            scope.problemReporter().invalidType(this,
                new ProblemReferenceBinding(
              CharOperation.splitOn('.', referenceCast.shortReadableName()),
              referenceCast,
              ProblemReasons.NotVisible));
      }
        }
  }
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.