org.eclipse.jdt.internal.compiler.lookup.Binding.readableName()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(4.0k)|赞(0)|评价(0)|浏览(128)

本文整理了Java中org.eclipse.jdt.internal.compiler.lookup.Binding.readableName()方法的一些代码示例,展示了Binding.readableName()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Binding.readableName()方法的具体详情如下:
包路径:org.eclipse.jdt.internal.compiler.lookup.Binding
类名称:Binding
方法名:readableName

Binding.readableName介绍

暂无

代码示例

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core

public char[] shortReadableName(){
  return readableName();
}
public AnnotationBinding[] getAnnotations() {

代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

public char[] shortReadableName(){
  return readableName();
}
public AnnotationBinding[] getAnnotations() {

代码示例来源:origin: org.eclipse.scout.sdk.deps/ecj

public char[] shortReadableName(){
  return readableName();
}
public AnnotationBinding[] getAnnotations() {

代码示例来源:origin: org.eclipse.jetty.orbit/org.eclipse.jdt.core

@Override
  public String toString() {
    return new String(_binding.readableName());
  }
}

代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7

@Override
  public String toString() {
    return new String(_binding.readableName());
  }
}

代码示例来源:origin: org.eclipse.jdt.core.compiler/ecj

@Override
  public String toString() {
    return new String(_binding.readableName());
  }
}

代码示例来源:origin: org.eclipse.jdt.core.compiler/ecj

@Override
  public String toString() {
    return new String(_binding.readableName());
  }
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.compiler.apt

@Override
  public String toString() {
    return new String(_binding.readableName());
  }
}

代码示例来源:origin: org.eclipse.scout.sdk.deps/ecj

@Override
  public String toString() {
    return new String(_binding.readableName());
  }
}

代码示例来源:origin: org.eclipse.jdt.compiler/apt

@Override
  public String toString() {
    return new String(_binding.readableName());
  }
}

代码示例来源:origin: org.eclipse.jetty.orbit/org.eclipse.jdt.core

@Override
  public String toString() {
    return new String(_binding.readableName());
  }
}

代码示例来源:origin: org.eclipse.jdt.compiler/apt

@Override
  public String toString() {
    return new String(_binding.readableName());
  }
}

代码示例来源:origin: org.eclipse.jetty.orbit/org.eclipse.jdt.core

@Override
public String toString() {
  return new String(_binding.readableName());
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.compiler.apt

@Override
  public String toString() {
    return new String(_binding.readableName());
  }
}

代码示例来源:origin: org.eclipse.scout.sdk.deps/ecj

@Override
  public String toString() {
    return new String(_binding.readableName());
  }
}

代码示例来源:origin: org.eclipse.jdt.core.compiler/ecj

@Override
public String toString() {
  return new String(_binding.readableName());
}

代码示例来源:origin: INRIA/spoon

/**
 * Creates a type access from its single name.
 *
 * @param singleNameReference
 *         Used to get the simple name of the type.
 * @return a type access.
 */
<T> CtTypeAccess<T> createTypeAccessNoClasspath(SingleNameReference singleNameReference) {
  final CtTypeReference<T> typeReference = jdtTreeBuilder.getFactory().Core().createTypeReference();
  if (singleNameReference.binding == null) {
    typeReference.setSimpleName(CharOperation.charToString(singleNameReference.token));
  } else {
    typeReference.setSimpleName(CharOperation.charToString(singleNameReference.binding.readableName()));
  }
  jdtTreeBuilder.getReferencesBuilder().setPackageOrDeclaringType(typeReference, jdtTreeBuilder.getReferencesBuilder().getDeclaringReferenceFromImports(singleNameReference.token));
  return jdtTreeBuilder.getFactory().Code().createTypeAccess(typeReference);
}

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

@Override
  public int resolveLevel(Binding binding) {
    if (binding == null) return INACCURATE_MATCH;
    if (!(binding instanceof ModuleBinding)) return IMPOSSIBLE_MATCH;
    return (matchesName(this.pattern.name, binding.readableName())) ? ACCURATE_MATCH : IMPOSSIBLE_MATCH;
  }
}

代码示例来源:origin: com.android.tools.lint/lint

@Nullable
@Override
public String getReferenceName() {
  return mBinding != null ? new String(mBinding.readableName()) : null;
}

代码示例来源:origin: org.eclipse.tycho/org.eclipse.jdt.core

@Override
  public int resolveLevel(Binding binding) {
    if (binding == null) return INACCURATE_MATCH;
    if (!(binding instanceof ModuleBinding)) return IMPOSSIBLE_MATCH;
    return (matchesName(this.pattern.name, binding.readableName())) ? ACCURATE_MATCH : IMPOSSIBLE_MATCH;
  }
}

相关文章