本文整理了Java中com.sun.tools.javac.code.Types.asEnclosingSuper()
方法的一些代码示例,展示了Types.asEnclosingSuper()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Types.asEnclosingSuper()
方法的具体详情如下:
包路径:com.sun.tools.javac.code.Types
类名称:Types
方法名:asEnclosingSuper
[英]Return the base type of t or any of its enclosing types that starts with the given symbol. If none exists, return null.
[中]返回t的基类型或以给定符号开头的任何封闭类型。如果不存在,则返回null。
代码示例来源:origin: org.kohsuke.sorcerer/sorcerer-javac
Type normOuter = site;
if (normOuter.hasTag(CLASS)) {
normOuter = types.asEnclosingSuper(site, ownOuter.tsym);
代码示例来源:origin: org.jvnet.sorcerer/sorcerer-javac
Type normOuter = site;
if (normOuter.tag == CLASS)
normOuter = types.asEnclosingSuper(site, ownOuter.tsym);
if (normOuter == null) // perhaps from an import
normOuter = types.erasure(ownOuter);
代码示例来源:origin: sc.fiji/javac
Type normOuter = site;
if (normOuter.tag == CLASS)
normOuter = types.asEnclosingSuper(site, ownOuter.tsym);
if (normOuter == null) // perhaps from an import
normOuter = types.erasure(ownOuter);
代码示例来源:origin: konsoletyper/teavm-javac
Type normOuter = site;
if (normOuter.hasTag(CLASS)) {
normOuter = types.asEnclosingSuper(site, ownOuter.tsym);
内容来源于网络,如有侵权,请联系作者删除!