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

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

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

MetaClass.selectConstructorAndTransformArguments介绍

[英]Internal method to support Groovy runtime. Not for client usage.
[中]支持Groovy运行时的内部方法。不适用于客户端使用。

代码示例

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

public int selectConstructorAndTransformArguments(int numberOfConstructors, Object[] arguments) {
  return this.delegate.selectConstructorAndTransformArguments(numberOfConstructors, arguments);
}

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

public int selectConstructorAndTransformArguments(int numberOfConstructors, Object[] arguments) {
    final Object owner = getOwner();
    final MetaClass ownerMetaClass = getOwnerMetaClass(owner);
    return ownerMetaClass.selectConstructorAndTransformArguments(numberOfConstructors, arguments);
  }
}

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

public static int selectConstructorAndTransformArguments(Object[] arguments, int numberOfConstructors, Class which) throws Throwable {
  MetaClass metaClass = GroovySystem.getMetaClassRegistry().getMetaClass(which);
  try {
    return metaClass.selectConstructorAndTransformArguments(numberOfConstructors, arguments);
  } catch (GroovyRuntimeException gre) {
    throw unwrap(gre);
  }
}

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

public int selectConstructorAndTransformArguments(int numberOfConstructors, Object[] arguments) {
  return this.delegate.selectConstructorAndTransformArguments(numberOfConstructors, arguments);
}

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

public int selectConstructorAndTransformArguments(int numberOfConstructors, Object[] arguments) {
  return this.delegate.selectConstructorAndTransformArguments(numberOfConstructors, arguments);
}

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

public int selectConstructorAndTransformArguments(int numberOfCosntructors, Object[] arguments) {
  return this.delegate.selectConstructorAndTransformArguments(numberOfCosntructors, arguments);
}

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

@Override
public int selectConstructorAndTransformArguments(int numberOfConstructors, Object[] arguments) {
  return adaptee.selectConstructorAndTransformArguments(numberOfConstructors, arguments);
}

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

public int selectConstructorAndTransformArguments(int numberOfConstructors, Object[] arguments) {
  return this.delegate.selectConstructorAndTransformArguments(numberOfConstructors, arguments);
}

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

public int selectConstructorAndTransformArguments(int numberOfConstructors, Object[] arguments) {
    final Object owner = getOwner();
    final MetaClass ownerMetaClass = getOwnerMetaClass(owner);
    return ownerMetaClass.selectConstructorAndTransformArguments(numberOfConstructors, arguments);
  }
}

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

public int selectConstructorAndTransformArguments(int numberOfConstructors, Object[] arguments) {
    final Object owner = getOwner();
    final MetaClass ownerMetaClass = getOwnerMetaClass(owner);
    return ownerMetaClass.selectConstructorAndTransformArguments(numberOfConstructors, arguments);
  }
}

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

public static int selectConstructorAndTransformArguments(Object[] arguments, int numberOfConstructors, Class which) {
  MetaClass metaClass = GroovySystem.getMetaClassRegistry().getMetaClass(which);
  return metaClass.selectConstructorAndTransformArguments(numberOfConstructors, arguments);
}

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

public int selectConstructorAndTransformArguments(int numberOfConstructors, Object[] arguments) {
    final Object owner = getOwner();
    final MetaClass ownerMetaClass = getOwnerMetaClass(owner);
    return ownerMetaClass.selectConstructorAndTransformArguments(numberOfConstructors, arguments);
  }
}

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

public static int selectConstructorAndTransformArguments(Object[] arguments, int numberOfConstructors, Class which) throws Throwable {
  MetaClass metaClass = GroovySystem.getMetaClassRegistry().getMetaClass(which);
  try {
    return metaClass.selectConstructorAndTransformArguments(numberOfConstructors, arguments);
  } catch (GroovyRuntimeException gre) {
    throw unwrap(gre);
  }
}

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

public static int selectConstructorAndTransformArguments(Object[] arguments, int numberOfConstructors, Class which) throws Throwable {
  MetaClass metaClass = GroovySystem.getMetaClassRegistry().getMetaClass(which);
  try {
    return metaClass.selectConstructorAndTransformArguments(numberOfConstructors, arguments);
  } catch (GroovyRuntimeException gre) {
    throw unwrap(gre);
  }
}

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

public static int selectConstructorAndTransformArguments(Object[] arguments, int numberOfConstructors, Class which) throws Throwable {
  MetaClass metaClass = GroovySystem.getMetaClassRegistry().getMetaClass(which);
  try {
    return metaClass.selectConstructorAndTransformArguments(numberOfConstructors, arguments);
  } catch (GroovyRuntimeException gre) {
    throw unwrap(gre);
  }
}

相关文章