Top Deprecated
Javassist 3.30.2-GA

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
javassist.ClassPool.makePackage(ClassLoader
the class loader passed to toClass() or the default one obtained by getClassLoader().
loader
,
String
the package name.
name
)

javassist.ClassPool.recordInvalidClassName(String
an invalid class name (separeted by dots).
name
)

javassist.ClassPool.toClass(CtClass ct, ClassLoader loader)

Replaced by toClass(CtClass, Class, ClassLoader, ProtectionDomain). A subclass of ClassPool that has been overriding this method should be modified. It should override toClass(CtClass, Class, ClassLoader, ProtectionDomain).

javassist.ClassPool.toClass(CtClass
the class converted into java.lang.Class.
ct
,
ClassLoader
the class loader used to load this class. For example, the loader returned by getClassLoader() can be used for this parameter.
loader
,
ProtectionDomain
the protection domain for the class. If it is null, the default domain created by java.lang.ClassLoader is used.
domain
)

Replaced by toClass(CtClass, Class, ClassLoader, ProtectionDomain).

Returns:

null if this class is not a local class or an anonymous class.
javassist.CtClass.getEnclosingMethod
()

The enclosing method might be a constructor. Use getEnclosingBehavior().

javassist.bytecode.LocalVariableAttribute(ConstPool cp, String
the attribute name. LocalVariableAttribute.tag or LocalVariableAttribute.typeTag.
name
)

javassist.util.proxy.DefineClassHelper.Java7.stack

Deprecated as a consequence of SecurityActions being deprecated. See corresponding docs for further information.

javassist.util.proxy.DefineClassHelper.JavaOther.stack

Deprecated as a consequence of SecurityActions being deprecated. See corresponding docs for further information.

javassist.util.proxy.DefinePackageHelper.Java7.stack

Deprecated as a consequence of SecurityActions being deprecated. See corresponding docs for further information.

javassist.util.proxy.DefinePackageHelper.JavaOther.stack

Deprecated as a consequence of SecurityActions being deprecated. See corresponding docs for further information.

javassist.util.proxy.FactoryHelper.toClass(ClassFile cf, ClassLoader
The class loader. It can be null if neighbor is not null.
loader
,
ProtectionDomain
if it is null, a default domain is used.
domain
)

javassist.util.proxy.ProxyFactory.setHandler(MethodHandler mi)

since 3.12 use of this method is incompatible with proxy class caching. instead clients should call method Proxy#setHandler(MethodHandler) to set the handler for each newly created proxy instance. calling this method will automatically disable caching of classes created by the proxy factory.

javassist.util.proxy.SecurityActions

Deprecated as a consequence of SecurityManager being deprecated.

javassist.util.proxy.SecurityActions.stack

Deprecated as a consequence of SecurityActions being deprecated. See corresponding docs for further information.