| Since | Terminally Deprecated Item and Description |
|---|---|
| 6.0.12 | org.
the file prefixes filePrefixes, List<String> the classpath locations classpathLocations, List<String> the file extensions (starting with a dot) fileExtensions)as of 6.0.12 in favor of the builder |
| 6.0.12 | |
| 6.0.5 | org.
as of Spring Framework 6.0.5 in favor of |
| 6.0 | org.
the type of mime types that may be compared by this comparator T extends MimeType>As of 6.0, with no direct replacement |
| 6.0 | org.
As of 6.0, with no direct replacement |
| Since | Deprecated Item and Description |
|---|---|
org.
Use | |
Returns: the index of a new or already existing method type reference item.the kind of this handle. Must be tag, final String Opcodes#H_GETFIELD, Opcodes#H_GETSTATIC, Opcodes#H_PUTFIELD, Opcodes#H_PUTSTATIC, Opcodes#H_INVOKEVIRTUAL, Opcodes#H_INVOKESTATIC, Opcodes#H_INVOKESPECIAL,
Opcodes#H_NEWINVOKESPECIAL or Opcodes#H_INVOKEINTERFACE.the internal name of the field or method owner class (see owner, final String Type#getInternalName()).the name of the field or method. name, final String the descriptor of the field or method. descriptor)this method is superseded by | |
org.
the kind of field or method designated by this Handle. Must be tag, final String Opcodes#H_GETFIELD, Opcodes#H_GETSTATIC, Opcodes#H_PUTFIELD, Opcodes#H_PUTSTATIC, Opcodes#H_INVOKEVIRTUAL, Opcodes#H_INVOKESTATIC,
Opcodes#H_INVOKESPECIAL, Opcodes#H_NEWINVOKESPECIAL or Opcodes#H_INVOKEINTERFACE.the internal name of the class that owns the field or method designated by this
handle (see owner, final String Type#getInternalName()).the name of the field or method designated by this handle. name, final String the descriptor of the field or method designated by this handle. descriptor)this constructor has been superseded by | |
org.
the opcode of the type instruction to be visited. This opcode is either
INVOKEVIRTUAL, INVOKESPECIAL, INVOKESTATIC or INVOKEINTERFACE. opcode, final String the internal name of the method's owner class (see owner, final String Type#getInternalName()).the method's name. name, final String the method's descriptor (see descriptor)Type).use | |
org.
use | |
org.
use | |
org.
use | |
org.
this customizer might result in unexpected class leak since key object still holds a strong reference to the Object and class. It is recommended to have pre-processing method that would strip Objects and represent Classes as Strings | |
org.
Only to keep backward compatibility. | |
| 6.1 | org.
since 6.1 with no replacement; use an enum, map, or similar custom solution instead |
Returns: the corresponding generic parameter or return typethe method parameter specification methodParameter, Class<?> the class to resolve type variables against implementationClass)since 5.2 in favor of | |
org.
since 5.2 in favor of retaining the original MethodParameter and
using | |
Returns: the corresponding MethodParameter instancethe Method or Constructor to specify a parameter for methodOrConstructor, int the index of the parameter parameterIndex)as of 5.0, in favor of | |
org.
since 5.2 in favor of | |
org.
the corresponding type index
(or typeIndex)null for the default type index)since 5.2 in favor of | |
| 6.0 | Returns: the full exception messagethe base message message, Throwable the root cause cause)as of 6.0, in favor of custom exception messages with selective inclusion of cause messages |
org.
as of 5.2.6 since the | |
Returns: the firstClass in the inheritance hierarchy that
declares an annotation of the specified annotationType,
or null if not foundthe annotation type to look for annotationType, Class<?> the class to check for the annotation on (may be clazz)null)as of 5.2 since it is superseded by the | |
Returns: the firstClass in the inheritance hierarchy that
declares an annotation of at least one of the specified
annotationTypes, or null if not foundthe annotation types to look for annotationTypes, Class<?> the class to check for the annotation on (may be clazz)null)as of 5.2 since it is superseded by the | |
Returns: the annotations found, an empty array, ornull if not
resolvable (e.g. because nested Class values in annotation attributes
failed to resolve at runtime)the Method, Constructor or Field to retrieve annotations from annotatedElement)as of 5.2 since it is superseded by the | |
Returns: the annotations found, an empty array, ornull if not
resolvable (e.g. because nested Class values in annotation attributes
failed to resolve at runtime)the Method to retrieve annotations from method)as of 5.2 since it is superseded by the | |
Returns: the annotations found or an empty set (nevernull)the element to look for annotations on annotatedElement, Class<A> the annotation type to look for annotationType)as of 5.2 since it is superseded by the | |
Returns: the annotations found or an empty set (nevernull)the element to look for annotations on annotatedElement, Class<A> the annotation type to look for annotationType, Class<? extends Annotation> the type of the container that holds
the annotations; may be containerAnnotationType)null if a container is not supported
or if it should be looked up via @java.
when running on Java 8 or higheras of 5.2 since it is superseded by the | |
Returns: the annotations found or an empty set (nevernull)the element to look for annotations on annotatedElement, Class<A> the annotation type to look for annotationType)as of 5.2 since it is superseded by the | |
Returns: the annotations found or an empty set (nevernull)the element to look for annotations on annotatedElement, Class<A> the annotation type to look for annotationType, Class<? extends Annotation> the type of the container that holds
the annotations; may be containerAnnotationType)null if a container is not supported
or if it should be looked up via @java.
when running on Java 8 or higheras of 5.2 since it is superseded by the | |
Returns: true if an annotation of the specified annotationType
is present and inheritedthe annotation type to look for annotationType, Class<?> the class to check for the annotation on clazz)as of 5.2 since it is superseded by the | |
Returns: true if such an annotation is meta-presentthe annotation type to search on annotationType, Class<? extends Annotation> the type of meta-annotation to search for metaAnnotationType)as of 5.2 since it is superseded by the | |
org.
as of 5.2, please implement
| |
org.
as of 5.1 in favor of | |
| 6.1 | org.
since 6.1 with no plans for a replacement |
| 6.0 | Returns: this data buffer as a byte bufferas of 6.0, in favor of |
| 6.0 | Returns: this data buffer as a byte bufferthe index at which to start the byte buffer index, int the length of the returned byte buffer length)as of 6.0, in favor of |
| 6.0 | Returns: this bufferthe new capacity capacity)as of 6.0, in favor of |
| 6.0 | Returns: this bufferthe writable capacity to check for capacity)since 6.0, in favor of |
| 6.0 | Returns: the specified, retained slice of this data bufferthe index at which to start the slice index, int the length of the slice length)as of 6.0, in favor of |
| 6.0 | Returns: the specified slice of this data bufferthe index at which to start the slice index, int the length of the slice length)as of 6.0, in favor of |
| 6.0.5 | Returns: this data buffer as a byte bufferas of 6.0.5, in favor of |
| 6.0.5 | Returns: this data buffer as a byte bufferas of 6.0.5, in favor of
|
| 6.0 | Returns: the allocated bufferas of 6.0, in favor of |
org.
the index at which to start the byte buffer index, int the length of the returned byte buffer length)
| |
org.
the writable capacity to check for capacity)
| |
org.
the index at which to start the slice index, int the length of the slice length)
| |
org.
the index at which to start the slice index, int the length of the slice length)
| |
org.
the index at which to start the byte buffer index, int the length of the returned byte buffer length)
| |
org.
the index at which to start the slice index, int the length of the slice length)
| |
org.
the index at which to start the byte buffer index, int the length of the returned byte buffer length)
| |
org.
the index at which to start the slice index, int the length of the slice length)
| |
org.
the index at which to start the byte buffer index, int the length of the returned byte buffer length)
| |
org.
the index at which to start the slice index, int the length of the slice length)
| |
org.
the index at which to start the slice index, int the length of the slice length)
| |
| 6.0 | org.
the interface or abstract class representing the factory factoryType, ClassLoader the ClassLoader to use for loading resources; can be
classLoader)null to use the defaultas of 6.0 in favor of |
| 6.0 | |
Returns: aListenableFuture representing pending completion of the taskthe task)Runnable to execute (never null)in favor of | |
Returns: aListenableFuture representing pending completion of the taskthe task)Callable to execute (never null)in favor of | |
org.
as of 5.3.16 along with | |
org.
as of 5.3.16 along with | |
org.
the task, long Runnable to execute (never null)the time duration (milliseconds) within which the task is
supposed to start. This is intended as a hint to the executor, allowing for
preferred handling of immediate tasks. Typical values are startTimeout)TIMEOUT_IMMEDIATE
or TIMEOUT_INDEFINITE (the default as used by execute(Runnable)).as of 5.3.16 since the common executors do not support start timeouts | |
org.
Deprecated as a consequence of | |
org.
the task, long Runnable to execute (never null)the time duration (milliseconds) within which the task is
supposed to start. This is intended as a hint to the executor, allowing for
preferred handling of immediate tasks. Typical values are startTimeout)TIMEOUT_IMMEDIATE
or TIMEOUT_INDEFINITE (the default as used by execute(Runnable)).
| |
org.
the task)Runnable to execute (never null)Deprecated as a consequence of | |
org.
the task)Callable to execute (never null)Deprecated as a consequence of | |
org.
as of 5.3.16 since the common executors do not support start timeouts | |
org.
Deprecated as a consequence of | |
org.
the task)Runnable to execute (never null)Deprecated as a consequence of | |
org.
the task)Callable to execute (never null)Deprecated as a consequence of | |
org.
the Class to introspect introspectedClass)since 5.2 in favor of the factory method | |
org.
the Class to introspect introspectedClass, boolean return nested annotations and annotation arrays as
nestedAnnotationsAsMap)org. for compatibility
with ASM-based AnnotationMetadata implementationssince 5.2 in favor of the factory method | |
org.
the Class to introspect introspectedClass)since 5.2 in favor of | |
org.
the Method to introspect introspectedMethod)since 5.2 in favor of obtaining instances via | |
Returns: the corresponding interface method, or the original method if none foundthe method to be invoked, potentially from an implementation class method)in favor of | |
org.
the object to check object)as of 5.2, in favor of custom (possibly narrower) checks such as for a Spring AOP proxy | |
org.
the class to check clazz)as of 5.2, in favor of custom (possibly narrower) checks
or simply a check for containing | |
org.
the class name to check className)as of 5.2, in favor of custom (possibly narrower) checks
or simply a check for containing | |
| 6.0 | |
| 6.1 | org.
as of 6.1 in favor of |
| 6.1 | org.
as of 6.1 in favor of |
| 6.1 | org.
as of 6.1 in favor of |
| 6.1 | org.
as of 6.1 in favor of |
| 6.1 | org.
as of 6.1 in favor of |
| 6.1 | org.
as of 6.1 in favor of |
| 6.1 | org.
as of 6.1 in favor of |
| 6.1 | org.
as of 6.1 in favor of |
| 6.1 | org.
as of 6.1 in favor of |
Returns: the result of deserializing the bytesa serialized object bytes)This utility uses Java Object Serialization, which allows arbitrary code to be run and is known for being the source of many Remote Code Execution (RCE) vulnerabilities. Prefer the use of an external tool (that serializes to JSON, XML, or any other format) which is regularly checked and updated for not allowing RCE. | |
| 6.1 | |
| 6.1 | |
| 6.1 | |
| 6.1 | |
| 6.0 | Returns: an InputStream which contains no bytesas of 6.0 in favor of |
org.
the candidate object (possibly a str)String)as of 5.3, in favor of | |
| 6.0 | Returns: the trimmedStringthe str)String to checksince 6.0, in favor of |
| 6.0 | Returns: the trimmedStringthe str)String to checksince 6.0, in favor of |
| 6.0 | Returns: the trimmedStringthe str)String to checksince 6.0, in favor of |
| 6.1 | org.
the type of comparable objects that may be compared by this comparator T extends Comparableas of 6.1 in favor of |
org.
Deprecated as a consequence of | |
| 6.1 | org.
the type of objects that may be compared by this comparator T>as of 6.1 in favor of |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
| 6.0 | org.
the result type returned by this Future's T>get methodas of 6.0, with no concrete replacement |
org.
the callback to register callback)Deprecated as a consequence of | |
org.
the success callback successCallback, FailureCallback the failure callback failureCallback)Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
| 6.0 | |
| 6.0 | org.
the type of this T, Futurethe type of the adaptee's S>Futureas of 6.0, with no concrete replacement |
| 6.0 | org.
the result type returned by this Future's T>get methodas of 6.0, in favor of |
| 6.0 | org.
the callback to register callback)as of 6.0, in favor of
|
| 6.0 | org.
the success callback successCallback, FailureCallback the failure callback failureCallback)as of 6.0, in favor of
|
| 6.0 | org.
the type of this T, Futurethe type of the adaptee's S>Futureas of 6.0, in favor of
|
org.
the future to adapt to adaptee)Deprecated as a consequence of | |
org.
the callback to register callback)Deprecated as a consequence of | |
org.
the success callback successCallback, final FailureCallback the failure callback failureCallback)Deprecated as a consequence of | |
| 6.0 | org.
the result type T>as of 6.0, in favor of
|
| 6.0 | org.
the callback result type T>as of 6.0, with no concrete replacement |
org.
the callback to add callback)Deprecated as a consequence of | |
org.
the failure callback to add callback)Deprecated as a consequence of | |
org.
the success callback to add callback)Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
| 6.0 | org.
the result type returned by this Future's T>get methodas of 6.0, with no concrete replacement |
org.
the callback to register callback)Deprecated as a consequence of | |
org.
the success callback successCallback, FailureCallback the failure callback failureCallback)Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
| 6.0 | org.
the object type T>as of 6.0, in favor of |
| 6.0 | org.
the result type returned by this Future's T>get methodas of 6.0, in favor of |
org.
Deprecated as a consequence of | |
org.
the callback to register callback)Deprecated as a consequence of | |
org.
the success callback successCallback, FailureCallback the failure callback failureCallback)Deprecated as a consequence of | |
org.
Deprecated as a consequence of | |
| 6.0 | org.
the result type T>as of 6.0, in favor of
|