Top Deprecated
Byte Buddy 1.14.12

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
net.bytebuddy.NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType.INSTANCE

Deprecated as a consequence of NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType being deprecated. See corresponding docs for further information.

net.bytebuddy.NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType.valueOf(String name)

Deprecated as a consequence of NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType being deprecated. See corresponding docs for further information.

net.bytebuddy.NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType.values()

Deprecated as a consequence of NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType being deprecated. See corresponding docs for further information.

net.bytebuddy.NamingStrategy.SuffixingRandom.SuffixingRandom(String
The suffix for the generated class.
suffix
,
NamingStrategy.SuffixingRandom.BaseNameResolver
The base name resolver that is queried for locating the base name.
baseNameResolver
,
String
The fallback namespace for type's that subclass types within the java.* namespace. If The prefix is set to the empty string, no prefix is added.
javaLangPackagePrefix
)

Use NamingStrategy.SuffixingRandom#SuffixingRandom(String, NamingStrategy.Suffixing.BaseNameResolver, String).

net.bytebuddy.NamingStrategy.SuffixingRandom.SuffixingRandom(String
The suffix for the generated class.
suffix
,
NamingStrategy.SuffixingRandom.BaseNameResolver
The base name resolver that is queried for locating the base name.
baseNameResolver
,
String
The fallback namespace for type's that subclass types within the java.* namespace. If The prefix is set to the empty string, no prefix is added.
javaLangPackagePrefix
,
RandomString
The random string instance to use.
randomString
)

Use NamingStrategy.SuffixingRandom#SuffixingRandom(String, NamingStrategy.Suffixing.BaseNameResolver, String, RandomString).

net.bytebuddy.dynamic.scaffold.MethodGraph.Compiler.AbstractBase.compile(TypeDescription
The type to be compiled.
typeDefinition
,
TypeDescription
The view point that determines the method's visibility.
viewPoint
)

net.bytebuddy.dynamic.scaffold.MethodGraph.Compiler.ForDeclaredMethods.compile(TypeDescription
The type to be compiled.
typeDefinition
,
TypeDescription
The view point that determines the method's visibility.
viewPoint
)

Returns:

A linked method graph representing the given type.
net.bytebuddy.dynamic.scaffold.MethodGraph.Compiler.compile
(TypeDescription
The type to be compiled.
typeDescription
)

Use MethodGraph.Compiler#compile(TypeDefinition).

Returns:

A linked method graph representing the given type.
net.bytebuddy.dynamic.scaffold.MethodGraph.Compiler.compile
(TypeDescription
The type to be compiled.
typeDefinition
,
TypeDescription
The view point that determines the method's visibility.
viewPoint
)

Use MethodGraph.Compiler#compile(TypeDefinition, TypeDescription).

net.bytebuddy.dynamic.scaffold.MethodGraph.Empty.compile(TypeDescription
The type to be compiled.
typeDefinition
,
TypeDescription
The view point that determines the method's visibility.
viewPoint
)

net.bytebuddy.implementation.Implementation.Context.Default.Factory.WithFixedSuffix.make(TypeDescription
The description of the type that is currently subject of creation.
instrumentedType
,
AuxiliaryType.NamingStrategy
The naming strategy for naming an auxiliary type.
auxiliaryTypeNamingStrategy
,
TypeInitializer
The type initializer of the created instrumented type.
typeInitializer
,
ClassFileVersion
The class file version of the created class.
classFileVersion
,
ClassFileVersion
The class file version of any auxiliary classes.
auxiliaryClassFileVersion
)

net.bytebuddy.implementation.Implementation.Context.Default.Factory.make(TypeDescription
The description of the type that is currently subject of creation.
instrumentedType
,
AuxiliaryType.NamingStrategy
The naming strategy for naming an auxiliary type.
auxiliaryTypeNamingStrategy
,
TypeInitializer
The type initializer of the created instrumented type.
typeInitializer
,
ClassFileVersion
The class file version of the created class.
classFileVersion
,
ClassFileVersion
The class file version of any auxiliary classes.
auxiliaryClassFileVersion
)

net.bytebuddy.implementation.Implementation.Context.Disabled.Factory.make(TypeDescription
The description of the type that is currently subject of creation.
instrumentedType
,
AuxiliaryType.NamingStrategy
The naming strategy for naming an auxiliary type.
auxiliaryTypeNamingStrategy
,
TypeInitializer
The type initializer of the created instrumented type.
typeInitializer
,
ClassFileVersion
The class file version of the created class.
classFileVersion
,
ClassFileVersion
The class file version of any auxiliary classes.
auxiliaryClassFileVersion
)

Returns:

