本文整理了Java中com.sun.tools.javac.code.Types.isSignaturePolymorphic()
方法的一些代码示例,展示了Types.isSignaturePolymorphic()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Types.isSignaturePolymorphic()
方法的具体详情如下:
包路径:com.sun.tools.javac.code.Types
类名称:Types
方法名:isSignaturePolymorphic
[英]A polymorphic signature method (JLS SE 7, 8.4.1) is a method that (i) is declared in the java.lang.invoke.MethodHandle class, (ii) takes a single variable arity parameter (iii) whose declared type is Object[], (iv) has a return type of Object and (v) is native.
[中]多态签名方法(JLS SE 7,8.4.1)是(i)在java中声明的方法。lang.invoke。MethodHandle类(ii)采用一个变量arity参数(iii),其声明类型为Object[],(iv)的返回类型为Object,且(v)为本机。
代码示例来源:origin: konsoletyper/teavm-javac
/**
* Signature polymorphic methods need special handling.
* e.g. MethodHandle.invoke() MethodHandle.invokeExact()
*/
final boolean isSignaturePolymorphic() {
return tree.sym.kind == MTH &&
types.isSignaturePolymorphic((MethodSymbol)tree.sym);
}
代码示例来源:origin: org.kohsuke.sorcerer/sorcerer-javac
/**
* Signature polymorphic methods need special handling.
* e.g. MethodHandle.invoke() MethodHandle.invokeExact()
*/
final boolean isSignaturePolymorphic() {
return tree.sym.kind == MTH &&
types.isSignaturePolymorphic((MethodSymbol)tree.sym);
}
代码示例来源:origin: konsoletyper/teavm-javac
if (types.isSignaturePolymorphic(m)) {
m.flags_field |= SIGNATURE_POLYMORPHIC;
代码示例来源:origin: org.kohsuke.sorcerer/sorcerer-javac
if (types.isSignaturePolymorphic(m)) {
m.flags_field |= SIGNATURE_POLYMORPHIC;
代码示例来源:origin: konsoletyper/teavm-javac
if (types.isSignaturePolymorphic(m)) {
m.flags_field |= SIGNATURE_POLYMORPHIC;
代码示例来源:origin: org.kohsuke.sorcerer/sorcerer-javac
if (types.isSignaturePolymorphic(m)) {
m.flags_field |= SIGNATURE_POLYMORPHIC;
内容来源于网络,如有侵权,请联系作者删除!