本文整理了Java中groovy.lang.MetaClass.getStaticMetaMethod()
方法的一些代码示例,展示了MetaClass.getStaticMetaMethod()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。MetaClass.getStaticMetaMethod()
方法的具体详情如下:
包路径:groovy.lang.MetaClass
类名称:MetaClass
方法名:getStaticMetaMethod
暂无
代码示例来源:origin: org.codehaus.groovy/groovy
public MetaMethod getStaticMetaMethod(String name, Object[] args) {
return this.delegate.getStaticMetaMethod(name, args);
}
代码示例来源:origin: org.codehaus.groovy/groovy
public MetaMethod getStaticMetaMethod(String name, Class[] argTypes) {
return this.delegate.getStaticMetaMethod(name, argTypes);
}
代码示例来源:origin: org.codehaus.groovy/groovy
public MetaMethod getStaticMetaMethod(String name, Class[] argTypes) {
final Object owner = getOwner();
final MetaClass ownerMetaClass = getOwnerMetaClass(owner);
return ownerMetaClass.getStaticMetaMethod(name, argTypes);
}
代码示例来源:origin: org.codehaus.groovy/groovy
public MetaMethod getStaticMetaMethod(String name, Object[] args) {
final Object owner = getOwner();
final MetaClass ownerMetaClass = getOwnerMetaClass(owner);
return ownerMetaClass.getStaticMetaMethod(name, args);
}
代码示例来源:origin: org.codehaus.groovy/groovy
while (superClass != Object.class && superClass != null) {
MetaClass mc = registry.getMetaClass(superClass);
method = mc.getStaticMetaMethod(methodName, argClasses);
if (method != null) return method.doMethodInvoke(object, arguments);
代码示例来源:origin: org.codehaus.groovy/groovy
MetaMethod method = mc.getStaticMetaMethod(methodName, argClasses);
if (method != null) return method;
代码示例来源:origin: org.codehaus.groovy/groovy-all-minimal
public MetaMethod getStaticMetaMethod(String name, Class[] argTypes) {
return this.delegate.getStaticMetaMethod(name, argTypes);
}
代码示例来源:origin: org.kohsuke.droovy/groovy
public MetaMethod getStaticMetaMethod(String name, Object[] args) {
return this.delegate.getStaticMetaMethod(name, args);
}
代码示例来源:origin: com.thinkaurelius.groovy-shaded-asm/groovy-shaded-asm
public MetaMethod getStaticMetaMethod(String name, Object[] args) {
return this.delegate.getStaticMetaMethod(name, args);
}
代码示例来源:origin: org.codehaus.groovy/groovy-all-minimal
public MetaMethod getStaticMetaMethod(String name, Object[] args) {
return this.delegate.getStaticMetaMethod(name, args);
}
代码示例来源:origin: org.kohsuke.droovy/groovy
public MetaMethod getStaticMetaMethod(String name, Class[] argTypes) {
return this.delegate.getStaticMetaMethod(name, argTypes);
}
代码示例来源:origin: org.codehaus.groovy/groovy-jdk14
public MetaMethod getStaticMetaMethod(String name, Class[] argTypes) {
return this.delegate.getStaticMetaMethod(name, argTypes);
}
代码示例来源:origin: org.codehaus.groovy/groovy-jdk14
public MetaMethod getStaticMetaMethod(String name, Object[] args) {
return this.delegate.getStaticMetaMethod(name, args);
}
代码示例来源:origin: org.codehaus.groovy/groovy-jdk14
public MetaMethod getStaticMetaMethod(String name, Class[] argTypes) {
final Object owner = getOwner();
final MetaClass ownerMetaClass = getOwnerMetaClass(owner);
return ownerMetaClass.getStaticMetaMethod(name, argTypes);
}
代码示例来源:origin: org.kohsuke.droovy/groovy
public MetaMethod getStaticMetaMethod(String name, Class[] argTypes) {
final Object owner = getOwner();
final MetaClass ownerMetaClass = getOwnerMetaClass(owner);
return ownerMetaClass.getStaticMetaMethod(name, argTypes);
}
代码示例来源:origin: com.thinkaurelius.groovy-shaded-asm/groovy-shaded-asm
public MetaMethod getStaticMetaMethod(String name, Class[] argTypes) {
final Object owner = getOwner();
final MetaClass ownerMetaClass = getOwnerMetaClass(owner);
return ownerMetaClass.getStaticMetaMethod(name, argTypes);
}
代码示例来源:origin: org.codehaus.groovy/groovy-jdk14
public MetaMethod getStaticMetaMethod(String name, Object[] args) {
final Object owner = getOwner();
final MetaClass ownerMetaClass = getOwnerMetaClass(owner);
return ownerMetaClass.getStaticMetaMethod(name, args);
}
代码示例来源:origin: com.thinkaurelius.groovy-shaded-asm/groovy-shaded-asm
public MetaMethod getStaticMetaMethod(String name, Object[] args) {
final Object owner = getOwner();
final MetaClass ownerMetaClass = getOwnerMetaClass(owner);
return ownerMetaClass.getStaticMetaMethod(name, args);
}
代码示例来源:origin: org.kohsuke.droovy/groovy
public MetaMethod getStaticMetaMethod(String name, Object[] args) {
final Object owner = getOwner();
final MetaClass ownerMetaClass = getOwnerMetaClass(owner);
return ownerMetaClass.getStaticMetaMethod(name, args);
}
代码示例来源:origin: org.codehaus.groovy/groovy-all-minimal
private MetaMethod getDelegateMethod(Closure closure, Object delegate, String methodName, Class[] argClasses) {
if (delegate == closure || delegate == null) return null;
MetaClass delegateMetaClass;
if (delegate instanceof Class) {
delegateMetaClass = registry.getMetaClass((Class)delegate);
return delegateMetaClass.getStaticMetaMethod(methodName, argClasses);
}
else {
delegateMetaClass = lookupObjectMetaClass(delegate);
return delegateMetaClass.pickMethod(methodName, argClasses);
}
}
内容来源于网络,如有侵权,请联系作者删除!