package groovy.sql;
/**
* @author rfuller
*
* A typed parameter to pass to a query
*/
public interface InParameter {
/**
* The JDBC data type.
* @return
*/
public int getType();
/**
*
package groovy.sql;
/**
* @author rfuller
*
* A typed parameter passed to, and returned from a CallableStatement.
*/
public interface InOutParameter extends InParameter, OutParameter {
}
package org.codehaus.groovy.tools;
/**
* This is a stub for the Groovy Doc tool
*
* @author James Strachan
* @version $Revision: 1.2 $
*/
public class Grok
{
public static void main(String[
package gls.ch08.s04
import gls.scope.CompilableTestSupport
class RepetitiveMethodTest extends CompilableTestSupport{
void testRepetitiveMethod() {
def text ="""
class A {
void foo() {}
package gls.scope
class BlockScopeVisibilityTest extends CompilableTestSupport {
public void testForLoopVariableNotVisibleOutside() {
assertScript("""
i=1
for (i in [1,2]) {}