[jOOQ/jOOQ#2026] Annotated additional types as Internal
This commit is contained in:
parent
cacc3e5a7c
commit
4a166cbcd9
@ -53,6 +53,7 @@ import org.jooq.exception.DataAccessException;
|
||||
* @author Lukas Eder
|
||||
* @see RenderContext
|
||||
*/
|
||||
@Internal
|
||||
public interface BindContext extends Context<BindContext> {
|
||||
|
||||
/**
|
||||
|
||||
@ -596,6 +596,7 @@ public interface DSLContext extends Scope , AutoCloseable {
|
||||
* completely internal with jOOQ 4.0
|
||||
*/
|
||||
@Deprecated
|
||||
@Internal
|
||||
RenderContext renderContext();
|
||||
|
||||
/**
|
||||
@ -699,6 +700,7 @@ public interface DSLContext extends Scope , AutoCloseable {
|
||||
* completely internal with jOOQ 4.0
|
||||
*/
|
||||
@Deprecated
|
||||
@Internal
|
||||
BindContext bindContext(PreparedStatement stmt);
|
||||
|
||||
/**
|
||||
|
||||
@ -37,6 +37,7 @@
|
||||
*/
|
||||
package org.jooq;
|
||||
|
||||
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
|
||||
import static java.lang.annotation.ElementType.FIELD;
|
||||
import static java.lang.annotation.ElementType.METHOD;
|
||||
import static java.lang.annotation.ElementType.TYPE;
|
||||
@ -47,13 +48,16 @@ import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* Signifies that a API (public class, method or field) is internal and subject to incompatible
|
||||
* changes, or even removal, in a future release. An API bearing this annotation is exempt from any
|
||||
* compatibility guarantees made by its containing library.
|
||||
* Signifies that a API (public class, method or field) is internal and subject
|
||||
* to incompatible changes, or even removal, in a future release. An API bearing
|
||||
* this annotation is exempt from any compatibility guarantees made by its
|
||||
* containing library.
|
||||
*
|
||||
* @author Knut Wannheden
|
||||
*/
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@Target(value={FIELD, METHOD, TYPE})
|
||||
public @interface Internal {}
|
||||
@Target(value = { FIELD, METHOD, TYPE, ANNOTATION_TYPE })
|
||||
@Internal
|
||||
public @interface Internal {
|
||||
}
|
||||
|
||||
@ -47,6 +47,7 @@ import org.jooq.exception.DataAccessException;
|
||||
*
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@Internal
|
||||
public interface QueryPartInternal extends QueryPart {
|
||||
|
||||
/**
|
||||
|
||||
@ -55,6 +55,7 @@ import org.jooq.UniqueKey;
|
||||
* @deprecated - [#6875] [#7158] - 3.11.0 - Please re-generate your code
|
||||
*/
|
||||
@Deprecated
|
||||
@org.jooq.Internal
|
||||
public abstract class AbstractKeys {
|
||||
|
||||
/**
|
||||
|
||||
@ -146,6 +146,7 @@ import org.jooq.tools.reflect.Reflect;
|
||||
*
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@org.jooq.Internal
|
||||
public abstract class AbstractRoutine<T> extends AbstractNamed implements Routine<T> {
|
||||
|
||||
/**
|
||||
|
||||
@ -483,6 +483,7 @@ package org.jooq.impl;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -58,6 +58,7 @@ import org.jooq.Schema;
|
||||
*
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@org.jooq.Internal
|
||||
public class CatalogImpl extends AbstractNamed implements Catalog {
|
||||
|
||||
/**
|
||||
|
||||
@ -99,6 +99,7 @@ import org.jooq.types.UShort;
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@SuppressWarnings({"unchecked"})
|
||||
@org.jooq.Internal
|
||||
public class DefaultDataType<T> implements DataType<T> {
|
||||
|
||||
/**
|
||||
|
||||
@ -49,6 +49,7 @@ import org.jooq.Row;
|
||||
*
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@org.jooq.Internal
|
||||
public class EmbeddableRecordImpl<R extends EmbeddableRecord<R>> extends AbstractRecord implements EmbeddableRecord<R> {
|
||||
|
||||
/**
|
||||
|
||||
@ -59,6 +59,7 @@ import org.jooq.UniqueKey;
|
||||
*
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@org.jooq.Internal
|
||||
public final class Internal {
|
||||
|
||||
/**
|
||||
|
||||
@ -53,6 +53,7 @@ import org.jooq.Schema;
|
||||
*
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@org.jooq.Internal
|
||||
public class PackageImpl extends AbstractNamed implements Package {
|
||||
|
||||
/**
|
||||
|
||||
@ -62,6 +62,7 @@ import org.jooq.UDT;
|
||||
*
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@org.jooq.Internal
|
||||
public class SchemaImpl extends AbstractNamed implements Schema {
|
||||
|
||||
private static final long serialVersionUID = -8101463810207566546L;
|
||||
|
||||
@ -70,6 +70,7 @@ import org.jooq.exception.SQLDialectNotSupportedException;
|
||||
*
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@org.jooq.Internal
|
||||
public class SequenceImpl<T extends Number> extends AbstractNamed implements Sequence<T> {
|
||||
|
||||
/**
|
||||
|
||||
@ -71,6 +71,7 @@ import org.jooq.tools.StringUtils;
|
||||
*
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@org.jooq.Internal
|
||||
public class TableImpl<R extends Record> extends AbstractTable<R> {
|
||||
|
||||
private static final long serialVersionUID = 261033315221985068L;
|
||||
|
||||
@ -87,6 +87,7 @@ import org.jooq.tools.JooqLogger;
|
||||
*
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@org.jooq.Internal
|
||||
public class TableRecordImpl<R extends TableRecord<R>> extends AbstractRecord implements TableRecord<R> {
|
||||
|
||||
/**
|
||||
|
||||
@ -62,6 +62,7 @@ import org.jooq.UDTRecord;
|
||||
*
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@org.jooq.Internal
|
||||
public class UDTImpl<R extends UDTRecord<R>> extends AbstractNamed implements UDT<R> {
|
||||
|
||||
private static final long serialVersionUID = -2208672099190913126L;
|
||||
|
||||
@ -59,6 +59,7 @@ import org.jooq.UDTRecord;
|
||||
*
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@org.jooq.Internal
|
||||
public class UDTRecordImpl<R extends UDTRecord<R>> extends AbstractRecord implements UDTRecord<R> {
|
||||
|
||||
/**
|
||||
|
||||
@ -81,6 +81,7 @@ import org.jooq.tools.StringUtils;
|
||||
*
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@org.jooq.Internal
|
||||
public class UpdatableRecordImpl<R extends UpdatableRecord<R>> extends TableRecordImpl<R> implements UpdatableRecord<R> {
|
||||
|
||||
/**
|
||||
|
||||
@ -88,7 +88,7 @@ import org.xml.sax.InputSource;
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
@Internal
|
||||
public class MiniJAXB {
|
||||
public final class MiniJAXB {
|
||||
|
||||
public static String marshal(XMLAppendable object) {
|
||||
StringWriter writer = new StringWriter();
|
||||
|
||||
@ -55,7 +55,7 @@ import org.jooq.Internal;
|
||||
* @author Knut Wannheden
|
||||
*/
|
||||
@Internal
|
||||
public class XMLBuilder {
|
||||
public final class XMLBuilder {
|
||||
|
||||
private final StringBuilder builder = new StringBuilder();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user