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

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

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

MetaClass.invokeMissingProperty介绍

[英]Invokes the propertyMissing method otherwise throws a MissingPropertyException
[中]调用propertyMissing方法,否则会抛出MissingPropertyException

代码示例

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

public Object invokeMissingProperty(Object instance, String propertyName, Object optionalValue, boolean isGetter) {
  return this.delegate.invokeMissingProperty(instance, propertyName, optionalValue, isGetter);
}

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

public Object invokeMissingProperty(Object instance, String propertyName, Object optionalValue, boolean isGetter) {
  final Object owner = getOwner();
  final MetaClass ownerMetaClass = getOwnerMetaClass(owner);
  return ownerMetaClass.invokeMissingProperty(owner, propertyName, optionalValue, isGetter);
}

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

public Object invokeMissingProperty(Object instance, String propertyName, Object optionalValue, boolean isGetter) {
  return this.delegate.invokeMissingProperty(instance, propertyName, optionalValue, isGetter);
}

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

@Override
public Object invokeMissingProperty(Object instance, String propertyName, Object optionalValue, boolean isGetter) {
  return adaptee.invokeMissingProperty(instance, propertyName, optionalValue, isGetter);
}

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

public Object invokeMissingProperty(Object instance, String propertyName, Object optionalValue, boolean isGetter) {
  return this.delegate.invokeMissingProperty(instance, propertyName, optionalValue, isGetter);
}

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

public Object invokeMissingProperty(Object instance, String propertyName, Object optionalValue, boolean isGetter) {
  return this.delegate.invokeMissingProperty(instance, propertyName, optionalValue, isGetter);
}

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

public Object invokeMissingProperty(Object instance, String propertyName, Object optionalValue, boolean isGetter) {
  return adaptee.invokeMissingProperty(instance, propertyName, optionalValue, isGetter);
}

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

public Object invokeMissingProperty(Object instance, String propertyName, Object optionalValue, boolean isGetter) {
  return this.delegate.invokeMissingProperty(instance, propertyName, optionalValue, isGetter);
}

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

public Object invokeMissingProperty(Object instance, String propertyName, Object optionalValue, boolean isGetter) {
  final Object owner = getOwner();
  final MetaClass ownerMetaClass = getOwnerMetaClass(owner);
  return ownerMetaClass.invokeMissingProperty(owner, propertyName, optionalValue, isGetter);
}

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

public Object invokeMissingProperty(Object instance, String propertyName, Object optionalValue, boolean isGetter) {
  final Object owner = getOwner();
  final MetaClass ownerMetaClass = getOwnerMetaClass(owner);
  return ownerMetaClass.invokeMissingProperty(owner, propertyName, optionalValue, isGetter);
}

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

public Object invokeMissingProperty(Object instance, String propertyName, Object optionalValue, boolean isGetter) {
  final Object owner = getOwner();
  final MetaClass ownerMetaClass = getOwnerMetaClass(owner);
  return ownerMetaClass.invokeMissingProperty(owner, propertyName, optionalValue, isGetter);
}

相关文章