Uses of Class
javassist.ClassMap
-
Uses of ClassMap in javassist
Modifier and TypeMethodDescriptionstatic CtConstructor
CtNewConstructor.copy
(CtConstructor c, CtClass declaring, ClassMap map) Creates a copy of a constructor.static CtMethod
Creates a copy of a method with a new name.static CtMethod
Creates a copy of a method.void
CtClass.replaceClassName
(ClassMap map) Changes class names appearing in the class file according to the givenmap
.void
CtConstructor.setBody
(CtConstructor src, ClassMap map) Copies a constructor body from another constructor.void
Copies a method body from another method.Makes a copy of this constructor and converts it into a method.ModifierConstructorDescriptionCtConstructor
(CtConstructor src, CtClass declaring, ClassMap map) Creates a copy of aCtConstructor
object.Creates a copy of aCtMethod
object.