public abstract class AbstractRecorderGetterBytecodeInstruction
extends org.codehaus.groovy.classgen.BytecodeInstruction
private static CoverageRecorder $CLV_R$() {
if ($CLV_R$ == null) {
$CLV_R$ = Clover.getRecorder(
initstring, registryVersion, recorderConfig, maxElements,
new CloverProfiles[] {
new CloverProfile("arg1", "arg2", "arg3"),
new CloverProfile("arg1", "arg2", null),
... },
new String[] { "clover.distributed.config", distConfig });
}
return $CLV_R$;
}
Concrete classes should have implementation of the visit() method:
- public void visit(org.objectweb.asm.MethodVisitor)
=> used by groovy-eclipse-batch Maven plugin
=> references ASM 3.x (MethodVisitor is an interface) or ASM 4.x (MethodVisitor is a class)
- public void visit(groovyjjarjarasm.asm.MethodVisitor)
=> used by groovyc and grails
=> references Groovy 1.x (MethodVisitor is an interface) or Groovy 2.x (MethodVisitor is a class)
BytecodeInstruction.visit(groovyjarjarasm.asm.MethodVisitor),
MethodVisitor,
MethodVisitor| Modifier and Type | Field and Description |
|---|---|
protected org.codehaus.groovy.ast.ClassNode |
clazz |
protected String |
distConfig |
protected String |
fieldName |
protected String |
initString |
protected int |
maxElements |
protected List<CloverProfile> |
profiles |
protected long |
recorderConfig |
protected long |
registryVersion |
| Constructor and Description |
|---|
AbstractRecorderGetterBytecodeInstruction(org.codehaus.groovy.ast.ClassNode clazz,
String fieldName,
String initString,
String distConfig,
long registryVersion,
long recorderConfig,
int maxElements,
List<CloverProfile> profiles) |
protected final org.codehaus.groovy.ast.ClassNode clazz
protected final String fieldName
protected final String initString
protected final String distConfig
protected final long registryVersion
protected final long recorderConfig
protected final int maxElements
protected final List<CloverProfile> profiles
public AbstractRecorderGetterBytecodeInstruction(org.codehaus.groovy.ast.ClassNode clazz,
String fieldName,
String initString,
String distConfig,
long registryVersion,
long recorderConfig,
int maxElements,
List<CloverProfile> profiles)
Copyright © 2024 OpenClover.org. All rights reserved.