An implementation context in its extractable view.
net.bytebuddy.implementation.Implementation.Context.Factory.make
(TypeDescription
The description of the type that is currently subject of creation.
instrumentedType
,
AuxiliaryType.NamingStrategy
The naming strategy for naming an auxiliary type.
auxiliaryTypeNamingStrategy
,
TypeInitializer
The type initializer of the created instrumented type.
typeInitializer
,
ClassFileVersion
The class file version of the created class.
classFileVersion
,
ClassFileVersion
The class file version of any auxiliary classes.
auxiliaryClassFileVersion
)

Use Implementation.Context.Factory#make(TypeDescription, AuxiliaryType.NamingStrategy, TypeInitializer, ClassFileVersion, ClassFileVersion, Implementation.Context.FrameGeneration).

net.bytebuddy.implementation.auxiliary.MethodCallProxy.PrecomputedMethodGraph.compile(TypeDescription
The type to be compiled.
typeDefinition
,
TypeDescription
The view point that determines the method's visibility.
viewPoint
)

net.bytebuddy.jar.asm.ClassReader.b

Use readByte(int) and the other read methods instead. This field will eventually be deleted.

Returns:

the index of a new or already existing method type reference item.
net.bytebuddy.jar.asm.ClassWriter.newHandle
(final int tag, final String
the internal name of the field or method owner class (see Type#getInternalName()).
owner
,
final String
the name of the field or method.
name
,
final String
the descriptor of the field or method.
descriptor
)

this method is superseded by newHandle(int, String, String, String, boolean).

net.bytebuddy.jar.asm.Handle.Handle(final int tag, final String
the internal name of the class that owns the field or method designated by this handle (see Type#getInternalName()).
owner
,
final String
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 Handle(int, String, String, String, boolean).

net.bytebuddy.jar.asm.MethodVisitor.visitMethodInsn(final int
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 Type#getInternalName()).
owner
,
final String
the method's name.
name
,
final String
the method's descriptor (see Type).
descriptor
)

use visitMethodInsn(int, String, String, String, boolean) instead.

net.bytebuddy.jar.asm.commons.AnnotationRemapper.AnnotationRemapper(final AnnotationVisitor
the annotation visitor this remapper must delegate to.
annotationVisitor
,
final Remapper
the remapper to use to remap the types in the visited annotation.
remapper
)

use AnnotationRemapper(String, AnnotationVisitor, Remapper) instead.

net.bytebuddy.jar.asm.commons.AnnotationRemapper.AnnotationRemapper(final int
the ASM API version supported by this remapper. Must be one of the ASMx values in Opcodes.
api
,
final AnnotationVisitor
the annotation visitor this remapper must delegate to.
annotationVisitor
,
final Remapper
the remapper to use to remap the types in the visited annotation.
remapper
)

use AnnotationRemapper(int, String, AnnotationVisitor, Remapper) instead.

Returns:

the newly created remapper.
net.bytebuddy.jar.asm.commons.AnnotationRemapper.createAnnotationRemapper
(final AnnotationVisitor
the AnnotationVisitor the remapper must delegate to.
annotationVisitor
)

use createAnnotationRemapper(String, AnnotationVisitor) instead.

Returns:

the newly created remapper.
net.bytebuddy.jar.asm.commons.ClassRemapper.createAnnotationRemapper
(final AnnotationVisitor
the AnnotationVisitor the remapper must delegate to.
annotationVisitor
)

use createAnnotationRemapper(String, AnnotationVisitor) instead.

Returns:

the newly created remapper.
net.bytebuddy.jar.asm.commons.FieldRemapper.createAnnotationRemapper
(final AnnotationVisitor
the AnnotationVisitor the remapper must delegate to.
annotationVisitor
)

use createAnnotationRemapper(String, AnnotationVisitor) instead.

Returns:

the newly created remapper.
net.bytebuddy.jar.asm.commons.MethodRemapper.createAnnotationRemapper
(final AnnotationVisitor
the AnnotationVisitor the remapper must delegate to.
annotationVisitor
)

use createAnnotationRemapper(String, AnnotationVisitor) instead.

Returns:

the newly created remapper.
net.bytebuddy.jar.asm.commons.RecordComponentRemapper.createAnnotationRemapper
(final AnnotationVisitor
the AnnotationVisitor the remapper must delegate to.
annotationVisitor
)

use createAnnotationRemapper(String, AnnotationVisitor) instead.

Returns:

the newly created remapper.
net.bytebuddy.jar.asm.commons.Remapper.createRemappingSignatureAdapter
(final SignatureVisitor
the SignatureVisitor the remapper must delegate to.
signatureVisitor
)

use createSignatureRemapper instead.

net.bytebuddy.utility.visitor.ExceptionTableSensitiveMethodVisitor.onVisitMethodInsn(int
The visited opcode.
opcode
,
String
The method's owner.
owner
,
String
The method's internal name.
name
,
String
The method's descriptor.
descriptor
)

Use ExceptionTableSensitiveMethodVisitor#onVisitMethodInsn(int, String, String, String, boolean) instead.