Examples of shortReadableName()


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

  if (severity == ProblemSeverities.Ignore) return;
  TypeBinding binding = type.binding;
  this.handle(
    IProblem.TypeMissingDeprecatedAnnotation,
    new String[] {new String(binding.readableName()), },
    new String[] {new String(binding.shortReadableName()),},
    severity,
    type.sourceStart,
    type.sourceEnd);
}
public void missingEnumConstantCase(SwitchStatement switchStatement, FieldBinding enumConstant) {
View Full Code Here

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

               new String(missingType.readableName()),
      },
      new String[] {
              new String(constructor.declaringClass.shortReadableName()),
              typesAsString(constructor.isVarargs(), constructor.parameters, true),
               new String(missingType.shortReadableName()),
      },
      start,
      end);
}
View Full Code Here

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

      },
      new String[] {
              new String(method.declaringClass.shortReadableName()),
              new String(method.selector),
              typesAsString(method.isVarargs(), method.parameters, true),
               new String(missingType.shortReadableName()),
      },
      (int) (messageSend.nameSourcePosition >>> 32),
      (int) messageSend.nameSourcePosition);
}
public void missingValueForAnnotationMember(Annotation annotation, char[] memberName) {
View Full Code Here

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

  if (hiddenTypeParameter.declaringElement instanceof TypeBinding) {
    TypeBinding declaringType = (TypeBinding) hiddenTypeParameter.declaringElement;
    this.handle(
      IProblem.TypeHidingTypeParameterFromType,
      new String[] { new String(typeDecl.name) , new String(hiddenTypeParameter.readableName()), new String(declaringType.readableName())  },
      new String[] { new String(typeDecl.name) , new String(hiddenTypeParameter.shortReadableName()), new String(declaringType.shortReadableName()) },
      severity,
      typeDecl.sourceStart,
      typeDecl.sourceEnd);
  } else {
    // type parameter of generic method
View Full Code Here

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

  if (severity == ProblemSeverities.Ignore) return;
  TypeBinding hiddenType = (TypeBinding) hidden;
  this.handle(
    IProblem.TypeParameterHidingType,
    new String[] { new String(typeParam.name) , new String(hiddenType.readableName())  },
    new String[] { new String(typeParam.name) , new String(hiddenType.shortReadableName()) },
    severity,
    typeParam.sourceStart,
    typeParam.sourceEnd);
}
public void typeMismatchError(TypeBinding actualType, TypeBinding expectedType, ASTNode location, ASTNode expectingLocation) {
View Full Code Here

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

    if (i != 0)
      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();
}
public void undefinedAnnotationValue(TypeBinding annotationType, MemberValuePair memberValuePair) {
View Full Code Here

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

  if (severity == ProblemSeverities.Ignore) return;
  TypeBinding castedExpressionType = castExpression.expression.resolvedType;
  this.handle(
    IProblem.UnnecessaryCast,
    new String[]{ new String(castedExpressionType.readableName()), new String(castExpression.type.resolvedType.readableName())},
    new String[]{ new String(castedExpressionType.shortReadableName()), new String(castExpression.type.resolvedType.shortReadableName())},
    severity,
    castExpression.sourceStart,
    castExpression.sourceEnd);
}
public void unnecessaryElse(ASTNode location) {
View Full Code Here

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

  if (severity == ProblemSeverities.Ignore) return;
  TypeBinding expressionType = instanceofExpression.expression.resolvedType;
  this.handle(
    IProblem.UnnecessaryInstanceof,
    new String[]{ new String(expressionType.readableName()), new String(checkType.readableName())},
    new String[]{ new String(expressionType.shortReadableName()), new String(checkType.shortReadableName())},
    severity,
    instanceofExpression.sourceStart,
    instanceofExpression.sourceEnd);
}
public void unnecessaryNLSTags(int sourceStart, int sourceEnd) {
View Full Code Here

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

      new String(castedExpressionType.readableName()),
      new String(castExpressionResolvedType.readableName())
    },
    new String[]{
      new String(castedExpressionType.shortReadableName()),
      new String(castExpressionResolvedType.shortReadableName())
    },
    severity,
    castExpression.sourceStart,
    castExpression.sourceEnd);
}
View Full Code Here

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

        new String[] {
                new String(shownConstructor.declaringClass.sourceName()),
                typesAsString(shownConstructor, true),
                new String(shownConstructor.declaringClass.shortReadableName()),
                typesAsString(invocationArguments, true),
                new String(inferredTypeArgument.shortReadableName()),
                new String(typeParameter.sourceName),
                parameterBoundAsString(typeParameter, true) },
        sourceStart,
        sourceEnd);
      return;
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.