Skip to main content

Migrate to Java 7

org.openrewrite.java.migrate.UpgradeToJava7

This recipe will apply changes commonly needed when upgrading to Java 7. This recipe will also replace deprecated API with equivalents when there is a clear migration strategy.

Tags

  • java7

Recipe source

GitHub, Issue Tracker, Maven Central

info

This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above.

This recipe is available under the Moderne Source Available License.

Definition

Examples

Example 1
Before
package com.test.withoutV170Methods;

import java.io.InputStream;
import java.io.Reader;
import java.math.BigDecimal;
import java.net.URL;
import java.sql.Array;
import java.sql.Blob;
import java.sql.Clob;
import java.sql.Connection;
import java.sql.Date;
import java.sql.NClob;
import java.sql.ParameterMetaData;
import java.sql.Ref;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.RowId;
import java.sql.SQLException;
import java.sql.SQLWarning;
import java.sql.CallableStatement;
import java.sql.SQLXML;
import java.sql.Time;
import java.sql.Timestamp;
import java.util.Calendar;
import java.util.Map;

public class JRE7JdbcCallableStatement implements CallableStatement {

public <T> T unwrap(Class<T> iface) throws SQLException {
return null;
}

public boolean isWrapperFor(Class<?> iface) throws SQLException {
return false;
}

public void addBatch(String sql) throws SQLException {

}

public void cancel() throws SQLException {

}

public void clearBatch() throws SQLException {

}

public void clearWarnings() throws SQLException {

}

public void close() throws SQLException {

}

public boolean execute(String sql) throws SQLException {
return false;
}

public boolean execute(String sql, int autoGeneratedKeys)
throws SQLException {
return false;
}

public boolean execute(String sql, int[] columnIndexes) throws SQLException {
return false;
}

public boolean execute(String sql, String[] columnNames)
throws SQLException {
return false;
}

public int[] executeBatch() throws SQLException {
return null;
}

public ResultSet executeQuery(String sql) throws SQLException {
return null;
}

public int executeUpdate(String sql) throws SQLException {
return 0;
}

public int executeUpdate(String sql, int autoGeneratedKeys)
throws SQLException {
return 0;
}

public int executeUpdate(String sql, int[] columnIndexes)
throws SQLException {
return 0;
}

public int executeUpdate(String sql, String[] columnNames)
throws SQLException {
return 0;
}

public Connection getConnection() throws SQLException {
return null;
}

public int getFetchDirection() throws SQLException {
return 0;
}

public int getFetchSize() throws SQLException {
return 0;
}

public ResultSet getGeneratedKeys() throws SQLException {
return null;
}

public int getMaxFieldSize() throws SQLException {
return 0;
}

public int getMaxRows() throws SQLException {
return 0;
}

public boolean getMoreResults() throws SQLException {
return false;
}

public boolean getMoreResults(int current) throws SQLException {
return false;
}

public int getQueryTimeout() throws SQLException {
return 0;
}

public ResultSet getResultSet() throws SQLException {
return null;
}

public int getResultSetConcurrency() throws SQLException {
return 0;
}

public int getResultSetHoldability() throws SQLException {
return 0;
}

public int getResultSetType() throws SQLException {
return 0;
}

public int getUpdateCount() throws SQLException {
return 0;
}

public SQLWarning getWarnings() throws SQLException {
return null;
}

public void setCursorName(String name) throws SQLException {

}

public void setEscapeProcessing(boolean enable) throws SQLException {

}

public void setFetchDirection(int direction) throws SQLException {

}

public void setFetchSize(int rows) throws SQLException {

}

public void setMaxFieldSize(int max) throws SQLException {

}

public void setMaxRows(int max) throws SQLException {

}

public void setQueryTimeout(int seconds) throws SQLException {

}

public boolean isClosed() throws SQLException {
return false;
}

public void setPoolable(boolean poolable) throws SQLException {

}

public boolean isPoolable() throws SQLException {

return false;
}

public void addBatch() throws SQLException {
// TODO Auto-generated method stub
}

public void clearParameters() throws SQLException {
// TODO Auto-generated method stub
}

public boolean execute() throws SQLException {
// TODO Auto-generated method stub
return false;
}

public ResultSet executeQuery() throws SQLException {
// TODO Auto-generated method stub
return null;
}

public int executeUpdate() throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public ResultSetMetaData getMetaData() throws SQLException {
// TODO Auto-generated method stub
return null;
}

public ParameterMetaData getParameterMetaData() throws SQLException {
// TODO Auto-generated method stub
return null;
}

public void setArray(int arg0, Array arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(int arg0, InputStream arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(int arg0, InputStream arg1, int arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(int arg0, InputStream arg1, long arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBigDecimal(int arg0, BigDecimal arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(int arg0, InputStream arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(int arg0, InputStream arg1, int arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(int arg0, InputStream arg1, long arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(int arg0, Blob arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(int arg0, InputStream arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(int arg0, InputStream arg1, long arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBoolean(int arg0, boolean arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setByte(int arg0, byte arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setBytes(int arg0, byte[] arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(int arg0, Reader arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(int arg0, Reader arg1, int arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(int arg0, Reader arg1, long arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(int arg0, Clob arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(int arg0, Reader arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(int arg0, Reader arg1, long arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setDate(int arg0, Date arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setDate(int arg0, Date arg1, Calendar arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setDouble(int arg0, double arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setFloat(int arg0, float arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setInt(int arg0, int arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setLong(int arg0, long arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNCharacterStream(int arg0, Reader arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNCharacterStream(int arg0, Reader arg1, long arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(int arg0, NClob arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(int arg0, Reader arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(int arg0, Reader arg1, long arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setNString(int arg0, String arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNull(int arg0, int arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNull(int arg0, int arg1, String arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(int arg0, Object arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(int arg0, Object arg1, int arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(int arg0, Object arg1, int arg2, int arg3)
throws SQLException {
// TODO Auto-generated method stub
}

public void setRef(int arg0, Ref arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setRowId(int arg0, RowId arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setSQLXML(int arg0, SQLXML arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setShort(int arg0, short arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setString(int arg0, String arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setTime(int arg0, Time arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setTime(int arg0, Time arg1, Calendar arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setTimestamp(int arg0, Timestamp arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setTimestamp(int arg0, Timestamp arg1, Calendar arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setURL(int arg0, URL arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setUnicodeStream(int arg0, InputStream arg1, int arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public Array getArray(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Array getArray(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public BigDecimal getBigDecimal(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public BigDecimal getBigDecimal(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public BigDecimal getBigDecimal(int parameterIndex, int scale)
throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Blob getBlob(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Blob getBlob(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public boolean getBoolean(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return false;
}

public boolean getBoolean(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return false;
}

public byte getByte(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public byte getByte(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public byte[] getBytes(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public byte[] getBytes(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Reader getCharacterStream(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Reader getCharacterStream(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Clob getClob(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Clob getClob(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Date getDate(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Date getDate(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Date getDate(int parameterIndex, Calendar cal) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Date getDate(String parameterName, Calendar cal) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public double getDouble(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public double getDouble(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public float getFloat(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public float getFloat(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public int getInt(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public int getInt(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public long getLong(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public long getLong(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public Reader getNCharacterStream(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Reader getNCharacterStream(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public NClob getNClob(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public NClob getNClob(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public String getNString(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public String getNString(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Object getObject(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Object getObject(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Object getObject(int parameterIndex, Map<String, Class<?>> map)
throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Object getObject(String parameterName, Map<String, Class<?>> map)
throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Ref getRef(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Ref getRef(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public RowId getRowId(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public RowId getRowId(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public SQLXML getSQLXML(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public SQLXML getSQLXML(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public short getShort(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public short getShort(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public String getString(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public String getString(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Time getTime(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Time getTime(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Time getTime(int parameterIndex, Calendar cal) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Time getTime(String parameterName, Calendar cal) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Timestamp getTimestamp(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Timestamp getTimestamp(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Timestamp getTimestamp(int parameterIndex, Calendar cal)
throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Timestamp getTimestamp(String parameterName, Calendar cal)
throws SQLException {
// TODO Auto-generated method stub
return null;
}

public URL getURL(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public URL getURL(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public void registerOutParameter(int parameterIndex, int sqlType)
throws SQLException {
// TODO Auto-generated method stub
}

public void registerOutParameter(String parameterName, int sqlType)
throws SQLException {
// TODO Auto-generated method stub
}

public void registerOutParameter(int parameterIndex, int sqlType, int scale)
throws SQLException {
// TODO Auto-generated method stub
}

public void registerOutParameter(int parameterIndex, int sqlType,
String typeName) throws SQLException {
// TODO Auto-generated method stub
}

public void registerOutParameter(String parameterName, int sqlType,
int scale) throws SQLException {
// TODO Auto-generated method stub
}

public void registerOutParameter(String parameterName, int sqlType,
String typeName) throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(String parameterName, InputStream x)
throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(String parameterName, InputStream x, int length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(String parameterName, InputStream x, long length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBigDecimal(String parameterName, BigDecimal x)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(String parameterName, InputStream x)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(String parameterName, InputStream x, int length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(String parameterName, InputStream x, long length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(String parameterName, Blob x) throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(String parameterName, InputStream inputStream)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(String parameterName, InputStream inputStream,
long length) throws SQLException {
// TODO Auto-generated method stub
}

public void setBoolean(String parameterName, boolean x) throws SQLException {
// TODO Auto-generated method stub
}

public void setByte(String parameterName, byte x) throws SQLException {
// TODO Auto-generated method stub
}

public void setBytes(String parameterName, byte[] x) throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(String parameterName, Reader reader)
throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(String parameterName, Reader reader,
int length) throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(String parameterName, Reader reader,
long length) throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(String parameterName, Clob x) throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(String parameterName, Reader reader)
throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(String parameterName, Reader reader, long length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setDate(String parameterName, Date x) throws SQLException {
// TODO Auto-generated method stub
}

public void setDate(String parameterName, Date x, Calendar cal)
throws SQLException {
// TODO Auto-generated method stub
}

public void setDouble(String parameterName, double x) throws SQLException {
// TODO Auto-generated method stub
}

public void setFloat(String parameterName, float x) throws SQLException {
// TODO Auto-generated method stub
}

public void setInt(String parameterName, int x) throws SQLException {
// TODO Auto-generated method stub
}

public void setLong(String parameterName, long x) throws SQLException {
// TODO Auto-generated method stub

}

public void setNCharacterStream(String parameterName, Reader value)
throws SQLException {
// TODO Auto-generated method stub
}

public void setNCharacterStream(String parameterName, Reader value,
long length) throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(String parameterName, NClob value) throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(String parameterName, Reader reader)
throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(String parameterName, Reader reader, long length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setNString(String parameterName, String value)
throws SQLException {
// TODO Auto-generated method stub
}

public void setNull(String parameterName, int sqlType) throws SQLException {
// TODO Auto-generated method stub
}

public void setNull(String parameterName, int sqlType, String typeName)
throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(String parameterName, Object x) throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(String parameterName, Object x, int targetSqlType)
throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(String parameterName, Object x, int targetSqlType,
int scale) throws SQLException {
// TODO Auto-generated method stub
}

public void setRowId(String parameterName, RowId x) throws SQLException {
// TODO Auto-generated method stub
}

public void setSQLXML(String parameterName, SQLXML xmlObject)
throws SQLException {
// TODO Auto-generated method stub
}

public void setShort(String parameterName, short x) throws SQLException {
// TODO Auto-generated method stub
}

public void setString(String parameterName, String x) throws SQLException {
// TODO Auto-generated method stub
}

public void setTime(String parameterName, Time x) throws SQLException {
// TODO Auto-generated method stub
}

public void setTime(String parameterName, Time x, Calendar cal)
throws SQLException {
// TODO Auto-generated method stub
}

public void setTimestamp(String parameterName, Timestamp x)
throws SQLException {
// TODO Auto-generated method stub

}

public void setTimestamp(String parameterName, Timestamp x, Calendar cal)
throws SQLException {
// TODO Auto-generated method stub

}

public void setURL(String parameterName, URL val) throws SQLException {
// TODO Auto-generated method stub

}

public boolean wasNull() throws SQLException {
// TODO Auto-generated method stub
return false;
}

}
After
package com.test.withoutV170Methods;

import java.io.InputStream;
import java.io.Reader;
import java.math.BigDecimal;
import java.net.URL;
import java.sql.Array;
import java.sql.Blob;
import java.sql.Clob;
import java.sql.Connection;
import java.sql.Date;
import java.sql.NClob;
import java.sql.ParameterMetaData;
import java.sql.Ref;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.RowId;
import java.sql.SQLException;
import java.sql.SQLWarning;
import java.sql.CallableStatement;
import java.sql.SQLXML;
import java.sql.Time;
import java.sql.Timestamp;
import java.util.Calendar;
import java.util.Map;

public class JRE7JdbcCallableStatement implements CallableStatement {

public <T> T unwrap(Class<T> iface) throws SQLException {
return null;
}

public boolean isWrapperFor(Class<?> iface) throws SQLException {
return false;
}

public void addBatch(String sql) throws SQLException {

}

public void cancel() throws SQLException {

}

public void clearBatch() throws SQLException {

}

public void clearWarnings() throws SQLException {

}

public void close() throws SQLException {

}

public boolean execute(String sql) throws SQLException {
return false;
}

public boolean execute(String sql, int autoGeneratedKeys)
throws SQLException {
return false;
}

public boolean execute(String sql, int[] columnIndexes) throws SQLException {
return false;
}

public boolean execute(String sql, String[] columnNames)
throws SQLException {
return false;
}

public int[] executeBatch() throws SQLException {
return null;
}

public ResultSet executeQuery(String sql) throws SQLException {
return null;
}

public int executeUpdate(String sql) throws SQLException {
return 0;
}

public int executeUpdate(String sql, int autoGeneratedKeys)
throws SQLException {
return 0;
}

public int executeUpdate(String sql, int[] columnIndexes)
throws SQLException {
return 0;
}

public int executeUpdate(String sql, String[] columnNames)
throws SQLException {
return 0;
}

public Connection getConnection() throws SQLException {
return null;
}

public int getFetchDirection() throws SQLException {
return 0;
}

public int getFetchSize() throws SQLException {
return 0;
}

public ResultSet getGeneratedKeys() throws SQLException {
return null;
}

public int getMaxFieldSize() throws SQLException {
return 0;
}

public int getMaxRows() throws SQLException {
return 0;
}

public boolean getMoreResults() throws SQLException {
return false;
}

public boolean getMoreResults(int current) throws SQLException {
return false;
}

public int getQueryTimeout() throws SQLException {
return 0;
}

public ResultSet getResultSet() throws SQLException {
return null;
}

public int getResultSetConcurrency() throws SQLException {
return 0;
}

public int getResultSetHoldability() throws SQLException {
return 0;
}

public int getResultSetType() throws SQLException {
return 0;
}

public int getUpdateCount() throws SQLException {
return 0;
}

public SQLWarning getWarnings() throws SQLException {
return null;
}

public void setCursorName(String name) throws SQLException {

}

public void setEscapeProcessing(boolean enable) throws SQLException {

}

public void setFetchDirection(int direction) throws SQLException {

}

public void setFetchSize(int rows) throws SQLException {

}

public void setMaxFieldSize(int max) throws SQLException {

}

public void setMaxRows(int max) throws SQLException {

}

public void setQueryTimeout(int seconds) throws SQLException {

}

public boolean isClosed() throws SQLException {
return false;
}

public void setPoolable(boolean poolable) throws SQLException {

}

public boolean isPoolable() throws SQLException {

return false;
}

public void addBatch() throws SQLException {
// TODO Auto-generated method stub
}

public void clearParameters() throws SQLException {
// TODO Auto-generated method stub
}

public boolean execute() throws SQLException {
// TODO Auto-generated method stub
return false;
}

public ResultSet executeQuery() throws SQLException {
// TODO Auto-generated method stub
return null;
}

public int executeUpdate() throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public ResultSetMetaData getMetaData() throws SQLException {
// TODO Auto-generated method stub
return null;
}

public ParameterMetaData getParameterMetaData() throws SQLException {
// TODO Auto-generated method stub
return null;
}

public void setArray(int arg0, Array arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(int arg0, InputStream arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(int arg0, InputStream arg1, int arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(int arg0, InputStream arg1, long arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBigDecimal(int arg0, BigDecimal arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(int arg0, InputStream arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(int arg0, InputStream arg1, int arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(int arg0, InputStream arg1, long arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(int arg0, Blob arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(int arg0, InputStream arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(int arg0, InputStream arg1, long arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBoolean(int arg0, boolean arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setByte(int arg0, byte arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setBytes(int arg0, byte[] arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(int arg0, Reader arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(int arg0, Reader arg1, int arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(int arg0, Reader arg1, long arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(int arg0, Clob arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(int arg0, Reader arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(int arg0, Reader arg1, long arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setDate(int arg0, Date arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setDate(int arg0, Date arg1, Calendar arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setDouble(int arg0, double arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setFloat(int arg0, float arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setInt(int arg0, int arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setLong(int arg0, long arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNCharacterStream(int arg0, Reader arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNCharacterStream(int arg0, Reader arg1, long arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(int arg0, NClob arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(int arg0, Reader arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(int arg0, Reader arg1, long arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setNString(int arg0, String arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNull(int arg0, int arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNull(int arg0, int arg1, String arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(int arg0, Object arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(int arg0, Object arg1, int arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(int arg0, Object arg1, int arg2, int arg3)
throws SQLException {
// TODO Auto-generated method stub
}

public void setRef(int arg0, Ref arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setRowId(int arg0, RowId arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setSQLXML(int arg0, SQLXML arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setShort(int arg0, short arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setString(int arg0, String arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setTime(int arg0, Time arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setTime(int arg0, Time arg1, Calendar arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setTimestamp(int arg0, Timestamp arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setTimestamp(int arg0, Timestamp arg1, Calendar arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setURL(int arg0, URL arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setUnicodeStream(int arg0, InputStream arg1, int arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public Array getArray(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Array getArray(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public BigDecimal getBigDecimal(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public BigDecimal getBigDecimal(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public BigDecimal getBigDecimal(int parameterIndex, int scale)
throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Blob getBlob(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Blob getBlob(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public boolean getBoolean(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return false;
}

public boolean getBoolean(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return false;
}

public byte getByte(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public byte getByte(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public byte[] getBytes(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public byte[] getBytes(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Reader getCharacterStream(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Reader getCharacterStream(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Clob getClob(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Clob getClob(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Date getDate(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Date getDate(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Date getDate(int parameterIndex, Calendar cal) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Date getDate(String parameterName, Calendar cal) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public double getDouble(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public double getDouble(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public float getFloat(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public float getFloat(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public int getInt(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public int getInt(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public long getLong(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public long getLong(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public Reader getNCharacterStream(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Reader getNCharacterStream(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public NClob getNClob(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public NClob getNClob(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public String getNString(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public String getNString(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Object getObject(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Object getObject(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Object getObject(int parameterIndex, Map<String, Class<?>> map)
throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Object getObject(String parameterName, Map<String, Class<?>> map)
throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Ref getRef(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Ref getRef(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public RowId getRowId(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public RowId getRowId(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public SQLXML getSQLXML(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public SQLXML getSQLXML(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public short getShort(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public short getShort(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public String getString(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public String getString(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Time getTime(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Time getTime(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Time getTime(int parameterIndex, Calendar cal) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Time getTime(String parameterName, Calendar cal) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Timestamp getTimestamp(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Timestamp getTimestamp(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Timestamp getTimestamp(int parameterIndex, Calendar cal)
throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Timestamp getTimestamp(String parameterName, Calendar cal)
throws SQLException {
// TODO Auto-generated method stub
return null;
}

public URL getURL(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public URL getURL(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public void registerOutParameter(int parameterIndex, int sqlType)
throws SQLException {
// TODO Auto-generated method stub
}

public void registerOutParameter(String parameterName, int sqlType)
throws SQLException {
// TODO Auto-generated method stub
}

public void registerOutParameter(int parameterIndex, int sqlType, int scale)
throws SQLException {
// TODO Auto-generated method stub
}

public void registerOutParameter(int parameterIndex, int sqlType,
String typeName) throws SQLException {
// TODO Auto-generated method stub
}

public void registerOutParameter(String parameterName, int sqlType,
int scale) throws SQLException {
// TODO Auto-generated method stub
}

public void registerOutParameter(String parameterName, int sqlType,
String typeName) throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(String parameterName, InputStream x)
throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(String parameterName, InputStream x, int length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(String parameterName, InputStream x, long length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBigDecimal(String parameterName, BigDecimal x)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(String parameterName, InputStream x)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(String parameterName, InputStream x, int length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(String parameterName, InputStream x, long length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(String parameterName, Blob x) throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(String parameterName, InputStream inputStream)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(String parameterName, InputStream inputStream,
long length) throws SQLException {
// TODO Auto-generated method stub
}

public void setBoolean(String parameterName, boolean x) throws SQLException {
// TODO Auto-generated method stub
}

public void setByte(String parameterName, byte x) throws SQLException {
// TODO Auto-generated method stub
}

public void setBytes(String parameterName, byte[] x) throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(String parameterName, Reader reader)
throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(String parameterName, Reader reader,
int length) throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(String parameterName, Reader reader,
long length) throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(String parameterName, Clob x) throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(String parameterName, Reader reader)
throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(String parameterName, Reader reader, long length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setDate(String parameterName, Date x) throws SQLException {
// TODO Auto-generated method stub
}

public void setDate(String parameterName, Date x, Calendar cal)
throws SQLException {
// TODO Auto-generated method stub
}

public void setDouble(String parameterName, double x) throws SQLException {
// TODO Auto-generated method stub
}

public void setFloat(String parameterName, float x) throws SQLException {
// TODO Auto-generated method stub
}

public void setInt(String parameterName, int x) throws SQLException {
// TODO Auto-generated method stub
}

public void setLong(String parameterName, long x) throws SQLException {
// TODO Auto-generated method stub

}

public void setNCharacterStream(String parameterName, Reader value)
throws SQLException {
// TODO Auto-generated method stub
}

public void setNCharacterStream(String parameterName, Reader value,
long length) throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(String parameterName, NClob value) throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(String parameterName, Reader reader)
throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(String parameterName, Reader reader, long length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setNString(String parameterName, String value)
throws SQLException {
// TODO Auto-generated method stub
}

public void setNull(String parameterName, int sqlType) throws SQLException {
// TODO Auto-generated method stub
}

public void setNull(String parameterName, int sqlType, String typeName)
throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(String parameterName, Object x) throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(String parameterName, Object x, int targetSqlType)
throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(String parameterName, Object x, int targetSqlType,
int scale) throws SQLException {
// TODO Auto-generated method stub
}

public void setRowId(String parameterName, RowId x) throws SQLException {
// TODO Auto-generated method stub
}

public void setSQLXML(String parameterName, SQLXML xmlObject)
throws SQLException {
// TODO Auto-generated method stub
}

public void setShort(String parameterName, short x) throws SQLException {
// TODO Auto-generated method stub
}

public void setString(String parameterName, String x) throws SQLException {
// TODO Auto-generated method stub
}

public void setTime(String parameterName, Time x) throws SQLException {
// TODO Auto-generated method stub
}

public void setTime(String parameterName, Time x, Calendar cal)
throws SQLException {
// TODO Auto-generated method stub
}

public void setTimestamp(String parameterName, Timestamp x)
throws SQLException {
// TODO Auto-generated method stub

}

public void setTimestamp(String parameterName, Timestamp x, Calendar cal)
throws SQLException {
// TODO Auto-generated method stub

}

public void setURL(String parameterName, URL val) throws SQLException {
// TODO Auto-generated method stub

}

public boolean wasNull() throws SQLException {
// TODO Auto-generated method stub
return false;
}

public void closeOnCompletion() {
// TODO Auto-generated method stub
}

public boolean isCloseOnCompletion() {
// TODO Auto-generated method stub
return false;
}

}

Example 2
Before
package com.test.withoutV170Methods;

import java.io.InputStream;
import java.io.Reader;
import java.math.BigDecimal;
import java.net.URL;
import java.sql.Array;
import java.sql.Blob;
import java.sql.Clob;
import java.sql.Connection;
import java.sql.Date;
import java.sql.NClob;
import java.sql.ParameterMetaData;
import java.sql.Ref;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.RowId;
import java.sql.SQLException;
import java.sql.SQLWarning;
import java.sql.CallableStatement;
import java.sql.SQLXML;
import java.sql.Time;
import java.sql.Timestamp;
import java.util.Calendar;
import java.util.Map;

public class JRE7JdbcCallableStatement implements CallableStatement {

public <T> T unwrap(Class<T> iface) throws SQLException {
return null;
}

public boolean isWrapperFor(Class<?> iface) throws SQLException {
return false;
}

public void addBatch(String sql) throws SQLException {

}

public void cancel() throws SQLException {

}

public void clearBatch() throws SQLException {

}

public void clearWarnings() throws SQLException {

}

public void close() throws SQLException {

}

public boolean execute(String sql) throws SQLException {
return false;
}

public boolean execute(String sql, int autoGeneratedKeys)
throws SQLException {
return false;
}

public boolean execute(String sql, int[] columnIndexes) throws SQLException {
return false;
}

public boolean execute(String sql, String[] columnNames)
throws SQLException {
return false;
}

public int[] executeBatch() throws SQLException {
return null;
}

public ResultSet executeQuery(String sql) throws SQLException {
return null;
}

public int executeUpdate(String sql) throws SQLException {
return 0;
}

public int executeUpdate(String sql, int autoGeneratedKeys)
throws SQLException {
return 0;
}

public int executeUpdate(String sql, int[] columnIndexes)
throws SQLException {
return 0;
}

public int executeUpdate(String sql, String[] columnNames)
throws SQLException {
return 0;
}

public Connection getConnection() throws SQLException {
return null;
}

public int getFetchDirection() throws SQLException {
return 0;
}

public int getFetchSize() throws SQLException {
return 0;
}

public ResultSet getGeneratedKeys() throws SQLException {
return null;
}

public int getMaxFieldSize() throws SQLException {
return 0;
}

public int getMaxRows() throws SQLException {
return 0;
}

public boolean getMoreResults() throws SQLException {
return false;
}

public boolean getMoreResults(int current) throws SQLException {
return false;
}

public int getQueryTimeout() throws SQLException {
return 0;
}

public ResultSet getResultSet() throws SQLException {
return null;
}

public int getResultSetConcurrency() throws SQLException {
return 0;
}

public int getResultSetHoldability() throws SQLException {
return 0;
}

public int getResultSetType() throws SQLException {
return 0;
}

public int getUpdateCount() throws SQLException {
return 0;
}

public SQLWarning getWarnings() throws SQLException {
return null;
}

public void setCursorName(String name) throws SQLException {

}

public void setEscapeProcessing(boolean enable) throws SQLException {

}

public void setFetchDirection(int direction) throws SQLException {

}

public void setFetchSize(int rows) throws SQLException {

}

public void setMaxFieldSize(int max) throws SQLException {

}

public void setMaxRows(int max) throws SQLException {

}

public void setQueryTimeout(int seconds) throws SQLException {

}

public boolean isClosed() throws SQLException {
return false;
}

public void setPoolable(boolean poolable) throws SQLException {

}

public boolean isPoolable() throws SQLException {

return false;
}

public void addBatch() throws SQLException {
// TODO Auto-generated method stub
}

public void clearParameters() throws SQLException {
// TODO Auto-generated method stub
}

public boolean execute() throws SQLException {
// TODO Auto-generated method stub
return false;
}

public ResultSet executeQuery() throws SQLException {
// TODO Auto-generated method stub
return null;
}

public int executeUpdate() throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public ResultSetMetaData getMetaData() throws SQLException {
// TODO Auto-generated method stub
return null;
}

public ParameterMetaData getParameterMetaData() throws SQLException {
// TODO Auto-generated method stub
return null;
}

public void setArray(int arg0, Array arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(int arg0, InputStream arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(int arg0, InputStream arg1, int arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(int arg0, InputStream arg1, long arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBigDecimal(int arg0, BigDecimal arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(int arg0, InputStream arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(int arg0, InputStream arg1, int arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(int arg0, InputStream arg1, long arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(int arg0, Blob arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(int arg0, InputStream arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(int arg0, InputStream arg1, long arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBoolean(int arg0, boolean arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setByte(int arg0, byte arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setBytes(int arg0, byte[] arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(int arg0, Reader arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(int arg0, Reader arg1, int arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(int arg0, Reader arg1, long arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(int arg0, Clob arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(int arg0, Reader arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(int arg0, Reader arg1, long arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setDate(int arg0, Date arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setDate(int arg0, Date arg1, Calendar arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setDouble(int arg0, double arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setFloat(int arg0, float arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setInt(int arg0, int arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setLong(int arg0, long arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNCharacterStream(int arg0, Reader arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNCharacterStream(int arg0, Reader arg1, long arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(int arg0, NClob arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(int arg0, Reader arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(int arg0, Reader arg1, long arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setNString(int arg0, String arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNull(int arg0, int arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNull(int arg0, int arg1, String arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(int arg0, Object arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(int arg0, Object arg1, int arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(int arg0, Object arg1, int arg2, int arg3)
throws SQLException {
// TODO Auto-generated method stub
}

public void setRef(int arg0, Ref arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setRowId(int arg0, RowId arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setSQLXML(int arg0, SQLXML arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setShort(int arg0, short arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setString(int arg0, String arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setTime(int arg0, Time arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setTime(int arg0, Time arg1, Calendar arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setTimestamp(int arg0, Timestamp arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setTimestamp(int arg0, Timestamp arg1, Calendar arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setURL(int arg0, URL arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setUnicodeStream(int arg0, InputStream arg1, int arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public Array getArray(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Array getArray(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public BigDecimal getBigDecimal(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public BigDecimal getBigDecimal(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public BigDecimal getBigDecimal(int parameterIndex, int scale)
throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Blob getBlob(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Blob getBlob(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public boolean getBoolean(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return false;
}

public boolean getBoolean(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return false;
}

public byte getByte(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public byte getByte(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public byte[] getBytes(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public byte[] getBytes(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Reader getCharacterStream(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Reader getCharacterStream(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Clob getClob(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Clob getClob(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Date getDate(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Date getDate(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Date getDate(int parameterIndex, Calendar cal) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Date getDate(String parameterName, Calendar cal) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public double getDouble(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public double getDouble(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public float getFloat(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public float getFloat(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public int getInt(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public int getInt(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public long getLong(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public long getLong(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public Reader getNCharacterStream(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Reader getNCharacterStream(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public NClob getNClob(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public NClob getNClob(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public String getNString(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public String getNString(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Object getObject(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Object getObject(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Object getObject(int parameterIndex, Map<String, Class<?>> map)
throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Object getObject(String parameterName, Map<String, Class<?>> map)
throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Ref getRef(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Ref getRef(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public RowId getRowId(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public RowId getRowId(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public SQLXML getSQLXML(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public SQLXML getSQLXML(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public short getShort(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public short getShort(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public String getString(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public String getString(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Time getTime(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Time getTime(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Time getTime(int parameterIndex, Calendar cal) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Time getTime(String parameterName, Calendar cal) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Timestamp getTimestamp(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Timestamp getTimestamp(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Timestamp getTimestamp(int parameterIndex, Calendar cal)
throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Timestamp getTimestamp(String parameterName, Calendar cal)
throws SQLException {
// TODO Auto-generated method stub
return null;
}

public URL getURL(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public URL getURL(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public void registerOutParameter(int parameterIndex, int sqlType)
throws SQLException {
// TODO Auto-generated method stub
}

public void registerOutParameter(String parameterName, int sqlType)
throws SQLException {
// TODO Auto-generated method stub
}

public void registerOutParameter(int parameterIndex, int sqlType, int scale)
throws SQLException {
// TODO Auto-generated method stub
}

public void registerOutParameter(int parameterIndex, int sqlType,
String typeName) throws SQLException {
// TODO Auto-generated method stub
}

public void registerOutParameter(String parameterName, int sqlType,
int scale) throws SQLException {
// TODO Auto-generated method stub
}

public void registerOutParameter(String parameterName, int sqlType,
String typeName) throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(String parameterName, InputStream x)
throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(String parameterName, InputStream x, int length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(String parameterName, InputStream x, long length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBigDecimal(String parameterName, BigDecimal x)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(String parameterName, InputStream x)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(String parameterName, InputStream x, int length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(String parameterName, InputStream x, long length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(String parameterName, Blob x) throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(String parameterName, InputStream inputStream)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(String parameterName, InputStream inputStream,
long length) throws SQLException {
// TODO Auto-generated method stub
}

public void setBoolean(String parameterName, boolean x) throws SQLException {
// TODO Auto-generated method stub
}

public void setByte(String parameterName, byte x) throws SQLException {
// TODO Auto-generated method stub
}

public void setBytes(String parameterName, byte[] x) throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(String parameterName, Reader reader)
throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(String parameterName, Reader reader,
int length) throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(String parameterName, Reader reader,
long length) throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(String parameterName, Clob x) throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(String parameterName, Reader reader)
throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(String parameterName, Reader reader, long length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setDate(String parameterName, Date x) throws SQLException {
// TODO Auto-generated method stub
}

public void setDate(String parameterName, Date x, Calendar cal)
throws SQLException {
// TODO Auto-generated method stub
}

public void setDouble(String parameterName, double x) throws SQLException {
// TODO Auto-generated method stub
}

public void setFloat(String parameterName, float x) throws SQLException {
// TODO Auto-generated method stub
}

public void setInt(String parameterName, int x) throws SQLException {
// TODO Auto-generated method stub
}

public void setLong(String parameterName, long x) throws SQLException {
// TODO Auto-generated method stub

}

public void setNCharacterStream(String parameterName, Reader value)
throws SQLException {
// TODO Auto-generated method stub
}

public void setNCharacterStream(String parameterName, Reader value,
long length) throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(String parameterName, NClob value) throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(String parameterName, Reader reader)
throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(String parameterName, Reader reader, long length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setNString(String parameterName, String value)
throws SQLException {
// TODO Auto-generated method stub
}

public void setNull(String parameterName, int sqlType) throws SQLException {
// TODO Auto-generated method stub
}

public void setNull(String parameterName, int sqlType, String typeName)
throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(String parameterName, Object x) throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(String parameterName, Object x, int targetSqlType)
throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(String parameterName, Object x, int targetSqlType,
int scale) throws SQLException {
// TODO Auto-generated method stub
}

public void setRowId(String parameterName, RowId x) throws SQLException {
// TODO Auto-generated method stub
}

public void setSQLXML(String parameterName, SQLXML xmlObject)
throws SQLException {
// TODO Auto-generated method stub
}

public void setShort(String parameterName, short x) throws SQLException {
// TODO Auto-generated method stub
}

public void setString(String parameterName, String x) throws SQLException {
// TODO Auto-generated method stub
}

public void setTime(String parameterName, Time x) throws SQLException {
// TODO Auto-generated method stub
}

public void setTime(String parameterName, Time x, Calendar cal)
throws SQLException {
// TODO Auto-generated method stub
}

public void setTimestamp(String parameterName, Timestamp x)
throws SQLException {
// TODO Auto-generated method stub

}

public void setTimestamp(String parameterName, Timestamp x, Calendar cal)
throws SQLException {
// TODO Auto-generated method stub

}

public void setURL(String parameterName, URL val) throws SQLException {
// TODO Auto-generated method stub

}

public boolean wasNull() throws SQLException {
// TODO Auto-generated method stub
return false;
}

}
After
package com.test.withoutV170Methods;

import java.io.InputStream;
import java.io.Reader;
import java.math.BigDecimal;
import java.net.URL;
import java.sql.Array;
import java.sql.Blob;
import java.sql.Clob;
import java.sql.Connection;
import java.sql.Date;
import java.sql.NClob;
import java.sql.ParameterMetaData;
import java.sql.Ref;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.RowId;
import java.sql.SQLException;
import java.sql.SQLWarning;
import java.sql.CallableStatement;
import java.sql.SQLXML;
import java.sql.Time;
import java.sql.Timestamp;
import java.util.Calendar;
import java.util.Map;

public class JRE7JdbcCallableStatement implements CallableStatement {

public <T> T unwrap(Class<T> iface) throws SQLException {
return null;
}

public boolean isWrapperFor(Class<?> iface) throws SQLException {
return false;
}

public void addBatch(String sql) throws SQLException {

}

public void cancel() throws SQLException {

}

public void clearBatch() throws SQLException {

}

public void clearWarnings() throws SQLException {

}

public void close() throws SQLException {

}

public boolean execute(String sql) throws SQLException {
return false;
}

public boolean execute(String sql, int autoGeneratedKeys)
throws SQLException {
return false;
}

public boolean execute(String sql, int[] columnIndexes) throws SQLException {
return false;
}

public boolean execute(String sql, String[] columnNames)
throws SQLException {
return false;
}

public int[] executeBatch() throws SQLException {
return null;
}

public ResultSet executeQuery(String sql) throws SQLException {
return null;
}

public int executeUpdate(String sql) throws SQLException {
return 0;
}

public int executeUpdate(String sql, int autoGeneratedKeys)
throws SQLException {
return 0;
}

public int executeUpdate(String sql, int[] columnIndexes)
throws SQLException {
return 0;
}

public int executeUpdate(String sql, String[] columnNames)
throws SQLException {
return 0;
}

public Connection getConnection() throws SQLException {
return null;
}

public int getFetchDirection() throws SQLException {
return 0;
}

public int getFetchSize() throws SQLException {
return 0;
}

public ResultSet getGeneratedKeys() throws SQLException {
return null;
}

public int getMaxFieldSize() throws SQLException {
return 0;
}

public int getMaxRows() throws SQLException {
return 0;
}

public boolean getMoreResults() throws SQLException {
return false;
}

public boolean getMoreResults(int current) throws SQLException {
return false;
}

public int getQueryTimeout() throws SQLException {
return 0;
}

public ResultSet getResultSet() throws SQLException {
return null;
}

public int getResultSetConcurrency() throws SQLException {
return 0;
}

public int getResultSetHoldability() throws SQLException {
return 0;
}

public int getResultSetType() throws SQLException {
return 0;
}

public int getUpdateCount() throws SQLException {
return 0;
}

public SQLWarning getWarnings() throws SQLException {
return null;
}

public void setCursorName(String name) throws SQLException {

}

public void setEscapeProcessing(boolean enable) throws SQLException {

}

public void setFetchDirection(int direction) throws SQLException {

}

public void setFetchSize(int rows) throws SQLException {

}

public void setMaxFieldSize(int max) throws SQLException {

}

public void setMaxRows(int max) throws SQLException {

}

public void setQueryTimeout(int seconds) throws SQLException {

}

public boolean isClosed() throws SQLException {
return false;
}

public void setPoolable(boolean poolable) throws SQLException {

}

public boolean isPoolable() throws SQLException {

return false;
}

public void addBatch() throws SQLException {
// TODO Auto-generated method stub
}

public void clearParameters() throws SQLException {
// TODO Auto-generated method stub
}

public boolean execute() throws SQLException {
// TODO Auto-generated method stub
return false;
}

public ResultSet executeQuery() throws SQLException {
// TODO Auto-generated method stub
return null;
}

public int executeUpdate() throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public ResultSetMetaData getMetaData() throws SQLException {
// TODO Auto-generated method stub
return null;
}

public ParameterMetaData getParameterMetaData() throws SQLException {
// TODO Auto-generated method stub
return null;
}

public void setArray(int arg0, Array arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(int arg0, InputStream arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(int arg0, InputStream arg1, int arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(int arg0, InputStream arg1, long arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBigDecimal(int arg0, BigDecimal arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(int arg0, InputStream arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(int arg0, InputStream arg1, int arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(int arg0, InputStream arg1, long arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(int arg0, Blob arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(int arg0, InputStream arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(int arg0, InputStream arg1, long arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBoolean(int arg0, boolean arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setByte(int arg0, byte arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setBytes(int arg0, byte[] arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(int arg0, Reader arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(int arg0, Reader arg1, int arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(int arg0, Reader arg1, long arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(int arg0, Clob arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(int arg0, Reader arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(int arg0, Reader arg1, long arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setDate(int arg0, Date arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setDate(int arg0, Date arg1, Calendar arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setDouble(int arg0, double arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setFloat(int arg0, float arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setInt(int arg0, int arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setLong(int arg0, long arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNCharacterStream(int arg0, Reader arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNCharacterStream(int arg0, Reader arg1, long arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(int arg0, NClob arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(int arg0, Reader arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(int arg0, Reader arg1, long arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setNString(int arg0, String arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNull(int arg0, int arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setNull(int arg0, int arg1, String arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(int arg0, Object arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(int arg0, Object arg1, int arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(int arg0, Object arg1, int arg2, int arg3)
throws SQLException {
// TODO Auto-generated method stub
}

public void setRef(int arg0, Ref arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setRowId(int arg0, RowId arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setSQLXML(int arg0, SQLXML arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setShort(int arg0, short arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setString(int arg0, String arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setTime(int arg0, Time arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setTime(int arg0, Time arg1, Calendar arg2) throws SQLException {
// TODO Auto-generated method stub
}

public void setTimestamp(int arg0, Timestamp arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setTimestamp(int arg0, Timestamp arg1, Calendar arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public void setURL(int arg0, URL arg1) throws SQLException {
// TODO Auto-generated method stub
}

public void setUnicodeStream(int arg0, InputStream arg1, int arg2)
throws SQLException {
// TODO Auto-generated method stub
}

public Array getArray(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Array getArray(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public BigDecimal getBigDecimal(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public BigDecimal getBigDecimal(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public BigDecimal getBigDecimal(int parameterIndex, int scale)
throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Blob getBlob(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Blob getBlob(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public boolean getBoolean(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return false;
}

public boolean getBoolean(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return false;
}

public byte getByte(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public byte getByte(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public byte[] getBytes(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public byte[] getBytes(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Reader getCharacterStream(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Reader getCharacterStream(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Clob getClob(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Clob getClob(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Date getDate(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Date getDate(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Date getDate(int parameterIndex, Calendar cal) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Date getDate(String parameterName, Calendar cal) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public double getDouble(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public double getDouble(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public float getFloat(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public float getFloat(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public int getInt(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public int getInt(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public long getLong(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public long getLong(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public Reader getNCharacterStream(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Reader getNCharacterStream(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public NClob getNClob(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public NClob getNClob(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public String getNString(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public String getNString(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Object getObject(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Object getObject(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Object getObject(int parameterIndex, Map<String, Class<?>> map)
throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Object getObject(String parameterName, Map<String, Class<?>> map)
throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Ref getRef(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Ref getRef(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public RowId getRowId(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public RowId getRowId(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public SQLXML getSQLXML(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public SQLXML getSQLXML(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public short getShort(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public short getShort(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return 0;
}

public String getString(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public String getString(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Time getTime(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Time getTime(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Time getTime(int parameterIndex, Calendar cal) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Time getTime(String parameterName, Calendar cal) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Timestamp getTimestamp(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Timestamp getTimestamp(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Timestamp getTimestamp(int parameterIndex, Calendar cal)
throws SQLException {
// TODO Auto-generated method stub
return null;
}

public Timestamp getTimestamp(String parameterName, Calendar cal)
throws SQLException {
// TODO Auto-generated method stub
return null;
}

public URL getURL(int parameterIndex) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public URL getURL(String parameterName) throws SQLException {
// TODO Auto-generated method stub
return null;
}

public void registerOutParameter(int parameterIndex, int sqlType)
throws SQLException {
// TODO Auto-generated method stub
}

public void registerOutParameter(String parameterName, int sqlType)
throws SQLException {
// TODO Auto-generated method stub
}

public void registerOutParameter(int parameterIndex, int sqlType, int scale)
throws SQLException {
// TODO Auto-generated method stub
}

public void registerOutParameter(int parameterIndex, int sqlType,
String typeName) throws SQLException {
// TODO Auto-generated method stub
}

public void registerOutParameter(String parameterName, int sqlType,
int scale) throws SQLException {
// TODO Auto-generated method stub
}

public void registerOutParameter(String parameterName, int sqlType,
String typeName) throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(String parameterName, InputStream x)
throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(String parameterName, InputStream x, int length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setAsciiStream(String parameterName, InputStream x, long length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBigDecimal(String parameterName, BigDecimal x)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(String parameterName, InputStream x)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(String parameterName, InputStream x, int length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBinaryStream(String parameterName, InputStream x, long length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(String parameterName, Blob x) throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(String parameterName, InputStream inputStream)
throws SQLException {
// TODO Auto-generated method stub
}

public void setBlob(String parameterName, InputStream inputStream,
long length) throws SQLException {
// TODO Auto-generated method stub
}

public void setBoolean(String parameterName, boolean x) throws SQLException {
// TODO Auto-generated method stub
}

public void setByte(String parameterName, byte x) throws SQLException {
// TODO Auto-generated method stub
}

public void setBytes(String parameterName, byte[] x) throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(String parameterName, Reader reader)
throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(String parameterName, Reader reader,
int length) throws SQLException {
// TODO Auto-generated method stub
}

public void setCharacterStream(String parameterName, Reader reader,
long length) throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(String parameterName, Clob x) throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(String parameterName, Reader reader)
throws SQLException {
// TODO Auto-generated method stub
}

public void setClob(String parameterName, Reader reader, long length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setDate(String parameterName, Date x) throws SQLException {
// TODO Auto-generated method stub
}

public void setDate(String parameterName, Date x, Calendar cal)
throws SQLException {
// TODO Auto-generated method stub
}

public void setDouble(String parameterName, double x) throws SQLException {
// TODO Auto-generated method stub
}

public void setFloat(String parameterName, float x) throws SQLException {
// TODO Auto-generated method stub
}

public void setInt(String parameterName, int x) throws SQLException {
// TODO Auto-generated method stub
}

public void setLong(String parameterName, long x) throws SQLException {
// TODO Auto-generated method stub

}

public void setNCharacterStream(String parameterName, Reader value)
throws SQLException {
// TODO Auto-generated method stub
}

public void setNCharacterStream(String parameterName, Reader value,
long length) throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(String parameterName, NClob value) throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(String parameterName, Reader reader)
throws SQLException {
// TODO Auto-generated method stub
}

public void setNClob(String parameterName, Reader reader, long length)
throws SQLException {
// TODO Auto-generated method stub
}

public void setNString(String parameterName, String value)
throws SQLException {
// TODO Auto-generated method stub
}

public void setNull(String parameterName, int sqlType) throws SQLException {
// TODO Auto-generated method stub
}

public void setNull(String parameterName, int sqlType, String typeName)
throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(String parameterName, Object x) throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(String parameterName, Object x, int targetSqlType)
throws SQLException {
// TODO Auto-generated method stub
}

public void setObject(String parameterName, Object x, int targetSqlType,
int scale) throws SQLException {
// TODO Auto-generated method stub
}

public void setRowId(String parameterName, RowId x) throws SQLException {
// TODO Auto-generated method stub
}

public void setSQLXML(String parameterName, SQLXML xmlObject)
throws SQLException {
// TODO Auto-generated method stub
}

public void setShort(String parameterName, short x) throws SQLException {
// TODO Auto-generated method stub
}

public void setString(String parameterName, String x) throws SQLException {
// TODO Auto-generated method stub
}

public void setTime(String parameterName, Time x) throws SQLException {
// TODO Auto-generated method stub
}

public void setTime(String parameterName, Time x, Calendar cal)
throws SQLException {
// TODO Auto-generated method stub
}

public void setTimestamp(String parameterName, Timestamp x)
throws SQLException {
// TODO Auto-generated method stub

}

public void setTimestamp(String parameterName, Timestamp x, Calendar cal)
throws SQLException {
// TODO Auto-generated method stub

}

public void setURL(String parameterName, URL val) throws SQLException {
// TODO Auto-generated method stub

}

public boolean wasNull() throws SQLException {
// TODO Auto-generated method stub
return false;
}

public void closeOnCompletion() {
// TODO Auto-generated method stub
}

public boolean isCloseOnCompletion() {
// TODO Auto-generated method stub
return false;
}

}

Usage

This recipe has no required configuration options. It can be activated by adding a dependency on org.openrewrite.recipe:rewrite-migrate-java in your build file or by running a shell command (in which case no build changes are needed):

  1. Add the following to your build.gradle file:
build.gradle
plugins {
id("org.openrewrite.rewrite") version("7.6.1")
}

rewrite {
activeRecipe("org.openrewrite.java.migrate.UpgradeToJava7")
setExportDatatables(true)
}

repositories {
mavenCentral()
}

dependencies {
rewrite("org.openrewrite.recipe:rewrite-migrate-java:3.9.0")
}
  1. Run gradle rewriteRun to run the recipe.

See how this recipe works across multiple open-source repositories

Run this recipe on OSS repos at scale with the Moderne SaaS.

The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories.

Please contact Moderne for more information about safely running the recipes on your own codebase in a private SaaS.

Data Tables

Source files that had results

org.openrewrite.table.SourcesFileResults

Source files that were modified by the recipe run.

Column NameDescription
Source path before the runThe source path of the file before the run. null when a source file was created during the run.
Source path after the runA recipe may modify the source path. This is the path after the run. null when a source file was deleted during the run.
Parent of the recipe that made changesIn a hierarchical recipe, the parent of the recipe that made a change. Empty if this is the root of a hierarchy or if the recipe is not hierarchical at all.
Recipe that made changesThe specific recipe that made a change.
Estimated time savingAn estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds.
CycleThe recipe cycle in which the change was made.

Contributors

Chuka Obinabo, Anu Ramamoorthy, Daryl Robbins, Knut Wannheden, Sam Snyder, Jonathan Schnéider, Tim te Beek, Tim te Beek