Examples of readableName()


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

      SourceTypeBinding sourceTypeBinding = (SourceTypeBinding) binding;

      // First check the type oracle to prefer type identity with the type
      // oracle we're assimilating into.
      //
      String typeName = String.valueOf(sourceTypeBinding.readableName());
      JType resolvedType = oracle.findType(typeName);
      if (resolvedType != null) {
        return resolvedType;
      }
View Full Code Here

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

        new String[] {
                new String(shownConstructor.declaringClass.sourceName()),
                typesAsString(shownConstructor, false),
                new String(shownConstructor.declaringClass.readableName()),
                typesAsString(invocationArguments, false),
                new String(inferredTypeArgument.readableName()),
                new String(typeParameter.sourceName),
                parameterBoundAsString(typeParameter, false) },
        new String[] {
                new String(shownConstructor.declaringClass.sourceName()),
                typesAsString(shownConstructor, true),
View Full Code Here

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

        new String[] {
                new String(shownMethod.selector),
                typesAsString(shownMethod, false),
                new String(shownMethod.declaringClass.readableName()),
                typesAsString(invocationArguments, false),
                new String(inferredTypeArgument.readableName()),
                new String(typeParameter.sourceName),
                parameterBoundAsString(typeParameter, false) },
        new String[] {
                new String(shownMethod.selector),
                typesAsString(shownMethod, true),
View Full Code Here

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

        new String[] {
                new String(shownConstructor.declaringClass.sourceName()),
                typesAsString(shownConstructor, false),
                new String(shownConstructor.declaringClass.readableName()),
                typesAsString(invocationArguments, false),
                new String(inferredTypeArgument.readableName()),
                new String(typeParameter.sourceName),
                parameterBoundAsString(typeParameter, false) },
        new String[] {
                new String(shownConstructor.declaringClass.sourceName()),
                typesAsString(shownConstructor, true),
View Full Code Here

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

        new String[] {
                new String(shownMethod.selector),
                typesAsString(shownMethod, false),
                new String(shownMethod.declaringClass.readableName()),
                typesAsString(invocationArguments, false),
                new String(inferredTypeArgument.readableName()),
                new String(typeParameter.sourceName),
                parameterBoundAsString(typeParameter, false) },
        new String[] {
                new String(shownMethod.selector),
                typesAsString(shownMethod, true),
View Full Code Here

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

  int severity = computeSeverity(IProblem.TypeMissingDeprecatedAnnotation);
  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);
}
View Full Code Here

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

  this.handle(
      IProblem.MissingTypeInConstructor,
      new String[] {
              new String(constructor.declaringClass.readableName()),
              typesAsString(constructor, false),
               new String(missingType.readableName()),
      },
      new String[] {
              new String(constructor.declaringClass.shortReadableName()),
              typesAsString(constructor, true),
               new String(missingType.shortReadableName()),
View Full Code Here

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

      IProblem.MissingTypeInMethod,
      new String[] {
              new String(method.declaringClass.readableName()),
              new String(method.selector),
              typesAsString(method, false),
               new String(missingType.readableName()),
      },
      new String[] {
              new String(method.declaringClass.shortReadableName()),
              new String(method.selector),
              typesAsString(method, true),
View Full Code Here

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

  if (severity == ProblemSeverities.Ignore) return;
  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 {
View Full Code Here

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

  int severity = computeSeverity(IProblem.TypeParameterHidingType);
  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);
}
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.