groovy.lang.MetaClass.invokeMissingMethod()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(3.0k)|赞(0)|评价(0)|浏览(97)

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

MetaClass.invokeMissingMethod介绍

[英]Attempts to invoke the methodMissing method otherwise throws a MissingMethodException
[中]尝试调用methodMissing方法会引发MissingMethodException

代码示例

代码示例来源:origin: org.codehaus.groovy/groovy

public Object invokeMissingMethod(Object instance, String methodName, Object[] arguments) {
  return this.delegate.invokeMissingMethod(instance, methodName, arguments);
}

代码示例来源:origin: org.codehaus.groovy/groovy

public Object invokeMissingMethod(Object instance, String methodName, Object[] arguments) {
  final Object owner = getOwner();
  final MetaClass ownerMetaClass = getOwnerMetaClass(owner);
  return ownerMetaClass.invokeMissingMethod(owner, methodName, arguments);
}

代码示例来源:origin: org.codehaus.groovy/groovy-all-minimal

public Object invokeMissingMethod(Object instance, String methodName, Object[] arguments) {
  return this.delegate.invokeMissingMethod(instance, methodName, arguments);
}

代码示例来源:origin: org.gperfutils/gprof

@Override
public Object invokeMissingMethod(Object instance, String methodName, Object[] arguments) {
  return adaptee.invokeMissingMethod(instance, methodName, arguments);
}

代码示例来源:origin: org.gmock/gmock

public Object invokeMissingMethod(Object instance, String methodName, Object[] arguments) {
  return adaptee.invokeMissingMethod(instance, methodName, arguments);
}

代码示例来源:origin: org.kohsuke.droovy/groovy

public Object invokeMissingMethod(Object instance, String methodName, Object[] arguments) {
  return this.delegate.invokeMissingMethod(instance, methodName, arguments);
}

代码示例来源:origin: com.thinkaurelius.groovy-shaded-asm/groovy-shaded-asm

public Object invokeMissingMethod(Object instance, String methodName, Object[] arguments) {
  return this.delegate.invokeMissingMethod(instance, methodName, arguments);
}

代码示例来源:origin: org.codehaus.groovy/groovy-jdk14

public Object invokeMissingMethod(Object instance, String methodName, Object[] arguments) {
  return this.delegate.invokeMissingMethod(instance, methodName, arguments);
}

代码示例来源:origin: com.thinkaurelius.groovy-shaded-asm/groovy-shaded-asm

public Object invokeMissingMethod(Object instance, String methodName, Object[] arguments) {
  final Object owner = getOwner();
  final MetaClass ownerMetaClass = getOwnerMetaClass(owner);
  return ownerMetaClass.invokeMissingMethod(owner, methodName, arguments);
}

代码示例来源:origin: org.codehaus.groovy/groovy-jdk14

public Object invokeMissingMethod(Object instance, String methodName, Object[] arguments) {
  final Object owner = getOwner();
  final MetaClass ownerMetaClass = getOwnerMetaClass(owner);
  return ownerMetaClass.invokeMissingMethod(owner, methodName, arguments);
}

代码示例来源:origin: org.kohsuke.droovy/groovy

public Object invokeMissingMethod(Object instance, String methodName, Object[] arguments) {
  final Object owner = getOwner();
  final MetaClass ownerMetaClass = getOwnerMetaClass(owner);
  return ownerMetaClass.invokeMissingMethod(owner, methodName, arguments);
}

相关文章