Examples of readableName()


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

      int typeDeclarationSourceStart = currentDeclaration.sourceStart();
      int typeDeclarationSourceEnd = currentDeclaration.sourceEnd();
      for (int i = 0, max = methodDeclarations.length; i < max; i++) {
        MethodDeclaration methodDeclaration = methodDeclarations[i];
        MethodBinding methodBinding = methodDeclaration.binding;
         String readableName = new String(methodBinding.readableName());
         CategorizedProblem[] problems = compilationResult.problems;
         int problemsCount = compilationResult.problemCount;
        for (int j = 0; j < problemsCount; j++) {
          CategorizedProblem problem = problems[j];
          if (problem != null
View Full Code Here

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

        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.readableName()

  if (method.isConstructor()) {
    this.handle(
      IProblem.ConstructorVarargsArgumentNeedCast,
      new String[] {
          new String(argumentType.readableName()),
          new String(varargsType.readableName()),
          new String(method.declaringClass.readableName()),
          typesAsString(method, false),
          new String(varargsType.elementsType().readableName()),
      },
      new String[] {
View Full Code Here

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

  } else {
    this.handle(
      IProblem.MethodVarargsArgumentNeedCast,
      new String[] {
          new String(argumentType.readableName()),
          new String(varargsType.readableName()),
          new String(method.selector),
          typesAsString(method, false),
          new String(method.declaringClass.readableName()),
          new String(varargsType.elementsType().readableName()),
      },
View Full Code Here

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

  if (method.isConstructor()) {
    this.handle(
      IProblem.ConstructorVarargsArgumentNeedCast,
      new String[] {
          new String(argumentType.readableName()),
          new String(varargsType.readableName()),
          new String(method.declaringClass.readableName()),
          typesAsString(method.isVarargs(), method.parameters, false),
          new String(varargsType.elementsType().readableName()),
      },
      new String[] {
View Full Code Here

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

  } else {
    this.handle(
      IProblem.MethodVarargsArgumentNeedCast,
      new String[] {
          new String(argumentType.readableName()),
          new String(varargsType.readableName()),
          new String(method.selector),
          typesAsString(method.isVarargs(), method.parameters, false),
          new String(method.declaringClass.readableName()),
          new String(varargsType.elementsType().readableName()),
      },
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.FieldBinding.readableName()

        readableArguments = new String[] {CharOperation.toString(importRef.tokens), new String(field.declaringClass.readableName())};
        shortArguments = new String[] {CharOperation.toString(importRef.tokens), new String(field.declaringClass.shortReadableName())};
        break;
      case ProblemReasons.Ambiguous :
        id = IProblem.AmbiguousField;
        readableArguments = new String[] {new String(field.readableName())};
        shortArguments = new String[] {new String(field.readableName())};
        break;
      case ProblemReasons.ReceiverTypeNotVisible :
        id = IProblem.NotVisibleType;
        readableArguments = new String[] {new String(field.declaringClass.leafComponentType().readableName())};
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.FieldBinding.readableName()

        shortArguments = new String[] {CharOperation.toString(importRef.tokens), new String(field.declaringClass.shortReadableName())};
        break;
      case ProblemReasons.Ambiguous :
        id = IProblem.AmbiguousField;
        readableArguments = new String[] {new String(field.readableName())};
        shortArguments = new String[] {new String(field.readableName())};
        break;
      case ProblemReasons.ReceiverTypeNotVisible :
        id = IProblem.NotVisibleType;
        readableArguments = new String[] {new String(field.declaringClass.leafComponentType().readableName())};
        shortArguments = new String[] {new String(field.declaringClass.leafComponentType().shortReadableName())};
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.FieldBinding.readableName()

    default :
      needImplementation(fieldRef); // want to fail to see why we were here...
      break;
  }

  String[] arguments = new String[] {new String(field.readableName())};
  this.handle(
    id,
    arguments,
    arguments,
    nodeSourceStart(field, fieldRef),
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.FieldBinding.readableName()

        readableArguments = new String[] {CharOperation.toString(importRef.tokens), new String(field.declaringClass.readableName())};
        shortArguments = new String[] {CharOperation.toString(importRef.tokens), new String(field.declaringClass.shortReadableName())};
        break;
      case ProblemReasons.Ambiguous :
        id = IProblem.AmbiguousField;
        readableArguments = new String[] {new String(field.readableName())};
        shortArguments = new String[] {new String(field.readableName())};
        break;
      case ProblemReasons.ReceiverTypeNotVisible :
        id = IProblem.NotVisibleType;
        readableArguments = new String[] {new String(field.declaringClass.leafComponentType().readableName())};
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.