From cba4df136e93461d6f8f71086827fcc550f8ed69 Mon Sep 17 00:00:00 2001 From: Shigeru Chiba Date: Thu, 3 Oct 2019 00:08:50 +0900 Subject: [PATCH] deletes the javadoc for 3.25 --- html/allclasses-index.html | 1282 -- html/allclasses.html | 208 - html/allpackages-index.html | 235 - html/constant-values.html | 2848 ---- html/deprecated-list.html | 246 - html/element-list | 12 - html/index-all.html | 8894 ------------ html/index.html | 231 - html/javassist/ByteArrayClassPath.html | 396 - html/javassist/CannotCompileException.html | 510 - html/javassist/ClassClassPath.html | 407 - html/javassist/ClassMap.html | 587 - html/javassist/ClassPath.html | 315 - html/javassist/ClassPool.html | 1806 --- ...ter.ArrayAccessReplacementMethodNames.html | 561 - ...aultArrayAccessReplacementMethodNames.html | 682 - html/javassist/CodeConverter.html | 958 -- html/javassist/CtBehavior.html | 1323 -- html/javassist/CtClass.html | 3148 ----- html/javassist/CtConstructor.html | 724 - html/javassist/CtField.Initializer.html | 831 -- html/javassist/CtField.html | 970 -- html/javassist/CtMember.html | 647 - html/javassist/CtMethod.ConstParameter.html | 329 - html/javassist/CtMethod.html | 728 - html/javassist/CtNewConstructor.html | 746 - html/javassist/CtNewMethod.html | 816 -- html/javassist/CtPrimitiveType.html | 470 - html/javassist/Loader.Simple.html | 373 - html/javassist/Loader.html | 726 - html/javassist/LoaderClassPath.html | 400 - html/javassist/Modifier.html | 1026 -- html/javassist/NotFoundException.html | 310 - html/javassist/SerialVersionUID.html | 348 - html/javassist/Translator.html | 331 - html/javassist/URLClassPath.html | 443 - html/javassist/bytecode/AccessFlag.html | 889 -- .../bytecode/AnnotationDefaultAttribute.html | 514 - .../bytecode/AnnotationsAttribute.html | 714 - html/javassist/bytecode/AttributeInfo.html | 442 - html/javassist/bytecode/BadBytecode.html | 338 - ...strapMethodsAttribute.BootstrapMethod.html | 347 - .../bytecode/BootstrapMethodsAttribute.html | 440 - html/javassist/bytecode/ByteArray.html | 393 - html/javassist/bytecode/Bytecode.html | 2720 ---- html/javassist/bytecode/ClassFile.html | 1502 -- html/javassist/bytecode/ClassFilePrinter.html | 332 - .../ClassFileWriter.AttributeWriter.html | 300 - .../ClassFileWriter.ConstPoolWriter.html | 690 - .../bytecode/ClassFileWriter.FieldWriter.html | 322 - .../ClassFileWriter.MethodWriter.html | 507 - html/javassist/bytecode/ClassFileWriter.html | 533 - .../CodeAttribute.RuntimeCopyException.html | 308 - html/javassist/bytecode/CodeAttribute.html | 844 -- html/javassist/bytecode/CodeIterator.Gap.html | 340 - html/javassist/bytecode/CodeIterator.html | 1376 -- html/javassist/bytecode/ConstPool.html | 2709 ---- .../javassist/bytecode/ConstantAttribute.html | 411 - .../bytecode/DeprecatedAttribute.html | 388 - .../bytecode/Descriptor.Iterator.html | 391 - html/javassist/bytecode/Descriptor.html | 999 -- .../bytecode/DuplicateMemberException.html | 309 - .../bytecode/EnclosingMethodAttribute.html | 510 - html/javassist/bytecode/ExceptionTable.html | 671 - .../bytecode/ExceptionsAttribute.html | 492 - html/javassist/bytecode/FieldInfo.html | 606 - .../bytecode/InnerClassesAttribute.html | 744 - .../bytecode/InstructionPrinter.html | 382 - .../bytecode/LineNumberAttribute.Pc.html | 336 - .../bytecode/LineNumberAttribute.html | 504 - .../bytecode/LocalVariableAttribute.html | 743 - .../bytecode/LocalVariableTypeAttribute.html | 357 - html/javassist/bytecode/MethodInfo.html | 1062 -- .../bytecode/MethodParametersAttribute.html | 458 - html/javassist/bytecode/Mnemonic.html | 259 - .../javassist/bytecode/NestHostAttribute.html | 370 - .../bytecode/NestMembersAttribute.html | 395 - html/javassist/bytecode/Opcode.html | 4037 ------ .../ParameterAnnotationsAttribute.html | 558 - .../SignatureAttribute.ArrayType.html | 387 - .../bytecode/SignatureAttribute.BaseType.html | 378 - .../SignatureAttribute.ClassSignature.html | 428 - .../SignatureAttribute.ClassType.html | 501 - .../SignatureAttribute.MethodSignature.html | 434 - .../SignatureAttribute.NestedClassType.html | 382 - .../SignatureAttribute.ObjectType.html | 332 - .../bytecode/SignatureAttribute.Type.html | 321 - .../SignatureAttribute.TypeArgument.html | 455 - .../SignatureAttribute.TypeParameter.html | 415 - .../SignatureAttribute.TypeVariable.html | 367 - .../bytecode/SignatureAttribute.html | 655 - .../bytecode/SourceFileAttribute.html | 410 - html/javassist/bytecode/StackMap.Walker.html | 460 - html/javassist/bytecode/StackMap.Writer.html | 375 - html/javassist/bytecode/StackMap.html | 679 - .../StackMapTable.RuntimeCopyException.html | 308 - .../bytecode/StackMapTable.Walker.html | 570 - .../bytecode/StackMapTable.Writer.html | 494 - html/javassist/bytecode/StackMapTable.html | 718 - .../bytecode/SyntheticAttribute.html | 388 - .../bytecode/TypeAnnotationsAttribute.html | 442 - .../javassist/bytecode/analysis/Analyzer.html | 441 - .../bytecode/analysis/ControlFlow.Block.html | 495 - .../analysis/ControlFlow.Catcher.html | 294 - .../bytecode/analysis/ControlFlow.Node.html | 351 - .../bytecode/analysis/ControlFlow.html | 509 - .../javassist/bytecode/analysis/Executor.html | 360 - html/javassist/bytecode/analysis/Frame.html | 640 - .../bytecode/analysis/FramePrinter.html | 355 - .../bytecode/analysis/MultiArrayType.html | 572 - .../bytecode/analysis/MultiType.html | 599 - .../bytecode/analysis/Subroutine.html | 402 - .../bytecode/analysis/SubroutineScanner.html | 339 - html/javassist/bytecode/analysis/Type.html | 885 -- html/javassist/bytecode/analysis/Util.html | 392 - .../bytecode/analysis/class-use/Analyzer.html | 149 - .../analysis/class-use/ControlFlow.Block.html | 226 - .../class-use/ControlFlow.Catcher.html | 198 - .../analysis/class-use/ControlFlow.Node.html | 218 - .../analysis/class-use/ControlFlow.html | 149 - .../bytecode/analysis/class-use/Executor.html | 149 - .../bytecode/analysis/class-use/Frame.html | 267 - .../analysis/class-use/FramePrinter.html | 149 - .../analysis/class-use/MultiArrayType.html | 149 - .../analysis/class-use/MultiType.html | 194 - .../analysis/class-use/Subroutine.html | 216 - .../analysis/class-use/SubroutineScanner.html | 149 - .../bytecode/analysis/class-use/Type.html | 498 - .../bytecode/analysis/class-use/Util.html | 149 - .../bytecode/analysis/package-summary.html | 268 - .../bytecode/analysis/package-tree.html | 184 - .../bytecode/analysis/package-use.html | 224 - .../bytecode/annotation/Annotation.html | 652 - .../bytecode/annotation/AnnotationImpl.html | 395 - .../annotation/AnnotationMemberValue.html | 425 - .../annotation/AnnotationsWriter.html | 984 -- .../bytecode/annotation/ArrayMemberValue.html | 449 - .../annotation/BooleanMemberValue.html | 451 - .../bytecode/annotation/ByteMemberValue.html | 451 - .../bytecode/annotation/CharMemberValue.html | 451 - .../bytecode/annotation/ClassMemberValue.html | 460 - .../annotation/DoubleMemberValue.html | 453 - .../bytecode/annotation/EnumMemberValue.html | 474 - .../bytecode/annotation/FloatMemberValue.html | 453 - .../annotation/IntegerMemberValue.html | 457 - .../bytecode/annotation/LongMemberValue.html | 451 - .../bytecode/annotation/MemberValue.html | 303 - .../annotation/MemberValueVisitor.html | 426 - .../bytecode/annotation/NoSuchClassError.html | 342 - .../bytecode/annotation/ShortMemberValue.html | 451 - .../annotation/StringMemberValue.html | 451 - .../annotation/TypeAnnotationsWriter.html | 679 - .../annotation/class-use/Annotation.html | 334 - .../annotation/class-use/AnnotationImpl.html | 149 - .../class-use/AnnotationMemberValue.html | 195 - .../class-use/AnnotationsWriter.html | 313 - .../class-use/ArrayMemberValue.html | 195 - .../class-use/BooleanMemberValue.html | 195 - .../annotation/class-use/ByteMemberValue.html | 195 - .../annotation/class-use/CharMemberValue.html | 195 - .../class-use/ClassMemberValue.html | 195 - .../class-use/DoubleMemberValue.html | 195 - .../annotation/class-use/EnumMemberValue.html | 195 - .../class-use/FloatMemberValue.html | 195 - .../class-use/IntegerMemberValue.html | 195 - .../annotation/class-use/LongMemberValue.html | 195 - .../annotation/class-use/MemberValue.html | 416 - .../class-use/MemberValueVisitor.html | 288 - .../class-use/NoSuchClassError.html | 198 - .../class-use/ShortMemberValue.html | 195 - .../class-use/StringMemberValue.html | 195 - .../class-use/TypeAnnotationsWriter.html | 149 - .../bytecode/annotation/package-summary.html | 314 - .../bytecode/annotation/package-tree.html | 202 - .../bytecode/annotation/package-use.html | 322 - .../bytecode/class-use/AccessFlag.html | 149 - .../class-use/AnnotationDefaultAttribute.html | 149 - .../class-use/AnnotationsAttribute.html | 149 - .../bytecode/class-use/AttributeInfo.html | 651 - .../bytecode/class-use/BadBytecode.html | 611 - ...strapMethodsAttribute.BootstrapMethod.html | 213 - .../class-use/BootstrapMethodsAttribute.html | 149 - .../bytecode/class-use/ByteArray.html | 149 - .../bytecode/class-use/Bytecode.html | 149 - .../bytecode/class-use/ClassFile.html | 370 - .../bytecode/class-use/ClassFilePrinter.html | 149 - .../ClassFileWriter.AttributeWriter.html | 264 - .../ClassFileWriter.ConstPoolWriter.html | 197 - .../ClassFileWriter.FieldWriter.html | 197 - .../ClassFileWriter.MethodWriter.html | 197 - .../bytecode/class-use/ClassFileWriter.html | 149 - .../CodeAttribute.RuntimeCopyException.html | 198 - .../bytecode/class-use/CodeAttribute.html | 228 - .../bytecode/class-use/CodeIterator.Gap.html | 200 - .../bytecode/class-use/CodeIterator.html | 257 - .../bytecode/class-use/ConstPool.html | 1038 -- .../bytecode/class-use/ConstantAttribute.html | 149 - .../class-use/DeprecatedAttribute.html | 149 - .../class-use/Descriptor.Iterator.html | 149 - .../bytecode/class-use/Descriptor.html | 149 - .../class-use/DuplicateMemberException.html | 204 - .../class-use/EnclosingMethodAttribute.html | 149 - .../bytecode/class-use/ExceptionTable.html | 271 - .../class-use/ExceptionsAttribute.html | 214 - .../bytecode/class-use/FieldInfo.html | 259 - .../class-use/InnerClassesAttribute.html | 149 - .../class-use/InstructionPrinter.html | 149 - .../class-use/LineNumberAttribute.Pc.html | 199 - .../class-use/LineNumberAttribute.html | 149 - .../class-use/LocalVariableAttribute.html | 197 - .../class-use/LocalVariableTypeAttribute.html | 149 - .../bytecode/class-use/MethodInfo.html | 422 - .../class-use/MethodParametersAttribute.html | 149 - .../bytecode/class-use/Mnemonic.html | 149 - .../bytecode/class-use/NestHostAttribute.html | 149 - .../class-use/NestMembersAttribute.html | 149 - html/javassist/bytecode/class-use/Opcode.html | 357 - .../ParameterAnnotationsAttribute.html | 149 - .../SignatureAttribute.ArrayType.html | 149 - .../SignatureAttribute.BaseType.html | 149 - .../SignatureAttribute.ClassSignature.html | 197 - .../SignatureAttribute.ClassType.html | 278 - .../SignatureAttribute.MethodSignature.html | 197 - .../SignatureAttribute.NestedClassType.html | 149 - .../SignatureAttribute.ObjectType.html | 321 - .../class-use/SignatureAttribute.Type.html | 295 - .../SignatureAttribute.TypeArgument.html | 235 - .../SignatureAttribute.TypeParameter.html | 236 - .../SignatureAttribute.TypeVariable.html | 149 - .../class-use/SignatureAttribute.html | 149 - .../class-use/SourceFileAttribute.html | 149 - .../bytecode/class-use/StackMap.Walker.html | 149 - .../bytecode/class-use/StackMap.Writer.html | 149 - .../bytecode/class-use/StackMap.html | 229 - .../StackMapTable.RuntimeCopyException.html | 198 - .../class-use/StackMapTable.Walker.html | 149 - .../class-use/StackMapTable.Writer.html | 198 - .../bytecode/class-use/StackMapTable.html | 230 - .../class-use/SyntheticAttribute.html | 149 - .../class-use/TypeAnnotationsAttribute.html | 149 - html/javassist/bytecode/package-summary.html | 599 - html/javassist/bytecode/package-tree.html | 264 - html/javassist/bytecode/package-use.html | 578 - .../class-use/ByteArrayClassPath.html | 149 - .../class-use/CannotCompileException.html | 1510 -- html/javassist/class-use/ClassClassPath.html | 149 - html/javassist/class-use/ClassMap.html | 276 - html/javassist/class-use/ClassPath.html | 303 - html/javassist/class-use/ClassPool.html | 549 - ...ter.ArrayAccessReplacementMethodNames.html | 218 - ...aultArrayAccessReplacementMethodNames.html | 149 - html/javassist/class-use/CodeConverter.html | 205 - html/javassist/class-use/CtBehavior.html | 370 - html/javassist/class-use/CtClass.html | 1874 --- html/javassist/class-use/CtConstructor.html | 397 - .../class-use/CtField.Initializer.html | 344 - html/javassist/class-use/CtField.html | 377 - html/javassist/class-use/CtMember.html | 219 - .../class-use/CtMethod.ConstParameter.html | 255 - html/javassist/class-use/CtMethod.html | 681 - .../javassist/class-use/CtNewConstructor.html | 149 - html/javassist/class-use/CtNewMethod.html | 149 - html/javassist/class-use/CtPrimitiveType.html | 149 - html/javassist/class-use/Loader.Simple.html | 149 - html/javassist/class-use/Loader.html | 197 - html/javassist/class-use/LoaderClassPath.html | 149 - html/javassist/class-use/Modifier.html | 149 - .../class-use/NotFoundException.html | 995 -- .../javassist/class-use/SerialVersionUID.html | 149 - html/javassist/class-use/Translator.html | 290 - html/javassist/class-use/URLClassPath.html | 149 - html/javassist/expr/Cast.html | 436 - html/javassist/expr/ConstructorCall.html | 396 - html/javassist/expr/Expr.html | 460 - html/javassist/expr/ExprEditor.html | 562 - html/javassist/expr/FieldAccess.html | 546 - html/javassist/expr/Handler.html | 467 - html/javassist/expr/Instanceof.html | 440 - html/javassist/expr/MethodCall.html | 521 - html/javassist/expr/NewArray.html | 478 - html/javassist/expr/NewExpr.html | 481 - html/javassist/expr/class-use/Cast.html | 197 - .../expr/class-use/ConstructorCall.html | 197 - html/javassist/expr/class-use/Expr.html | 247 - html/javassist/expr/class-use/ExprEditor.html | 237 - .../javassist/expr/class-use/FieldAccess.html | 197 - html/javassist/expr/class-use/Handler.html | 197 - html/javassist/expr/class-use/Instanceof.html | 197 - html/javassist/expr/class-use/MethodCall.html | 215 - html/javassist/expr/class-use/NewArray.html | 197 - html/javassist/expr/class-use/NewExpr.html | 197 - html/javassist/expr/package-summary.html | 230 - html/javassist/expr/package-tree.html | 179 - html/javassist/expr/package-use.html | 268 - html/javassist/package-summary.html | 384 - html/javassist/package-tree.html | 225 - html/javassist/package-use.html | 703 - html/javassist/runtime/Cflow.html | 363 - html/javassist/runtime/Desc.html | 451 - html/javassist/runtime/DotClass.html | 311 - html/javassist/runtime/Inner.html | 272 - html/javassist/runtime/class-use/Cflow.html | 149 - html/javassist/runtime/class-use/Desc.html | 149 - .../javassist/runtime/class-use/DotClass.html | 149 - html/javassist/runtime/class-use/Inner.html | 149 - html/javassist/runtime/package-summary.html | 199 - html/javassist/runtime/package-tree.html | 171 - html/javassist/runtime/package-use.html | 149 - html/javassist/tools/Callback.html | 554 - html/javassist/tools/Dump.html | 286 - html/javassist/tools/class-use/Callback.html | 239 - html/javassist/tools/class-use/Dump.html | 149 - html/javassist/tools/class-use/framedump.html | 149 - html/javassist/tools/framedump.html | 282 - html/javassist/tools/package-summary.html | 188 - html/javassist/tools/package-tree.html | 166 - html/javassist/tools/package-use.html | 188 - .../tools/reflect/CannotCreateException.html | 308 - .../tools/reflect/CannotInvokeException.html | 396 - .../tools/reflect/CannotReflectException.html | 314 - .../tools/reflect/ClassMetaobject.html | 701 - html/javassist/tools/reflect/Compiler.html | 354 - html/javassist/tools/reflect/Loader.html | 520 - html/javassist/tools/reflect/Metalevel.html | 291 - html/javassist/tools/reflect/Metaobject.html | 552 - html/javassist/tools/reflect/Reflection.html | 555 - html/javassist/tools/reflect/Sample.html | 368 - .../class-use/CannotCreateException.html | 197 - .../class-use/CannotInvokeException.html | 149 - .../class-use/CannotReflectException.html | 199 - .../reflect/class-use/ClassMetaobject.html | 204 - .../tools/reflect/class-use/Compiler.html | 149 - .../tools/reflect/class-use/Loader.html | 149 - .../tools/reflect/class-use/Metalevel.html | 149 - .../tools/reflect/class-use/Metaobject.html | 214 - .../tools/reflect/class-use/Reflection.html | 149 - .../tools/reflect/class-use/Sample.html | 149 - .../tools/reflect/package-summary.html | 283 - .../javassist/tools/reflect/package-tree.html | 202 - html/javassist/tools/reflect/package-use.html | 209 - html/javassist/tools/rmi/AppletServer.html | 489 - html/javassist/tools/rmi/ObjectImporter.html | 492 - .../tools/rmi/ObjectNotFoundException.html | 309 - html/javassist/tools/rmi/Proxy.html | 256 - html/javassist/tools/rmi/RemoteException.html | 314 - html/javassist/tools/rmi/RemoteRef.html | 351 - html/javassist/tools/rmi/Sample.html | 333 - html/javassist/tools/rmi/StubGenerator.html | 432 - .../tools/rmi/class-use/AppletServer.html | 149 - .../tools/rmi/class-use/ObjectImporter.html | 149 - .../class-use/ObjectNotFoundException.html | 197 - html/javassist/tools/rmi/class-use/Proxy.html | 149 - .../tools/rmi/class-use/RemoteException.html | 205 - .../tools/rmi/class-use/RemoteRef.html | 149 - .../javassist/tools/rmi/class-use/Sample.html | 149 - .../tools/rmi/class-use/StubGenerator.html | 149 - html/javassist/tools/rmi/package-summary.html | 250 - html/javassist/tools/rmi/package-tree.html | 192 - html/javassist/tools/rmi/package-use.html | 193 - html/javassist/tools/web/BadHttpRequest.html | 350 - html/javassist/tools/web/Viewer.html | 424 - html/javassist/tools/web/Webserver.html | 637 - .../tools/web/class-use/BadHttpRequest.html | 231 - .../javassist/tools/web/class-use/Viewer.html | 149 - .../tools/web/class-use/Webserver.html | 198 - html/javassist/tools/web/package-summary.html | 199 - html/javassist/tools/web/package-tree.html | 178 - html/javassist/tools/web/package-use.html | 219 - html/javassist/util/HotSwapAgent.html | 488 - html/javassist/util/HotSwapper.html | 429 - .../util/class-use/HotSwapAgent.html | 149 - html/javassist/util/class-use/HotSwapper.html | 149 - html/javassist/util/package-summary.html | 182 - html/javassist/util/package-tree.html | 165 - html/javassist/util/package-use.html | 149 - .../util/proxy/DefineClassHelper.html | 369 - .../util/proxy/DefinePackageHelper.html | 301 - html/javassist/util/proxy/FactoryHelper.html | 610 - html/javassist/util/proxy/MethodFilter.html | 259 - html/javassist/util/proxy/MethodHandler.html | 287 - html/javassist/util/proxy/Proxy.html | 268 - .../ProxyFactory.ClassLoaderProvider.html | 269 - .../util/proxy/ProxyFactory.UniqueName.html | 263 - html/javassist/util/proxy/ProxyFactory.html | 1114 -- html/javassist/util/proxy/ProxyObject.html | 297 - .../util/proxy/ProxyObjectInputStream.html | 407 - .../util/proxy/ProxyObjectOutputStream.html | 353 - html/javassist/util/proxy/RuntimeSupport.html | 626 - .../proxy/class-use/DefineClassHelper.html | 149 - .../proxy/class-use/DefinePackageHelper.html | 149 - .../util/proxy/class-use/FactoryHelper.html | 149 - .../util/proxy/class-use/MethodFilter.html | 212 - .../util/proxy/class-use/MethodHandler.html | 264 - .../javassist/util/proxy/class-use/Proxy.html | 214 - .../ProxyFactory.ClassLoaderProvider.html | 198 - .../class-use/ProxyFactory.UniqueName.html | 197 - .../util/proxy/class-use/ProxyFactory.html | 197 - .../util/proxy/class-use/ProxyObject.html | 149 - .../class-use/ProxyObjectInputStream.html | 149 - .../class-use/ProxyObjectOutputStream.html | 149 - .../util/proxy/class-use/RuntimeSupport.html | 149 - .../javassist/util/proxy/package-summary.html | 260 - html/javassist/util/proxy/package-tree.html | 200 - html/javassist/util/proxy/package-use.html | 219 - html/jquery/external/jquery/jquery.js | 10364 -------------- .../images/ui-bg_flat_0_aaaaaa_40x100.png | Bin 212 -> 0 bytes .../images/ui-bg_flat_75_ffffff_40x100.png | Bin 208 -> 0 bytes .../images/ui-bg_glass_55_fbf9ee_1x400.png | Bin 335 -> 0 bytes .../images/ui-bg_glass_65_ffffff_1x400.png | Bin 207 -> 0 bytes .../images/ui-bg_glass_75_dadada_1x400.png | Bin 262 -> 0 bytes .../images/ui-bg_glass_75_e6e6e6_1x400.png | Bin 262 -> 0 bytes .../images/ui-bg_glass_95_fef1ec_1x400.png | Bin 332 -> 0 bytes .../ui-bg_highlight-soft_75_cccccc_1x100.png | Bin 280 -> 0 bytes .../jquery/images/ui-icons_222222_256x240.png | Bin 6922 -> 0 bytes .../jquery/images/ui-icons_2e83ff_256x240.png | Bin 4549 -> 0 bytes .../jquery/images/ui-icons_454545_256x240.png | Bin 6992 -> 0 bytes .../jquery/images/ui-icons_888888_256x240.png | Bin 6999 -> 0 bytes .../jquery/images/ui-icons_cd0a0a_256x240.png | Bin 4549 -> 0 bytes html/jquery/jquery-3.3.1.js | 10364 -------------- html/jquery/jquery-migrate-3.0.1.js | 628 - html/jquery/jquery-ui.css | 544 - html/jquery/jquery-ui.js | 2610 ---- html/jquery/jquery-ui.min.css | 7 - html/jquery/jquery-ui.min.js | 7 - html/jquery/jquery-ui.structure.css | 152 - html/jquery/jquery-ui.structure.min.css | 5 - .../jquery/jszip-utils/dist/jszip-utils-ie.js | 56 - .../jszip-utils/dist/jszip-utils-ie.min.js | 10 - html/jquery/jszip-utils/dist/jszip-utils.js | 118 - .../jszip-utils/dist/jszip-utils.min.js | 10 - html/jquery/jszip/dist/jszip.js | 11623 ---------------- html/jquery/jszip/dist/jszip.min.js | 15 - html/member-search-index.js | 1 - html/member-search-index.zip | Bin 19161 -> 0 bytes html/overview-summary.html | 23 - html/overview-tree.html | 462 - html/package-search-index.js | 1 - html/package-search-index.zip | Bin 304 -> 0 bytes html/resources/glass.png | Bin 499 -> 0 bytes html/resources/x.png | Bin 394 -> 0 bytes html/script.js | 139 - html/search.js | 329 - html/serialized-form.html | 553 - html/stylesheet.css | 906 -- html/type-search-index.js | 1 - html/type-search-index.zip | Bin 1625 -> 0 bytes 446 files changed, 204657 deletions(-) delete mode 100644 html/allclasses-index.html delete mode 100644 html/allclasses.html delete mode 100644 html/allpackages-index.html delete mode 100644 html/constant-values.html delete mode 100644 html/deprecated-list.html delete mode 100644 html/element-list delete mode 100644 html/index-all.html delete mode 100644 html/index.html delete mode 100644 html/javassist/ByteArrayClassPath.html delete mode 100644 html/javassist/CannotCompileException.html delete mode 100644 html/javassist/ClassClassPath.html delete mode 100644 html/javassist/ClassMap.html delete mode 100644 html/javassist/ClassPath.html delete mode 100644 html/javassist/ClassPool.html delete mode 100644 html/javassist/CodeConverter.ArrayAccessReplacementMethodNames.html delete mode 100644 html/javassist/CodeConverter.DefaultArrayAccessReplacementMethodNames.html delete mode 100644 html/javassist/CodeConverter.html delete mode 100644 html/javassist/CtBehavior.html delete mode 100644 html/javassist/CtClass.html delete mode 100644 html/javassist/CtConstructor.html delete mode 100644 html/javassist/CtField.Initializer.html delete mode 100644 html/javassist/CtField.html delete mode 100644 html/javassist/CtMember.html delete mode 100644 html/javassist/CtMethod.ConstParameter.html delete mode 100644 html/javassist/CtMethod.html delete mode 100644 html/javassist/CtNewConstructor.html delete mode 100644 html/javassist/CtNewMethod.html delete mode 100644 html/javassist/CtPrimitiveType.html delete mode 100644 html/javassist/Loader.Simple.html delete mode 100644 html/javassist/Loader.html delete mode 100644 html/javassist/LoaderClassPath.html delete mode 100644 html/javassist/Modifier.html delete mode 100644 html/javassist/NotFoundException.html delete mode 100644 html/javassist/SerialVersionUID.html delete mode 100644 html/javassist/Translator.html delete mode 100644 html/javassist/URLClassPath.html delete mode 100644 html/javassist/bytecode/AccessFlag.html delete mode 100644 html/javassist/bytecode/AnnotationDefaultAttribute.html delete mode 100644 html/javassist/bytecode/AnnotationsAttribute.html delete mode 100644 html/javassist/bytecode/AttributeInfo.html delete mode 100644 html/javassist/bytecode/BadBytecode.html delete mode 100644 html/javassist/bytecode/BootstrapMethodsAttribute.BootstrapMethod.html delete mode 100644 html/javassist/bytecode/BootstrapMethodsAttribute.html delete mode 100644 html/javassist/bytecode/ByteArray.html delete mode 100644 html/javassist/bytecode/Bytecode.html delete mode 100644 html/javassist/bytecode/ClassFile.html delete mode 100644 html/javassist/bytecode/ClassFilePrinter.html delete mode 100644 html/javassist/bytecode/ClassFileWriter.AttributeWriter.html delete mode 100644 html/javassist/bytecode/ClassFileWriter.ConstPoolWriter.html delete mode 100644 html/javassist/bytecode/ClassFileWriter.FieldWriter.html delete mode 100644 html/javassist/bytecode/ClassFileWriter.MethodWriter.html delete mode 100644 html/javassist/bytecode/ClassFileWriter.html delete mode 100644 html/javassist/bytecode/CodeAttribute.RuntimeCopyException.html delete mode 100644 html/javassist/bytecode/CodeAttribute.html delete mode 100644 html/javassist/bytecode/CodeIterator.Gap.html delete mode 100644 html/javassist/bytecode/CodeIterator.html delete mode 100644 html/javassist/bytecode/ConstPool.html delete mode 100644 html/javassist/bytecode/ConstantAttribute.html delete mode 100644 html/javassist/bytecode/DeprecatedAttribute.html delete mode 100644 html/javassist/bytecode/Descriptor.Iterator.html delete mode 100644 html/javassist/bytecode/Descriptor.html delete mode 100644 html/javassist/bytecode/DuplicateMemberException.html delete mode 100644 html/javassist/bytecode/EnclosingMethodAttribute.html delete mode 100644 html/javassist/bytecode/ExceptionTable.html delete mode 100644 html/javassist/bytecode/ExceptionsAttribute.html delete mode 100644 html/javassist/bytecode/FieldInfo.html delete mode 100644 html/javassist/bytecode/InnerClassesAttribute.html delete mode 100644 html/javassist/bytecode/InstructionPrinter.html delete mode 100644 html/javassist/bytecode/LineNumberAttribute.Pc.html delete mode 100644 html/javassist/bytecode/LineNumberAttribute.html delete mode 100644 html/javassist/bytecode/LocalVariableAttribute.html delete mode 100644 html/javassist/bytecode/LocalVariableTypeAttribute.html delete mode 100644 html/javassist/bytecode/MethodInfo.html delete mode 100644 html/javassist/bytecode/MethodParametersAttribute.html delete mode 100644 html/javassist/bytecode/Mnemonic.html delete mode 100644 html/javassist/bytecode/NestHostAttribute.html delete mode 100644 html/javassist/bytecode/NestMembersAttribute.html delete mode 100644 html/javassist/bytecode/Opcode.html delete mode 100644 html/javassist/bytecode/ParameterAnnotationsAttribute.html delete mode 100644 html/javassist/bytecode/SignatureAttribute.ArrayType.html delete mode 100644 html/javassist/bytecode/SignatureAttribute.BaseType.html delete mode 100644 html/javassist/bytecode/SignatureAttribute.ClassSignature.html delete mode 100644 html/javassist/bytecode/SignatureAttribute.ClassType.html delete mode 100644 html/javassist/bytecode/SignatureAttribute.MethodSignature.html delete mode 100644 html/javassist/bytecode/SignatureAttribute.NestedClassType.html delete mode 100644 html/javassist/bytecode/SignatureAttribute.ObjectType.html delete mode 100644 html/javassist/bytecode/SignatureAttribute.Type.html delete mode 100644 html/javassist/bytecode/SignatureAttribute.TypeArgument.html delete mode 100644 html/javassist/bytecode/SignatureAttribute.TypeParameter.html delete mode 100644 html/javassist/bytecode/SignatureAttribute.TypeVariable.html delete mode 100644 html/javassist/bytecode/SignatureAttribute.html delete mode 100644 html/javassist/bytecode/SourceFileAttribute.html delete mode 100644 html/javassist/bytecode/StackMap.Walker.html delete mode 100644 html/javassist/bytecode/StackMap.Writer.html delete mode 100644 html/javassist/bytecode/StackMap.html delete mode 100644 html/javassist/bytecode/StackMapTable.RuntimeCopyException.html delete mode 100644 html/javassist/bytecode/StackMapTable.Walker.html delete mode 100644 html/javassist/bytecode/StackMapTable.Writer.html delete mode 100644 html/javassist/bytecode/StackMapTable.html delete mode 100644 html/javassist/bytecode/SyntheticAttribute.html delete mode 100644 html/javassist/bytecode/TypeAnnotationsAttribute.html delete mode 100644 html/javassist/bytecode/analysis/Analyzer.html delete mode 100644 html/javassist/bytecode/analysis/ControlFlow.Block.html delete mode 100644 html/javassist/bytecode/analysis/ControlFlow.Catcher.html delete mode 100644 html/javassist/bytecode/analysis/ControlFlow.Node.html delete mode 100644 html/javassist/bytecode/analysis/ControlFlow.html delete mode 100644 html/javassist/bytecode/analysis/Executor.html delete mode 100644 html/javassist/bytecode/analysis/Frame.html delete mode 100644 html/javassist/bytecode/analysis/FramePrinter.html delete mode 100644 html/javassist/bytecode/analysis/MultiArrayType.html delete mode 100644 html/javassist/bytecode/analysis/MultiType.html delete mode 100644 html/javassist/bytecode/analysis/Subroutine.html delete mode 100644 html/javassist/bytecode/analysis/SubroutineScanner.html delete mode 100644 html/javassist/bytecode/analysis/Type.html delete mode 100644 html/javassist/bytecode/analysis/Util.html delete mode 100644 html/javassist/bytecode/analysis/class-use/Analyzer.html delete mode 100644 html/javassist/bytecode/analysis/class-use/ControlFlow.Block.html delete mode 100644 html/javassist/bytecode/analysis/class-use/ControlFlow.Catcher.html delete mode 100644 html/javassist/bytecode/analysis/class-use/ControlFlow.Node.html delete mode 100644 html/javassist/bytecode/analysis/class-use/ControlFlow.html delete mode 100644 html/javassist/bytecode/analysis/class-use/Executor.html delete mode 100644 html/javassist/bytecode/analysis/class-use/Frame.html delete mode 100644 html/javassist/bytecode/analysis/class-use/FramePrinter.html delete mode 100644 html/javassist/bytecode/analysis/class-use/MultiArrayType.html delete mode 100644 html/javassist/bytecode/analysis/class-use/MultiType.html delete mode 100644 html/javassist/bytecode/analysis/class-use/Subroutine.html delete mode 100644 html/javassist/bytecode/analysis/class-use/SubroutineScanner.html delete mode 100644 html/javassist/bytecode/analysis/class-use/Type.html delete mode 100644 html/javassist/bytecode/analysis/class-use/Util.html delete mode 100644 html/javassist/bytecode/analysis/package-summary.html delete mode 100644 html/javassist/bytecode/analysis/package-tree.html delete mode 100644 html/javassist/bytecode/analysis/package-use.html delete mode 100644 html/javassist/bytecode/annotation/Annotation.html delete mode 100644 html/javassist/bytecode/annotation/AnnotationImpl.html delete mode 100644 html/javassist/bytecode/annotation/AnnotationMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/AnnotationsWriter.html delete mode 100644 html/javassist/bytecode/annotation/ArrayMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/BooleanMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/ByteMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/CharMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/ClassMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/DoubleMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/EnumMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/FloatMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/IntegerMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/LongMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/MemberValue.html delete mode 100644 html/javassist/bytecode/annotation/MemberValueVisitor.html delete mode 100644 html/javassist/bytecode/annotation/NoSuchClassError.html delete mode 100644 html/javassist/bytecode/annotation/ShortMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/StringMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/TypeAnnotationsWriter.html delete mode 100644 html/javassist/bytecode/annotation/class-use/Annotation.html delete mode 100644 html/javassist/bytecode/annotation/class-use/AnnotationImpl.html delete mode 100644 html/javassist/bytecode/annotation/class-use/AnnotationMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/class-use/AnnotationsWriter.html delete mode 100644 html/javassist/bytecode/annotation/class-use/ArrayMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/class-use/BooleanMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/class-use/ByteMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/class-use/CharMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/class-use/ClassMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/class-use/DoubleMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/class-use/EnumMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/class-use/FloatMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/class-use/IntegerMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/class-use/LongMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/class-use/MemberValue.html delete mode 100644 html/javassist/bytecode/annotation/class-use/MemberValueVisitor.html delete mode 100644 html/javassist/bytecode/annotation/class-use/NoSuchClassError.html delete mode 100644 html/javassist/bytecode/annotation/class-use/ShortMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/class-use/StringMemberValue.html delete mode 100644 html/javassist/bytecode/annotation/class-use/TypeAnnotationsWriter.html delete mode 100644 html/javassist/bytecode/annotation/package-summary.html delete mode 100644 html/javassist/bytecode/annotation/package-tree.html delete mode 100644 html/javassist/bytecode/annotation/package-use.html delete mode 100644 html/javassist/bytecode/class-use/AccessFlag.html delete mode 100644 html/javassist/bytecode/class-use/AnnotationDefaultAttribute.html delete mode 100644 html/javassist/bytecode/class-use/AnnotationsAttribute.html delete mode 100644 html/javassist/bytecode/class-use/AttributeInfo.html delete mode 100644 html/javassist/bytecode/class-use/BadBytecode.html delete mode 100644 html/javassist/bytecode/class-use/BootstrapMethodsAttribute.BootstrapMethod.html delete mode 100644 html/javassist/bytecode/class-use/BootstrapMethodsAttribute.html delete mode 100644 html/javassist/bytecode/class-use/ByteArray.html delete mode 100644 html/javassist/bytecode/class-use/Bytecode.html delete mode 100644 html/javassist/bytecode/class-use/ClassFile.html delete mode 100644 html/javassist/bytecode/class-use/ClassFilePrinter.html delete mode 100644 html/javassist/bytecode/class-use/ClassFileWriter.AttributeWriter.html delete mode 100644 html/javassist/bytecode/class-use/ClassFileWriter.ConstPoolWriter.html delete mode 100644 html/javassist/bytecode/class-use/ClassFileWriter.FieldWriter.html delete mode 100644 html/javassist/bytecode/class-use/ClassFileWriter.MethodWriter.html delete mode 100644 html/javassist/bytecode/class-use/ClassFileWriter.html delete mode 100644 html/javassist/bytecode/class-use/CodeAttribute.RuntimeCopyException.html delete mode 100644 html/javassist/bytecode/class-use/CodeAttribute.html delete mode 100644 html/javassist/bytecode/class-use/CodeIterator.Gap.html delete mode 100644 html/javassist/bytecode/class-use/CodeIterator.html delete mode 100644 html/javassist/bytecode/class-use/ConstPool.html delete mode 100644 html/javassist/bytecode/class-use/ConstantAttribute.html delete mode 100644 html/javassist/bytecode/class-use/DeprecatedAttribute.html delete mode 100644 html/javassist/bytecode/class-use/Descriptor.Iterator.html delete mode 100644 html/javassist/bytecode/class-use/Descriptor.html delete mode 100644 html/javassist/bytecode/class-use/DuplicateMemberException.html delete mode 100644 html/javassist/bytecode/class-use/EnclosingMethodAttribute.html delete mode 100644 html/javassist/bytecode/class-use/ExceptionTable.html delete mode 100644 html/javassist/bytecode/class-use/ExceptionsAttribute.html delete mode 100644 html/javassist/bytecode/class-use/FieldInfo.html delete mode 100644 html/javassist/bytecode/class-use/InnerClassesAttribute.html delete mode 100644 html/javassist/bytecode/class-use/InstructionPrinter.html delete mode 100644 html/javassist/bytecode/class-use/LineNumberAttribute.Pc.html delete mode 100644 html/javassist/bytecode/class-use/LineNumberAttribute.html delete mode 100644 html/javassist/bytecode/class-use/LocalVariableAttribute.html delete mode 100644 html/javassist/bytecode/class-use/LocalVariableTypeAttribute.html delete mode 100644 html/javassist/bytecode/class-use/MethodInfo.html delete mode 100644 html/javassist/bytecode/class-use/MethodParametersAttribute.html delete mode 100644 html/javassist/bytecode/class-use/Mnemonic.html delete mode 100644 html/javassist/bytecode/class-use/NestHostAttribute.html delete mode 100644 html/javassist/bytecode/class-use/NestMembersAttribute.html delete mode 100644 html/javassist/bytecode/class-use/Opcode.html delete mode 100644 html/javassist/bytecode/class-use/ParameterAnnotationsAttribute.html delete mode 100644 html/javassist/bytecode/class-use/SignatureAttribute.ArrayType.html delete mode 100644 html/javassist/bytecode/class-use/SignatureAttribute.BaseType.html delete mode 100644 html/javassist/bytecode/class-use/SignatureAttribute.ClassSignature.html delete mode 100644 html/javassist/bytecode/class-use/SignatureAttribute.ClassType.html delete mode 100644 html/javassist/bytecode/class-use/SignatureAttribute.MethodSignature.html delete mode 100644 html/javassist/bytecode/class-use/SignatureAttribute.NestedClassType.html delete mode 100644 html/javassist/bytecode/class-use/SignatureAttribute.ObjectType.html delete mode 100644 html/javassist/bytecode/class-use/SignatureAttribute.Type.html delete mode 100644 html/javassist/bytecode/class-use/SignatureAttribute.TypeArgument.html delete mode 100644 html/javassist/bytecode/class-use/SignatureAttribute.TypeParameter.html delete mode 100644 html/javassist/bytecode/class-use/SignatureAttribute.TypeVariable.html delete mode 100644 html/javassist/bytecode/class-use/SignatureAttribute.html delete mode 100644 html/javassist/bytecode/class-use/SourceFileAttribute.html delete mode 100644 html/javassist/bytecode/class-use/StackMap.Walker.html delete mode 100644 html/javassist/bytecode/class-use/StackMap.Writer.html delete mode 100644 html/javassist/bytecode/class-use/StackMap.html delete mode 100644 html/javassist/bytecode/class-use/StackMapTable.RuntimeCopyException.html delete mode 100644 html/javassist/bytecode/class-use/StackMapTable.Walker.html delete mode 100644 html/javassist/bytecode/class-use/StackMapTable.Writer.html delete mode 100644 html/javassist/bytecode/class-use/StackMapTable.html delete mode 100644 html/javassist/bytecode/class-use/SyntheticAttribute.html delete mode 100644 html/javassist/bytecode/class-use/TypeAnnotationsAttribute.html delete mode 100644 html/javassist/bytecode/package-summary.html delete mode 100644 html/javassist/bytecode/package-tree.html delete mode 100644 html/javassist/bytecode/package-use.html delete mode 100644 html/javassist/class-use/ByteArrayClassPath.html delete mode 100644 html/javassist/class-use/CannotCompileException.html delete mode 100644 html/javassist/class-use/ClassClassPath.html delete mode 100644 html/javassist/class-use/ClassMap.html delete mode 100644 html/javassist/class-use/ClassPath.html delete mode 100644 html/javassist/class-use/ClassPool.html delete mode 100644 html/javassist/class-use/CodeConverter.ArrayAccessReplacementMethodNames.html delete mode 100644 html/javassist/class-use/CodeConverter.DefaultArrayAccessReplacementMethodNames.html delete mode 100644 html/javassist/class-use/CodeConverter.html delete mode 100644 html/javassist/class-use/CtBehavior.html delete mode 100644 html/javassist/class-use/CtClass.html delete mode 100644 html/javassist/class-use/CtConstructor.html delete mode 100644 html/javassist/class-use/CtField.Initializer.html delete mode 100644 html/javassist/class-use/CtField.html delete mode 100644 html/javassist/class-use/CtMember.html delete mode 100644 html/javassist/class-use/CtMethod.ConstParameter.html delete mode 100644 html/javassist/class-use/CtMethod.html delete mode 100644 html/javassist/class-use/CtNewConstructor.html delete mode 100644 html/javassist/class-use/CtNewMethod.html delete mode 100644 html/javassist/class-use/CtPrimitiveType.html delete mode 100644 html/javassist/class-use/Loader.Simple.html delete mode 100644 html/javassist/class-use/Loader.html delete mode 100644 html/javassist/class-use/LoaderClassPath.html delete mode 100644 html/javassist/class-use/Modifier.html delete mode 100644 html/javassist/class-use/NotFoundException.html delete mode 100644 html/javassist/class-use/SerialVersionUID.html delete mode 100644 html/javassist/class-use/Translator.html delete mode 100644 html/javassist/class-use/URLClassPath.html delete mode 100644 html/javassist/expr/Cast.html delete mode 100644 html/javassist/expr/ConstructorCall.html delete mode 100644 html/javassist/expr/Expr.html delete mode 100644 html/javassist/expr/ExprEditor.html delete mode 100644 html/javassist/expr/FieldAccess.html delete mode 100644 html/javassist/expr/Handler.html delete mode 100644 html/javassist/expr/Instanceof.html delete mode 100644 html/javassist/expr/MethodCall.html delete mode 100644 html/javassist/expr/NewArray.html delete mode 100644 html/javassist/expr/NewExpr.html delete mode 100644 html/javassist/expr/class-use/Cast.html delete mode 100644 html/javassist/expr/class-use/ConstructorCall.html delete mode 100644 html/javassist/expr/class-use/Expr.html delete mode 100644 html/javassist/expr/class-use/ExprEditor.html delete mode 100644 html/javassist/expr/class-use/FieldAccess.html delete mode 100644 html/javassist/expr/class-use/Handler.html delete mode 100644 html/javassist/expr/class-use/Instanceof.html delete mode 100644 html/javassist/expr/class-use/MethodCall.html delete mode 100644 html/javassist/expr/class-use/NewArray.html delete mode 100644 html/javassist/expr/class-use/NewExpr.html delete mode 100644 html/javassist/expr/package-summary.html delete mode 100644 html/javassist/expr/package-tree.html delete mode 100644 html/javassist/expr/package-use.html delete mode 100644 html/javassist/package-summary.html delete mode 100644 html/javassist/package-tree.html delete mode 100644 html/javassist/package-use.html delete mode 100644 html/javassist/runtime/Cflow.html delete mode 100644 html/javassist/runtime/Desc.html delete mode 100644 html/javassist/runtime/DotClass.html delete mode 100644 html/javassist/runtime/Inner.html delete mode 100644 html/javassist/runtime/class-use/Cflow.html delete mode 100644 html/javassist/runtime/class-use/Desc.html delete mode 100644 html/javassist/runtime/class-use/DotClass.html delete mode 100644 html/javassist/runtime/class-use/Inner.html delete mode 100644 html/javassist/runtime/package-summary.html delete mode 100644 html/javassist/runtime/package-tree.html delete mode 100644 html/javassist/runtime/package-use.html delete mode 100644 html/javassist/tools/Callback.html delete mode 100644 html/javassist/tools/Dump.html delete mode 100644 html/javassist/tools/class-use/Callback.html delete mode 100644 html/javassist/tools/class-use/Dump.html delete mode 100644 html/javassist/tools/class-use/framedump.html delete mode 100644 html/javassist/tools/framedump.html delete mode 100644 html/javassist/tools/package-summary.html delete mode 100644 html/javassist/tools/package-tree.html delete mode 100644 html/javassist/tools/package-use.html delete mode 100644 html/javassist/tools/reflect/CannotCreateException.html delete mode 100644 html/javassist/tools/reflect/CannotInvokeException.html delete mode 100644 html/javassist/tools/reflect/CannotReflectException.html delete mode 100644 html/javassist/tools/reflect/ClassMetaobject.html delete mode 100644 html/javassist/tools/reflect/Compiler.html delete mode 100644 html/javassist/tools/reflect/Loader.html delete mode 100644 html/javassist/tools/reflect/Metalevel.html delete mode 100644 html/javassist/tools/reflect/Metaobject.html delete mode 100644 html/javassist/tools/reflect/Reflection.html delete mode 100644 html/javassist/tools/reflect/Sample.html delete mode 100644 html/javassist/tools/reflect/class-use/CannotCreateException.html delete mode 100644 html/javassist/tools/reflect/class-use/CannotInvokeException.html delete mode 100644 html/javassist/tools/reflect/class-use/CannotReflectException.html delete mode 100644 html/javassist/tools/reflect/class-use/ClassMetaobject.html delete mode 100644 html/javassist/tools/reflect/class-use/Compiler.html delete mode 100644 html/javassist/tools/reflect/class-use/Loader.html delete mode 100644 html/javassist/tools/reflect/class-use/Metalevel.html delete mode 100644 html/javassist/tools/reflect/class-use/Metaobject.html delete mode 100644 html/javassist/tools/reflect/class-use/Reflection.html delete mode 100644 html/javassist/tools/reflect/class-use/Sample.html delete mode 100644 html/javassist/tools/reflect/package-summary.html delete mode 100644 html/javassist/tools/reflect/package-tree.html delete mode 100644 html/javassist/tools/reflect/package-use.html delete mode 100644 html/javassist/tools/rmi/AppletServer.html delete mode 100644 html/javassist/tools/rmi/ObjectImporter.html delete mode 100644 html/javassist/tools/rmi/ObjectNotFoundException.html delete mode 100644 html/javassist/tools/rmi/Proxy.html delete mode 100644 html/javassist/tools/rmi/RemoteException.html delete mode 100644 html/javassist/tools/rmi/RemoteRef.html delete mode 100644 html/javassist/tools/rmi/Sample.html delete mode 100644 html/javassist/tools/rmi/StubGenerator.html delete mode 100644 html/javassist/tools/rmi/class-use/AppletServer.html delete mode 100644 html/javassist/tools/rmi/class-use/ObjectImporter.html delete mode 100644 html/javassist/tools/rmi/class-use/ObjectNotFoundException.html delete mode 100644 html/javassist/tools/rmi/class-use/Proxy.html delete mode 100644 html/javassist/tools/rmi/class-use/RemoteException.html delete mode 100644 html/javassist/tools/rmi/class-use/RemoteRef.html delete mode 100644 html/javassist/tools/rmi/class-use/Sample.html delete mode 100644 html/javassist/tools/rmi/class-use/StubGenerator.html delete mode 100644 html/javassist/tools/rmi/package-summary.html delete mode 100644 html/javassist/tools/rmi/package-tree.html delete mode 100644 html/javassist/tools/rmi/package-use.html delete mode 100644 html/javassist/tools/web/BadHttpRequest.html delete mode 100644 html/javassist/tools/web/Viewer.html delete mode 100644 html/javassist/tools/web/Webserver.html delete mode 100644 html/javassist/tools/web/class-use/BadHttpRequest.html delete mode 100644 html/javassist/tools/web/class-use/Viewer.html delete mode 100644 html/javassist/tools/web/class-use/Webserver.html delete mode 100644 html/javassist/tools/web/package-summary.html delete mode 100644 html/javassist/tools/web/package-tree.html delete mode 100644 html/javassist/tools/web/package-use.html delete mode 100644 html/javassist/util/HotSwapAgent.html delete mode 100644 html/javassist/util/HotSwapper.html delete mode 100644 html/javassist/util/class-use/HotSwapAgent.html delete mode 100644 html/javassist/util/class-use/HotSwapper.html delete mode 100644 html/javassist/util/package-summary.html delete mode 100644 html/javassist/util/package-tree.html delete mode 100644 html/javassist/util/package-use.html delete mode 100644 html/javassist/util/proxy/DefineClassHelper.html delete mode 100644 html/javassist/util/proxy/DefinePackageHelper.html delete mode 100644 html/javassist/util/proxy/FactoryHelper.html delete mode 100644 html/javassist/util/proxy/MethodFilter.html delete mode 100644 html/javassist/util/proxy/MethodHandler.html delete mode 100644 html/javassist/util/proxy/Proxy.html delete mode 100644 html/javassist/util/proxy/ProxyFactory.ClassLoaderProvider.html delete mode 100644 html/javassist/util/proxy/ProxyFactory.UniqueName.html delete mode 100644 html/javassist/util/proxy/ProxyFactory.html delete mode 100644 html/javassist/util/proxy/ProxyObject.html delete mode 100644 html/javassist/util/proxy/ProxyObjectInputStream.html delete mode 100644 html/javassist/util/proxy/ProxyObjectOutputStream.html delete mode 100644 html/javassist/util/proxy/RuntimeSupport.html delete mode 100644 html/javassist/util/proxy/class-use/DefineClassHelper.html delete mode 100644 html/javassist/util/proxy/class-use/DefinePackageHelper.html delete mode 100644 html/javassist/util/proxy/class-use/FactoryHelper.html delete mode 100644 html/javassist/util/proxy/class-use/MethodFilter.html delete mode 100644 html/javassist/util/proxy/class-use/MethodHandler.html delete mode 100644 html/javassist/util/proxy/class-use/Proxy.html delete mode 100644 html/javassist/util/proxy/class-use/ProxyFactory.ClassLoaderProvider.html delete mode 100644 html/javassist/util/proxy/class-use/ProxyFactory.UniqueName.html delete mode 100644 html/javassist/util/proxy/class-use/ProxyFactory.html delete mode 100644 html/javassist/util/proxy/class-use/ProxyObject.html delete mode 100644 html/javassist/util/proxy/class-use/ProxyObjectInputStream.html delete mode 100644 html/javassist/util/proxy/class-use/ProxyObjectOutputStream.html delete mode 100644 html/javassist/util/proxy/class-use/RuntimeSupport.html delete mode 100644 html/javassist/util/proxy/package-summary.html delete mode 100644 html/javassist/util/proxy/package-tree.html delete mode 100644 html/javassist/util/proxy/package-use.html delete mode 100644 html/jquery/external/jquery/jquery.js delete mode 100644 html/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png delete mode 100644 html/jquery/images/ui-bg_flat_75_ffffff_40x100.png delete mode 100644 html/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png delete mode 100644 html/jquery/images/ui-bg_glass_65_ffffff_1x400.png delete mode 100644 html/jquery/images/ui-bg_glass_75_dadada_1x400.png delete mode 100644 html/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png delete mode 100644 html/jquery/images/ui-bg_glass_95_fef1ec_1x400.png delete mode 100644 html/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png delete mode 100644 html/jquery/images/ui-icons_222222_256x240.png delete mode 100644 html/jquery/images/ui-icons_2e83ff_256x240.png delete mode 100644 html/jquery/images/ui-icons_454545_256x240.png delete mode 100644 html/jquery/images/ui-icons_888888_256x240.png delete mode 100644 html/jquery/images/ui-icons_cd0a0a_256x240.png delete mode 100644 html/jquery/jquery-3.3.1.js delete mode 100644 html/jquery/jquery-migrate-3.0.1.js delete mode 100644 html/jquery/jquery-ui.css delete mode 100644 html/jquery/jquery-ui.js delete mode 100644 html/jquery/jquery-ui.min.css delete mode 100644 html/jquery/jquery-ui.min.js delete mode 100644 html/jquery/jquery-ui.structure.css delete mode 100644 html/jquery/jquery-ui.structure.min.css delete mode 100644 html/jquery/jszip-utils/dist/jszip-utils-ie.js delete mode 100644 html/jquery/jszip-utils/dist/jszip-utils-ie.min.js delete mode 100644 html/jquery/jszip-utils/dist/jszip-utils.js delete mode 100644 html/jquery/jszip-utils/dist/jszip-utils.min.js delete mode 100644 html/jquery/jszip/dist/jszip.js delete mode 100644 html/jquery/jszip/dist/jszip.min.js delete mode 100644 html/member-search-index.js delete mode 100644 html/member-search-index.zip delete mode 100644 html/overview-summary.html delete mode 100644 html/overview-tree.html delete mode 100644 html/package-search-index.js delete mode 100644 html/package-search-index.zip delete mode 100644 html/resources/glass.png delete mode 100644 html/resources/x.png delete mode 100644 html/script.js delete mode 100644 html/search.js delete mode 100644 html/serialized-form.html delete mode 100644 html/stylesheet.css delete mode 100644 html/type-search-index.js delete mode 100644 html/type-search-index.zip diff --git a/html/allclasses-index.html b/html/allclasses-index.html deleted file mode 100644 index 5f1b21b0..00000000 --- a/html/allclasses-index.html +++ /dev/null @@ -1,1282 +0,0 @@ - - - - - -All Classes (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

All Classes

-
-
- -
-
- - - diff --git a/html/allclasses.html b/html/allclasses.html deleted file mode 100644 index 4b5400da..00000000 --- a/html/allclasses.html +++ /dev/null @@ -1,208 +0,0 @@ - - - - - -All Classes (Javassist API) - - - - - - - - - - - - - -

All Classes

-
- -
- - diff --git a/html/allpackages-index.html b/html/allpackages-index.html deleted file mode 100644 index a95c60e1..00000000 --- a/html/allpackages-index.html +++ /dev/null @@ -1,235 +0,0 @@ - - - - - -All Packages (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

All Packages

-
-
- -
-
- - - diff --git a/html/constant-values.html b/html/constant-values.html deleted file mode 100644 index ce2968e1..00000000 --- a/html/constant-values.html +++ /dev/null @@ -1,2848 +0,0 @@ - - - - - -Constant Field Values (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Constant Field Values

-
-

Contents

- -
-
-
- - -
-

javassist.*

- -
- - - -
-

javassist.bytecode.*

- -
-
-
- - - diff --git a/html/deprecated-list.html b/html/deprecated-list.html deleted file mode 100644 index 6147d7c8..00000000 --- a/html/deprecated-list.html +++ /dev/null @@ -1,246 +0,0 @@ - - - - - -Deprecated List (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Deprecated API

-

Contents

- -
-
- - - - - - - -
-
- - - diff --git a/html/element-list b/html/element-list deleted file mode 100644 index a4b98052..00000000 --- a/html/element-list +++ /dev/null @@ -1,12 +0,0 @@ -javassist -javassist.bytecode -javassist.bytecode.analysis -javassist.bytecode.annotation -javassist.expr -javassist.runtime -javassist.tools -javassist.tools.reflect -javassist.tools.rmi -javassist.tools.web -javassist.util -javassist.util.proxy diff --git a/html/index-all.html b/html/index-all.html deleted file mode 100644 index 3f5c2f58..00000000 --- a/html/index-all.html +++ /dev/null @@ -1,8894 +0,0 @@ - - - - - -Index (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
A B C D E F G H I J L M N O P R S T U V W _ 
All Classes All Packages - - -

A

-
-
AALOAD - Static variable in interface javassist.bytecode.Opcode
-
 
-
AASTORE - Static variable in interface javassist.bytecode.Opcode
-
 
-
ABSTRACT - Static variable in class javassist.bytecode.AccessFlag
-
 
-
ABSTRACT - Static variable in class javassist.Modifier
-
 
-
abstractMethod(CtClass, String, CtClass[], CtClass[], CtClass) - Static method in class javassist.CtNewMethod
-
-
Creates a public abstract method.
-
-
accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.AnnotationMemberValue
-
-
Accepts a visitor.
-
-
accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.ArrayMemberValue
-
-
Accepts a visitor.
-
-
accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.BooleanMemberValue
-
-
Accepts a visitor.
-
-
accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.ByteMemberValue
-
-
Accepts a visitor.
-
-
accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.CharMemberValue
-
-
Accepts a visitor.
-
-
accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.ClassMemberValue
-
-
Accepts a visitor.
-
-
accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.DoubleMemberValue
-
-
Accepts a visitor.
-
-
accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.EnumMemberValue
-
-
Accepts a visitor.
-
-
accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.FloatMemberValue
-
-
Accepts a visitor.
-
-
accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.IntegerMemberValue
-
-
Accepts a visitor.
-
-
accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.LongMemberValue
-
-
Accepts a visitor.
-
-
accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.MemberValue
-
-
Accepts a visitor.
-
-
accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.ShortMemberValue
-
-
Accepts a visitor.
-
-
accept(MemberValueVisitor) - Method in class javassist.bytecode.annotation.StringMemberValue
-
-
Accepts a visitor.
-
-
access(int) - Method in class javassist.bytecode.analysis.Subroutine
-
 
-
accessed() - Method in class javassist.bytecode.analysis.Subroutine
-
 
-
AccessFlag - Class in javassist.bytecode
-
-
A support class providing static methods and constants - for access modifiers such as public, private, ...
-
-
AccessFlag() - Constructor for class javassist.bytecode.AccessFlag
-
 
-
accessFlags(int) - Method in class javassist.bytecode.InnerClassesAttribute
-
-
Returns classes[nth].inner_class_access_flags.
-
-
accessFlags(int) - Method in class javassist.bytecode.MethodParametersAttribute
-
-
Returns the value of access_flags of the i-th element of parameters.
-
-
ACONST_NULL - Static variable in interface javassist.bytecode.Opcode
-
 
-
add(int) - Method in class javassist.bytecode.Bytecode
-
-
Appends an 8bit value to the end of the bytecode sequence.
-
-
add(int) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
-
Appends an 8bit value of bytecode.
-
-
add(int, int, int, int) - Method in class javassist.bytecode.ExceptionTable
-
-
Appends a new entry at the end of the table.
-
-
add(int, int, int, int, int) - Method in class javassist.bytecode.ExceptionTable
-
-
Adds a new entry at the specified position in the table.
-
-
add(int, int, int, ClassFileWriter.AttributeWriter) - Method in class javassist.bytecode.ClassFileWriter.FieldWriter
-
-
Adds a new field.
-
-
add(int, String, String, ClassFileWriter.AttributeWriter) - Method in class javassist.bytecode.ClassFileWriter.FieldWriter
-
-
Adds a new field.
-
-
add(int, ExceptionTable, int) - Method in class javassist.bytecode.ExceptionTable
-
-
Copies the given exception table at the specified position - in the table.
-
-
add16(int) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
-
Appends a 16bit value of bytecode.
-
-
add32(int) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
-
Appends a 32bit value of bytecode.
-
-
add32bit(int) - Method in class javassist.bytecode.Bytecode
-
-
Appends a 32bit value to the end of the bytecode sequence.
-
-
addAload(int) - Method in class javassist.bytecode.Bytecode
-
-
Appends ALOAD or (WIDE) ALOAD_<n>
-
-
addAnewarray(String) - Method in class javassist.bytecode.Bytecode
-
-
Appends ANEWARRAY.
-
-
addAnewarray(CtClass, int) - Method in class javassist.bytecode.Bytecode
-
-
Appends ICONST and ANEWARRAY.
-
-
addAnnotation(Annotation) - Method in class javassist.bytecode.AnnotationsAttribute
-
-
Adds an annotation.
-
-
addAstore(int) - Method in class javassist.bytecode.Bytecode
-
-
Appends ASTORE or (WIDE) ASTORE_<n>
-
-
addAttribute(AttributeInfo) - Method in class javassist.bytecode.ClassFile
-
-
Appends an attribute.
-
-
addAttribute(AttributeInfo) - Method in class javassist.bytecode.FieldInfo
-
-
Appends an attribute.
-
-
addAttribute(AttributeInfo) - Method in class javassist.bytecode.MethodInfo
-
-
Appends an attribute.
-
-
addCaller(int) - Method in class javassist.bytecode.analysis.Subroutine
-
 
-
addCatch(int, int, int, int) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
-
Appends an exception_table entry to the - Code_attribute.
-
-
addCatch(String, CtClass) - Method in class javassist.CtBehavior
-
-
Adds a catch clause that handles an exception thrown in the - body.
-
-
addCatch(String, CtClass, String) - Method in class javassist.CtBehavior
-
-
Adds a catch clause that handles an exception thrown in the - body.
-
-
addCheckcast(String) - Method in class javassist.bytecode.Bytecode
-
-
Appends CHECKCAST.
-
-
addCheckcast(CtClass) - Method in class javassist.bytecode.Bytecode
-
-
Appends CHECKCAST.
-
-
addClassInfo(int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
-
Adds a new CONSTANT_Class_info structure.
-
-
addClassInfo(String) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
-
Adds a new CONSTANT_Class_info structure.
-
-
addClassInfo(String) - Method in class javassist.bytecode.ConstPool
-
-
Adds a new CONSTANT_Class_info structure.
-
-
addClassInfo(String[]) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
-
Makes CONSTANT_Class_info objects for each class name.
-
-
addClassInfo(CtClass) - Method in class javassist.bytecode.ConstPool
-
-
Adds a new CONSTANT_Class_info structure.
-
-
addConstructor(CtConstructor) - Method in class javassist.CtClass
-
-
Adds a constructor.
-
-
addConstZero(CtClass) - Method in class javassist.bytecode.Bytecode
-
-
Appends an instruction for pushing zero or null on the stack.
-
-
addDconst(double) - Method in class javassist.bytecode.Bytecode
-
-
Appends DCONST or DCONST_<n>
-
-
addDload(int) - Method in class javassist.bytecode.Bytecode
-
-
Appends DLOAD or (WIDE) DLOAD_<n>
-
-
addDoubleInfo(double) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
-
Adds a new CONSTANT_Double_info - structure.
-
-
addDoubleInfo(double) - Method in class javassist.bytecode.ConstPool
-
-
Adds a new CONSTANT_Double_info - structure.
-
-
addDstore(int) - Method in class javassist.bytecode.Bytecode
-
-
Appends DSTORE or (WIDE) DSTORE_<n>
-
-
addEntry(int, int, int, int, int) - Method in class javassist.bytecode.LocalVariableAttribute
-
-
Appends a new entry to local_variable_table.
-
-
addExceptionHandler(int, int, int, int) - Method in class javassist.bytecode.Bytecode
-
-
Adds a new entry of exception_table.
-
-
addExceptionHandler(int, int, int, String) - Method in class javassist.bytecode.Bytecode
-
-
Adds a new entry of exception_table.
-
-
addExceptionHandler(int, int, int, CtClass) - Method in class javassist.bytecode.Bytecode
-
-
Adds a new entry of exception_table.
-
-
addFconst(float) - Method in class javassist.bytecode.Bytecode
-
-
Appends FCONST or FCONST_<n>
-
-
addField(FieldInfo) - Method in class javassist.bytecode.ClassFile
-
-
Appends a field to the class.
-
-
addField(CtField) - Method in class javassist.CtClass
-
-
Adds a field.
-
-
addField(CtField, String) - Method in class javassist.CtClass
-
-
Adds a field with an initial value.
-
-
addField(CtField, CtField.Initializer) - Method in class javassist.CtClass
-
-
Adds a field with an initial value.
-
-
addField2(FieldInfo) - Method in class javassist.bytecode.ClassFile
-
-
Just appends a field to the class.
-
-
addFieldrefInfo(int, int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
-
Adds a new CONSTANT_Fieldref_info structure.
-
-
addFieldrefInfo(int, int) - Method in class javassist.bytecode.ConstPool
-
-
Adds a new CONSTANT_Fieldref_info structure.
-
-
addFieldrefInfo(int, String, String) - Method in class javassist.bytecode.ConstPool
-
-
Adds a new CONSTANT_Fieldref_info structure.
-
-
addFload(int) - Method in class javassist.bytecode.Bytecode
-
-
Appends FLOAD or (WIDE) FLOAD_<n>
-
-
addFloatInfo(float) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
-
Adds a new CONSTANT_Float_info - structure.
-
-
addFloatInfo(float) - Method in class javassist.bytecode.ConstPool
-
-
Adds a new CONSTANT_Float_info - structure.
-
-
addFstore(int) - Method in class javassist.bytecode.Bytecode
-
-
Appends FSTORE or FSTORE_<n>
-
-
addGap(int) - Method in class javassist.bytecode.Bytecode
-
-
Appends the length-byte gap to the end of the bytecode sequence.
-
-
addGetfield(String, String, String) - Method in class javassist.bytecode.Bytecode
-
-
Appends GETFIELD.
-
-
addGetfield(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
-
Appends GETFIELD.
-
-
addGetstatic(String, String, String) - Method in class javassist.bytecode.Bytecode
-
-
Appends GETSTATIC.
-
-
addGetstatic(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
-
Appends GETSTATIC.
-
-
addIconst(int) - Method in class javassist.bytecode.Bytecode
-
-
Appends ICONST or ICONST_<n>
-
-
addIload(int) - Method in class javassist.bytecode.Bytecode
-
-
Appends ILOAD or (WIDE) ILOAD_<n>
-
-
addIndex(int) - Method in class javassist.bytecode.Bytecode
-
-
Appends a 16bit value to the end of the bytecode sequence.
-
-
addInstanceof(String) - Method in class javassist.bytecode.Bytecode
-
-
Appends INSTANCEOF.
-
-
addIntegerInfo(int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
-
Adds a new CONSTANT_Integer_info - structure.
-
-
addIntegerInfo(int) - Method in class javassist.bytecode.ConstPool
-
-
Adds a new CONSTANT_Integer_info - structure.
-
-
addInterface(String) - Method in class javassist.bytecode.ClassFile
-
-
Appends an interface to the interfaces implemented by the class.
-
-
addInterface(CtClass) - Method in class javassist.CtClass
-
-
Adds an interface.
-
-
addInterfaceMethodrefInfo(int, int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
-
Adds a new CONSTANT_InterfaceMethodref_info - structure.
-
-
addInterfaceMethodrefInfo(int, int) - Method in class javassist.bytecode.ConstPool
-
-
Adds a new CONSTANT_InterfaceMethodref_info - structure.
-
-
addInterfaceMethodrefInfo(int, String, String) - Method in class javassist.bytecode.ConstPool
-
-
Adds a new CONSTANT_InterfaceMethodref_info - structure.
-
-
addInvoke(int, String, String, String) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
-
Appends a invokevirtual, inovkespecial, or invokestatic bytecode.
-
-
addInvokedynamic(int, String, String) - Method in class javassist.bytecode.Bytecode
-
-
Appends INVOKEDYNAMIC.
-
-
addInvokeDynamicInfo(int, int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
-
Adds a new CONSTANT_InvokeDynamic_info - structure.
-
-
addInvokeDynamicInfo(int, int) - Method in class javassist.bytecode.ConstPool
-
-
Adds a new CONSTANT_InvokeDynamic_info - structure.
-
-
addInvokeinterface(int, String, String, int) - Method in class javassist.bytecode.Bytecode
-
-
Appends INVOKEINTERFACE.
-
-
addInvokeinterface(String, String, String, int) - Method in class javassist.bytecode.Bytecode
-
-
Appends INVOKEINTERFACE.
-
-
addInvokeinterface(CtClass, String, String, int) - Method in class javassist.bytecode.Bytecode
-
-
Appends INVOKEINTERFACE.
-
-
addInvokeinterface(CtClass, String, CtClass, CtClass[], int) - Method in class javassist.bytecode.Bytecode
-
-
Appends INVOKEINTERFACE.
-
-
addInvokespecial(boolean, int, String, String) - Method in class javassist.bytecode.Bytecode
-
-
Appends INVOKESPECIAL.
-
-
addInvokespecial(int, String) - Method in class javassist.bytecode.Bytecode
-
-
Appends INVOKESPECIAL.
-
-
addInvokespecial(int, String, String) - Method in class javassist.bytecode.Bytecode
-
-
Appends INVOKESPECIAL.
-
-
addInvokespecial(String, String, String) - Method in class javassist.bytecode.Bytecode
-
-
Appends INVOKESPECIAL.
-
-
addInvokespecial(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
-
Appends INVOKESPECIAL.
-
-
addInvokespecial(CtClass, String, CtClass, CtClass[]) - Method in class javassist.bytecode.Bytecode
-
-
Appends INVOKESPECIAL.
-
-
addInvokestatic(int, String, String) - Method in class javassist.bytecode.Bytecode
-
-
Appends INVOKESTATIC.
-
-
addInvokestatic(String, String, String) - Method in class javassist.bytecode.Bytecode
-
-
Appends INVOKESTATIC.
-
-
addInvokestatic(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
-
Appends INVOKESTATIC.
-
-
addInvokestatic(CtClass, String, CtClass, CtClass[]) - Method in class javassist.bytecode.Bytecode
-
-
Appends INVOKESTATIC.
-
-
addInvokevirtual(int, String, String) - Method in class javassist.bytecode.Bytecode
-
-
Appends INVOKEVIRTUAL.
-
-
addInvokevirtual(String, String, String) - Method in class javassist.bytecode.Bytecode
-
-
Appends INVOKEVIRTUAL.
-
-
addInvokevirtual(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
-
Appends INVOKEVIRTUAL.
-
-
addInvokevirtual(CtClass, String, CtClass, CtClass[]) - Method in class javassist.bytecode.Bytecode
-
-
Appends INVOKEVIRTUAL.
-
-
addIstore(int) - Method in class javassist.bytecode.Bytecode
-
-
Appends ISTORE or (WIDE) ISTORE_<n>
-
-
addLconst(long) - Method in class javassist.bytecode.Bytecode
-
-
Appends LCONST or LCONST_<n>
-
-
addLdc(int) - Method in class javassist.bytecode.Bytecode
-
-
Appends LDC or LDC_W.
-
-
addLdc(String) - Method in class javassist.bytecode.Bytecode
-
-
Appends LDC or LDC_W.
-
-
addLdc2w(double) - Method in class javassist.bytecode.Bytecode
-
-
Appends LDC2_W.
-
-
addLdc2w(long) - Method in class javassist.bytecode.Bytecode
-
-
Appends LDC2_W.
-
-
addLload(int) - Method in class javassist.bytecode.Bytecode
-
-
Appends LLOAD or (WIDE) LLOAD_<n>
-
-
addLoad(int, CtClass) - Method in class javassist.bytecode.Bytecode
-
-
Appends an instruction for loading a value from the - local variable at the index n.
-
-
addLoadParameters(CtClass[], int) - Method in class javassist.bytecode.Bytecode
-
-
Appends instructions for loading all the parameters onto the - operand stack.
-
-
addLocalVariable(String, CtClass) - Method in class javassist.CtBehavior
-
-
Declares a new local variable.
-
-
addLongInfo(long) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
-
Adds a new CONSTANT_Long_info - structure.
-
-
addLongInfo(long) - Method in class javassist.bytecode.ConstPool
-
-
Adds a new CONSTANT_Long_info - structure.
-
-
addLstore(int) - Method in class javassist.bytecode.Bytecode
-
-
Appends LSTORE or LSTORE_<n>
-
-
addMemberValue(int, MemberValue) - Method in class javassist.bytecode.annotation.Annotation
-
-
Adds a new member.
-
-
addMemberValue(String, MemberValue) - Method in class javassist.bytecode.annotation.Annotation
-
-
Adds a new member.
-
-
addMethod(MethodInfo) - Method in class javassist.bytecode.ClassFile
-
-
Appends a method to the class.
-
-
addMethod(CtMethod) - Method in class javassist.CtClass
-
-
Adds a method.
-
-
addMethod2(MethodInfo) - Method in class javassist.bytecode.ClassFile
-
-
Just appends a method to the class.
-
-
addMethodHandleInfo(int, int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
-
Adds a new CONSTANT_MethodHandle_info - structure.
-
-
addMethodHandleInfo(int, int) - Method in class javassist.bytecode.ConstPool
-
-
Adds a new CONSTANT_MethodHandle_info - structure.
-
-
addMethodrefInfo(int, int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
-
Adds a new CONSTANT_Methodref_info structure.
-
-
addMethodrefInfo(int, int) - Method in class javassist.bytecode.ConstPool
-
-
Adds a new CONSTANT_Methodref_info structure.
-
-
addMethodrefInfo(int, String, String) - Method in class javassist.bytecode.ConstPool
-
-
Adds a new CONSTANT_Methodref_info structure.
-
-
addMethodTypeInfo(int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
-
Adds a new CONSTANT_MethodType_info - structure.
-
-
addMethodTypeInfo(int) - Method in class javassist.bytecode.ConstPool
-
-
Adds a new CONSTANT_MethodType_info - structure.
-
-
addModuleInfo(int) - Method in class javassist.bytecode.ConstPool
-
-
Adds a new CONSTANT_Module_info
-
-
addMultiNewarray(String, int) - Method in class javassist.bytecode.Bytecode
-
-
Appends MULTINEWARRAY.
-
-
addMultiNewarray(CtClass, int) - Method in class javassist.bytecode.Bytecode
-
-
Appends MULTINEWARRAY.
-
-
addMultiNewarray(CtClass, int[]) - Method in class javassist.bytecode.Bytecode
-
-
Appends MULTINEWARRAY.
-
-
addNameAndTypeInfo(int, int) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
-
Adds a new CONSTANT_NameAndType_info structure.
-
-
addNameAndTypeInfo(int, int) - Method in class javassist.bytecode.ConstPool
-
-
Adds a new CONSTANT_NameAndType_info structure.
-
-
addNameAndTypeInfo(String, String) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
-
Adds a new CONSTANT_NameAndType_info structure.
-
-
addNameAndTypeInfo(String, String) - Method in class javassist.bytecode.ConstPool
-
-
Adds a new CONSTANT_NameAndType_info structure.
-
-
addNew(String) - Method in class javassist.bytecode.Bytecode
-
-
Appends NEW.
-
-
addNew(CtClass) - Method in class javassist.bytecode.Bytecode
-
-
Appends NEW.
-
-
addNewarray(int, int) - Method in class javassist.bytecode.Bytecode
-
-
Appends NEWARRAY for primitive types.
-
-
addOpcode(int) - Method in class javassist.bytecode.Bytecode
-
-
Appends an 8bit opcode to the end of the bytecode sequence.
-
-
addPackageInfo(int) - Method in class javassist.bytecode.ConstPool
-
-
Adds a new CONSTANT_Package_info
-
-
addParameter(CtClass) - Method in class javassist.CtBehavior
-
-
Appends a new parameter, which becomes the last parameter.
-
-
addPrintln(String) - Method in class javassist.bytecode.Bytecode
-
-
Appends instructions for executing - java.lang.System.println(message).
-
-
addPutfield(String, String, String) - Method in class javassist.bytecode.Bytecode
-
-
Appends PUTFIELD.
-
-
addPutfield(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
-
Appends PUTFIELD.
-
-
addPutstatic(String, String, String) - Method in class javassist.bytecode.Bytecode
-
-
Appends PUTSTATIC.
-
-
addPutstatic(CtClass, String, String) - Method in class javassist.bytecode.Bytecode
-
-
Appends PUTSTATIC.
-
-
addRet(int) - Method in class javassist.bytecode.Bytecode
-
-
Appends RET.
-
-
addReturn(CtClass) - Method in class javassist.bytecode.Bytecode
-
-
Appends ARETURN, IRETURN, .., or RETURN.
-
-
addStore(int, CtClass) - Method in class javassist.bytecode.Bytecode
-
-
Appends an instruction for storing a value into the - local variable at the index n.
-
-
addStringInfo(String) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
-
Adds a new CONSTANT_String_info - structure.
-
-
addStringInfo(String) - Method in class javassist.bytecode.ConstPool
-
-
Adds a new CONSTANT_String_info - structure.
-
-
addTranslator(ClassPool, Translator) - Method in class javassist.Loader
-
-
Adds a translator, which is called whenever a class is loaded.
-
-
addTranslator(ClassPool, Translator) - Method in class javassist.tools.web.Webserver
-
-
Adds a translator, which is called whenever a client requests - a class file.
-
-
addUtf8Info(String) - Method in class javassist.bytecode.ClassFileWriter.ConstPoolWriter
-
-
Adds a new CONSTANT_Utf8_info - structure.
-
-
addUtf8Info(String) - Method in class javassist.bytecode.ConstPool
-
-
Adds a new CONSTANT_Utf8_info - structure.
-
-
agentmain(String, Instrumentation) - Static method in class javassist.util.HotSwapAgent
-
-
The entry point invoked when this agent is started after the JVM starts.
-
-
ALOAD - Static variable in interface javassist.bytecode.Opcode
-
 
-
ALOAD_0 - Static variable in interface javassist.bytecode.Opcode
-
 
-
ALOAD_1 - Static variable in interface javassist.bytecode.Opcode
-
 
-
ALOAD_2 - Static variable in interface javassist.bytecode.Opcode
-
 
-
ALOAD_3 - Static variable in interface javassist.bytecode.Opcode
-
 
-
analyze(CtClass, MethodInfo) - Method in class javassist.bytecode.analysis.Analyzer
-
-
Performs data-flow analysis on a method and returns an array, indexed by - instruction position, containing the starting frame state of all reachable - instructions.
-
-
analyze(CtMethod) - Method in class javassist.bytecode.analysis.Analyzer
-
-
Performs data-flow analysis on a method and returns an array, indexed by - instruction position, containing the starting frame state of all reachable - instructions.
-
-
Analyzer - Class in javassist.bytecode.analysis
-
-
A data-flow analyzer that determines the type state of the stack and local - variable table at every reachable instruction in a method.
-
-
Analyzer() - Constructor for class javassist.bytecode.analysis.Analyzer
-
 
-
ANEWARRAY - Static variable in interface javassist.bytecode.Opcode
-
 
-
annotation(int, int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Writes annotation.
-
-
annotation(String, int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Writes annotation.
-
-
Annotation - Class in javassist.bytecode.annotation
-
-
The annotation structure.
-
-
Annotation(int, ConstPool) - Constructor for class javassist.bytecode.annotation.Annotation
-
-
Constructs an annotation including no members.
-
-
Annotation(String, ConstPool) - Constructor for class javassist.bytecode.annotation.Annotation
-
-
Constructs an annotation including no members.
-
-
Annotation(ConstPool, CtClass) - Constructor for class javassist.bytecode.annotation.Annotation
-
-
Constructs an annotation that can be accessed through the interface - represented by clazz.
-
-
ANNOTATION - Static variable in class javassist.bytecode.AccessFlag
-
 
-
ANNOTATION - Static variable in class javassist.Modifier
-
 
-
AnnotationDefaultAttribute - Class in javassist.bytecode
-
-
A class representing AnnotationDefault_attribute.
-
-
AnnotationDefaultAttribute(ConstPool) - Constructor for class javassist.bytecode.AnnotationDefaultAttribute
-
-
Constructs an empty AnnotationDefault_attribute.
-
-
AnnotationDefaultAttribute(ConstPool, byte[]) - Constructor for class javassist.bytecode.AnnotationDefaultAttribute
-
-
Constructs an AnnotationDefault_attribute.
-
-
AnnotationImpl - Class in javassist.bytecode.annotation
-
-
Internal-use only.
-
-
AnnotationMemberValue - Class in javassist.bytecode.annotation
-
-
Nested annotation.
-
-
AnnotationMemberValue(Annotation, ConstPool) - Constructor for class javassist.bytecode.annotation.AnnotationMemberValue
-
-
Constructs an annotation member.
-
-
AnnotationMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.AnnotationMemberValue
-
-
Constructs an annotation member.
-
-
AnnotationsAttribute - Class in javassist.bytecode
-
-
A class representing - RuntimeVisibleAnnotations_attribute and - RuntimeInvisibleAnnotations_attribute.
-
-
AnnotationsAttribute(ConstPool, String) - Constructor for class javassist.bytecode.AnnotationsAttribute
-
-
Constructs an empty - Runtime(In)VisibleAnnotations_attribute.
-
-
AnnotationsAttribute(ConstPool, String, byte[]) - Constructor for class javassist.bytecode.AnnotationsAttribute
-
-
Constructs a Runtime(In)VisibleAnnotations_attribute.
-
-
AnnotationsWriter - Class in javassist.bytecode.annotation
-
-
A convenience class for constructing a - ..Annotations_attribute.
-
-
AnnotationsWriter(OutputStream, ConstPool) - Constructor for class javassist.bytecode.annotation.AnnotationsWriter
-
-
Constructs with the given output stream.
-
-
annotationValue() - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Writes tag and annotation_value - in element_value.
-
-
append(byte[]) - Method in class javassist.bytecode.CodeIterator
-
-
Appends the given bytecode sequence at the end.
-
-
append(int, int, int, int) - Method in class javassist.bytecode.InnerClassesAttribute
-
-
Appends a new entry.
-
-
append(String, String, String, int) - Method in class javassist.bytecode.InnerClassesAttribute
-
-
Appends a new entry.
-
-
append(ExceptionTable, int) - Method in class javassist.bytecode.CodeIterator
-
-
Copies and appends the entries in the given exception table - at the end of the exception table in the code attribute - edited by this object.
-
-
appendClassPath(String) - Method in class javassist.ClassPool
-
-
Appends a directory or a jar (or zip) file to the end of the - search path.
-
-
appendClassPath(ClassPath) - Method in class javassist.ClassPool
-
-
Appends a ClassPath object to the end of the - search path.
-
-
appendFrame(int, int[], int[]) - Method in class javassist.bytecode.StackMapTable.Writer
-
-
Writes a append_frame.
-
-
appendFrame(int, int, int[], int[]) - Method in class javassist.bytecode.StackMapTable.Walker
-
-
Invoked if the visited frame is a append_frame.
-
-
appendGap(int) - Method in class javassist.bytecode.CodeIterator
-
-
Appends a gap at the end of the bytecode sequence.
-
-
appendParameter(String, String) - Static method in class javassist.bytecode.Descriptor
-
-
Appends a parameter type to the parameter list represented - by the given descriptor.
-
-
appendParameter(CtClass, String) - Static method in class javassist.bytecode.Descriptor
-
-
Appends a parameter type to the parameter list represented - by the given descriptor.
-
-
appendPathList(String) - Method in class javassist.ClassPool
-
-
Appends directories and jar files for search.
-
-
appendSystemPath() - Method in class javassist.ClassPool
-
-
Appends the system search path to the end of the - search path.
-
-
AppletServer - Class in javassist.tools.rmi
-
-
An AppletServer object is a web server that an ObjectImporter - communicates with.
-
-
AppletServer(int) - Constructor for class javassist.tools.rmi.AppletServer
-
-
Constructs a web server.
-
-
AppletServer(int, ClassPool) - Constructor for class javassist.tools.rmi.AppletServer
-
-
Constructs a web server.
-
-
AppletServer(String) - Constructor for class javassist.tools.rmi.AppletServer
-
-
Constructs a web server.
-
-
ARETURN - Static variable in interface javassist.bytecode.Opcode
-
 
-
arguments - Variable in class javassist.bytecode.BootstrapMethodsAttribute.BootstrapMethod
-
-
bootstrap_arguments.
-
-
arrayDimension(String) - Static method in class javassist.bytecode.Descriptor
-
-
Computes the dimension of the array represented by the given - descriptor.
-
-
ARRAYLENGTH - Static variable in interface javassist.bytecode.Opcode
-
 
-
ArrayMemberValue - Class in javassist.bytecode.annotation
-
-
Array member.
-
-
ArrayMemberValue(MemberValue, ConstPool) - Constructor for class javassist.bytecode.annotation.ArrayMemberValue
-
-
Constructs an array.
-
-
ArrayMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.ArrayMemberValue
-
-
Constructs an array.
-
-
ArrayType(int, SignatureAttribute.Type) - Constructor for class javassist.bytecode.SignatureAttribute.ArrayType
-
-
Constructs an ArrayType.
-
-
arrayValue(int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Writes tag and array_value - in element_value.
-
-
ASTORE - Static variable in interface javassist.bytecode.Opcode
-
 
-
ASTORE_0 - Static variable in interface javassist.bytecode.Opcode
-
 
-
ASTORE_1 - Static variable in interface javassist.bytecode.Opcode
-
 
-
ASTORE_2 - Static variable in interface javassist.bytecode.Opcode
-
 
-
ASTORE_3 - Static variable in interface javassist.bytecode.Opcode
-
 
-
ATHROW - Static variable in interface javassist.bytecode.Opcode
-
 
-
AttributeInfo - Class in javassist.bytecode
-
-
attribute_info structure.
-
-
AttributeInfo(ConstPool, String, byte[]) - Constructor for class javassist.bytecode.AttributeInfo
-
-
Constructs an attribute_info structure.
-
-
- - - -

B

-
-
BadBytecode - Exception in javassist.bytecode
-
-
Signals that a bad bytecode sequence has been found.
-
-
BadBytecode(int) - Constructor for exception javassist.bytecode.BadBytecode
-
 
-
BadBytecode(String) - Constructor for exception javassist.bytecode.BadBytecode
-
 
-
BadBytecode(String, Throwable) - Constructor for exception javassist.bytecode.BadBytecode
-
 
-
BadBytecode(MethodInfo, Throwable) - Constructor for exception javassist.bytecode.BadBytecode
-
 
-
BadHttpRequest - Exception in javassist.tools.web
-
-
Thrown when receiving an invalid HTTP request.
-
-
BadHttpRequest() - Constructor for exception javassist.tools.web.BadHttpRequest
-
 
-
BadHttpRequest(Exception) - Constructor for exception javassist.tools.web.BadHttpRequest
-
 
-
BALOAD - Static variable in interface javassist.bytecode.Opcode
-
 
-
BaseType(String) - Constructor for class javassist.bytecode.SignatureAttribute.BaseType
-
-
Constructs a BaseType.
-
-
basicBlocks() - Method in class javassist.bytecode.analysis.ControlFlow
-
-
Returns all the basic blocks in the method body.
-
-
BASTORE - Static variable in interface javassist.bytecode.Opcode
-
 
-
begin() - Method in class javassist.bytecode.CodeIterator
-
-
Moves to the first instruction.
-
-
begin(int, int, int, int[], ClassFileWriter.AttributeWriter) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
-
Starts adding a new method.
-
-
begin(int, String, String, String[], ClassFileWriter.AttributeWriter) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
-
Starts Adding a new method.
-
-
BIPUSH - Static variable in interface javassist.bytecode.Opcode
-
 
-
block() - Method in class javassist.bytecode.analysis.ControlFlow.Catcher
-
-
Returns the first block of the catch clause.
-
-
block() - Method in class javassist.bytecode.analysis.ControlFlow.Node
-
-
Returns the basic block indicated by this node.
-
-
BOGUS - Static variable in class javassist.bytecode.analysis.Type
-
-
Represents a non-accessible value.
-
-
BOOLEAN - Static variable in class javassist.bytecode.analysis.Type
-
-
Represents the boolean primitive type
-
-
BooleanMemberValue - Class in javassist.bytecode.annotation
-
-
Boolean constant value.
-
-
BooleanMemberValue(boolean, ConstPool) - Constructor for class javassist.bytecode.annotation.BooleanMemberValue
-
-
Constructs a boolean constant value.
-
-
BooleanMemberValue(int, ConstPool) - Constructor for class javassist.bytecode.annotation.BooleanMemberValue
-
-
Constructs a boolean constant value.
-
-
BooleanMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.BooleanMemberValue
-
-
Constructs a boolean constant value.
-
-
booleanType - Static variable in class javassist.CtClass
-
-
The CtClass object representing - the boolean type.
-
-
BootstrapMethod(int, int[]) - Constructor for class javassist.bytecode.BootstrapMethodsAttribute.BootstrapMethod
-
-
Constructs an element of bootstrap_methods.
-
-
BootstrapMethodsAttribute - Class in javassist.bytecode
-
 
-
BootstrapMethodsAttribute(ConstPool, BootstrapMethodsAttribute.BootstrapMethod[]) - Constructor for class javassist.bytecode.BootstrapMethodsAttribute
-
-
Constructs a BootstrapMethods attribute.
-
-
BootstrapMethodsAttribute.BootstrapMethod - Class in javassist.bytecode
-
-
An element of bootstrap_methods.
-
-
BRIDGE - Static variable in class javassist.bytecode.AccessFlag
-
 
-
byCall(CtClass, String) - Static method in class javassist.CtField.Initializer
-
-
Makes an initializer calling a static method.
-
-
byCall(CtClass, String, String[]) - Static method in class javassist.CtField.Initializer
-
-
Makes an initializer calling a static method.
-
-
byCallWithParams(CtClass, String) - Static method in class javassist.CtField.Initializer
-
-
Makes an initializer calling a static method.
-
-
byCallWithParams(CtClass, String, String[]) - Static method in class javassist.CtField.Initializer
-
-
Makes an initializer calling a static method.
-
-
byExpr(String) - Static method in class javassist.CtField.Initializer
-
-
Makes an initializer.
-
-
byNew(CtClass) - Static method in class javassist.CtField.Initializer
-
-
Makes an initializer creating a new object.
-
-
byNew(CtClass, String[]) - Static method in class javassist.CtField.Initializer
-
-
Makes an initializer creating a new object.
-
-
byNewArray(CtClass, int) - Static method in class javassist.CtField.Initializer
-
-
Makes an initializer creating a new array.
-
-
byNewArray(CtClass, int[]) - Static method in class javassist.CtField.Initializer
-
-
Makes an initializer creating a new multi-dimensional array.
-
-
byNewWithParams(CtClass) - Static method in class javassist.CtField.Initializer
-
-
Makes an initializer creating a new object.
-
-
byNewWithParams(CtClass, String[]) - Static method in class javassist.CtField.Initializer
-
-
Makes an initializer creating a new object.
-
-
byParameter(int) - Static method in class javassist.CtField.Initializer
-
-
Makes an initializer using a constructor parameter.
-
-
BYTE - Static variable in class javassist.bytecode.analysis.Type
-
-
Represents the byte primitive type
-
-
ByteArray - Class in javassist.bytecode
-
-
A collection of static methods for reading and writing a byte array.
-
-
ByteArray() - Constructor for class javassist.bytecode.ByteArray
-
 
-
ByteArrayClassPath - Class in javassist
-
-
A ByteArrayClassPath contains bytes that is served as - a class file to a ClassPool.
-
-
ByteArrayClassPath(String, byte[]) - Constructor for class javassist.ByteArrayClassPath
-
 
-
byteAt(int) - Method in class javassist.bytecode.CodeIterator
-
-
Returns the unsigned 8bit value at the given index.
-
-
Bytecode - Class in javassist.bytecode
-
-
A utility class for producing a bytecode sequence.
-
-
Bytecode(ConstPool) - Constructor for class javassist.bytecode.Bytecode
-
-
Constructs a Bytecode object with an empty bytecode - sequence.
-
-
Bytecode(ConstPool, int, int) - Constructor for class javassist.bytecode.Bytecode
-
-
Constructs a Bytecode object with an empty bytecode - sequence.
-
-
ByteMemberValue - Class in javassist.bytecode.annotation
-
-
Byte constant value.
-
-
ByteMemberValue(byte, ConstPool) - Constructor for class javassist.bytecode.annotation.ByteMemberValue
-
-
Constructs a byte constant value.
-
-
ByteMemberValue(int, ConstPool) - Constructor for class javassist.bytecode.annotation.ByteMemberValue
-
-
Constructs a byte constant value.
-
-
ByteMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.ByteMemberValue
-
-
Constructs a byte constant value.
-
-
byteOrBooleanRead() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
-
Returns the name of a static method with the signature - (Ljava/lang/Object;I)B to replace reading from a byte[].
-
-
byteOrBooleanRead() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
-
Returns "arrayReadByteOrBoolean" as the name of the static method with the signature - (Ljava/lang/Object;I)B to replace reading from a byte[].
-
-
byteOrBooleanWrite() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
-
Returns the name of a static method with the signature - (Ljava/lang/Object;IB)V to replace writing to a byte[].
-
-
byteOrBooleanWrite() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
-
Returns "arrayWriteByteOrBoolean" as the name of the static method with the signature - (Ljava/lang/Object;IB)V to replace writing to a byte[].
-
-
byteType - Static variable in class javassist.CtClass
-
-
The CtClass object representing - the byte type.
-
-
- - - -

C

-
-
calculateDefault(CtClass) - Static method in class javassist.SerialVersionUID
-
-
Calculate default value.
-
-
call(int, int, Object[]) - Method in class javassist.tools.rmi.ObjectImporter
-
-
Calls a method on a remote object.
-
-
Callback - Class in javassist.tools
-
-
Creates bytecode that when executed calls back to the instance's result method.
-
-
Callback(String) - Constructor for class javassist.tools.Callback
-
-
Constructs a new Callback object.
-
-
callbacks - Static variable in class javassist.tools.Callback
-
 
-
callers() - Method in class javassist.bytecode.analysis.Subroutine
-
 
-
callsSuper() - Method in class javassist.CtConstructor
-
-
Returns true if this constructor calls a constructor - of the super class.
-
-
CALOAD - Static variable in interface javassist.bytecode.Opcode
-
 
-
CannotCompileException - Exception in javassist
-
-
Thrown when bytecode transformation has failed.
-
-
CannotCompileException(ClassFormatError, String) - Constructor for exception javassist.CannotCompileException
-
-
Constructs a CannotCompileException with a ClassFormatError.
-
-
CannotCompileException(ClassNotFoundException, String) - Constructor for exception javassist.CannotCompileException
-
-
Constructs a CannotCompileException - with a ClassNotFoundException.
-
-
CannotCompileException(String) - Constructor for exception javassist.CannotCompileException
-
-
Constructs a CannotCompileException with a message.
-
-
CannotCompileException(String, Throwable) - Constructor for exception javassist.CannotCompileException
-
-
Constructs a CannotCompileException with a detailed message - and an Exception representing the cause.
-
-
CannotCompileException(Throwable) - Constructor for exception javassist.CannotCompileException
-
-
Constructs a CannotCompileException with an Exception - representing the cause.
-
-
CannotCompileException(CompileError) - Constructor for exception javassist.CannotCompileException
-
-
Constructs a CannotCompileException with an CompileError.
-
-
CannotCompileException(NotFoundException) - Constructor for exception javassist.CannotCompileException
-
-
Constructs a CannotCompileException with a - NotFoundException.
-
-
CannotCreateException - Exception in javassist.tools.reflect
-
-
Signals that ClassMetaobject.newInstance() fails.
-
-
CannotCreateException(Exception) - Constructor for exception javassist.tools.reflect.CannotCreateException
-
 
-
CannotCreateException(String) - Constructor for exception javassist.tools.reflect.CannotCreateException
-
 
-
CannotInvokeException - Exception in javassist.tools.reflect
-
-
Thrown when method invocation using the reflection API has thrown - an exception.
-
-
CannotInvokeException(ClassNotFoundException) - Constructor for exception javassist.tools.reflect.CannotInvokeException
-
-
Constructs a CannotInvokeException with an ClassNotFoundException.
-
-
CannotInvokeException(IllegalAccessException) - Constructor for exception javassist.tools.reflect.CannotInvokeException
-
-
Constructs a CannotInvokeException with an IllegalAccessException.
-
-
CannotInvokeException(InvocationTargetException) - Constructor for exception javassist.tools.reflect.CannotInvokeException
-
-
Constructs a CannotInvokeException with an InvocationTargetException.
-
-
CannotInvokeException(String) - Constructor for exception javassist.tools.reflect.CannotInvokeException
-
-
Constructs a CannotInvokeException with an error message.
-
-
CannotReflectException - Exception in javassist.tools.reflect
-
-
Thrown by makeReflective() in Reflection - when there is an attempt to reflect - a class that is either an interface or a subclass of - either ClassMetaobject or Metaobject.
-
-
CannotReflectException(String) - Constructor for exception javassist.tools.reflect.CannotReflectException
-
 
-
Cast - Class in javassist.expr
-
-
Explicit type cast.
-
-
CASTORE - Static variable in interface javassist.bytecode.Opcode
-
 
-
catchers() - Method in class javassist.bytecode.analysis.ControlFlow.Block
-
-
Returns catch clauses that will catch an exception thrown - in this block.
-
-
catchTarget(int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
-
Writes target_type and catch_target - of target_info union.
-
-
catchType(int) - Method in class javassist.bytecode.ExceptionTable
-
-
Returns catchType of the n-th entry.
-
-
Cflow - Class in javassist.runtime
-
-
A support class for implementing $cflow.
-
-
Cflow() - Constructor for class javassist.runtime.Cflow
-
 
-
changeReturnType(String, String) - Static method in class javassist.bytecode.Descriptor
-
-
Changes the return type included in the given descriptor.
-
-
CHAR - Static variable in class javassist.bytecode.analysis.Type
-
-
Represents the char primitive type
-
-
CharMemberValue - Class in javassist.bytecode.annotation
-
-
Char constant value.
-
-
CharMemberValue(char, ConstPool) - Constructor for class javassist.bytecode.annotation.CharMemberValue
-
-
Constructs a char constant value.
-
-
CharMemberValue(int, ConstPool) - Constructor for class javassist.bytecode.annotation.CharMemberValue
-
-
Constructs a char constant value.
-
-
CharMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.CharMemberValue
-
-
Constructs a char constant value.
-
-
charRead() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
 
-
charRead() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
-
Returns "arrayReadChar" as the name of the static method with the signature - (Ljava/lang/Object;I)C to replace reading from a char[].
-
-
charType - Static variable in class javassist.CtClass
-
-
The CtClass object representing - the char type.
-
-
charWrite() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
-
Returns the name of a static method with the signature - (Ljava/lang/Object;IC)V to replace writing to a byte[].
-
-
charWrite() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
-
Returns "arrayWriteChar" as the name of the static method with the signature - (Ljava/lang/Object;IC)V to replace writing to a byte[].
-
-
CHECKCAST - Static variable in interface javassist.bytecode.Opcode
-
 
-
child(int) - Method in class javassist.bytecode.analysis.ControlFlow.Node
-
-
Returns the n-th child of this node.
-
-
childFirstLookup - Variable in class javassist.ClassPool
-
-
Determines the search order.
-
-
children() - Method in class javassist.bytecode.analysis.ControlFlow.Node
-
-
Returns the number of the children of this node.
-
-
chopFrame(int, int) - Method in class javassist.bytecode.StackMapTable.Writer
-
-
Writes a chop_frame.
-
-
chopFrame(int, int, int) - Method in class javassist.bytecode.StackMapTable.Walker
-
-
Invoked if the visited frame is a chop_frame.
-
-
ClassClassPath - Class in javassist
-
-
A search-path for obtaining a class file - by getResourceAsStream() in java.lang.Class.
-
-
ClassClassPath(Class<?>) - Constructor for class javassist.ClassClassPath
-
-
Creates a search path.
-
-
ClassFile - Class in javassist.bytecode
-
-
ClassFile represents a Java .class file, which - consists of a constant pool, methods, fields, and attributes.
-
-
ClassFile(boolean, String, String) - Constructor for class javassist.bytecode.ClassFile
-
-
Constructs a class file including no members.
-
-
ClassFile(DataInputStream) - Constructor for class javassist.bytecode.ClassFile
-
-
Constructs a class file from a byte stream.
-
-
ClassFilePrinter - Class in javassist.bytecode
-
-
A utility class for priting the contents of a class file.
-
-
ClassFilePrinter() - Constructor for class javassist.bytecode.ClassFilePrinter
-
 
-
ClassFileWriter - Class in javassist.bytecode
-
-
A quick class-file writer.
-
-
ClassFileWriter(int, int) - Constructor for class javassist.bytecode.ClassFileWriter
-
-
Constructs a class file writer.
-
-
ClassFileWriter.AttributeWriter - Interface in javassist.bytecode
-
-
This writes attributes.
-
-
ClassFileWriter.ConstPoolWriter - Class in javassist.bytecode
-
-
Constant Pool.
-
-
ClassFileWriter.FieldWriter - Class in javassist.bytecode
-
-
Field.
-
-
ClassFileWriter.MethodWriter - Class in javassist.bytecode
-
-
Method.
-
-
classIndex() - Method in class javassist.bytecode.EnclosingMethodAttribute
-
-
Returns the value of class_index.
-
-
classInfoIndex(int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Writes tag and class_info_index - in element_value.
-
-
classInfoIndex(String) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Writes tag and class_info_index - in element_value.
-
-
classLoaderProvider - Static variable in class javassist.util.proxy.ProxyFactory
-
-
A provider used by createClass() for obtaining - a class loader.
-
-
ClassMap - Class in javassist
-
-
A hash table associating class names with different names.
-
-
ClassMap() - Constructor for class javassist.ClassMap
-
-
Constructs a hash table.
-
-
ClassMemberValue - Class in javassist.bytecode.annotation
-
-
Class value.
-
-
ClassMemberValue(int, ConstPool) - Constructor for class javassist.bytecode.annotation.ClassMemberValue
-
-
Constructs a class value.
-
-
ClassMemberValue(String, ConstPool) - Constructor for class javassist.bytecode.annotation.ClassMemberValue
-
-
Constructs a class value.
-
-
ClassMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.ClassMemberValue
-
-
Constructs a class value.
-
-
ClassMetaobject - Class in javassist.tools.reflect
-
-
A runtime class metaobject.
-
-
ClassMetaobject(String[]) - Constructor for class javassist.tools.reflect.ClassMetaobject
-
-
Constructs a ClassMetaobject.
-
-
classname - Variable in class javassist.tools.rmi.RemoteRef
-
 
-
className() - Method in class javassist.bytecode.EnclosingMethodAttribute
-
-
Returns the name of the class specified by class_index.
-
-
ClassPath - Interface in javassist
-
-
ClassPath is an interface implemented by objects - representing a class search path.
-
-
ClassPool - Class in javassist
-
-
A container of CtClass objects.
-
-
ClassPool() - Constructor for class javassist.ClassPool
-
-
Creates a root class pool.
-
-
ClassPool(boolean) - Constructor for class javassist.ClassPool
-
-
Creates a root class pool.
-
-
ClassPool(ClassPool) - Constructor for class javassist.ClassPool
-
-
Creates a class pool.
-
-
ClassSignature(SignatureAttribute.TypeParameter[]) - Constructor for class javassist.bytecode.SignatureAttribute.ClassSignature
-
-
Constructs a class signature.
-
-
ClassSignature(SignatureAttribute.TypeParameter[], SignatureAttribute.ClassType, SignatureAttribute.ClassType[]) - Constructor for class javassist.bytecode.SignatureAttribute.ClassSignature
-
-
Constructs a class signature.
-
-
ClassType(String) - Constructor for class javassist.bytecode.SignatureAttribute.ClassType
-
-
Constructs a ClassType.
-
-
ClassType(String, SignatureAttribute.TypeArgument[]) - Constructor for class javassist.bytecode.SignatureAttribute.ClassType
-
-
Constructs a ClassType.
-
-
clear(int, int) - Static method in class javassist.bytecode.AccessFlag
-
-
Clears a specified bit in accflags.
-
-
clear(int, int) - Static method in class javassist.Modifier
-
-
Clears a specified bit in mod.
-
-
clearImportedPackages() - Method in class javassist.ClassPool
-
-
Clear all the package names recorded by importPackage().
-
-
clearStack() - Method in class javassist.bytecode.analysis.Frame
-
-
Empties the stack
-
-
clientData - Variable in class javassist.bytecode.analysis.ControlFlow.Block
-
-
A field that can be freely used for storing extra data.
-
-
clone() - Method in class javassist.bytecode.Bytecode
-
-
Creates and returns a copy of this object.
-
-
clone() - Method in class javassist.bytecode.ExceptionTable
-
-
Creates and returns a copy of this object.
-
-
CLONEABLE - Static variable in class javassist.bytecode.analysis.Type
-
-
Represents the java.lang.Coneable reference type
-
-
close() - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Closes the output stream.
-
-
CodeAttribute - Class in javassist.bytecode
-
-
Code_attribute.
-
-
CodeAttribute(ConstPool, int, int, byte[], ExceptionTable) - Constructor for class javassist.bytecode.CodeAttribute
-
-
Constructs a Code_attribute.
-
-
CodeAttribute.RuntimeCopyException - Exception in javassist.bytecode
-
-
An exception that may be thrown by copy() - in CodeAttribute.
-
-
CodeConverter - Class in javassist
-
-
Simple translator of method bodies - (also see the javassist.expr package).
-
-
CodeConverter() - Constructor for class javassist.CodeConverter
-
 
-
CodeConverter.ArrayAccessReplacementMethodNames - Interface in javassist
-
-
Interface containing the method names to be used - as array access replacements.
-
-
CodeConverter.DefaultArrayAccessReplacementMethodNames - Class in javassist
-
-
Default implementation of the ArrayAccessReplacementMethodNames - interface giving default values for method names to be used for replacing - accesses to array elements.
-
-
codeEnd(int, int) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
-
Ends appending bytecode.
-
-
CodeIterator - Class in javassist.bytecode
-
-
An iterator for editing a code attribute.
-
-
CodeIterator.Gap - Class in javassist.bytecode
-
-
An inserted gap.
-
-
codeLength(int) - Method in class javassist.bytecode.LocalVariableAttribute
-
-
Returns local_variable_table[i].length.
-
-
compact() - Method in class javassist.bytecode.ClassFile
-
-
Eliminates dead constant pool items.
-
-
Compiler - Class in javassist.tools.reflect
-
-
A bytecode translator for reflection.
-
-
Compiler() - Constructor for class javassist.tools.reflect.Compiler
-
 
-
computeMaxStack() - Method in class javassist.bytecode.CodeAttribute
-
-
Computes the maximum stack size and sets max_stack - to the computed size.
-
-
CONST_Class - Static variable in class javassist.bytecode.ConstPool
-
-
CONSTANT_Class
-
-
CONST_Double - Static variable in class javassist.bytecode.ConstPool
-
-
CONSTANT_Double
-
-
CONST_Fieldref - Static variable in class javassist.bytecode.ConstPool
-
-
CONSTANT_Fieldref
-
-
CONST_Float - Static variable in class javassist.bytecode.ConstPool
-
-
CONSTANT_Float
-
-
CONST_Integer - Static variable in class javassist.bytecode.ConstPool
-
-
CONSTANT_Integer
-
-
CONST_InterfaceMethodref - Static variable in class javassist.bytecode.ConstPool
-
-
CONSTANT_InterfaceMethodref
-
-
CONST_InvokeDynamic - Static variable in class javassist.bytecode.ConstPool
-
-
CONSTANT_MethodHandle
-
-
CONST_Long - Static variable in class javassist.bytecode.ConstPool
-
-
CONSTANT_Long
-
-
CONST_MethodHandle - Static variable in class javassist.bytecode.ConstPool
-
-
CONSTANT_MethodHandle
-
-
CONST_Methodref - Static variable in class javassist.bytecode.ConstPool
-
-
CONSTANT_Methodref
-
-
CONST_MethodType - Static variable in class javassist.bytecode.ConstPool
-
-
CONSTANT_MethodHandle
-
-
CONST_Module - Static variable in class javassist.bytecode.ConstPool
-
-
CONSTANT_Module
-
-
CONST_NameAndType - Static variable in class javassist.bytecode.ConstPool
-
-
CONSTANT_NameAndType
-
-
CONST_Package - Static variable in class javassist.bytecode.ConstPool
-
-
CONSTANT_Package
-
-
CONST_String - Static variable in class javassist.bytecode.ConstPool
-
-
CONSTANT_String
-
-
CONST_Utf8 - Static variable in class javassist.bytecode.ConstPool
-
-
CONSTANT_Utf8
-
-
constant(boolean) - Static method in class javassist.CtField.Initializer
-
-
Makes an initializer that assigns a constant boolean value.
-
-
constant(double) - Static method in class javassist.CtField.Initializer
-
-
Makes an initializer that assigns a constant double value.
-
-
constant(float) - Static method in class javassist.CtField.Initializer
-
-
Makes an initializer that assigns a constant float value.
-
-
constant(int) - Static method in class javassist.CtField.Initializer
-
-
Makes an initializer that assigns a constant integer value.
-
-
constant(long) - Static method in class javassist.CtField.Initializer
-
-
Makes an initializer that assigns a constant long value.
-
-
constant(String) - Static method in class javassist.CtField.Initializer
-
-
Makes an initializer that assigns a constant string value.
-
-
ConstantAttribute - Class in javassist.bytecode
-
-
ConstantValue_attribute.
-
-
ConstantAttribute(ConstPool, int) - Constructor for class javassist.bytecode.ConstantAttribute
-
-
Constructs a ConstantValue attribute.
-
-
ConstPool - Class in javassist.bytecode
-
-
Constant pool table.
-
-
ConstPool(DataInputStream) - Constructor for class javassist.bytecode.ConstPool
-
-
Constructs a constant pool table from the given byte stream.
-
-
ConstPool(String) - Constructor for class javassist.bytecode.ConstPool
-
-
Constructs a constant pool table.
-
-
ConstructorCall - Class in javassist.expr
-
-
Constructor call such as this() and super() - within a constructor body.
-
-
constValueIndex(boolean) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Writes tag and const_value_index - in element_value.
-
-
constValueIndex(byte) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Writes tag and const_value_index - in element_value.
-
-
constValueIndex(char) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Writes tag and const_value_index - in element_value.
-
-
constValueIndex(double) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Writes tag and const_value_index - in element_value.
-
-
constValueIndex(float) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Writes tag and const_value_index - in element_value.
-
-
constValueIndex(int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Writes tag and const_value_index - in element_value.
-
-
constValueIndex(int, int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Writes tag and const_value_index - in element_value.
-
-
constValueIndex(long) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Writes tag and const_value_index - in element_value.
-
-
constValueIndex(short) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Writes tag and const_value_index - in element_value.
-
-
constValueIndex(String) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Writes tag and const_value_index - in element_value.
-
-
ControlFlow - Class in javassist.bytecode.analysis
-
-
Represents the control flow graph of a given method.
-
-
ControlFlow(CtClass, MethodInfo) - Constructor for class javassist.bytecode.analysis.ControlFlow
-
-
Constructs a control-flow analyzer.
-
-
ControlFlow(CtMethod) - Constructor for class javassist.bytecode.analysis.ControlFlow
-
-
Constructs a control-flow analyzer for the given method.
-
-
ControlFlow.Block - Class in javassist.bytecode.analysis
-
-
Basic block.
-
-
ControlFlow.Catcher - Class in javassist.bytecode.analysis
-
-
Represents a catch clause.
-
-
ControlFlow.Node - Class in javassist.bytecode.analysis
-
-
A node of (post) dominator trees.
-
-
copy() - Method in class javassist.bytecode.analysis.Frame
-
-
Makes a shallow copy of this frame, i.e.
-
-
copy(int, ConstPool, Map<String, String>) - Method in class javassist.bytecode.ConstPool
-
-
Copies the n-th item in this ConstPool object into the destination - ConstPool object.
-
-
copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.AnnotationDefaultAttribute
-
-
Copies this attribute and returns a new copy.
-
-
copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.AnnotationsAttribute
-
-
Copies this attribute and returns a new copy.
-
-
copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.AttributeInfo
-
-
Makes a copy.
-
-
copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.BootstrapMethodsAttribute
-
-
Makes a copy.
-
-
copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.CodeAttribute
-
-
Makes a copy.
-
-
copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.ConstantAttribute
-
-
Makes a copy.
-
-
copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.DeprecatedAttribute
-
-
Makes a copy.
-
-
copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.EnclosingMethodAttribute
-
-
Makes a copy.
-
-
copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.ExceptionsAttribute
-
-
Makes a copy.
-
-
copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.ExceptionTable
-
-
Makes a copy of this exception_table[].
-
-
copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.InnerClassesAttribute
-
-
Makes a copy.
-
-
copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.LineNumberAttribute
-
-
Makes a copy.
-
-
copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.LocalVariableAttribute
-
-
Makes a copy.
-
-
copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.MethodParametersAttribute
-
-
Makes a copy.
-
-
copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.NestHostAttribute
-
-
Makes a copy.
-
-
copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.NestMembersAttribute
-
-
Makes a copy.
-
-
copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.ParameterAnnotationsAttribute
-
-
Copies this attribute and returns a new copy.
-
-
copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.SignatureAttribute
-
-
Makes a copy.
-
-
copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.SourceFileAttribute
-
-
Makes a copy.
-
-
copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.StackMap
-
-
Makes a copy.
-
-
copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.StackMapTable
-
-
Makes a copy.
-
-
copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.SyntheticAttribute
-
-
Makes a copy.
-
-
copy(ConstPool, Map<String, String>) - Method in class javassist.bytecode.TypeAnnotationsAttribute
-
-
Copies this attribute and returns a new copy.
-
-
copy(CtConstructor, CtClass, ClassMap) - Static method in class javassist.CtNewConstructor
-
-
Creates a copy of a constructor.
-
-
copy(CtMethod, String, CtClass, ClassMap) - Static method in class javassist.CtNewMethod
-
-
Creates a copy of a method with a new name.
-
-
copy(CtMethod, CtClass, ClassMap) - Static method in class javassist.CtNewMethod
-
-
Creates a copy of a method.
-
-
copyStack() - Method in class javassist.bytecode.analysis.Frame
-
-
Makes a shallow copy of the stack portion of this frame.
-
-
create(Class<?>[], Object[]) - Method in class javassist.util.proxy.ProxyFactory
-
-
Creates a proxy class and returns an instance of that class.
-
-
create(Class<?>[], Object[], MethodHandler) - Method in class javassist.util.proxy.ProxyFactory
-
-
Creates a proxy class and returns an instance of that class.
-
-
createAgentJarFile(String) - Static method in class javassist.util.HotSwapAgent
-
-
Creates an agent file for using HotSwapAgent.
-
-
createClass() - Method in class javassist.util.proxy.ProxyFactory
-
-
Generates a proxy class using the current filter.
-
-
createClass(MethodHandles.Lookup) - Method in class javassist.util.proxy.ProxyFactory
-
-
Generates a proxy class using the current filter.
-
-
createClass(MethodHandles.Lookup, MethodFilter) - Method in class javassist.util.proxy.ProxyFactory
-
-
Generates a proxy class using the supplied filter.
-
-
createClass(MethodFilter) - Method in class javassist.util.proxy.ProxyFactory
-
-
Generates a proxy class using the supplied filter.
-
-
createMemberValue(ConstPool, CtClass) - Static method in class javassist.bytecode.annotation.Annotation
-
-
Makes an instance of MemberValue.
-
-
CtBehavior - Class in javassist
-
-
CtBehavior represents a method, a constructor, - or a static constructor (class initializer).
-
-
CtClass - Class in javassist
-
-
An instance of CtClass represents a class.
-
-
CtConstructor - Class in javassist
-
-
An instance of CtConstructor represents a constructor.
-
-
CtConstructor(CtClass[], CtClass) - Constructor for class javassist.CtConstructor
-
-
Creates a constructor with no constructor body.
-
-
CtConstructor(CtConstructor, CtClass, ClassMap) - Constructor for class javassist.CtConstructor
-
-
Creates a copy of a CtConstructor object.
-
-
CtField - Class in javassist
-
-
An instance of CtField represents a field.
-
-
CtField(CtClass, String, CtClass) - Constructor for class javassist.CtField
-
-
Creates a CtField object.
-
-
CtField(CtField, CtClass) - Constructor for class javassist.CtField
-
-
Creates a copy of the given field.
-
-
CtField.Initializer - Class in javassist
-
-
Instances of this class specify how to initialize a field.
-
-
CtMember - Class in javassist
-
-
An instance of CtMember represents a field, a constructor, - or a method.
-
-
CtMethod - Class in javassist
-
-
An instance of CtMethod represents a method.
-
-
CtMethod(CtClass, String, CtClass[], CtClass) - Constructor for class javassist.CtMethod
-
-
Creates a public abstract method.
-
-
CtMethod(CtMethod, CtClass, ClassMap) - Constructor for class javassist.CtMethod
-
-
Creates a copy of a CtMethod object.
-
-
CtMethod.ConstParameter - Class in javassist
-
-
Instances of this class represent a constant parameter.
-
-
CtNewConstructor - Class in javassist
-
-
A collection of static methods for creating a CtConstructor.
-
-
CtNewConstructor() - Constructor for class javassist.CtNewConstructor
-
 
-
CtNewMethod - Class in javassist
-
-
A collection of static methods for creating a CtMethod.
-
-
CtNewMethod() - Constructor for class javassist.CtNewMethod
-
 
-
CtPrimitiveType - Class in javassist
-
-
An instance of CtPrimitiveType represents a primitive type.
-
-
currentChar() - Method in class javassist.bytecode.Descriptor.Iterator
-
-
Returns the first character of the current element.
-
-
currentPc() - Method in class javassist.bytecode.Bytecode
-
-
Returns the length of bytecode sequence - that have been added so far.
-
-
- - - -

D

-
-
D2F - Static variable in interface javassist.bytecode.Opcode
-
 
-
D2I - Static variable in interface javassist.bytecode.Opcode
-
 
-
D2L - Static variable in interface javassist.bytecode.Opcode
-
 
-
DADD - Static variable in interface javassist.bytecode.Opcode
-
 
-
DALOAD - Static variable in interface javassist.bytecode.Opcode
-
 
-
DASTORE - Static variable in interface javassist.bytecode.Opcode
-
 
-
dataSize - Static variable in class javassist.util.proxy.FactoryHelper
-
-
The data size of primitive types.
-
-
dataSize(String) - Static method in class javassist.bytecode.Descriptor
-
-
Computes the data size specified by the given descriptor.
-
-
DCMPG - Static variable in interface javassist.bytecode.Opcode
-
 
-
DCMPL - Static variable in interface javassist.bytecode.Opcode
-
 
-
DCONST_0 - Static variable in interface javassist.bytecode.Opcode
-
 
-
DCONST_1 - Static variable in interface javassist.bytecode.Opcode
-
 
-
DDIV - Static variable in interface javassist.bytecode.Opcode
-
 
-
debugDir - Variable in class javassist.tools.web.Webserver
-
-
If this field is not null, the class files taken from - ClassPool are written out under the directory - specified by this field.
-
-
debugDump - Static variable in class javassist.CtClass
-
-
If the value of this field is not null, then all class - files modified by Javassist are saved under the directory - specified by this variable.
-
-
debugWriteFile() - Method in class javassist.CtClass
-
-
Writes a class file as writeFile() does although this - method does not prune or freeze the class after writing the class - file.
-
-
debugWriteFile(String) - Method in class javassist.CtClass
-
-
Writes a class file as writeFile() does although this - method does not prune or freeze the class after writing the class - file.
-
-
default_interceptor - Static variable in class javassist.util.proxy.RuntimeSupport
-
-
A method handler that only executes a method.
-
-
DefaultArrayAccessReplacementMethodNames() - Constructor for class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
 
-
defaultConstructor(CtClass) - Static method in class javassist.CtNewConstructor
-
-
Creates a default (public) constructor.
-
-
DefineClassHelper - Class in javassist.util.proxy
-
-
Helper class for invoking ClassLoader.defineClass(String,byte[],int,int).
-
-
definePackage(String, ClassLoader) - Static method in class javassist.util.proxy.DefinePackageHelper
-
-
Defines a new package.
-
-
DefinePackageHelper - Class in javassist.util.proxy
-
-
Helper class for invoking ClassLoader.defineClass(String,byte[],int,int).
-
-
defrost() - Method in class javassist.CtClass
-
-
Defrosts the class so that the class can be modified again.
-
-
delegateLoadingOf(String) - Method in class javassist.Loader
-
-
Records a class so that the loading of that class is delegated - to the parent class loader.
-
-
delegator(CtMethod, CtClass) - Static method in class javassist.CtNewMethod
-
-
Creates a method forwarding to a delegate in - a super class.
-
-
DeprecatedAttribute - Class in javassist.bytecode
-
-
Deprecated_attribute.
-
-
DeprecatedAttribute(ConstPool) - Constructor for class javassist.bytecode.DeprecatedAttribute
-
-
Constructs a Deprecated attribute.
-
-
Desc - Class in javassist.runtime
-
-
A support class for implementing $sig and - $type.
-
-
Desc() - Constructor for class javassist.runtime.Desc
-
 
-
descriptor(int) - Method in class javassist.bytecode.LocalVariableAttribute
-
-
Returns the type descriptor of the local variable - specified by local_variable_table[i].descriptor_index.
-
-
Descriptor - Class in javassist.bytecode
-
-
A support class for dealing with descriptors.
-
-
Descriptor() - Constructor for class javassist.bytecode.Descriptor
-
 
-
Descriptor.Iterator - Class in javassist.bytecode
-
-
An Iterator over a descriptor.
-
-
descriptorIndex(int) - Method in class javassist.bytecode.LocalVariableAttribute
-
-
Returns the value of - local_variable_table[i].descriptor_index.
-
-
detach() - Method in class javassist.CtClass
-
-
Removes this CtClass object from the - ClassPool.
-
-
DLOAD - Static variable in interface javassist.bytecode.Opcode
-
 
-
DLOAD_0 - Static variable in interface javassist.bytecode.Opcode
-
 
-
DLOAD_1 - Static variable in interface javassist.bytecode.Opcode
-
 
-
DLOAD_2 - Static variable in interface javassist.bytecode.Opcode
-
 
-
DLOAD_3 - Static variable in interface javassist.bytecode.Opcode
-
 
-
DMUL - Static variable in interface javassist.bytecode.Opcode
-
 
-
DNEG - Static variable in interface javassist.bytecode.Opcode
-
 
-
doDelegation - Variable in class javassist.Loader
-
-
Specifies the algorithm of class loading.
-
-
doit(CtClass, MethodInfo) - Method in class javassist.expr.ExprEditor
-
-
Undocumented method.
-
-
dominatorTree() - Method in class javassist.bytecode.analysis.ControlFlow
-
-
Constructs a dominator tree.
-
-
doPreverify - Static variable in class javassist.bytecode.MethodInfo
-
-
If this value is true, Javassist maintains a StackMap attribute - generated by the preverify tool of J2ME (CLDC).
-
-
doPruning - Static variable in class javassist.ClassPool
-
-
Turning the automatic pruning on/off.
-
-
doReply(InputStream, OutputStream, String) - Method in class javassist.tools.rmi.AppletServer
-
-
Processes a request from a web browser (an ObjectImporter).
-
-
doReply(InputStream, OutputStream, String) - Method in class javassist.tools.web.Webserver
-
-
Proceses a HTTP request from a client.
-
-
DotClass - Class in javassist.runtime
-
-
A support class for implementing .class notation.
-
-
DotClass() - Constructor for class javassist.runtime.DotClass
-
 
-
DOUBLE - Static variable in class javassist.bytecode.analysis.Type
-
-
Represents the double primitive type
-
-
DOUBLE - Static variable in class javassist.bytecode.StackMap
-
-
Double_variable_info.tag.
-
-
DOUBLE - Static variable in class javassist.bytecode.StackMapTable
-
-
Double_variable_info.tag.
-
-
DoubleMemberValue - Class in javassist.bytecode.annotation
-
-
Double floating-point number constant value.
-
-
DoubleMemberValue(double, ConstPool) - Constructor for class javassist.bytecode.annotation.DoubleMemberValue
-
-
Constructs a double constant value.
-
-
DoubleMemberValue(int, ConstPool) - Constructor for class javassist.bytecode.annotation.DoubleMemberValue
-
-
Constructs a double constant value.
-
-
DoubleMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.DoubleMemberValue
-
-
Constructs a double constant value.
-
-
doubleRead() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
-
Returns the name of a static method with the signature - (Ljava/lang/Object;I)D to replace reading from a double[].
-
-
doubleRead() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
-
Returns "arrayReadDouble" as the name of the static method with the signature - (Ljava/lang/Object;I)D to replace reading from a double[].
-
-
doubleType - Static variable in class javassist.CtClass
-
-
The CtClass object representing - the double type.
-
-
doubleWrite() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
-
Returns the name of a static method with the signature - (Ljava/lang/Object;ID)V to replace writing to a double[].
-
-
doubleWrite() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
-
Returns "arrayWriteDouble" as the name of the static method with the signature - (Ljava/lang/Object;ID)V to replace writing to a double[].
-
-
DREM - Static variable in interface javassist.bytecode.Opcode
-
 
-
DRETURN - Static variable in interface javassist.bytecode.Opcode
-
 
-
DSTORE - Static variable in interface javassist.bytecode.Opcode
-
 
-
DSTORE_0 - Static variable in interface javassist.bytecode.Opcode
-
 
-
DSTORE_1 - Static variable in interface javassist.bytecode.Opcode
-
 
-
DSTORE_2 - Static variable in interface javassist.bytecode.Opcode
-
 
-
DSTORE_3 - Static variable in interface javassist.bytecode.Opcode
-
 
-
DSUB - Static variable in interface javassist.bytecode.Opcode
-
 
-
Dump - Class in javassist.tools
-
-
Dump is a tool for viewing the class definition in the given - class file.
-
-
DUP - Static variable in interface javassist.bytecode.Opcode
-
 
-
DUP_X1 - Static variable in interface javassist.bytecode.Opcode
-
 
-
DUP_X2 - Static variable in interface javassist.bytecode.Opcode
-
 
-
DUP2 - Static variable in interface javassist.bytecode.Opcode
-
 
-
DUP2_X1 - Static variable in interface javassist.bytecode.Opcode
-
 
-
DUP2_X2 - Static variable in interface javassist.bytecode.Opcode
-
 
-
DuplicateMemberException - Exception in javassist.bytecode
-
-
An exception thrown when adding a duplicate member is requested.
-
-
DuplicateMemberException(String) - Constructor for exception javassist.bytecode.DuplicateMemberException
-
 
-
- - - -

E

-
-
edit(Cast) - Method in class javassist.expr.ExprEditor
-
-
Edits an expression for explicit type casting (overridable).
-
-
edit(ConstructorCall) - Method in class javassist.expr.ExprEditor
-
-
Edits a constructor call (overridable).
-
-
edit(FieldAccess) - Method in class javassist.expr.ExprEditor
-
-
Edits a field-access expression (overridable).
-
-
edit(Handler) - Method in class javassist.expr.ExprEditor
-
-
Edits a catch clause (overridable).
-
-
edit(Instanceof) - Method in class javassist.expr.ExprEditor
-
-
Edits an instanceof expression (overridable).
-
-
edit(MethodCall) - Method in class javassist.expr.ExprEditor
-
-
Edits a method call (overridable).
-
-
edit(NewArray) - Method in class javassist.expr.ExprEditor
-
-
Edits an expression for array creation (overridable).
-
-
edit(NewExpr) - Method in class javassist.expr.ExprEditor
-
-
Edits a new expression (overridable).
-
-
emptyTarget(int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
-
Writes target_type and empty_target - of target_info union.
-
-
EnclosingMethodAttribute - Class in javassist.bytecode
-
-
EnclosingMethod_attribute.
-
-
EnclosingMethodAttribute(ConstPool, String) - Constructor for class javassist.bytecode.EnclosingMethodAttribute
-
-
Constructs an EnclosingMethod attribute.
-
-
EnclosingMethodAttribute(ConstPool, String, String, String) - Constructor for class javassist.bytecode.EnclosingMethodAttribute
-
-
Constructs an EnclosingMethod attribute.
-
-
encode() - Method in class javassist.bytecode.SignatureAttribute.ClassSignature
-
-
Returns the encoded string representing the method type signature.
-
-
encode() - Method in class javassist.bytecode.SignatureAttribute.MethodSignature
-
-
Returns the encoded string representing the method type signature.
-
-
encode() - Method in class javassist.bytecode.SignatureAttribute.ObjectType
-
-
Returns the encoded string representing the object type signature.
-
-
end() - Method in class javassist.tools.web.Webserver
-
-
Closes the socket.
-
-
end(int, int, int, int[], ClassFileWriter.AttributeWriter) - Method in class javassist.bytecode.ClassFileWriter
-
-
Ends writing and returns the contents of the class file.
-
-
end(DataOutputStream, int, int, int, int[], ClassFileWriter.AttributeWriter) - Method in class javassist.bytecode.ClassFileWriter
-
-
Ends writing and writes the contents of the class file into the - given output stream.
-
-
end(StackMapTable.Writer, ClassFileWriter.AttributeWriter) - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
-
Ends adding a new method.
-
-
endPc(int) - Method in class javassist.bytecode.ExceptionTable
-
-
Returns endPc of the n-th entry.
-
-
enter() - Method in class javassist.runtime.Cflow
-
-
Increments the counter.
-
-
ENUM - Static variable in class javassist.bytecode.AccessFlag
-
 
-
ENUM - Static variable in class javassist.Modifier
-
 
-
enumConstValue(int, int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Writes tag and enum_const_value - in element_value.
-
-
enumConstValue(String, String) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Writes tag and enum_const_value - in element_value.
-
-
EnumMemberValue - Class in javassist.bytecode.annotation
-
-
Enum constant value.
-
-
EnumMemberValue(int, int, ConstPool) - Constructor for class javassist.bytecode.annotation.EnumMemberValue
-
-
Constructs an enum constant value.
-
-
EnumMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.EnumMemberValue
-
-
Constructs an enum constant value.
-
-
eqMember(String, String, int) - Method in class javassist.bytecode.ConstPool
-
-
Determines whether CONSTANT_Methodref_info, - CONSTANT_Fieldref_info, or - CONSTANT_InterfaceMethodref_info structure - at the given index has the name and the descriptor - given as the arguments.
-
-
eqParamTypes(String, String) - Static method in class javassist.bytecode.Descriptor
-
-
Returns true if the list of the parameter types of desc1 is equal to - that of desc2.
-
-
equals(Object) - Method in class javassist.bytecode.analysis.MultiArrayType
-
 
-
equals(Object) - Method in class javassist.bytecode.analysis.MultiType
-
 
-
equals(Object) - Method in class javassist.bytecode.analysis.Type
-
 
-
equals(Object) - Method in class javassist.bytecode.annotation.Annotation
-
-
Returns true if the given object represents the same annotation - as this object.
-
-
equals(Object) - Method in class javassist.CtMethod
-
-
Indicates whether obj has the same name and the - same signature as this method.
-
-
ExceptionsAttribute - Class in javassist.bytecode
-
-
Exceptions_attribute.
-
-
ExceptionsAttribute(ConstPool) - Constructor for class javassist.bytecode.ExceptionsAttribute
-
-
Constructs a new exceptions attribute.
-
-
ExceptionTable - Class in javassist.bytecode
-
-
exception_table[] of Code_attribute.
-
-
ExceptionTable(ConstPool) - Constructor for class javassist.bytecode.ExceptionTable
-
-
Constructs an exception_table[].
-
-
execute(MethodInfo, int, CodeIterator, Frame, Subroutine) - Method in class javassist.bytecode.analysis.Executor
-
-
Execute the instruction, modeling the effects on the specified frame and subroutine.
-
-
Executor - Class in javassist.bytecode.analysis
-
-
Executor is responsible for modeling the effects of a JVM instruction on a frame.
-
-
Executor(ClassPool, ConstPool) - Constructor for class javassist.bytecode.analysis.Executor
-
 
-
exit() - Method in class javassist.runtime.Cflow
-
-
Decrements the counter.
-
-
exit(int) - Method in class javassist.bytecode.analysis.ControlFlow.Block
-
-
Returns the n-th block that may be executed after this - block.
-
-
exits() - Method in class javassist.bytecode.analysis.ControlFlow.Block
-
-
Return the number of the blocks that may be executed - after this block.
-
-
exportObject(String, Object) - Method in class javassist.tools.rmi.AppletServer
-
-
Exports an object.
-
-
Expr - Class in javassist.expr
-
-
Expression.
-
-
ExprEditor - Class in javassist.expr
-
-
A translator of method bodies.
-
-
ExprEditor() - Constructor for class javassist.expr.ExprEditor
-
-
Default constructor.
-
-
- - - -

F

-
-
F2D - Static variable in interface javassist.bytecode.Opcode
-
 
-
F2I - Static variable in interface javassist.bytecode.Opcode
-
 
-
F2L - Static variable in interface javassist.bytecode.Opcode
-
 
-
FactoryHelper - Class in javassist.util.proxy
-
-
A helper class for implementing ProxyFactory.
-
-
FactoryHelper() - Constructor for class javassist.util.proxy.FactoryHelper
-
 
-
FADD - Static variable in interface javassist.bytecode.Opcode
-
 
-
fail(ClassNotFoundException) - Static method in class javassist.runtime.DotClass
-
 
-
FALOAD - Static variable in interface javassist.bytecode.Opcode
-
 
-
FASTORE - Static variable in interface javassist.bytecode.Opcode
-
 
-
FCMPG - Static variable in interface javassist.bytecode.Opcode
-
 
-
FCMPL - Static variable in interface javassist.bytecode.Opcode
-
 
-
FCONST_0 - Static variable in interface javassist.bytecode.Opcode
-
 
-
FCONST_1 - Static variable in interface javassist.bytecode.Opcode
-
 
-
FCONST_2 - Static variable in interface javassist.bytecode.Opcode
-
 
-
FDIV - Static variable in interface javassist.bytecode.Opcode
-
 
-
fetchClass(String, int, String, String) - Static method in class javassist.URLClassPath
-
-
Reads a class file on an http server.
-
-
FieldAccess - Class in javassist.expr
-
-
Expression for accessing a field.
-
-
FieldInfo - Class in javassist.bytecode
-
-
field_info structure.
-
-
FieldInfo(ConstPool, String, String) - Constructor for class javassist.bytecode.FieldInfo
-
-
Constructs a field_info structure.
-
-
FINAL - Static variable in class javassist.bytecode.AccessFlag
-
 
-
FINAL - Static variable in class javassist.Modifier
-
 
-
find(String) - Method in class javassist.ByteArrayClassPath
-
-
Obtains the URL.
-
-
find(String) - Method in class javassist.bytecode.InnerClassesAttribute
-
-
Finds the entry for the given inner class.
-
-
find(String) - Method in class javassist.ClassClassPath
-
-
Obtains the URL of the specified class file.
-
-
find(String) - Method in interface javassist.ClassPath
-
-
Returns the uniform resource locator (URL) of the class file - with the specified name.
-
-
find(String) - Method in class javassist.ClassPool
-
-
Searches the class path to obtain the URL of the class file - specified by classname.
-
-
find(String) - Method in class javassist.LoaderClassPath
-
-
Obtains the URL of the specified class file.
-
-
find(String) - Method in class javassist.URLClassPath
-
-
Returns the URL.
-
-
find2Methods(Class<?>, String, String, int, String, Method[]) - Static method in class javassist.util.proxy.RuntimeSupport
-
-
Finds two methods specified by the parameters and stores them - into the given array.
-
-
find2Methods(Object, String, String, int, String, Method[]) - Static method in class javassist.util.proxy.RuntimeSupport
-
- -
-
findMethod(Class<?>, String, String) - Static method in class javassist.util.proxy.RuntimeSupport
-
-
Finds a method with the given name and descriptor.
-
-
findMethod(Object, String, String) - Static method in class javassist.util.proxy.RuntimeSupport
-
- -
-
findSuperClassMethod(Class<?>, String, String) - Static method in class javassist.util.proxy.RuntimeSupport
-
-
Finds a method that has the given name and descriptor and is declared - in the super class.
-
-
findSuperMethod(Object, String, String) - Static method in class javassist.util.proxy.RuntimeSupport
-
-
Finds a method that has the given name and descriptor and is declared - in the super class.
-
-
fix(String) - Method in class javassist.ClassMap
-
-
Prevents a mapping from the specified class name to another name.
-
-
fix(CtClass) - Method in class javassist.ClassMap
-
-
Prevents a mapping from the specified class name to another name.
-
-
FLOAD - Static variable in interface javassist.bytecode.Opcode
-
 
-
FLOAD_0 - Static variable in interface javassist.bytecode.Opcode
-
 
-
FLOAD_1 - Static variable in interface javassist.bytecode.Opcode
-
 
-
FLOAD_2 - Static variable in interface javassist.bytecode.Opcode
-
 
-
FLOAD_3 - Static variable in interface javassist.bytecode.Opcode
-
 
-
FLOAT - Static variable in class javassist.bytecode.analysis.Type
-
-
Represents the float primitive type
-
-
FLOAT - Static variable in class javassist.bytecode.StackMap
-
-
Float_variable_info.tag.
-
-
FLOAT - Static variable in class javassist.bytecode.StackMapTable
-
-
Float_variable_info.tag.
-
-
FloatMemberValue - Class in javassist.bytecode.annotation
-
-
Floating-point number constant value.
-
-
FloatMemberValue(float, ConstPool) - Constructor for class javassist.bytecode.annotation.FloatMemberValue
-
-
Constructs a float constant value.
-
-
FloatMemberValue(int, ConstPool) - Constructor for class javassist.bytecode.annotation.FloatMemberValue
-
-
Constructs a float constant value.
-
-
FloatMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.FloatMemberValue
-
-
Constructs a float constant value.
-
-
floatRead() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
-
Returns the name of a static method with the signature - (Ljava/lang/Object;I)F to replace reading from a float[].
-
-
floatRead() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
-
Returns "arrayReadFloat" as the name of the static method with the signature - (Ljava/lang/Object;I)F to replace reading from a float[].
-
-
floatType - Static variable in class javassist.CtClass
-
-
The CtClass object representing - the float type.
-
-
floatWrite() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
-
Returns the name of a static method with the signature - (Ljava/lang/Object;IF)V to replace writing to a float[].
-
-
floatWrite() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
-
Returns "arrayWriteFloat" as the name of the static method with the signature - (Ljava/lang/Object;IF)V to replace writing to a float[].
-
-
FMUL - Static variable in interface javassist.bytecode.Opcode
-
 
-
FNEG - Static variable in interface javassist.bytecode.Opcode
-
 
-
formalParameterTarget(int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
-
Writes target_type and type_parameter_target - of target_info union.
-
-
forward(Object[], int) - Method in class javassist.tools.rmi.Sample
-
 
-
forwardStatic(Object[], int) - Static method in class javassist.tools.rmi.Sample
-
 
-
Frame - Class in javassist.bytecode.analysis
-
-
Represents the stack frame and local variable table at a particular point in time.
-
-
Frame(int, int) - Constructor for class javassist.bytecode.analysis.Frame
-
-
Create a new frame with the specified local variable table size, and max stack size
-
-
frameAt(int) - Method in class javassist.bytecode.analysis.ControlFlow
-
-
Returns the types of the local variables and stack frame entries - available at the given position.
-
-
framedump - Class in javassist.tools
-
-
framedump is a tool for viewing a merged combination of the instructions and frame state - of all methods in a class.
-
-
FramePrinter - Class in javassist.bytecode.analysis
-
-
A utility class for printing a merged view of the frame state and the - instructions of a method.
-
-
FramePrinter(PrintStream) - Constructor for class javassist.bytecode.analysis.FramePrinter
-
-
Constructs a bytecode printer.
-
-
freeze() - Method in class javassist.CtClass
-
-
Makes the class frozen.
-
-
FREM - Static variable in interface javassist.bytecode.Opcode
-
 
-
FRETURN - Static variable in interface javassist.bytecode.Opcode
-
 
-
FSTORE - Static variable in interface javassist.bytecode.Opcode
-
 
-
FSTORE_0 - Static variable in interface javassist.bytecode.Opcode
-
 
-
FSTORE_1 - Static variable in interface javassist.bytecode.Opcode
-
 
-
FSTORE_2 - Static variable in interface javassist.bytecode.Opcode
-
 
-
FSTORE_3 - Static variable in interface javassist.bytecode.Opcode
-
 
-
FSUB - Static variable in interface javassist.bytecode.Opcode
-
 
-
fullFrame(int, int[], int[], int[], int[]) - Method in class javassist.bytecode.StackMapTable.Writer
-
-
Writes a full_frame.
-
-
fullFrame(int, int, int[], int[], int[], int[]) - Method in class javassist.bytecode.StackMapTable.Walker
-
-
Invoked if the visited frame is full_frame.
-
-
- - - -

G

-
-
Gap() - Constructor for class javassist.bytecode.CodeIterator.Gap
-
 
-
get() - Method in class javassist.bytecode.AttributeInfo
-
-
Returns the info field - of this attribute_info structure.
-
-
get() - Method in class javassist.bytecode.Bytecode
-
-
Returns the produced bytecode sequence.
-
-
get() - Method in class javassist.bytecode.CodeAttribute
-
-
This method is not available.
-
-
get() - Method in class javassist.bytecode.CodeIterator
-
-
Returns a Code attribute read with this iterator.
-
-
get(Object) - Method in class javassist.ClassMap
-
-
Returns the class name to wihch the given jvmClassName - is mapped.
-
-
get(String) - Method in class javassist.ClassPool
-
-
Reads a class file from the source and returns a reference - to the CtClass - object representing that class file.
-
-
get(String) - Method in interface javassist.util.proxy.ProxyFactory.UniqueName
-
-
Returns a unique class name.
-
-
get(String[]) - Method in class javassist.ClassPool
-
-
Reads class files from the source and returns an array of - CtClass - objects representing those class files.
-
-
get(CtClass) - Static method in class javassist.bytecode.analysis.Type
-
-
Obtain the Type for a given class.
-
-
get(ProxyFactory) - Method in interface javassist.util.proxy.ProxyFactory.ClassLoaderProvider
-
-
Returns a class loader.
-
-
getAccessFlags() - Method in class javassist.bytecode.ClassFile
-
-
Returns access flags.
-
-
getAccessFlags() - Method in class javassist.bytecode.FieldInfo
-
-
Returns the access flags.
-
-
getAccessFlags() - Method in class javassist.bytecode.MethodInfo
-
-
Returns access flags.
-
-
getAccessorMaker() - Method in class javassist.CtClass
-
-
Undocumented method.
-
-
getAndRename(String, String) - Method in class javassist.ClassPool
-
-
Reads a class file and constructs a CtClass - object with a new name.
-
-
getAnnotation() - Method in class javassist.bytecode.annotation.AnnotationImpl
-
-
Obtains the internal data structure representing the annotation.
-
-
getAnnotation(Class<?>) - Method in class javassist.CtBehavior
-
-
Returns the annotation if the class has the specified annotation class.
-
-
getAnnotation(Class<?>) - Method in class javassist.CtClass
-
-
Returns the annotation if the class has the specified annotation type.
-
-
getAnnotation(Class<?>) - Method in class javassist.CtField
-
-
Returns the annotation if the class has the specified annotation class.
-
-
getAnnotation(Class<?>) - Method in class javassist.CtMember
-
-
Returns the annotation if the class has the specified annotation type.
-
-
getAnnotation(String) - Method in class javassist.bytecode.AnnotationsAttribute
-
-
Parses the annotations and returns a data structure representing - the annotation with the specified type.
-
-
getAnnotations() - Method in class javassist.bytecode.AnnotationsAttribute
-
-
Parses the annotations and returns a data structure representing - that parsed annotations.
-
-
getAnnotations() - Method in class javassist.bytecode.ParameterAnnotationsAttribute
-
-
Parses the annotations and returns a data structure representing - that parsed annotations.
-
-
getAnnotations() - Method in class javassist.CtBehavior
-
-
Returns the annotations associated with this method or constructor.
-
-
getAnnotations() - Method in class javassist.CtClass
-
-
Returns the annotations associated with this class.
-
-
getAnnotations() - Method in class javassist.CtField
-
-
Returns the annotations associated with this field.
-
-
getAnnotations() - Method in class javassist.CtMember
-
-
Returns the annotations associated with this member.
-
-
getArrayType() - Method in class javassist.CtPrimitiveType
-
-
Returns the array-type code representing the type.
-
-
getAttribute(String) - Method in class javassist.bytecode.ClassFile
-
-
Returns the attribute with the specified name.
-
-
getAttribute(String) - Method in class javassist.bytecode.CodeAttribute
-
-
Returns the attribute with the specified name.
-
-
getAttribute(String) - Method in class javassist.bytecode.FieldInfo
-
-
Returns the attribute with the specified name.
-
-
getAttribute(String) - Method in class javassist.bytecode.MethodInfo
-
-
Returns the attribute with the specified name.
-
-
getAttribute(String) - Method in class javassist.CtBehavior
-
-
Obtains an attribute with the given name.
-
-
getAttribute(String) - Method in class javassist.CtClass
-
-
Obtains an attribute with the given name.
-
-
getAttribute(String) - Method in class javassist.CtField
-
-
Obtains an attribute with the given name.
-
-
getAttribute(String) - Method in class javassist.CtMember
-
-
Obtains a user-defined attribute with the given name.
-
-
getAttributes() - Method in class javassist.bytecode.ClassFile
-
-
Returns all the attributes.
-
-
getAttributes() - Method in class javassist.bytecode.CodeAttribute
-
-
Returns attributes[].
-
-
getAttributes() - Method in class javassist.bytecode.FieldInfo
-
-
Returns all the attributes.
-
-
getAttributes() - Method in class javassist.bytecode.MethodInfo
-
-
Returns all the attributes.
-
-
getAvailableAnnotations() - Method in class javassist.CtBehavior
-
-
Returns the annotations associated with this method or constructor.
-
-
getAvailableAnnotations() - Method in class javassist.CtClass
-
-
Returns the annotations associated with this class.
-
-
getAvailableAnnotations() - Method in class javassist.CtField
-
-
Returns the annotations associated with this field.
-
-
getAvailableAnnotations() - Method in class javassist.CtMember
-
-
Returns the annotations associated with this member.
-
-
getAvailableParameterAnnotations() - Method in class javassist.CtBehavior
-
-
Returns the parameter annotations associated with this method or constructor.
-
-
getCause() - Method in exception javassist.CannotCompileException
-
-
Gets the cause of this throwable.
-
-
getClassBound() - Method in class javassist.bytecode.SignatureAttribute.TypeParameter
-
-
Returns the class bound of this parameter.
-
-
getClassFile() - Method in class javassist.CtClass
-
-
Returns a class file for this class.
-
-
getClassFile2() - Method in class javassist.CtClass
-
-
Returns a class file for this class (read only).
-
-
getClassInfo(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads CONSTANT_Class_info structure - at the given index.
-
-
getClassInfoByDescriptor(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads CONSTANT_Class_info structure - at the given index.
-
-
getClassInitializer() - Method in class javassist.CtClass
-
-
Gets the class initializer (static constructor) - declared in the class.
-
-
getClassLoader() - Method in class javassist.ClassPool
-
-
Get the classloader for toClass(), getAnnotations() in - CtClass, etc.
-
-
getClassMetaobject() - Method in class javassist.tools.reflect.Metaobject
-
-
Obtains the class metaobject associated with this metaobject.
-
-
getClassName() - Method in error javassist.bytecode.annotation.NoSuchClassError
-
-
Returns the name of the class not found.
-
-
getClassName() - Method in class javassist.bytecode.ConstPool
-
-
Returns the name of the class using this constant pool table.
-
-
getClassName() - Method in class javassist.expr.FieldAccess
-
-
Returns the name of the class in which the field is declared.
-
-
getClassName() - Method in class javassist.expr.MethodCall
-
-
Returns the class name of the target object, - which the method is called on.
-
-
getClassName() - Method in class javassist.expr.NewExpr
-
-
Returns the class name of the created object.
-
-
getClassNames() - Method in class javassist.bytecode.ConstPool
-
-
Get all the class names.
-
-
getClassPool() - Method in class javassist.CtClass
-
-
Returns a ClassPool for this class.
-
-
getClazz(String) - Static method in class javassist.runtime.Desc
-
-
Interprets the given class name.
-
-
getCode() - Method in class javassist.bytecode.CodeAttribute
-
-
Returns code[].
-
-
getCodeAttribute() - Method in class javassist.bytecode.MethodInfo
-
-
Returns a Code attribute.
-
-
getCodeLength() - Method in class javassist.bytecode.CodeAttribute
-
-
Returns code_length.
-
-
getCodeLength() - Method in class javassist.bytecode.CodeIterator
-
-
Returns code_length of Code_attribute.
-
-
getComponent() - Method in class javassist.bytecode.analysis.MultiArrayType
-
 
-
getComponent() - Method in class javassist.bytecode.analysis.MultiType
-
-
Always returns null since this type is never used for an array.
-
-
getComponent() - Method in class javassist.bytecode.analysis.Type
-
-
Returns the array component if this type is an array.
-
-
getComponentType() - Method in class javassist.bytecode.SignatureAttribute.ArrayType
-
-
Returns the component type.
-
-
getComponentType() - Method in class javassist.CtClass
-
-
If this object represents an array, this method returns the component - type of the array.
-
-
getComponentType() - Method in class javassist.expr.NewArray
-
-
Returns the type of array components.
-
-
getConstantValue() - Method in class javassist.bytecode.ConstantAttribute
-
-
Returns constantvalue_index.
-
-
getConstantValue() - Method in class javassist.bytecode.FieldInfo
-
-
Finds a ConstantValue attribute and returns the index into - the constant_pool table.
-
-
getConstantValue() - Method in class javassist.CtField
-
-
Returns the value of this field if it is a constant field.
-
-
getConstPool() - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Obtains the constant pool given to the constructor.
-
-
getConstPool() - Method in class javassist.bytecode.AttributeInfo
-
-
Returns a constant pool table.
-
-
getConstPool() - Method in class javassist.bytecode.Bytecode
-
-
Gets a constant pool table.
-
-
getConstPool() - Method in class javassist.bytecode.ClassFile
-
-
Returns a constant pool table.
-
-
getConstPool() - Method in class javassist.bytecode.ClassFileWriter
-
-
Returns a constant pool.
-
-
getConstPool() - Method in class javassist.bytecode.FieldInfo
-
-
Returns the constant pool table used - by this field_info.
-
-
getConstPool() - Method in class javassist.bytecode.MethodInfo
-
-
Returns a constant pool table used by this method.
-
-
getConstructor() - Method in class javassist.expr.ConstructorCall
-
-
Returns the called constructor.
-
-
getConstructor() - Method in class javassist.expr.NewExpr
-
-
Returns the constructor called for creating the object.
-
-
getConstructor(String) - Method in class javassist.CtClass
-
-
Returns the constructor with the given signature, - which is represented by a character string - called method descriptor.
-
-
getConstructors() - Method in class javassist.CtClass
-
-
Returns an array containing CtConstructor objects - representing all the non-private constructors of the class.
-
-
getCreatedDimensions() - Method in class javassist.expr.NewArray
-
-
Returns the number of dimensions of arrays to be created.
-
-
getCtClass() - Method in class javassist.bytecode.analysis.MultiArrayType
-
 
-
getCtClass() - Method in class javassist.bytecode.analysis.MultiType
-
-
Gets the class that corresponds with this type.
-
-
getCtClass() - Method in class javassist.bytecode.analysis.Type
-
-
Returns the class this type represents.
-
-
getCtClass(String) - Method in class javassist.ClassPool
-
-
Returns a CtClass object with the given name.
-
-
getCtlass() - Method in class javassist.bytecode.SignatureAttribute.BaseType
-
-
Returns the CtClass representing this - primitive type.
-
-
getDataSize() - Method in class javassist.CtPrimitiveType
-
-
Returns the data size of the primitive type.
-
-
getDeclaredBehaviors() - Method in class javassist.CtClass
-
-
Gets all the constructors and methods declared in the class.
-
-
getDeclaredClasses() - Method in class javassist.CtClass
-
-
Returns an array of nested classes declared in the class.
-
-
getDeclaredConstructor(CtClass[]) - Method in class javassist.CtClass
-
-
Returns a constructor receiving the specified parameters.
-
-
getDeclaredConstructors() - Method in class javassist.CtClass
-
-
Gets all the constructors declared in the class.
-
-
getDeclaredField(String) - Method in class javassist.CtClass
-
-
Retrieves the field with the specified name among the fields - declared in the class.
-
-
getDeclaredField(String, String) - Method in class javassist.CtClass
-
-
Retrieves the field with the specified name and type among the fields - declared in the class.
-
-
getDeclaredFields() - Method in class javassist.CtClass
-
-
Gets all the fields declared in the class.
-
-
getDeclaredMethod(String) - Method in class javassist.CtClass
-
-
Retrieves the method with the specified name among the methods - declared in the class.
-
-
getDeclaredMethod(String, CtClass[]) - Method in class javassist.CtClass
-
-
Retrieves the method with the specified name and parameter types - among the methods declared in the class.
-
-
getDeclaredMethods() - Method in class javassist.CtClass
-
-
Gets all methods declared in the class.
-
-
getDeclaredMethods(String) - Method in class javassist.CtClass
-
-
Retrieves methods with the specified name among the methods - declared in the class.
-
-
getDeclaringClass() - Method in class javassist.bytecode.CodeAttribute
-
-
Returns the name of the class declaring the method including - this code attribute.
-
-
getDeclaringClass() - Method in class javassist.bytecode.SignatureAttribute.ClassType
-
-
If this class is a member of another class, returns the - class in which this class is declared.
-
-
getDeclaringClass() - Method in class javassist.bytecode.SignatureAttribute.NestedClassType
-
-
Returns the class that declares this nested class.
-
-
getDeclaringClass() - Method in class javassist.CtClass
-
-
If this class is a member class or interface of another class, - then the class enclosing this class is returned.
-
-
getDeclaringClass() - Method in class javassist.CtField
-
-
Returns the class declaring the field.
-
-
getDeclaringClass() - Method in class javassist.CtMember
-
-
Returns the class that declares this member.
-
-
getDefault() - Static method in class javassist.ClassPool
-
-
Returns the default class pool.
-
-
getDefaultValue() - Method in class javassist.bytecode.AnnotationDefaultAttribute
-
-
Obtains the default value represented by this attribute.
-
-
getDescriptor() - Method in class javassist.bytecode.FieldInfo
-
-
Returns the field descriptor.
-
-
getDescriptor() - Method in class javassist.bytecode.MethodInfo
-
-
Returns a method descriptor.
-
-
getDescriptor() - Method in class javassist.bytecode.SignatureAttribute.BaseType
-
-
Returns the descriptor representing this primitive type.
-
-
getDescriptor() - Method in class javassist.CtPrimitiveType
-
-
Returns the descriptor representing this type.
-
-
getDimension() - Method in class javassist.bytecode.SignatureAttribute.ArrayType
-
-
Returns the dimension of the array.
-
-
getDimension() - Method in class javassist.expr.NewArray
-
-
Returns the dimension of the created array.
-
-
getDimensions() - Method in class javassist.bytecode.analysis.MultiArrayType
-
 
-
getDimensions() - Method in class javassist.bytecode.analysis.Type
-
-
Returns the number of dimensions of this array.
-
-
getDoubleInfo(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads CONSTANT_Double_info structure - at the given index.
-
-
getEnclosingBehavior() - Method in class javassist.CtClass
-
-
Returns the immediately enclosing method of this class.
-
-
getEnclosingClass() - Method in class javassist.expr.Expr
-
-
Returns the class that declares the method enclosing - this expression.
-
-
getEnclosingMethod() - Method in class javassist.CtClass
-
-
Deprecated. -
The enclosing method might be a constructor. - Use CtClass.getEnclosingBehavior().
-
-
-
getException(int) - Method in class javassist.bytecode.ExceptionsAttribute
-
-
Returns the value of exception_index_table[nth].
-
-
getExceptionIndexes() - Method in class javassist.bytecode.ExceptionsAttribute
-
-
Returns exception_index_table[].
-
-
getExceptions() - Method in class javassist.bytecode.ExceptionsAttribute
-
-
Returns the names of exceptions that the method may throw.
-
-
getExceptionsAttribute() - Method in class javassist.bytecode.MethodInfo
-
-
Returns an Exceptions attribute.
-
-
getExceptionTable() - Method in class javassist.bytecode.Bytecode
-
-
Returns exception_table.
-
-
getExceptionTable() - Method in class javassist.bytecode.CodeAttribute
-
-
Returns exception_table[].
-
-
getExceptionTypes() - Method in class javassist.bytecode.SignatureAttribute.MethodSignature
-
-
Returns the types of the exceptions that may be thrown.
-
-
getExceptionTypes() - Method in class javassist.CtBehavior
-
-
Obtains exceptions that this method/constructor may throw.
-
-
getField() - Method in class javassist.expr.FieldAccess
-
-
Returns the field accessed by this expression.
-
-
getField(String) - Method in class javassist.CtClass
-
-
Returns the field with the specified name.
-
-
getField(String, String) - Method in class javassist.CtClass
-
-
Returns the field with the specified name and type.
-
-
GETFIELD - Static variable in interface javassist.bytecode.Opcode
-
 
-
getFieldInfo() - Method in class javassist.CtField
-
-
Returns the FieldInfo representing the field in the class file.
-
-
getFieldInfo2() - Method in class javassist.CtField
-
-
Returns the FieldInfo representing the field in the class - file (read only).
-
-
getFieldName() - Method in class javassist.expr.FieldAccess
-
-
Returns the name of the field.
-
-
getFieldrefClass(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the class_index field of the - CONSTANT_Fieldref_info structure - at the given index.
-
-
getFieldrefClassName(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the class_index field of the - CONSTANT_Fieldref_info structure - at the given index.
-
-
getFieldrefName(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the name_index field of the - CONSTANT_NameAndType_info structure - indirectly specified by the given index.
-
-
getFieldrefNameAndType(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the name_and_type_index field of the - CONSTANT_Fieldref_info structure - at the given index.
-
-
getFieldrefType(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the descriptor_index field of the - CONSTANT_NameAndType_info structure - indirectly specified by the given index.
-
-
getFields() - Method in class javassist.bytecode.ClassFile
-
-
Returns all the fields declared in the class.
-
-
getFields() - Method in class javassist.CtClass
-
-
Returns an array containing CtField objects - representing all the non-private fields of the class.
-
-
getFieldWriter() - Method in class javassist.bytecode.ClassFileWriter
-
-
Returns a filed writer.
-
-
getFileName() - Method in class javassist.bytecode.SourceFileAttribute
-
-
Returns the file name indicated by sourcefile_index.
-
-
getFileName() - Method in class javassist.expr.Cast
-
-
Returns the source file containing the type-cast expression.
-
-
getFileName() - Method in class javassist.expr.Expr
-
-
Returns the source file containing the expression.
-
-
getFileName() - Method in class javassist.expr.FieldAccess
-
-
Returns the source file containing the field access.
-
-
getFileName() - Method in class javassist.expr.Handler
-
-
Returns the source file containing the catch clause.
-
-
getFileName() - Method in class javassist.expr.Instanceof
-
-
Returns the source file containing the - instanceof expression.
-
-
getFileName() - Method in class javassist.expr.MethodCall
-
-
Returns the source file containing the method call.
-
-
getFileName() - Method in class javassist.expr.NewArray
-
-
Returns the source file containing the array creation.
-
-
getFileName() - Method in class javassist.expr.NewExpr
-
-
Returns the source file containing the new expression.
-
-
getFloatInfo(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads CONSTANT_Float_info structure - at the given index.
-
-
getGenericSignature() - Method in class javassist.CtBehavior
-
-
Returns the generic signature of the method.
-
-
getGenericSignature() - Method in class javassist.CtClass
-
-
Returns the generic signature of the class.
-
-
getGenericSignature() - Method in class javassist.CtField
-
-
Returns the generic signature of the field.
-
-
getGenericSignature() - Method in class javassist.CtMember
-
-
Returns the generic signature of the member.
-
-
getGetMethodDescriptor() - Method in class javassist.CtPrimitiveType
-
-
Returns the descriptor of the method for retrieving the value - from the wrapper object.
-
-
getGetMethodName() - Method in class javassist.CtPrimitiveType
-
-
Returns the name of the method for retrieving the value - from the wrapper object.
-
-
getHandler() - Method in interface javassist.util.proxy.ProxyObject
-
-
Get the handler.
-
-
getHandler(Proxy) - Static method in class javassist.util.proxy.ProxyFactory
-
-
Obtains the method handler of the given proxy object.
-
-
getImportedPackages() - Method in class javassist.ClassPool
-
-
Returns all the package names recorded by importPackage().
-
-
getInnerAccessFlags() - Method in class javassist.bytecode.ClassFile
-
-
Returns access and property flags of this nested class.
-
-
getIntegerInfo(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads CONSTANT_Integer_info structure - at the given index.
-
-
getInterfaceBound() - Method in class javassist.bytecode.SignatureAttribute.TypeParameter
-
-
Returns the interface bound of this parameter.
-
-
getInterfaceMethodrefClass(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the class_index field of the - CONSTANT_InterfaceMethodref_info structure - at the given index.
-
-
getInterfaceMethodrefClassName(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the class_index field of the - CONSTANT_InterfaceMethodref_info structure - at the given index.
-
-
getInterfaceMethodrefName(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the name_index field of the - CONSTANT_NameAndType_info structure - indirectly specified by the given index.
-
-
getInterfaceMethodrefNameAndType(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the name_and_type_index field of the - CONSTANT_InterfaceMethodref_info structure - at the given index.
-
-
getInterfaceMethodrefType(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the descriptor_index field of the - CONSTANT_NameAndType_info structure - indirectly specified by the given index.
-
-
getInterfaces() - Method in class javassist.bytecode.ClassFile
-
-
Returns the names of the interfaces implemented by the class.
-
-
getInterfaces() - Method in class javassist.bytecode.SignatureAttribute.ClassSignature
-
-
Returns the super interfaces.
-
-
getInterfaces() - Method in class javassist.CtClass
-
-
Obtains the class objects representing the interfaces implemented - by the class or, if this object represents an interface, the interfaces - extended by that interface.
-
-
getInterfaces() - Method in class javassist.util.proxy.ProxyFactory
-
-
Obtains the interfaces set by setInterfaces.
-
-
getInvokeDynamicBootstrap(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the bootstrap_method_attr_index field of the - CONSTANT_InvokeDynamic_info structure - at the given index.
-
-
getInvokeDynamicNameAndType(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the name_and_type_index field of the - CONSTANT_InvokeDynamic_info structure - at the given index.
-
-
getInvokeDynamicType(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the descriptor_index field of the - CONSTANT_NameAndType_info structure - indirectly specified by the given index.
-
-
getJavaClass() - Method in class javassist.tools.reflect.ClassMetaobject
-
-
Obtains the java.lang.Class representing this class.
-
-
getJumpTarget(int, CodeIterator) - Static method in class javassist.bytecode.analysis.Util
-
 
-
getKey(Class<?>, Class<?>[], byte[], boolean) - Method in class javassist.util.proxy.ProxyFactory
-
 
-
getKind() - Method in class javassist.bytecode.SignatureAttribute.TypeArgument
-
-
Returns the kind of this type argument.
-
-
getLdcValue(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads CONSTANT_Integer_info, _Float_info, - _Long_info, _Double_info, or - _String_info structure.
-
-
getLineNumber() - Method in class javassist.expr.Cast
-
-
Returns the line number of the source line containing the - type-cast expression.
-
-
getLineNumber() - Method in class javassist.expr.Expr
-
-
Returns the line number of the source line containing the expression.
-
-
getLineNumber() - Method in class javassist.expr.FieldAccess
-
-
Returns the line number of the source line containing the - field access.
-
-
getLineNumber() - Method in class javassist.expr.Handler
-
-
Returns the source line number of the catch clause.
-
-
getLineNumber() - Method in class javassist.expr.Instanceof
-
-
Returns the line number of the source line containing the - instanceof expression.
-
-
getLineNumber() - Method in class javassist.expr.MethodCall
-
-
Returns the line number of the source line containing the - method call.
-
-
getLineNumber() - Method in class javassist.expr.NewArray
-
-
Returns the line number of the source line containing the - array creation.
-
-
getLineNumber() - Method in class javassist.expr.NewExpr
-
-
Returns the line number of the source line containing the - new expression.
-
-
getLineNumber(int) - Method in class javassist.bytecode.MethodInfo
-
-
Returns the line number of the source line corresponding to the specified - bytecode contained in this method.
-
-
getLocal(int) - Method in class javassist.bytecode.analysis.Frame
-
-
Returns the local varaible table entry at index.
-
-
getLongInfo(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads CONSTANT_Long_info structure - at the given index.
-
-
getLongName() - Method in class javassist.CtBehavior
-
-
Returns the method or constructor name followed by parameter types - such as javassist.CtBehavior.stBody(String).
-
-
getLongName() - Method in class javassist.CtConstructor
-
-
Returns the constructor name followed by parameter types - such as javassist.CtConstructor(CtClass[],CtClass).
-
-
getLongName() - Method in class javassist.CtMethod
-
-
Returns the method name followed by parameter types - such as javassist.CtMethod.setBody(String).
-
-
getMajorVersion() - Method in class javassist.bytecode.ClassFile
-
-
Get the Major version.
-
-
getMark() - Method in class javassist.bytecode.CodeIterator
-
-
Gets the index of the position of the mark set by - setMark.
-
-
getMaxLocals() - Method in class javassist.bytecode.Bytecode
-
-
Gets max_locals.
-
-
getMaxLocals() - Method in class javassist.bytecode.CodeAttribute
-
-
Returns max_locals.
-
-
getMaxStack() - Method in class javassist.bytecode.Bytecode
-
-
Gets max_stack.
-
-
getMaxStack() - Method in class javassist.bytecode.CodeAttribute
-
-
Returns max_stack.
-
-
getMemberClass(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the class_index field of the - CONSTANT_Fieldref_info, - CONSTANT_Methodref_info, - or CONSTANT_Interfaceref_info, - structure at the given index.
-
-
getMemberNameAndType(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the name_and_type_index field of the - CONSTANT_Fieldref_info, - CONSTANT_Methodref_info, - or CONSTANT_Interfaceref_info, - structure at the given index.
-
-
getMemberNames() - Method in class javassist.bytecode.annotation.Annotation
-
-
Obtains all the member names.
-
-
getMemberValue(String) - Method in class javassist.bytecode.annotation.Annotation
-
-
Obtains the member value with the given name.
-
-
getMethod() - Method in class javassist.expr.ConstructorCall
-
-
Always throws a NotFoundException.
-
-
getMethod() - Method in class javassist.expr.MethodCall
-
-
Returns the called method.
-
-
getMethod(int) - Method in class javassist.tools.reflect.ClassMetaobject
-
-
Returns the java.lang.reflect.Method object representing - the method specified by identifier.
-
-
getMethod(String) - Method in class javassist.bytecode.ClassFile
-
-
Returns the method with the specified name.
-
-
getMethod(String, String) - Method in class javassist.ClassPool
-
-
Reads a class file and obtains a compile-time method.
-
-
getMethod(String, String) - Method in class javassist.CtClass
-
-
Returns the method with the given name and signature.
-
-
getMethodHandleIndex(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the reference_index field of the - CONSTANT_MethodHandle_info structure - at the given index.
-
-
getMethodHandleKind(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the reference_kind field of the - CONSTANT_MethodHandle_info structure - at the given index.
-
-
getMethodIndex(String, Class<?>[]) - Method in class javassist.tools.reflect.ClassMetaobject
-
-
Returns the identifier index of the method, as identified by its - original name.
-
-
getMethodInfo() - Method in class javassist.CtBehavior
-
-
Returns the MethodInfo representing this method/constructor in the - class file.
-
-
getMethodInfo2() - Method in class javassist.CtBehavior
-
-
Returns the MethodInfo representing the method/constructor in the - class file (read only).
-
-
getMethodName() - Method in class javassist.expr.ConstructorCall
-
-
Returns "super" or ""this".
-
-
getMethodName() - Method in class javassist.expr.MethodCall
-
-
Returns the name of the called method.
-
-
getMethodName(int) - Method in class javassist.tools.reflect.ClassMetaobject
-
-
Returns the name of the method specified - by identifier.
-
-
getMethodName(int) - Method in class javassist.tools.reflect.Metaobject
-
-
Returns the name of the method specified - by identifier.
-
-
getMethodrefClass(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the class_index field of the - CONSTANT_Methodref_info structure - at the given index.
-
-
getMethodrefClassName(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the class_index field of the - CONSTANT_Methodref_info structure - at the given index.
-
-
getMethodrefName(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the name_index field of the - CONSTANT_NameAndType_info structure - indirectly specified by the given index.
-
-
getMethodrefNameAndType(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the name_and_type_index field of the - CONSTANT_Methodref_info structure - at the given index.
-
-
getMethodrefType(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the descriptor_index field of the - CONSTANT_NameAndType_info structure - indirectly specified by the given index.
-
-
getMethods() - Method in class javassist.bytecode.BootstrapMethodsAttribute
-
-
Obtains bootstrap_methods in this attribute.
-
-
getMethods() - Method in class javassist.bytecode.ClassFile
-
-
Returns all the methods declared in the class.
-
-
getMethods() - Method in class javassist.CtClass
-
-
Returns an array containing CtMethod objects - representing all the non-private methods of the class.
-
-
getMethodTypeInfo(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the descriptor_index field of the - CONSTANT_MethodType_info structure - at the given index.
-
-
getMethodWriter() - Method in class javassist.bytecode.ClassFileWriter
-
-
Returns a method writer.
-
-
getMinorVersion() - Method in class javassist.bytecode.ClassFile
-
-
Get the minor version.
-
-
getModifiers() - Method in class javassist.CtBehavior
-
-
Obtains the modifiers of the method/constructor.
-
-
getModifiers() - Method in class javassist.CtClass
-
-
Returns the modifiers for this class, encoded in an integer.
-
-
getModifiers() - Method in class javassist.CtField
-
-
Returns the encoded modifiers of the field.
-
-
getModifiers() - Method in class javassist.CtMember
-
-
Obtains the modifiers of the member.
-
-
getModifiers() - Method in class javassist.CtPrimitiveType
-
-
Returns the modifiers for this type.
-
-
getModuleInfo(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the name_index field of the - CONSTANT_Module_info structure at the given index.
-
-
getName() - Method in class javassist.bytecode.AttributeInfo
-
-
Returns an attribute name.
-
-
getName() - Method in class javassist.bytecode.ClassFile
-
-
Returns the class name.
-
-
getName() - Method in class javassist.bytecode.FieldInfo
-
-
Returns the field name.
-
-
getName() - Method in class javassist.bytecode.MethodInfo
-
-
Returns a method name.
-
-
getName() - Method in class javassist.bytecode.SignatureAttribute.ClassType
-
-
Returns the class name.
-
-
getName() - Method in class javassist.bytecode.SignatureAttribute.TypeParameter
-
-
Returns the name of the type parameter.
-
-
getName() - Method in class javassist.bytecode.SignatureAttribute.TypeVariable
-
-
Returns the variable name.
-
-
getName() - Method in class javassist.CtClass
-
-
Obtains the fully-qualified name of the class.
-
-
getName() - Method in class javassist.CtConstructor
-
-
Obtains the name of this constructor.
-
-
getName() - Method in class javassist.CtField
-
-
Returns the name of the field.
-
-
getName() - Method in class javassist.CtMember
-
-
Obtains the name of the member.
-
-
getName() - Method in class javassist.CtMethod
-
-
Obtains the name of this method.
-
-
getName() - Method in class javassist.tools.reflect.ClassMetaobject
-
-
Obtains the name of this class.
-
-
getNameAndTypeDescriptor(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the descriptor_index field of the - CONSTANT_NameAndType_info structure - at the given index.
-
-
getNameAndTypeName(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the name_index field of the - CONSTANT_NameAndType_info structure - at the given index.
-
-
getNestedClasses() - Method in class javassist.CtClass
-
-
Returns an array of nested classes declared in the class.
-
-
getObject() - Method in class javassist.tools.reflect.Metaobject
-
-
Obtains the object controlled by this metaobject.
-
-
getObject(String) - Method in class javassist.tools.rmi.ObjectImporter
-
-
Finds the object exported by a server with the specified name.
-
-
getOrNull(String) - Method in class javassist.ClassPool
-
-
Reads a class file from the source and returns a reference - to the CtClass - object representing that class file.
-
-
getPackageInfo(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads the name_index field of the - CONSTANT_Package_info structure at the given index.
-
-
getPackageName() - Method in class javassist.CtClass
-
-
Obtains the package name.
-
-
getParamDescriptor(String) - Static method in class javassist.bytecode.Descriptor
-
-
Returns the signature of the given descriptor.
-
-
getParameterAnnotations() - Method in class javassist.CtBehavior
-
-
Returns the parameter annotations associated with this method or constructor.
-
-
getParameters() - Method in class javassist.bytecode.SignatureAttribute.ClassSignature
-
-
Returns the type parameters.
-
-
getParameterTypes() - Method in class javassist.bytecode.SignatureAttribute.MethodSignature
-
-
Returns the types of the formal parameters.
-
-
getParameterTypes() - Method in class javassist.CtBehavior
-
-
Obtains parameter types of this method/constructor.
-
-
getParameterTypes(int) - Method in class javassist.tools.reflect.ClassMetaobject
-
-
Returns an array of Class objects representing the - formal parameter types of the method specified - by identifier.
-
-
getParameterTypes(int) - Method in class javassist.tools.reflect.Metaobject
-
-
Returns an array of Class objects representing the - formal parameter types of the method specified - by identifier.
-
-
getParameterTypes(String, ClassPool) - Static method in class javassist.bytecode.Descriptor
-
-
Returns the CtClass objects representing the parameter - types specified by the given descriptor.
-
-
getParams(String) - Static method in class javassist.runtime.Desc
-
-
Interprets the given type descriptor representing a method - signature.
-
-
getPort() - Method in class javassist.tools.web.Viewer
-
-
Returns the port number.
-
-
getReason() - Method in exception javassist.CannotCompileException
-
-
Gets a long message if it is available.
-
-
getReason() - Method in exception javassist.tools.reflect.CannotInvokeException
-
-
Returns the cause of this exception.
-
-
getRefClasses() - Method in class javassist.CtClass
-
-
Returns a collection of the names of all the classes - referenced in this class.
-
-
getRefClasses(Map<String, String>) - Method in class javassist.bytecode.ClassFile
-
-
Internal-use only.
-
-
getReflectiveMethods() - Method in class javassist.tools.reflect.ClassMetaobject
-
-
Returns an array of the methods defined on the given reflective - object.
-
-
getReturnOp() - Method in class javassist.CtPrimitiveType
-
-
Returns the opcode for returning a value of the type.
-
-
getReturnType() - Method in class javassist.bytecode.SignatureAttribute.MethodSignature
-
-
Returns the type of the returned value.
-
-
getReturnType() - Method in class javassist.CtMethod
-
-
Obtains the type of the returned value.
-
-
getReturnType(int) - Method in class javassist.tools.reflect.ClassMetaobject
-
-
Returns a Class objects representing the - return type of the method specified by identifier.
-
-
getReturnType(int) - Method in class javassist.tools.reflect.Metaobject
-
-
Returns a Class objects representing the - return type of the method specified by identifier.
-
-
getReturnType(String, ClassPool) - Static method in class javassist.bytecode.Descriptor
-
-
Returns the CtClass object representing the return - type specified by the given descriptor.
-
-
getServer() - Method in class javassist.tools.web.Viewer
-
-
Returns the server name.
-
-
getSignature() - Method in class javassist.bytecode.SignatureAttribute
-
-
Returns the generic signature indicated by signature_index.
-
-
getSignature() - Method in class javassist.CtBehavior
-
-
Returns the method signature (the parameter types - and the return type).
-
-
getSignature() - Method in class javassist.CtField
-
-
Returns the character string representing the type of the field.
-
-
getSignature() - Method in class javassist.CtMember
-
-
Returns the character string representing the signature of the member.
-
-
getSignature() - Method in class javassist.expr.FieldAccess
-
-
Returns the signature of the field type.
-
-
getSignature() - Method in class javassist.expr.MethodCall
-
-
Returns the method signature (the parameter types - and the return type).
-
-
getSignature() - Method in class javassist.expr.NewExpr
-
-
Get the signature of the constructor - - The signature is represented by a character string - called method descriptor, which is defined in the JVM specification.
-
-
getSimpleName() - Method in class javassist.CtClass
-
-
Obtains the not-qualified class name.
-
-
getSize() - Method in class javassist.bytecode.analysis.MultiArrayType
-
 
-
getSize() - Method in class javassist.bytecode.analysis.MultiType
-
-
Always returns 1, since this type is a reference.
-
-
getSize() - Method in class javassist.bytecode.analysis.Type
-
-
Gets the word size of this type.
-
-
getSize() - Method in class javassist.bytecode.ConstPool
-
-
Returns the number of entries in this table.
-
-
getSourceFile() - Method in class javassist.bytecode.ClassFile
-
-
Returns the source file containing this class.
-
-
getStack(int) - Method in class javassist.bytecode.analysis.Frame
-
-
Returns the type on the stack at the specified index.
-
-
getStackDepth() - Method in class javassist.bytecode.Bytecode
-
-
Returns the current stack depth.
-
-
GETSTATIC - Static variable in interface javassist.bytecode.Opcode
-
 
-
getStaticInitializer() - Method in class javassist.bytecode.ClassFile
-
-
Returns a static initializer (class initializer), or null if it does not - exist.
-
-
getStringInfo(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads CONSTANT_String_info structure - at the given index.
-
-
getSuperclass() - Method in class javassist.bytecode.ClassFile
-
-
Returns the super class name.
-
-
getSuperclass() - Method in class javassist.CtClass
-
-
Obtains the class object representing the superclass of the - class.
-
-
getSuperclass() - Method in class javassist.util.proxy.ProxyFactory
-
-
Obtains the super class set by setSuperclass().
-
-
getSuperClass() - Method in class javassist.bytecode.SignatureAttribute.ClassSignature
-
-
Returns the super class.
-
-
getSuperclassId() - Method in class javassist.bytecode.ClassFile
-
-
Returns the index of the constant pool entry representing the super - class.
-
-
getTag(int) - Method in class javassist.bytecode.ConstPool
-
-
Returns the tag field of the constant pool table - entry at the given index.
-
-
getter(String, CtField) - Static method in class javassist.CtNewMethod
-
-
Creates a public getter method.
-
-
getThisClassInfo() - Method in class javassist.bytecode.ConstPool
-
-
Returns the index of CONSTANT_Class_info structure - specifying the class using this constant pool table.
-
-
getTopIndex() - Method in class javassist.bytecode.analysis.Frame
-
-
Gets the index of the type sitting at the top of the stack.
-
-
getType() - Method in class javassist.bytecode.annotation.ArrayMemberValue
-
-
Obtains the type of the elements.
-
-
getType() - Method in class javassist.bytecode.annotation.EnumMemberValue
-
-
Obtains the enum type name.
-
-
getType() - Method in class javassist.bytecode.SignatureAttribute.TypeArgument
-
-
Returns the type represented by this argument - if the argument is not a wildcard type.
-
-
getType() - Method in class javassist.CtField
-
-
Returns the type of the field.
-
-
getType() - Method in class javassist.expr.Cast
-
-
Returns the CtClass object representing - the type specified by the cast.
-
-
getType() - Method in class javassist.expr.Handler
-
-
Returns the type handled by the catch clause.
-
-
getType() - Method in class javassist.expr.Instanceof
-
-
Returns the CtClass object representing - the type name on the right hand side - of the instanceof operator.
-
-
getType(String) - Static method in class javassist.runtime.Desc
-
-
Interprets the given type descriptor.
-
-
getTypeArguments() - Method in class javassist.bytecode.SignatureAttribute.ClassType
-
-
Returns the type arguments.
-
-
getTypeName() - Method in class javassist.bytecode.annotation.Annotation
-
-
Obtains the name of the annotation type.
-
-
getTypeName() - Method in class javassist.bytecode.annotation.AnnotationImpl
-
-
Obtains the name of the annotation type.
-
-
getTypeParameters() - Method in class javassist.bytecode.SignatureAttribute.MethodSignature
-
-
Returns the formal type parameters.
-
-
getURL() - Method in class javassist.CtClass
-
-
Returns the uniform resource locator (URL) of the class file.
-
-
getUtf8Info(int) - Method in class javassist.bytecode.ConstPool
-
-
Reads CONSTANT_utf8_info structure - at the given index.
-
-
getValue() - Method in class javassist.bytecode.annotation.AnnotationMemberValue
-
-
Obtains the value.
-
-
getValue() - Method in class javassist.bytecode.annotation.ArrayMemberValue
-
-
Obtains the elements of the array.
-
-
getValue() - Method in class javassist.bytecode.annotation.BooleanMemberValue
-
-
Obtains the value of the member.
-
-
getValue() - Method in class javassist.bytecode.annotation.ByteMemberValue
-
-
Obtains the value of the member.
-
-
getValue() - Method in class javassist.bytecode.annotation.CharMemberValue
-
-
Obtains the value of the member.
-
-
getValue() - Method in class javassist.bytecode.annotation.ClassMemberValue
-
-
Obtains the value of the member.
-
-
getValue() - Method in class javassist.bytecode.annotation.DoubleMemberValue
-
-
Obtains the value of the member.
-
-
getValue() - Method in class javassist.bytecode.annotation.EnumMemberValue
-
-
Obtains the name of the enum constant value.
-
-
getValue() - Method in class javassist.bytecode.annotation.FloatMemberValue
-
-
Obtains the value of the member.
-
-
getValue() - Method in class javassist.bytecode.annotation.IntegerMemberValue
-
-
Obtains the value of the member.
-
-
getValue() - Method in class javassist.bytecode.annotation.LongMemberValue
-
-
Obtains the value of the member.
-
-
getValue() - Method in class javassist.bytecode.annotation.ShortMemberValue
-
-
Obtains the value of the member.
-
-
getValue() - Method in class javassist.bytecode.annotation.StringMemberValue
-
-
Obtains the value of the member.
-
-
getWrapperName() - Method in class javassist.CtPrimitiveType
-
-
Returns the name of the wrapper class.
-
-
GOTO - Static variable in interface javassist.bytecode.Opcode
-
 
-
GOTO_W - Static variable in interface javassist.bytecode.Opcode
-
 
-
growStack(int) - Method in class javassist.bytecode.Bytecode
-
-
Increases the current stack depth.
-
-
- - - -

H

-
-
Handler - Class in javassist.expr
-
-
A catch clause or a finally block.
-
-
handlerPc(int) - Method in class javassist.bytecode.ExceptionTable
-
-
Returns handlerPc of the n-th entry.
-
-
hasAnnotation(Class<?>) - Method in class javassist.CtClass
-
-
Returns true if the class has the specified annotation type.
-
-
hasAnnotation(Class<?>) - Method in class javassist.CtMember
-
-
Returns true if the class has the specified annotation type.
-
-
hasAnnotation(String) - Method in class javassist.CtBehavior
-
-
Returns true if the class has the specified annotation type.
-
-
hasAnnotation(String) - Method in class javassist.CtClass
-
-
Returns true if the class has the specified annotation type.
-
-
hasAnnotation(String) - Method in class javassist.CtField
-
-
Returns true if the class has the specified annotation type.
-
-
hasAnnotation(String) - Method in class javassist.CtMember
-
-
Returns true if the class has the specified annotation type.
-
-
hashCode() - Method in class javassist.bytecode.analysis.MultiArrayType
-
 
-
hashCode() - Method in class javassist.bytecode.analysis.MultiType
-
 
-
hashCode() - Method in class javassist.bytecode.analysis.Type
-
 
-
hashCode() - Method in class javassist.bytecode.annotation.Annotation
-
 
-
hashCode() - Method in class javassist.bytecode.annotation.AnnotationImpl
-
-
Returns a hash code value for this object.
-
-
hashCode() - Method in class javassist.CtMethod
-
-
Returns a hash code value for the method.
-
-
hasNext() - Method in class javassist.bytecode.CodeIterator
-
-
Returns true if there is more instructions.
-
-
hasNext() - Method in class javassist.bytecode.Descriptor.Iterator
-
-
Returns true if the iteration has more elements.
-
-
hostClassIndex() - Method in class javassist.bytecode.NestHostAttribute
-
-
Returns host_class_index.
-
-
HotSwapAgent - Class in javassist.util
-
-
A utility class for dynamically adding a new method - or modifying an existing method body.
-
-
HotSwapAgent() - Constructor for class javassist.util.HotSwapAgent
-
 
-
HotSwapper - Class in javassist.util
-
-
A utility class for dynamically reloading a class by - the Java Platform Debugger Architecture (JPDA), or HotSwap.
-
-
HotSwapper(int) - Constructor for class javassist.util.HotSwapper
-
-
Connects to the JVM.
-
-
HotSwapper(String) - Constructor for class javassist.util.HotSwapper
-
-
Connects to the JVM.
-
-
htmlfileBase - Variable in class javassist.tools.web.Webserver
-
-
The top directory of html (and .gif, .class, ...) files.
-
-
- - - -

I

-
-
I2B - Static variable in interface javassist.bytecode.Opcode
-
 
-
I2C - Static variable in interface javassist.bytecode.Opcode
-
 
-
I2D - Static variable in interface javassist.bytecode.Opcode
-
 
-
I2F - Static variable in interface javassist.bytecode.Opcode
-
 
-
I2L - Static variable in interface javassist.bytecode.Opcode
-
 
-
I2S - Static variable in interface javassist.bytecode.Opcode
-
 
-
IADD - Static variable in interface javassist.bytecode.Opcode
-
 
-
IALOAD - Static variable in interface javassist.bytecode.Opcode
-
 
-
IAND - Static variable in interface javassist.bytecode.Opcode
-
 
-
IASTORE - Static variable in interface javassist.bytecode.Opcode
-
 
-
ICONST_0 - Static variable in interface javassist.bytecode.Opcode
-
 
-
ICONST_1 - Static variable in interface javassist.bytecode.Opcode
-
 
-
ICONST_2 - Static variable in interface javassist.bytecode.Opcode
-
 
-
ICONST_3 - Static variable in interface javassist.bytecode.Opcode
-
 
-
ICONST_4 - Static variable in interface javassist.bytecode.Opcode
-
 
-
ICONST_5 - Static variable in interface javassist.bytecode.Opcode
-
 
-
ICONST_M1 - Static variable in interface javassist.bytecode.Opcode
-
 
-
IDIV - Static variable in interface javassist.bytecode.Opcode
-
 
-
IF_ACMPEQ - Static variable in interface javassist.bytecode.Opcode
-
 
-
IF_ACMPNE - Static variable in interface javassist.bytecode.Opcode
-
 
-
IF_ICMPEQ - Static variable in interface javassist.bytecode.Opcode
-
 
-
IF_ICMPGE - Static variable in interface javassist.bytecode.Opcode
-
 
-
IF_ICMPGT - Static variable in interface javassist.bytecode.Opcode
-
 
-
IF_ICMPLE - Static variable in interface javassist.bytecode.Opcode
-
 
-
IF_ICMPLT - Static variable in interface javassist.bytecode.Opcode
-
 
-
IF_ICMPNE - Static variable in interface javassist.bytecode.Opcode
-
 
-
IFEQ - Static variable in interface javassist.bytecode.Opcode
-
 
-
IFGE - Static variable in interface javassist.bytecode.Opcode
-
 
-
IFGT - Static variable in interface javassist.bytecode.Opcode
-
 
-
IFLE - Static variable in interface javassist.bytecode.Opcode
-
 
-
IFLT - Static variable in interface javassist.bytecode.Opcode
-
 
-
IFNE - Static variable in interface javassist.bytecode.Opcode
-
 
-
IFNONNULL - Static variable in interface javassist.bytecode.Opcode
-
 
-
IFNULL - Static variable in interface javassist.bytecode.Opcode
-
 
-
IINC - Static variable in interface javassist.bytecode.Opcode
-
 
-
ILOAD - Static variable in interface javassist.bytecode.Opcode
-
 
-
ILOAD_0 - Static variable in interface javassist.bytecode.Opcode
-
 
-
ILOAD_1 - Static variable in interface javassist.bytecode.Opcode
-
 
-
ILOAD_2 - Static variable in interface javassist.bytecode.Opcode
-
 
-
ILOAD_3 - Static variable in interface javassist.bytecode.Opcode
-
 
-
importPackage(String) - Method in class javassist.ClassPool
-
-
Record a package name so that the Javassist compiler searches - the package to resolve a class name.
-
-
IMUL - Static variable in interface javassist.bytecode.Opcode
-
 
-
incMaxLocals(int) - Method in class javassist.bytecode.Bytecode
-
-
Increments max_locals.
-
-
incoming(int) - Method in class javassist.bytecode.analysis.ControlFlow.Block
-
-
Returns the block that the control may jump into this block from.
-
-
incomings() - Method in class javassist.bytecode.analysis.ControlFlow.Block
-
-
Returns the number of the control paths entering this block.
-
-
index - Variable in class javassist.bytecode.LineNumberAttribute.Pc
-
-
The index into the code array.
-
-
index() - Method in class javassist.bytecode.analysis.ControlFlow.Block
-
-
Returns the position of this block in the array of - basic blocks that the basicBlocks method - returns.
-
-
index(int) - Method in class javassist.bytecode.LocalVariableAttribute
-
-
Returns local_variable_table[i].index.
-
-
indexOfBytecode() - Method in class javassist.expr.Expr
-
-
Returns the index of the bytecode corresponding to the expression.
-
-
INEG - Static variable in interface javassist.bytecode.Opcode
-
 
-
initCause(Throwable) - Method in exception javassist.CannotCompileException
-
-
Initializes the cause of this throwable.
-
-
Initializer() - Constructor for class javassist.CtField.Initializer
-
 
-
Inner - Class in javassist.runtime
-
-
A support class for compiling a method declared in an inner class.
-
-
Inner() - Constructor for class javassist.runtime.Inner
-
 
-
innerClass(int) - Method in class javassist.bytecode.InnerClassesAttribute
-
-
Returns the class name indicated - by classes[nth].inner_class_info_index.
-
-
InnerClassesAttribute - Class in javassist.bytecode
-
-
InnerClasses_attribute.
-
-
InnerClassesAttribute(ConstPool) - Constructor for class javassist.bytecode.InnerClassesAttribute
-
-
Constructs an empty InnerClasses attribute.
-
-
innerClassIndex(int) - Method in class javassist.bytecode.InnerClassesAttribute
-
-
Returns classes[nth].inner_class_info_index.
-
-
innerName(int) - Method in class javassist.bytecode.InnerClassesAttribute
-
-
Returns the simple class name indicated - by classes[nth].inner_name_index.
-
-
innerNameIndex(int) - Method in class javassist.bytecode.InnerClassesAttribute
-
-
Returns classes[nth].inner_name_index.
-
-
insert(byte[]) - Method in class javassist.bytecode.CodeIterator
-
-
Inserts the given bytecode sequence - before the next instruction that would be returned by - next() (not before the instruction returned - by the last call to next()).
-
-
insert(int, byte[]) - Method in class javassist.bytecode.CodeIterator
-
-
Inserts the given bytecode sequence - before the instruction at the given index pos.
-
-
insert(ExceptionTable, int) - Method in class javassist.bytecode.CodeIterator
-
-
Copies and inserts the entries in the given exception table - at the beginning of the exception table in the code attribute - edited by this object.
-
-
insertAfter(String) - Method in class javassist.CtBehavior
-
-
Inserts bytecode at the end of the body.
-
-
insertAfter(String, boolean) - Method in class javassist.CtBehavior
-
-
Inserts bytecode at the end of the body.
-
-
insertAfter(CtBehavior, Callback) - Static method in class javassist.tools.Callback
-
-
Utility method to inserts callback at the end of the body.
-
-
insertAfter(CtBehavior, Callback, boolean) - Static method in class javassist.tools.Callback
-
-
Utility method to inserts callback at the end of the body.
-
-
insertAfterMethod(CtMethod, CtMethod) - Method in class javassist.CodeConverter
-
-
Inserts a call to another method after an existing method call.
-
-
insertAt(int, boolean, String) - Method in class javassist.CtBehavior
-
-
Inserts bytecode at the specified line in the body.
-
-
insertAt(int, byte[]) - Method in class javassist.bytecode.CodeIterator
-
-
Inserts the given bytecode sequence - before the instruction at the given index pos.
-
-
insertAt(int, String) - Method in class javassist.CtBehavior
-
-
Inserts bytecode at the specified line in the body.
-
-
insertAt(CtBehavior, Callback, int) - Static method in class javassist.tools.Callback
-
-
Utility method to inserts callback at the specified line in the body.
-
-
insertBefore(String) - Method in class javassist.CtBehavior
-
-
Inserts bytecode at the beginning of the body.
-
-
insertBefore(String) - Method in class javassist.expr.Handler
-
-
Inserts bytecode at the beginning of the catch clause.
-
-
insertBefore(CtBehavior, Callback) - Static method in class javassist.tools.Callback
-
-
Utility method to insert callback at the beginning of the body.
-
-
insertBeforeBody(String) - Method in class javassist.CtConstructor
-
-
Inserts bytecode just after another constructor in the super class - or this class is called.
-
-
insertBeforeMethod(CtMethod, CtMethod) - Method in class javassist.CodeConverter
-
-
Insert a call to another method before an existing method call.
-
-
insertClassPath(String) - Method in class javassist.ClassPool
-
-
Inserts a directory or a jar (or zip) file at the head of the - search path.
-
-
insertClassPath(ClassPath) - Method in class javassist.ClassPool
-
-
Insert a ClassPath object at the head of the - search path.
-
-
insertEx(byte[]) - Method in class javassist.bytecode.CodeIterator
-
-
Inserts the given bytecode sequence exclusively - before the next instruction that would be returned by - next() (not before the instruction returned - by tha last call to next()).
-
-
insertEx(int, byte[]) - Method in class javassist.bytecode.CodeIterator
-
-
Inserts the given bytecode sequence exclusively - before the instruction at the given index pos.
-
-
insertExAt(int, byte[]) - Method in class javassist.bytecode.CodeIterator
-
-
Inserts the given bytecode sequence exclusively - before the instruction at the given index pos.
-
-
insertExGap(int) - Method in class javassist.bytecode.CodeIterator
-
-
Inserts an exclusive gap - before the next instruction that would be returned by - next() (not before the instruction returned - by the last call to next()).
-
-
insertExGap(int, int) - Method in class javassist.bytecode.CodeIterator
-
-
Inserts an exclusive gap in front of the instruction at the given - index pos.
-
-
insertGap(int) - Method in class javassist.bytecode.CodeIterator
-
-
Inserts a gap - before the next instruction that would be returned by - next() (not before the instruction returned - by the last call to next()).
-
-
insertGap(int, int) - Method in class javassist.bytecode.CodeIterator
-
-
Inserts a gap in front of the instruction at the given - index pos.
-
-
insertGapAt(int, int, boolean) - Method in class javassist.bytecode.CodeIterator
-
-
Inserts an inclusive or exclusive gap in front of the instruction - at the given index pos.
-
-
insertLocal(int, int, int) - Method in class javassist.bytecode.StackMap
-
-
Updates this stack map table when a new local variable is inserted - for a new parameter.
-
-
insertLocal(int, int, int) - Method in class javassist.bytecode.StackMapTable
-
-
Updates this stack map table when a new local variable is inserted - for a new parameter.
-
-
insertLocalVar(int, int) - Method in class javassist.bytecode.CodeAttribute
-
-
Changes the index numbers of the local variables - to append a new parameter.
-
-
insertParameter(String, String) - Static method in class javassist.bytecode.Descriptor
-
-
Inserts a parameter type at the beginning of the parameter - list represented - by the given descriptor.
-
-
insertParameter(CtClass) - Method in class javassist.CtBehavior
-
-
Inserts a new parameter, which becomes the first parameter.
-
-
insertParameter(CtClass, String) - Static method in class javassist.bytecode.Descriptor
-
-
Inserts a parameter type at the beginning of the parameter - list represented - by the given descriptor.
-
-
Instanceof - Class in javassist.expr
-
-
Instanceof operator.
-
-
INSTANCEOF - Static variable in interface javassist.bytecode.Opcode
-
 
-
InstructionPrinter - Class in javassist.bytecode
-
-
Simple utility class for printing the bytecode instructions of a method.
-
-
InstructionPrinter(PrintStream) - Constructor for class javassist.bytecode.InstructionPrinter
-
-
Constructs a InstructionPrinter object.
-
-
instructionString(CodeIterator, int, ConstPool) - Static method in class javassist.bytecode.InstructionPrinter
-
-
Gets a string representation of the bytecode instruction at the specified - position.
-
-
instrument(CodeConverter) - Method in class javassist.CtBehavior
-
-
Modifies the method/constructor body.
-
-
instrument(CodeConverter) - Method in class javassist.CtClass
-
-
Applies the given converter to all methods and constructors - declared in the class.
-
-
instrument(ExprEditor) - Method in class javassist.CtBehavior
-
-
Modifies the method/constructor body.
-
-
instrument(ExprEditor) - Method in class javassist.CtClass
-
-
Modifies the bodies of all methods and constructors - declared in the class.
-
-
instrumentation() - Method in class javassist.util.HotSwapAgent
-
-
Obtains the Instrumentation object.
-
-
integer(int) - Static method in class javassist.CtMethod.ConstParameter
-
-
Makes an integer constant.
-
-
integer(long) - Static method in class javassist.CtMethod.ConstParameter
-
-
Makes a long integer constant.
-
-
INTEGER - Static variable in class javassist.bytecode.analysis.Type
-
-
Represents the integer primitive type
-
-
INTEGER - Static variable in class javassist.bytecode.StackMap
-
-
Integer_variable_info.tag.
-
-
INTEGER - Static variable in class javassist.bytecode.StackMapTable
-
-
Integer_variable_info.tag.
-
-
IntegerMemberValue - Class in javassist.bytecode.annotation
-
-
Integer constant value.
-
-
IntegerMemberValue(int, ConstPool) - Constructor for class javassist.bytecode.annotation.IntegerMemberValue
-
-
Constructs an int constant value.
-
-
IntegerMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.IntegerMemberValue
-
-
Constructs an int constant value.
-
-
IntegerMemberValue(ConstPool, int) - Constructor for class javassist.bytecode.annotation.IntegerMemberValue
-
-
Constructs an int constant value.
-
-
INTERFACE - Static variable in class javassist.bytecode.AccessFlag
-
 
-
INTERFACE - Static variable in class javassist.Modifier
-
 
-
intRead() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
-
Returns the name of a static method with the signature - (Ljava/lang/Object;I)I to replace reading from a int[].
-
-
intRead() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
-
Returns "arrayReadInt" as the name of the static method with the signature - (Ljava/lang/Object;I)I to replace reading from a int[].
-
-
intType - Static variable in class javassist.CtClass
-
-
The CtClass object representing - the int type.
-
-
intWrite() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
-
Returns the name of a static method with the signature - (Ljava/lang/Object;II)V to replace writing to a int[].
-
-
intWrite() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
-
Returns "arrayWriteInt" as the name of the static method with the signature - (Ljava/lang/Object;II)V to replace writing to a int[].
-
-
invisibleTag - Static variable in class javassist.bytecode.AnnotationsAttribute
-
-
The name of the RuntimeInvisibleAnnotations attribute.
-
-
invisibleTag - Static variable in class javassist.bytecode.ParameterAnnotationsAttribute
-
-
The name of the RuntimeInvisibleParameterAnnotations - attribute.
-
-
invisibleTag - Static variable in class javassist.bytecode.TypeAnnotationsAttribute
-
-
The name of the RuntimeInvisibleTypeAnnotations attribute.
-
-
invoke(Object, int, Object[]) - Static method in class javassist.tools.reflect.ClassMetaobject
-
-
Invokes a method whose name begins with - methodPrefix "_m_" and the identifier.
-
-
invoke(Object, Method, Object[]) - Method in class javassist.bytecode.annotation.AnnotationImpl
-
-
Executes a method invocation on a proxy instance.
-
-
invoke(Object, Method, Method, Object[]) - Method in interface javassist.util.proxy.MethodHandler
-
-
Is called when a method is invoked on a proxy instance associated - with this handler.
-
-
invokeDefineClass(CtClass) - Method in class javassist.Loader.Simple
-
-
Invokes the protected defineClass() in ClassLoader.
-
-
INVOKEDYNAMIC - Static variable in interface javassist.bytecode.Opcode
-
 
-
INVOKEINTERFACE - Static variable in interface javassist.bytecode.Opcode
-
 
-
INVOKESPECIAL - Static variable in interface javassist.bytecode.Opcode
-
 
-
INVOKESTATIC - Static variable in interface javassist.bytecode.Opcode
-
 
-
INVOKEVIRTUAL - Static variable in interface javassist.bytecode.Opcode
-
 
-
IOR - Static variable in interface javassist.bytecode.Opcode
-
 
-
IREM - Static variable in interface javassist.bytecode.Opcode
-
 
-
IRETURN - Static variable in interface javassist.bytecode.Opcode
-
 
-
is2byte() - Method in class javassist.bytecode.Descriptor.Iterator
-
-
Returns true if the current element is double or long type.
-
-
isAbstract() - Method in class javassist.bytecode.ClassFile
-
-
Returns true if this is an abstract class or an interface.
-
-
isAbstract(int) - Static method in class javassist.Modifier
-
-
Returns true if the modifiers include the abstract - modifier.
-
-
isAccessed(int) - Method in class javassist.bytecode.analysis.Subroutine
-
 
-
isAnnotation() - Method in class javassist.CtClass
-
-
Determines whether this object represents an annotation type.
-
-
isAnnotation(int) - Static method in class javassist.Modifier
-
-
Returns true if the modifiers include the annotation - modifier.
-
-
isArray() - Method in class javassist.bytecode.analysis.MultiArrayType
-
 
-
isArray() - Method in class javassist.bytecode.analysis.MultiType
-
-
Always reutnrs false since this type is never used for an array
-
-
isArray() - Method in class javassist.bytecode.analysis.Type
-
-
Returns whether or not this type is an array.
-
-
isArray() - Method in class javassist.CtClass
-
-
Returns true if this object represents an array type.
-
-
isAssignableFrom(Type) - Method in class javassist.bytecode.analysis.MultiArrayType
-
 
-
isAssignableFrom(Type) - Method in class javassist.bytecode.analysis.MultiType
-
 
-
isAssignableFrom(Type) - Method in class javassist.bytecode.analysis.Type
-
-
Determines whether this type is assignable, to the passed type.
-
-
isAssignableTo(Type) - Method in class javassist.bytecode.analysis.MultiArrayType
-
 
-
isAssignableTo(Type) - Method in class javassist.bytecode.analysis.MultiType
-
 
-
isClassInitializer() - Method in class javassist.CtConstructor
-
-
Returns true if this object represents a static initializer.
-
-
isConstructor() - Method in class javassist.bytecode.MethodInfo
-
-
Returns true if this is a constructor.
-
-
isConstructor() - Method in class javassist.CtConstructor
-
-
Returns true if this object represents a constructor.
-
-
isConstructor(String, int) - Method in class javassist.bytecode.ConstPool
-
-
Determines whether CONSTANT_Methodref_info - structure at the given index represents the constructor - of the given class.
-
-
isEmpty() - Method in class javassist.CtBehavior
-
-
Returns true if the body is empty.
-
-
isEmpty() - Method in class javassist.CtConstructor
-
-
Returns true if the constructor (or static initializer) - is the default one.
-
-
isEmpty() - Method in class javassist.CtMethod
-
-
Returns true if the method body is empty, that is, {}.
-
-
isEnum() - Method in class javassist.CtClass
-
-
Determines whether this object represents an enum.
-
-
isEnum(int) - Static method in class javassist.Modifier
-
-
Returns true if the modifiers include the enum - modifier.
-
-
isFinal() - Method in class javassist.bytecode.ClassFile
-
-
Returns true if this is a final class or interface.
-
-
isFinal(int) - Static method in class javassist.Modifier
-
-
Returns true if the modifiers include the final - modifier.
-
-
isFinally() - Method in class javassist.expr.Handler
-
-
Returns true if this is a finally block.
-
-
isFrozen() - Method in class javassist.CtClass
-
-
Returns true if the class has been loaded or written out - and thus it cannot be modified any more.
-
-
isGoto(int) - Static method in class javassist.bytecode.analysis.Util
-
 
-
isHandled(Method) - Method in interface javassist.util.proxy.MethodFilter
-
-
Returns true if the given method is implemented by a handler.
-
-
ISHL - Static variable in interface javassist.bytecode.Opcode
-
 
-
ISHR - Static variable in interface javassist.bytecode.Opcode
-
 
-
isInstance(Object) - Method in class javassist.tools.reflect.ClassMetaobject
-
-
Returns true if obj is an instance of this class.
-
-
isInterface() - Method in class javassist.bytecode.ClassFile
-
-
Returns true if this is an interface.
-
-
isInterface() - Method in class javassist.CtClass
-
-
Determines whether this object represents a class or an interface.
-
-
isInterface(int) - Static method in class javassist.Modifier
-
-
Returns true if the modifiers include the interface - modifier.
-
-
isJsr(int) - Static method in class javassist.bytecode.analysis.Util
-
 
-
isJumpInstruction(int) - Static method in class javassist.bytecode.analysis.Util
-
 
-
isMember(String, String, int) - Method in class javassist.bytecode.ConstPool
-
-
Determines whether CONSTANT_Methodref_info, - CONSTANT_Fieldref_info, or - CONSTANT_InterfaceMethodref_info structure - at the given index represents the member with the specified - name and declaring class.
-
-
isMethod() - Method in class javassist.bytecode.MethodInfo
-
-
Returns true if this is not a constructor or a class initializer (static - initializer).
-
-
isModified() - Method in class javassist.CtClass
-
-
Returns true if the definition of the class has been modified.
-
-
isNative(int) - Static method in class javassist.Modifier
-
-
Returns true if the modifiers include the native - modifier.
-
-
isPackage(int) - Static method in class javassist.bytecode.AccessFlag
-
-
Returns true if the access flags include neither public, protected, - or private.
-
-
isPackage(int) - Static method in class javassist.Modifier
-
-
Returns true if the modifiers do not include either - public, protected, or private.
-
-
isParameter() - Method in class javassist.bytecode.Descriptor.Iterator
-
-
Returns true if the current element is a parameter type.
-
-
isPrimitive() - Method in class javassist.CtClass
-
-
Returns true if this object represents a primitive - Java type: boolean, byte, char, short, int, long, float, double, - or void.
-
-
isPrimitive() - Method in class javassist.CtPrimitiveType
-
-
Returns true if this object represents a primitive - Java type: boolean, byte, char, short, int, long, float, double, - or void.
-
-
isPrivate(int) - Static method in class javassist.bytecode.AccessFlag
-
-
Returns true if the access flags include the private bit.
-
-
isPrivate(int) - Static method in class javassist.Modifier
-
-
Returns true if the modifiers include the private - modifier.
-
-
isProtected(int) - Static method in class javassist.bytecode.AccessFlag
-
-
Returns true if the access flags include the protected bit.
-
-
isProtected(int) - Static method in class javassist.Modifier
-
-
Returns true if the modifiers include the protected - modifier.
-
-
isProxyClass(Class<?>) - Static method in class javassist.util.proxy.ProxyFactory
-
-
determine if a class is a javassist proxy class
-
-
isProxyClass(String) - Method in class javassist.tools.rmi.StubGenerator
-
-
Returns true if the specified class is a proxy class - recorded by makeProxyClass().
-
-
isPublic(int) - Static method in class javassist.bytecode.AccessFlag
-
-
Returns true if the access flags include the public bit.
-
-
isPublic(int) - Static method in class javassist.Modifier
-
-
Returns true if the modifiers include the public - modifier.
-
-
isReader() - Method in class javassist.expr.FieldAccess
-
-
Returns true if the field is read.
-
-
isReference() - Method in class javassist.bytecode.analysis.MultiArrayType
-
 
-
isReference() - Method in class javassist.bytecode.analysis.MultiType
-
-
Always returns true, since this type is always a reference.
-
-
isReference() - Method in class javassist.bytecode.analysis.Type
-
-
Returns whether or not this type is a normal java reference, i.e.
-
-
isReturn(int) - Static method in class javassist.bytecode.analysis.Util
-
 
-
isSpecial() - Method in class javassist.bytecode.analysis.Type
-
-
Returns whether or not the type is special.
-
-
isStatic() - Method in class javassist.expr.FieldAccess
-
-
Returns true if the field is static.
-
-
isStatic(int) - Static method in class javassist.Modifier
-
-
Returns true if the modifiers include the static - modifier.
-
-
isStaticInitializer() - Method in class javassist.bytecode.MethodInfo
-
-
Returns true if this is a class initializer (static initializer).
-
-
isStrict(int) - Static method in class javassist.Modifier
-
-
Returns true if the modifiers include the strictfp - modifier.
-
-
isSuper() - Method in class javassist.expr.ConstructorCall
-
-
Returns true if the called constructor is not this() - but super() (a constructor declared in the super class).
-
-
isSuper() - Method in class javassist.expr.MethodCall
-
-
Returns true if the called method is of a superclass of the current - class.
-
-
isSynchronized(int) - Static method in class javassist.Modifier
-
-
Returns true if the modifiers include the synchronized - modifier.
-
-
ISTORE - Static variable in interface javassist.bytecode.Opcode
-
 
-
ISTORE_0 - Static variable in interface javassist.bytecode.Opcode
-
 
-
ISTORE_1 - Static variable in interface javassist.bytecode.Opcode
-
 
-
ISTORE_2 - Static variable in interface javassist.bytecode.Opcode
-
 
-
ISTORE_3 - Static variable in interface javassist.bytecode.Opcode
-
 
-
isTransient(int) - Static method in class javassist.Modifier
-
-
Returns true if the modifiers include the transient - modifier.
-
-
ISUB - Static variable in interface javassist.bytecode.Opcode
-
 
-
isUseCache() - Method in class javassist.util.proxy.ProxyFactory
-
-
test whether this factory uses the proxy cache
-
-
isUseWriteReplace() - Method in class javassist.util.proxy.ProxyFactory
-
-
test whether this factory installs a writeReplace method in created classes
-
-
isVarArgs(int) - Static method in class javassist.Modifier
-
-
Returns true if the modifiers include the varargs - (variable number of arguments) modifier.
-
-
isVolatile(int) - Static method in class javassist.Modifier
-
-
Returns true if the modifiers include the volatile - modifier.
-
-
isWildcard() - Method in class javassist.bytecode.SignatureAttribute.TypeArgument
-
-
Returns true if this type argument is a wildcard type - such as ?, ? extends String, or ? super Integer.
-
-
isWriter() - Method in class javassist.expr.FieldAccess
-
-
Returns true if the field is written in.
-
-
iterator() - Method in class javassist.bytecode.CodeAttribute
-
-
Makes a new iterator for reading this code attribute.
-
-
Iterator(String) - Constructor for class javassist.bytecode.Descriptor.Iterator
-
-
Constructs an iterator.
-
-
IUSHR - Static variable in interface javassist.bytecode.Opcode
-
 
-
IXOR - Static variable in interface javassist.bytecode.Opcode
-
 
-
- - - -

J

-
-
JAVA_1 - Static variable in class javassist.bytecode.ClassFile
-
-
The major version number of class files - for JDK 1.1.
-
-
JAVA_10 - Static variable in class javassist.bytecode.ClassFile
-
-
The major version number of class files - for JDK 10.
-
-
JAVA_11 - Static variable in class javassist.bytecode.ClassFile
-
-
The major version number of class files - for JDK 11.
-
-
JAVA_2 - Static variable in class javassist.bytecode.ClassFile
-
-
The major version number of class files - for JDK 1.2.
-
-
JAVA_3 - Static variable in class javassist.bytecode.ClassFile
-
-
The major version number of class files - for JDK 1.3.
-
-
JAVA_4 - Static variable in class javassist.bytecode.ClassFile
-
-
The major version number of class files - for JDK 1.4.
-
-
JAVA_5 - Static variable in class javassist.bytecode.ClassFile
-
-
The major version number of class files - for JDK 1.5.
-
-
JAVA_6 - Static variable in class javassist.bytecode.ClassFile
-
-
The major version number of class files - for JDK 1.6.
-
-
JAVA_7 - Static variable in class javassist.bytecode.ClassFile
-
-
The major version number of class files - for JDK 1.7.
-
-
JAVA_8 - Static variable in class javassist.bytecode.ClassFile
-
-
The major version number of class files - for JDK 1.8.
-
-
JAVA_9 - Static variable in class javassist.bytecode.ClassFile
-
-
The major version number of class files - for JDK 1.9.
-
-
javassist - package javassist
-
-
The Javassist Core API.
-
-
javassist.bytecode - package javassist.bytecode
-
-
Bytecode-level API.
-
-
javassist.bytecode.analysis - package javassist.bytecode.analysis
-
-
Bytecode Analysis API.
-
-
javassist.bytecode.annotation - package javassist.bytecode.annotation
-
-
Bytecode-level Annotations API.
-
-
javassist.expr - package javassist.expr
-
-
This package contains the classes for modifying a method body.
-
-
javassist.runtime - package javassist.runtime
-
-
Runtime support classes required by modified bytecode.
-
-
javassist.tools - package javassist.tools
-
-
Covenient tools.
-
-
javassist.tools.reflect - package javassist.tools.reflect
-
-
Runtime Behavioral Reflection.
-
-
javassist.tools.rmi - package javassist.tools.rmi
-
-
Sample implementation of remote method invocation.
-
-
javassist.tools.web - package javassist.tools.web
-
-
Simple web server for running sample code.
-
-
javassist.util - package javassist.util
-
-
Utility classes.
-
-
javassist.util.proxy - package javassist.util.proxy
-
-
Dynamic proxy (similar to Enhancer of cglib).
-
-
JSR - Static variable in interface javassist.bytecode.Opcode
-
 
-
JSR_W - Static variable in interface javassist.bytecode.Opcode
-
 
-
jvmTypeName() - Method in class javassist.bytecode.SignatureAttribute.ClassType
-
-
Returns the type name in the JVM internal style.
-
-
jvmTypeName() - Method in class javassist.bytecode.SignatureAttribute.Type
-
-
Returns the type name in the JVM internal style.
-
-
- - - -

L

-
-
L2D - Static variable in interface javassist.bytecode.Opcode
-
 
-
L2F - Static variable in interface javassist.bytecode.Opcode
-
 
-
L2I - Static variable in interface javassist.bytecode.Opcode
-
 
-
LADD - Static variable in interface javassist.bytecode.Opcode
-
 
-
LALOAD - Static variable in interface javassist.bytecode.Opcode
-
 
-
LAND - Static variable in interface javassist.bytecode.Opcode
-
 
-
LASTORE - Static variable in interface javassist.bytecode.Opcode
-
 
-
LCMP - Static variable in interface javassist.bytecode.Opcode
-
 
-
LCONST_0 - Static variable in interface javassist.bytecode.Opcode
-
 
-
LCONST_1 - Static variable in interface javassist.bytecode.Opcode
-
 
-
LDC - Static variable in interface javassist.bytecode.Opcode
-
 
-
LDC_W - Static variable in interface javassist.bytecode.Opcode
-
 
-
LDC2_W - Static variable in interface javassist.bytecode.Opcode
-
 
-
LDIV - Static variable in interface javassist.bytecode.Opcode
-
 
-
length - Variable in class javassist.bytecode.CodeIterator.Gap
-
-
The length of the gap.
-
-
length() - Method in class javassist.bytecode.analysis.ControlFlow.Block
-
-
Returns the length of this block.
-
-
length() - Method in class javassist.bytecode.AttributeInfo
-
-
Returns the length of this attribute_info - structure.
-
-
length() - Method in class javassist.bytecode.Bytecode
-
-
Returns the length of the bytecode sequence.
-
-
length() - Method in class javassist.bytecode.CodeAttribute
-
-
Returns the length of this attribute_info - structure.
-
-
line - Variable in class javassist.bytecode.LineNumberAttribute.Pc
-
-
The line number.
-
-
lineNumber(int) - Method in class javassist.bytecode.LineNumberAttribute
-
-
Returns line_number_table[i].line_number.
-
-
LineNumberAttribute - Class in javassist.bytecode
-
-
LineNumberTable_attribute.
-
-
LineNumberAttribute.Pc - Class in javassist.bytecode
-
-
Used as a return type of toNearPc().
-
-
LLOAD - Static variable in interface javassist.bytecode.Opcode
-
 
-
LLOAD_0 - Static variable in interface javassist.bytecode.Opcode
-
 
-
LLOAD_1 - Static variable in interface javassist.bytecode.Opcode
-
 
-
LLOAD_2 - Static variable in interface javassist.bytecode.Opcode
-
 
-
LLOAD_3 - Static variable in interface javassist.bytecode.Opcode
-
 
-
LMUL - Static variable in interface javassist.bytecode.Opcode
-
 
-
LNEG - Static variable in interface javassist.bytecode.Opcode
-
 
-
Loader - Class in javassist
-
-
The class loader for Javassist.
-
-
Loader - Class in javassist.tools.reflect
-
-
A class loader for reflection.
-
-
Loader() - Constructor for class javassist.Loader
-
-
Creates a new class loader.
-
-
Loader() - Constructor for class javassist.tools.reflect.Loader
-
-
Constructs a new class loader.
-
-
Loader(ClassLoader, ClassPool) - Constructor for class javassist.Loader
-
-
Creates a new class loader - using the specified parent class loader for delegation.
-
-
Loader(ClassPool) - Constructor for class javassist.Loader
-
-
Creates a new class loader.
-
-
Loader.Simple - Class in javassist
-
-
A simpler class loader.
-
-
LoaderClassPath - Class in javassist
-
-
A class search-path representing a class loader.
-
-
LoaderClassPath(ClassLoader) - Constructor for class javassist.LoaderClassPath
-
-
Creates a search path representing a class loader.
-
-
locals(int, int, int) - Method in class javassist.bytecode.StackMap.Walker
-
-
Invoked when locals of stack_map_frame - is visited.
-
-
localsLength() - Method in class javassist.bytecode.analysis.Frame
-
-
Returns the number of local variable table entries, specified - at construction.
-
-
LocalVariableAttribute - Class in javassist.bytecode
-
-
LocalVariableTable_attribute.
-
-
LocalVariableAttribute(ConstPool) - Constructor for class javassist.bytecode.LocalVariableAttribute
-
-
Constructs an empty LocalVariableTable.
-
-
LocalVariableAttribute(ConstPool, String) - Constructor for class javassist.bytecode.LocalVariableAttribute
-
-
Deprecated. 
-
-
LocalVariableTypeAttribute - Class in javassist.bytecode
-
-
LocalVariableTypeTable_attribute.
-
-
LocalVariableTypeAttribute(ConstPool) - Constructor for class javassist.bytecode.LocalVariableTypeAttribute
-
-
Constructs an empty LocalVariableTypeTable.
-
-
localVarTarget(int, int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
-
Writes target_type and localvar_target - of target_info union.
-
-
localVarTargetTable(int, int, int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
-
Writes an element of table[] of localvar_target - of target_info union.
-
-
logging(String) - Method in class javassist.tools.web.Webserver
-
-
Prints a log message.
-
-
logging(String, String) - Method in class javassist.tools.web.Webserver
-
-
Prints a log message.
-
-
logging(String, String, String) - Method in class javassist.tools.web.Webserver
-
-
Prints a log message.
-
-
logging2(String) - Method in class javassist.tools.web.Webserver
-
-
Prints a log message with indentation.
-
-
LONG - Static variable in class javassist.bytecode.analysis.Type
-
-
Represents the long primitive type
-
-
LONG - Static variable in class javassist.bytecode.StackMap
-
-
Long_variable_info.tag.
-
-
LONG - Static variable in class javassist.bytecode.StackMapTable
-
-
Long_variable_info.tag.
-
-
LongMemberValue - Class in javassist.bytecode.annotation
-
-
Long integer constant value.
-
-
LongMemberValue(int, ConstPool) - Constructor for class javassist.bytecode.annotation.LongMemberValue
-
-
Constructs a long constant value.
-
-
LongMemberValue(long, ConstPool) - Constructor for class javassist.bytecode.annotation.LongMemberValue
-
-
Constructs a long constant value.
-
-
LongMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.LongMemberValue
-
-
Constructs a long constant value.
-
-
longRead() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
-
Returns the name of a static method with the signature - (Ljava/lang/Object;I)J to replace reading from a long[].
-
-
longRead() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
-
Returns "arrayReadLong" as the name of the static method with the signature - (Ljava/lang/Object;I)J to replace reading from a long[].
-
-
longType - Static variable in class javassist.CtClass
-
-
The CtClass object representing - the long type.
-
-
longWrite() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
-
Returns the name of a static method with the signature - (Ljava/lang/Object;IJ)V to replace writing to a long[].
-
-
longWrite() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
-
Returns "arrayWriteLong" as the name of the static method with the signature - (Ljava/lang/Object;IJ)V to replace writing to a long[].
-
-
lookAhead() - Method in class javassist.bytecode.CodeIterator
-
-
Obtains the value that the next call - to next() will return.
-
-
lookupCflow(String) - Method in class javassist.ClassPool
-
-
Undocumented method.
-
-
lookupObject(String) - Method in class javassist.tools.rmi.ObjectImporter
-
-
Finds the object exported by the server with the specified name.
-
-
LOOKUPSWITCH - Static variable in interface javassist.bytecode.Opcode
-
 
-
LOR - Static variable in interface javassist.bytecode.Opcode
-
 
-
LREM - Static variable in interface javassist.bytecode.Opcode
-
 
-
LRETURN - Static variable in interface javassist.bytecode.Opcode
-
 
-
LSHL - Static variable in interface javassist.bytecode.Opcode
-
 
-
LSHR - Static variable in interface javassist.bytecode.Opcode
-
 
-
LSTORE - Static variable in interface javassist.bytecode.Opcode
-
 
-
LSTORE_0 - Static variable in interface javassist.bytecode.Opcode
-
 
-
LSTORE_1 - Static variable in interface javassist.bytecode.Opcode
-
 
-
LSTORE_2 - Static variable in interface javassist.bytecode.Opcode
-
 
-
LSTORE_3 - Static variable in interface javassist.bytecode.Opcode
-
 
-
LSUB - Static variable in interface javassist.bytecode.Opcode
-
 
-
LUSHR - Static variable in interface javassist.bytecode.Opcode
-
 
-
LXOR - Static variable in interface javassist.bytecode.Opcode
-
 
-
- - - -

M

-
-
main(String[]) - Static method in class javassist.CtClass
-
-
Prints the version number and the copyright notice.
-
-
main(String[]) - Static method in class javassist.Loader
-
-
Loads a class with an instance of Loader - and calls main() of that class.
-
-
main(String[]) - Static method in class javassist.tools.Dump
-
-
Main method.
-
-
main(String[]) - Static method in class javassist.tools.framedump
-
-
Main method.
-
-
main(String[]) - Static method in class javassist.tools.reflect.Compiler
-
 
-
main(String[]) - Static method in class javassist.tools.reflect.Loader
-
-
Loads a class with an instance of Loader - and calls main() in that class.
-
-
main(String[]) - Static method in class javassist.tools.web.Viewer
-
-
Starts a program.
-
-
main(String[]) - Static method in class javassist.tools.web.Webserver
-
-
Starts a web server.
-
-
MAJOR_VERSION - Static variable in class javassist.bytecode.ClassFile
-
-
The major version number of class files created - from scratch.
-
-
make(int, CtClass, String, CtClass[], CtClass[], String, CtClass) - Static method in class javassist.CtNewMethod
-
-
Creates a method.
-
-
make(ClassLoader, Class<?>, ClassPool, Annotation) - Static method in class javassist.bytecode.annotation.AnnotationImpl
-
-
Constructs an annotation object.
-
-
make(String, CtClass) - Static method in class javassist.CtField
-
-
Compiles the given source code and creates a field.
-
-
make(String, CtClass) - Static method in class javassist.CtMethod
-
-
Compiles the given source code and creates a method.
-
-
make(String, CtClass) - Static method in class javassist.CtNewConstructor
-
-
Compiles the given source code and creates a constructor.
-
-
make(String, CtClass) - Static method in class javassist.CtNewMethod
-
-
Compiles the given source code and creates a method.
-
-
make(String, CtClass, String, String) - Static method in class javassist.CtNewMethod
-
-
Compiles the given source code and creates a method.
-
-
make(MethodInfo, CtClass) - Static method in class javassist.CtMethod
-
-
Creates a method from a MethodInfo object.
-
-
make(CtClass[], CtClass[], int, CtMethod, CtMethod.ConstParameter, CtClass) - Static method in class javassist.CtNewConstructor
-
-
Creates a public constructor.
-
-
make(CtClass[], CtClass[], String, CtClass) - Static method in class javassist.CtNewConstructor
-
-
Creates a public constructor.
-
-
make(CtClass[], CtClass[], CtClass) - Static method in class javassist.CtNewConstructor
-
-
Creates a public constructor that only calls a constructor - in the super class.
-
-
make(CtClass, String, CtClass[], CtClass[], String, CtClass) - Static method in class javassist.CtNewMethod
-
-
Creates a public (non-static) method.
-
-
makeAnnotation(String) - Method in class javassist.ClassPool
-
-
Creates a new annotation.
-
-
makeClass(InputStream) - Method in class javassist.ClassPool
-
-
Creates a new class (or interface) from the given class file.
-
-
makeClass(InputStream, boolean) - Method in class javassist.ClassPool
-
-
Creates a new class (or interface) from the given class file.
-
-
makeClass(String) - Method in class javassist.ClassPool
-
-
Creates a new public class.
-
-
makeClass(String, CtClass) - Method in class javassist.ClassPool
-
-
Creates a new public class.
-
-
makeClass(ClassFile) - Method in class javassist.ClassPool
-
-
Creates a new class (or interface) from the given class file.
-
-
makeClass(ClassFile, boolean) - Method in class javassist.ClassPool
-
-
Creates a new class (or interface) from the given class file.
-
-
makeClassIfNew(InputStream) - Method in class javassist.ClassPool
-
-
Creates a new class (or interface) from the given class file.
-
-
makeClassInitializer() - Method in class javassist.CtClass
-
-
Makes an empty class initializer (static constructor).
-
-
makeDescriptor(Class<?>[], Class<?>) - Static method in class javassist.util.proxy.RuntimeSupport
-
-
Makes a descriptor for a given method.
-
-
makeDescriptor(Method) - Static method in class javassist.util.proxy.RuntimeSupport
-
-
Makes a descriptor for a given method.
-
-
makeDescriptor(String, Class<?>) - Static method in class javassist.util.proxy.RuntimeSupport
-
-
Makes a descriptor for a given method.
-
-
makeInterface(String) - Method in class javassist.ClassPool
-
-
Creates a new public interface.
-
-
makeInterface(String, CtClass) - Method in class javassist.ClassPool
-
-
Creates a new public interface.
-
-
makeNestedClass(String, boolean) - Method in class javassist.CtClass
-
-
Makes a new public nested class.
-
-
makePackage(ClassLoader, String) - Method in class javassist.ClassPool
-
-
Deprecated. 
-
-
makeProxyClass(Class<?>) - Method in class javassist.tools.rmi.StubGenerator
-
-
Makes a proxy class.
-
-
makeReflective(Class<?>, Class<?>, Class<?>) - Method in class javassist.tools.reflect.Reflection
-
-
Produces a reflective class.
-
-
makeReflective(String, String, String) - Method in class javassist.tools.reflect.Loader
-
-
Produces a reflective class.
-
-
makeReflective(String, String, String) - Method in class javassist.tools.reflect.Reflection
-
-
Produces a reflective class.
-
-
makeReflective(CtClass, CtClass, CtClass) - Method in class javassist.tools.reflect.Reflection
-
-
Produces a reflective class.
-
-
makeSerializedProxy(Object) - Static method in class javassist.util.proxy.RuntimeSupport
-
-
Converts a proxy object to an object that is writable to an - object stream.
-
-
makeUniqueName(String) - Method in class javassist.CtClass
-
-
Makes a unique member name.
-
-
MANDATED - Static variable in class javassist.bytecode.AccessFlag
-
 
-
mayThrow() - Method in class javassist.expr.Cast
-
-
Returns the list of exceptions that the expression may throw.
-
-
mayThrow() - Method in class javassist.expr.Expr
-
-
Returns the list of exceptions that the expression may throw.
-
-
mayThrow() - Method in class javassist.expr.FieldAccess
-
-
Returns the list of exceptions that the expression may throw.
-
-
mayThrow() - Method in class javassist.expr.Handler
-
-
Returns the list of exceptions that the catch clause may throw.
-
-
mayThrow() - Method in class javassist.expr.Instanceof
-
-
Returns the list of exceptions that the expression may throw.
-
-
mayThrow() - Method in class javassist.expr.MethodCall
-
-
Returns the list of exceptions that the expression may throw.
-
-
mayThrow() - Method in class javassist.expr.NewArray
-
-
Returns the list of exceptions that the expression may throw.
-
-
mayThrow() - Method in class javassist.expr.NewExpr
-
-
Returns the list of exceptions that the expression may throw.
-
-
memberClass(int) - Method in class javassist.bytecode.NestMembersAttribute
-
-
Returns classes[index].
-
-
MemberValue - Class in javassist.bytecode.annotation
-
-
The value of a member declared in an annotation.
-
-
memberValuePair(int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Writes an element of a element_value_pairs array - in annotation.
-
-
memberValuePair(String) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Writes an element of a element_value_pairs array - in annotation.
-
-
MemberValueVisitor - Interface in javassist.bytecode.annotation
-
-
Visitor for traversing member values included in an annotation.
-
-
merge(Frame) - Method in class javassist.bytecode.analysis.Frame
-
-
Merges all types on the stack and local variable table of this frame with that of the specified - type.
-
-
merge(Type) - Method in class javassist.bytecode.analysis.MultiType
-
 
-
merge(Type) - Method in class javassist.bytecode.analysis.Type
-
-
Finds the common base type, or interface which both this and the specified - type can be assigned.
-
-
mergeStack(Frame) - Method in class javassist.bytecode.analysis.Frame
-
-
Merges all types on the stack of this frame instance with that of the specified frame.
-
-
Metalevel - Interface in javassist.tools.reflect
-
-
An interface to access a metaobject and a class metaobject.
-
-
Metaobject - Class in javassist.tools.reflect
-
-
A runtime metaobject.
-
-
Metaobject(Object, Object[]) - Constructor for class javassist.tools.reflect.Metaobject
-
-
Constructs a Metaobject.
-
-
MethodCall - Class in javassist.expr
-
-
Method invocation (caller-side expression).
-
-
methodDescriptor() - Method in class javassist.bytecode.EnclosingMethodAttribute
-
-
Returns the method descriptor specified by method_index.
-
-
MethodFilter - Interface in javassist.util.proxy
-
-
Selector of the methods implemented by a handler.
-
-
MethodHandler - Interface in javassist.util.proxy
-
-
The interface implemented by the invocation handler of a proxy - instance.
-
-
methodIndex() - Method in class javassist.bytecode.EnclosingMethodAttribute
-
-
Returns the value of method_index.
-
-
MethodInfo - Class in javassist.bytecode
-
-
method_info structure.
-
-
MethodInfo(ConstPool, String, String) - Constructor for class javassist.bytecode.MethodInfo
-
-
Constructs a method_info structure.
-
-
MethodInfo(ConstPool, String, MethodInfo, Map<String, String>) - Constructor for class javassist.bytecode.MethodInfo
-
-
Constructs a copy of method_info structure.
-
-
methodName() - Method in class javassist.bytecode.EnclosingMethodAttribute
-
-
Returns the method name specified by method_index.
-
-
MethodParametersAttribute - Class in javassist.bytecode
-
-
MethodParameters_attribute.
-
-
MethodParametersAttribute(ConstPool, String[], int[]) - Constructor for class javassist.bytecode.MethodParametersAttribute
-
-
Constructs an attribute.
-
-
methodRef - Variable in class javassist.bytecode.BootstrapMethodsAttribute.BootstrapMethod
-
-
bootstrap_method_ref.
-
-
MethodSignature(SignatureAttribute.TypeParameter[], SignatureAttribute.Type[], SignatureAttribute.Type, SignatureAttribute.ObjectType[]) - Constructor for class javassist.bytecode.SignatureAttribute.MethodSignature
-
-
Constructs a method type signature.
-
-
Mnemonic - Interface in javassist.bytecode
-
-
JVM Instruction Names.
-
-
Modifier - Class in javassist
-
-
The Modifier class provides static methods and constants to decode - class and member access modifiers.
-
-
Modifier() - Constructor for class javassist.Modifier
-
 
-
MODULE - Static variable in class javassist.bytecode.AccessFlag
-
 
-
MONITORENTER - Static variable in interface javassist.bytecode.Opcode
-
 
-
MONITOREXIT - Static variable in interface javassist.bytecode.Opcode
-
 
-
move(int) - Method in class javassist.bytecode.CodeIterator
-
-
Moves to the given index.
-
-
MULTIANEWARRAY - Static variable in interface javassist.bytecode.Opcode
-
 
-
MultiArrayType - Class in javassist.bytecode.analysis
-
-
Represents an array of MultiType instances.
-
-
MultiArrayType(MultiType, int) - Constructor for class javassist.bytecode.analysis.MultiArrayType
-
 
-
MultiType - Class in javassist.bytecode.analysis
-
-
MultiType represents an unresolved type.
-
-
MultiType(Map<String, CtClass>) - Constructor for class javassist.bytecode.analysis.MultiType
-
 
-
MultiType(Map<String, CtClass>, Type) - Constructor for class javassist.bytecode.analysis.MultiType
-
 
-
- - - -

N

-
-
name(int) - Method in class javassist.bytecode.MethodParametersAttribute
-
-
Returns the value of name_index of the i-th element of parameters.
-
-
nameClinit - Static variable in class javassist.bytecode.MethodInfo
-
-
The name of class initializer (static initializer): - <clinit>.
-
-
nameGenerator - Static variable in class javassist.util.proxy.ProxyFactory
-
-
A unique class name generator.
-
-
nameIndex(int) - Method in class javassist.bytecode.LocalVariableAttribute
-
-
Returns the value of local_variable_table[i].name_index.
-
-
nameInit - Static variable in class javassist.bytecode.MethodInfo
-
-
The name of constructors: <init>.
-
-
NATIVE - Static variable in class javassist.bytecode.AccessFlag
-
 
-
NATIVE - Static variable in class javassist.Modifier
-
 
-
NestedClassType(SignatureAttribute.ClassType, String, SignatureAttribute.TypeArgument[]) - Constructor for class javassist.bytecode.SignatureAttribute.NestedClassType
-
-
Constructs a NestedClassType.
-
-
NestHostAttribute - Class in javassist.bytecode
-
-
NestHost_attribute.
-
-
NestMembersAttribute - Class in javassist.bytecode
-
-
NestMembers_attribute.
-
-
NEW - Static variable in interface javassist.bytecode.Opcode
-
 
-
NewArray - Class in javassist.expr
-
-
Array creation.
-
-
NEWARRAY - Static variable in interface javassist.bytecode.Opcode
-
 
-
NewExpr - Class in javassist.expr
-
-
Object creation (new expression).
-
-
newInstance(Object[]) - Method in class javassist.tools.reflect.ClassMetaobject
-
-
Creates a new instance of the class.
-
-
next() - Method in class javassist.bytecode.CodeIterator
-
-
Returns the index of the next instruction - (not the operand following the current opcode).
-
-
next() - Method in class javassist.bytecode.Descriptor.Iterator
-
-
Returns the position of the next type character.
-
-
NOP - Static variable in interface javassist.bytecode.Opcode
-
 
-
NoSuchClassError - Error in javassist.bytecode.annotation
-
-
Thrown if the linkage fails.
-
-
NoSuchClassError(String, Error) - Constructor for error javassist.bytecode.annotation.NoSuchClassError
-
-
Constructs an exception.
-
-
NotFoundException - Exception in javassist
-
-
Signals that something could not be found.
-
-
NotFoundException(String) - Constructor for exception javassist.NotFoundException
-
 
-
NotFoundException(String, Exception) - Constructor for exception javassist.NotFoundException
-
 
-
NULL - Static variable in class javassist.bytecode.StackMap
-
-
Null_variable_info.tag.
-
-
NULL - Static variable in class javassist.bytecode.StackMapTable
-
-
Null_variable_info.tag.
-
-
numAnnotations() - Method in class javassist.bytecode.AnnotationsAttribute
-
-
Returns num_annotations.
-
-
numAnnotations() - Method in class javassist.bytecode.TypeAnnotationsAttribute
-
-
Returns num_annotations.
-
-
numAnnotations(int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Writes num_annotations in - Runtime(In)VisibleAnnotations_attribute.
-
-
numAnnotations(int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
-
Writes num_annotations in - Runtime(In)VisibleTypeAnnotations_attribute.
-
-
numberOfClasses() - Method in class javassist.bytecode.NestMembersAttribute
-
-
Returns number_of_classes.
-
-
numOfEntries() - Method in class javassist.bytecode.StackMap
-
-
Returns number_of_entries.
-
-
numOfParameters(String) - Static method in class javassist.bytecode.Descriptor
-
-
Returns the number of the prameters included in the given - descriptor.
-
-
numParameters() - Method in class javassist.bytecode.ParameterAnnotationsAttribute
-
-
Returns num_parameters.
-
-
numParameters(int) - Method in class javassist.bytecode.annotation.AnnotationsWriter
-
-
Writes num_parameters in - Runtime(In)VisibleParameterAnnotations_attribute.
-
-
- - - -

O

-
-
OBJECT - Static variable in class javassist.bytecode.analysis.Type
-
-
Represents the java.lang.Object reference type
-
-
OBJECT - Static variable in class javassist.bytecode.SignatureAttribute.ClassType
-
-
A class type representing java.lang.Object.
-
-
OBJECT - Static variable in class javassist.bytecode.StackMap
-
-
Object_variable_info.tag.
-
-
OBJECT - Static variable in class javassist.bytecode.StackMapTable
-
-
Object_variable_info.tag.
-
-
ObjectImporter - Class in javassist.tools.rmi
-
-
The object importer enables applets to call a method on a remote - object running on the Webserver (the main class of this - package).
-
-
ObjectImporter(Applet) - Constructor for class javassist.tools.rmi.ObjectImporter
-
-
Constructs an object importer.
-
-
ObjectImporter(String, int) - Constructor for class javassist.tools.rmi.ObjectImporter
-
-
Constructs an object importer.
-
-
ObjectNotFoundException - Exception in javassist.tools.rmi
-
 
-
ObjectNotFoundException(String) - Constructor for exception javassist.tools.rmi.ObjectNotFoundException
-
 
-
ObjectNotFoundException(String, Exception) - Constructor for exception javassist.tools.rmi.ObjectNotFoundException
-
 
-
objectOrUninitialized(int, int, int) - Method in class javassist.bytecode.StackMapTable.Walker
-
-
Invoked if Object_variable_info - or Uninitialized_variable_info is visited.
-
-
objectRead() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
-
Returns the name of a static method with the signature - (Ljava/lang/Object;I)Ljava/lang/Object; - to replace reading from a Object[] (or any subclass of object).
-
-
objectRead() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
-
Returns "arrayReadObject" as the name of the static method with the signature - (Ljava/lang/Object;I)Ljava/lang/Object; to replace reading from a Object[] (or any subclass of object).
-
-
ObjectType() - Constructor for class javassist.bytecode.SignatureAttribute.ObjectType
-
 
-
objectVariable(int, int) - Method in class javassist.bytecode.StackMap.Walker
-
-
Invoked when an element of type Object_variable_info - is visited.
-
-
objectWrite() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
-
Returns the name of a static method with the signature - (Ljava/lang/Object;ILjava/lang/Object;)V - to replace writing to a Object[] (or any subclass of object).
-
-
objectWrite() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
-
Returns "arrayWriteObject" as the name of the static method with the signature - (Ljava/lang/Object;ILjava/lang/Object;)V to replace writing to a Object[] (or any subclass of object).
-
-
of(int) - Static method in class javassist.bytecode.AccessFlag
-
-
Converts a javassist.Modifier into - a javassist.bytecode.AccessFlag.
-
-
of(String) - Static method in class javassist.bytecode.Descriptor
-
-
Converts to a descriptor from a Java class name
-
-
of(CtClass) - Static method in class javassist.bytecode.Descriptor
-
-
Returns the descriptor representing the given type.
-
-
ofConstructor(CtClass[]) - Static method in class javassist.bytecode.Descriptor
-
-
Returns the descriptor representing a constructor receiving - the given parameter types.
-
-
offsetTarget(int, int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
-
Writes target_type and offset_target - of target_info union.
-
-
ofMethod(CtClass, CtClass[]) - Static method in class javassist.bytecode.Descriptor
-
-
Returns the descriptor representing a method that receives - the given parameter types and returns the given type.
-
-
ofParameters(CtClass[]) - Static method in class javassist.bytecode.Descriptor
-
-
Returns the descriptor representing a list of parameter types.
-
-
oid - Variable in class javassist.tools.rmi.RemoteRef
-
 
-
onLoad(ClassPool, String) - Method in class javassist.tools.reflect.Reflection
-
-
Inserts hooks for intercepting accesses to the fields declared - in reflective classes.
-
-
onLoad(ClassPool, String) - Method in class javassist.tools.rmi.StubGenerator
-
-
Does nothing.
-
-
onLoad(ClassPool, String) - Method in interface javassist.Translator
-
-
Is invoked by a Loader for notifying that - a class is loaded.
-
-
onlyPublicMethods - Static variable in class javassist.util.proxy.ProxyFactory
-
-
If true, only public/protected methods are forwarded to a proxy object.
-
-
Opcode - Interface in javassist.bytecode
-
-
JVM Instruction Set.
-
-
OPCODE - Static variable in interface javassist.bytecode.Mnemonic
-
-
The instruction names (mnemonics) sorted by the opcode.
-
-
openClassfile(String) - Method in class javassist.ByteArrayClassPath
-
-
Opens the class file.
-
-
openClassfile(String) - Method in class javassist.ClassClassPath
-
-
Obtains a class file by getResourceAsStream().
-
-
openClassfile(String) - Method in interface javassist.ClassPath
-
-
Opens a class file.
-
-
openClassfile(String) - Method in class javassist.LoaderClassPath
-
-
Obtains a class file from the class loader.
-
-
openClassfile(String) - Method in class javassist.URLClassPath
-
-
Opens a class file with http.
-
-
outerClass(int) - Method in class javassist.bytecode.InnerClassesAttribute
-
-
Returns the class name indicated - by classes[nth].outer_class_info_index.
-
-
outerClassIndex(int) - Method in class javassist.bytecode.InnerClassesAttribute
-
-
Returns classes[nth].outer_class_info_index.
-
-
- - - -

P

-
-
ParameterAnnotationsAttribute - Class in javassist.bytecode
-
-
A class representing RuntimeVisibleAnnotations_attribute and - RuntimeInvisibleAnnotations_attribute.
-
-
ParameterAnnotationsAttribute(ConstPool, String) - Constructor for class javassist.bytecode.ParameterAnnotationsAttribute
-
-
Constructs an empty - Runtime(In)VisibleParameterAnnotations_attribute.
-
-
ParameterAnnotationsAttribute(ConstPool, String, byte[]) - Constructor for class javassist.bytecode.ParameterAnnotationsAttribute
-
-
Constructs - a Runtime(In)VisibleParameterAnnotations_attribute.
-
-
paramSize(String) - Static method in class javassist.bytecode.Descriptor
-
-
Computes the data size of parameters.
-
-
parent() - Method in class javassist.bytecode.analysis.ControlFlow.Node
-
-
Returns the parent of this node.
-
-
parse() - Method in class javassist.bytecode.StackMapTable.Walker
-
-
Visits each entry of the stack map frames.
-
-
PASS_ARRAY - Static variable in class javassist.CtNewConstructor
-
-
Specifies that parameters are converted into an array of - Object and passed to a super-class' - constructor.
-
-
PASS_NONE - Static variable in class javassist.CtNewConstructor
-
-
Specifies that no parameters are passed to a super-class' - constructor.
-
-
PASS_PARAMS - Static variable in class javassist.CtNewConstructor
-
-
Specifies that parameters are passed as is - to a super-class' constructor.
-
-
Pc() - Constructor for class javassist.bytecode.LineNumberAttribute.Pc
-
 
-
peek() - Method in class javassist.bytecode.analysis.Frame
-
-
Gets the top of the stack without altering it
-
-
pop() - Method in class javassist.bytecode.analysis.Frame
-
-
Alters the stack to contain one less element and return it.
-
-
POP - Static variable in interface javassist.bytecode.Opcode
-
 
-
POP2 - Static variable in interface javassist.bytecode.Opcode
-
 
-
position - Variable in class javassist.bytecode.CodeIterator.Gap
-
-
The position of the gap.
-
-
position() - Method in class javassist.bytecode.analysis.ControlFlow.Block
-
-
Returns the position of the first instruction - in this block.
-
-
postDominatorTree() - Method in class javassist.bytecode.analysis.ControlFlow
-
-
Constructs a post dominator tree.
-
-
premain(String, Instrumentation) - Static method in class javassist.util.HotSwapAgent
-
-
The entry point invoked when this agent is started by -javaagent.
-
-
primitiveTypes - Static variable in class javassist.util.proxy.FactoryHelper
-
-
Class objects representing primitive types.
-
-
print() - Method in class javassist.bytecode.ConstPool
-
-
Prints the contents of the constant pool table.
-
-
print(PrintWriter) - Method in class javassist.bytecode.ConstPool
-
-
Prints the contents of the constant pool table.
-
-
print(PrintWriter) - Method in class javassist.bytecode.StackMap
-
-
Prints this stack map.
-
-
print(ClassFile) - Static method in class javassist.bytecode.ClassFilePrinter
-
-
Prints the contents of a class file to the standard output stream.
-
-
print(ClassFile, PrintWriter) - Static method in class javassist.bytecode.ClassFilePrinter
-
-
Prints the contents of a class file.
-
-
print(CtClass) - Method in class javassist.bytecode.analysis.FramePrinter
-
-
Prints all the methods declared in the given class.
-
-
print(CtClass, PrintStream) - Static method in class javassist.bytecode.analysis.FramePrinter
-
-
Prints all the methods declared in the given class.
-
-
print(CtMethod) - Method in class javassist.bytecode.analysis.FramePrinter
-
-
Prints the instructions and the frame states of the given method.
-
-
print(CtMethod) - Method in class javassist.bytecode.InstructionPrinter
-
-
Prints the bytecode instructions of a given method.
-
-
print(CtMethod, PrintStream) - Static method in class javassist.bytecode.InstructionPrinter
-
-
Prints the bytecode instructions of a given method.
-
-
println(PrintStream) - Method in class javassist.bytecode.StackMapTable
-
-
Prints the stack table map.
-
-
println(PrintWriter) - Method in class javassist.bytecode.StackMapTable
-
-
Prints the stack table map.
-
-
PRIVATE - Static variable in class javassist.bytecode.AccessFlag
-
 
-
PRIVATE - Static variable in class javassist.Modifier
-
 
-
PROTECTED - Static variable in class javassist.bytecode.AccessFlag
-
 
-
PROTECTED - Static variable in class javassist.Modifier
-
 
-
Proxy - Interface in javassist.tools.rmi
-
-
An interface implemented by proxy classes.
-
-
Proxy - Interface in javassist.util.proxy
-
-
The interface implemented by proxy classes.
-
-
ProxyFactory - Class in javassist.util.proxy
-
-
Factory of dynamic proxy classes.
-
-
ProxyFactory() - Constructor for class javassist.util.proxy.ProxyFactory
-
-
Constructs a factory of proxy class.
-
-
ProxyFactory.ClassLoaderProvider - Interface in javassist.util.proxy
-
-
A provider of class loaders.
-
-
ProxyFactory.UniqueName - Interface in javassist.util.proxy
-
-
A unique class name generator.
-
-
ProxyObject - Interface in javassist.util.proxy
-
-
The interface implemented by proxy classes.
-
-
ProxyObjectInputStream - Class in javassist.util.proxy
-
-
An input stream class which knows how to deserialize proxies created via ProxyFactory and - serializedo via a ProxyObjectOutputStream.
-
-
ProxyObjectInputStream(InputStream) - Constructor for class javassist.util.proxy.ProxyObjectInputStream
-
-
create an input stream which can be used to deserialize an object graph which includes proxies created - using class ProxyFactory.
-
-
ProxyObjectOutputStream - Class in javassist.util.proxy
-
-
An input stream class which knows how to serialize proxies created via ProxyFactory.
-
-
ProxyObjectOutputStream(OutputStream) - Constructor for class javassist.util.proxy.ProxyObjectOutputStream
-
-
create an output stream which can be used to serialize an object graph which includes proxies created - using class ProxyFactory
-
-
prune() - Method in class javassist.bytecode.ClassFile
-
-
Discards all attributes, associated with both the class file and the - members such as a code attribute and exceptions attribute.
-
-
prune() - Method in class javassist.CtClass
-
-
Discards unnecessary attributes, in particular, - CodeAttributes (method bodies) of the class, - to minimize the memory footprint.
-
-
PUBLIC - Static variable in class javassist.bytecode.AccessFlag
-
 
-
PUBLIC - Static variable in class javassist.Modifier
-
 
-
push(Type) - Method in class javassist.bytecode.analysis.Frame
-
-
Alters the stack by placing the passed type on the top
-
-
put(String, String) - Method in class javassist.ClassMap
-
-
Maps a class name to another name in this hashtable.
-
-
put(CtClass, CtClass) - Method in class javassist.ClassMap
-
-
Maps a class name to another name in this hashtable.
-
-
PUTFIELD - Static variable in interface javassist.bytecode.Opcode
-
 
-
putIfNone(String, String) - Method in class javassist.ClassMap
-
-
Is equivalent to put() except that - the given mapping is not recorded into the hashtable - if another mapping from oldname is - already included.
-
-
PUTSTATIC - Static variable in interface javassist.bytecode.Opcode
-
 
-
- - - -

R

-
-
read(int) - Method in class javassist.bytecode.Bytecode
-
-
Reads a signed 8bit value at the offset from the beginning of the - bytecode sequence.
-
-
read16bit(int) - Method in class javassist.bytecode.Bytecode
-
-
Reads a signed 16bit value at the offset from the beginning of the - bytecode sequence.
-
-
read32bit(byte[], int) - Static method in class javassist.bytecode.ByteArray
-
-
Reads a 32bit integer at the index.
-
-
read32bit(int) - Method in class javassist.bytecode.Bytecode
-
-
Reads a signed 32bit value at the offset from the beginning of the - bytecode sequence.
-
-
readS16bit(byte[], int) - Static method in class javassist.bytecode.ByteArray
-
-
Reads a signed 16bit integer at the index.
-
-
readU16bit(byte[], int) - Static method in class javassist.bytecode.ByteArray
-
-
Reads an unsigned 16bit integer at the index.
-
-
rebuildClassFile() - Method in class javassist.CtClass
-
-
If this method is called, the class file will be - rebuilt when it is finally generated by - toBytecode() and writeFile().
-
-
rebuildClassFile(ClassFile) - Method in class javassist.tools.reflect.Reflection
-
 
-
rebuildStackMap(ClassPool) - Method in class javassist.bytecode.MethodInfo
-
-
Rebuilds a stack map table.
-
-
rebuildStackMapForME(ClassPool) - Method in class javassist.bytecode.MethodInfo
-
-
Rebuilds a stack map table for J2ME (CLDC).
-
-
rebuildStackMapIf6(ClassPool, ClassFile) - Method in class javassist.bytecode.MethodInfo
-
-
Rebuilds a stack map table if the class file is for Java 6 - or later.
-
-
recordInvalidClassName(String) - Method in class javassist.ClassPool
-
-
Deprecated. 
-
-
redefine(Class<?>[], CtClass[]) - Static method in class javassist.util.HotSwapAgent
-
-
Redefines classes.
-
-
redefine(Class<?>, CtClass) - Static method in class javassist.util.HotSwapAgent
-
-
Redefines a class.
-
-
redirectFieldAccess(CtField, CtClass, String) - Method in class javassist.CodeConverter
-
-
Modify a method body so that field read/write expressions access - a different field from the original one.
-
-
redirectMethodCall(String, CtMethod) - Method in class javassist.CodeConverter
-
-
Correct invocations to a method that has been renamed.
-
-
redirectMethodCall(CtMethod, CtMethod) - Method in class javassist.CodeConverter
-
-
Modify method invocations in a method body so that a different - method will be invoked.
-
-
redirectMethodCallToStatic(CtMethod, CtMethod) - Method in class javassist.CodeConverter
-
-
Redirect non-static method invocations in a method body to a static - method.
-
-
REF_getField - Static variable in class javassist.bytecode.ConstPool
-
-
reference_kind of CONSTANT_MethodHandle_info.
-
-
REF_getStatic - Static variable in class javassist.bytecode.ConstPool
-
-
reference_kind of CONSTANT_MethodHandle_info.
-
-
REF_invokeInterface - Static variable in class javassist.bytecode.ConstPool
-
-
reference_kind of CONSTANT_MethodHandle_info.
-
-
REF_invokeSpecial - Static variable in class javassist.bytecode.ConstPool
-
-
reference_kind of CONSTANT_MethodHandle_info.
-
-
REF_invokeStatic - Static variable in class javassist.bytecode.ConstPool
-
-
reference_kind of CONSTANT_MethodHandle_info.
-
-
REF_invokeVirtual - Static variable in class javassist.bytecode.ConstPool
-
-
reference_kind of CONSTANT_MethodHandle_info.
-
-
REF_newInvokeSpecial - Static variable in class javassist.bytecode.ConstPool
-
-
reference_kind of CONSTANT_MethodHandle_info.
-
-
REF_putField - Static variable in class javassist.bytecode.ConstPool
-
-
reference_kind of CONSTANT_MethodHandle_info.
-
-
REF_putStatic - Static variable in class javassist.bytecode.ConstPool
-
-
reference_kind of CONSTANT_MethodHandle_info.
-
-
Reflection - Class in javassist.tools.reflect
-
-
The class implementing the behavioral reflection mechanism.
-
-
Reflection() - Constructor for class javassist.tools.reflect.Reflection
-
-
Constructs a new Reflection object.
-
-
releaseUnmodifiedClassFile - Static variable in class javassist.ClassPool
-
-
If true, unmodified and not-recently-used class files are - periodically released for saving memory.
-
-
reload(String, byte[]) - Method in class javassist.util.HotSwapper
-
-
Reloads a class.
-
-
reload(Map<String, byte[]>) - Method in class javassist.util.HotSwapper
-
-
Reloads a class.
-
-
RemoteException - Exception in javassist.tools.rmi
-
-
RemoteException represents any exception thrown - during remote method invocation.
-
-
RemoteException(Exception) - Constructor for exception javassist.tools.rmi.RemoteException
-
 
-
RemoteException(String) - Constructor for exception javassist.tools.rmi.RemoteException
-
 
-
RemoteRef - Class in javassist.tools.rmi
-
-
Remote reference.
-
-
RemoteRef(int) - Constructor for class javassist.tools.rmi.RemoteRef
-
 
-
RemoteRef(int, String) - Constructor for class javassist.tools.rmi.RemoteRef
-
 
-
remove(int) - Method in class javassist.bytecode.ExceptionTable
-
-
Removes the entry at the specified position in the table.
-
-
remove(int) - Method in class javassist.bytecode.InnerClassesAttribute
-
-
Removes the nth entry.
-
-
removeAnnotation(String) - Method in class javassist.bytecode.AnnotationsAttribute
-
-
Removes an annotation by type.
-
-
removeAttribute(String) - Method in class javassist.bytecode.ClassFile
-
-
Removes an attribute with the specified name.
-
-
removeAttribute(String) - Method in class javassist.bytecode.FieldInfo
-
-
Removes an attribute with the specified name.
-
-
removeAttribute(String) - Method in class javassist.bytecode.MethodInfo
-
-
Removes an attribute with the specified name.
-
-
removeClassPath(ClassPath) - Method in class javassist.ClassPool
-
-
Detatches the ClassPath object from the search path.
-
-
removeCodeAttribute() - Method in class javassist.bytecode.MethodInfo
-
-
Removes a Code attribute.
-
-
removeConstructor(CtConstructor) - Method in class javassist.CtClass
-
-
Removes a constructor declared in this class.
-
-
removeExceptionsAttribute() - Method in class javassist.bytecode.MethodInfo
-
-
Removes an Exception attribute.
-
-
removeField(CtField) - Method in class javassist.CtClass
-
-
Removes a field declared in this class.
-
-
removeMethod(CtMethod) - Method in class javassist.CtClass
-
-
Removes a method declared in this class.
-
-
removeNew(int) - Method in class javassist.bytecode.StackMap
-
-
Undocumented method.
-
-
removeNew(int) - Method in class javassist.bytecode.StackMapTable
-
-
Undocumented method.
-
-
rename(String, String, String) - Static method in class javassist.bytecode.Descriptor
-
-
Substitutes a class name - in the given descriptor string.
-
-
rename(String, Map<String, String>) - Static method in class javassist.bytecode.Descriptor
-
-
Substitutes class names in the given descriptor string - according to the given map.
-
-
renameClass(String, String) - Method in class javassist.bytecode.ClassFile
-
-
Replaces all occurrences of a class name in the class file.
-
-
renameClass(String, String) - Method in class javassist.bytecode.ConstPool
-
-
Replaces all occurrences of a class name.
-
-
renameClass(Map<String, String>) - Method in class javassist.bytecode.ClassFile
-
-
Replaces all occurrences of several class names in the class file.
-
-
renameClass(Map<String, String>) - Method in class javassist.bytecode.ConstPool
-
-
Replaces all occurrences of class names.
-
-
replace(String) - Method in class javassist.expr.Cast
-
-
Replaces the explicit cast operator with the bytecode derived from - the given source text.
-
-
replace(String) - Method in class javassist.expr.Expr
-
-
Replaces this expression with the bytecode derived from - the given source text.
-
-
replace(String) - Method in class javassist.expr.FieldAccess
-
-
Replaces the method call with the bytecode derived from - the given source text.
-
-
replace(String) - Method in class javassist.expr.Handler
-
-
This method has not been implemented yet.
-
-
replace(String) - Method in class javassist.expr.Instanceof
-
-
Replaces the instanceof operator with the bytecode derived from - the given source text.
-
-
replace(String) - Method in class javassist.expr.MethodCall
-
-
Replaces the method call with the bytecode derived from - the given source text.
-
-
replace(String) - Method in class javassist.expr.NewArray
-
-
Replaces the array creation with the bytecode derived from - the given source text.
-
-
replace(String) - Method in class javassist.expr.NewExpr
-
-
Replaces the new expression with the bytecode derived from - the given source text.
-
-
replace(String, ExprEditor) - Method in class javassist.expr.Expr
-
-
Replaces this expression with the bytecode derived from - the given source text and ExprEditor.
-
-
replaceArrayAccess(CtClass, CodeConverter.ArrayAccessReplacementMethodNames) - Method in class javassist.CodeConverter
-
-
Modify a method body, so that ALL accesses to an array are replaced with - calls to static methods within another class.
-
-
replaceClassName(String, String) - Method in class javassist.CtClass
-
-
Substitutes newName for all occurrences of a class - name oldName in the class file.
-
-
replaceClassName(ClassMap) - Method in class javassist.CtClass
-
-
Changes class names appearing in the class file according to the - given map.
-
-
replaceFieldRead(CtField, CtClass, String) - Method in class javassist.CodeConverter
-
-
Modify a method body so that an expression reading the specified - field is replaced with a call to the specified static method.
-
-
replaceFieldWrite(CtField, CtClass, String) - Method in class javassist.CodeConverter
-
-
Modify a method body so that an expression writing the specified - field is replaced with a call to the specified static method.
-
-
replaceNew(CtClass, CtClass) - Method in class javassist.CodeConverter
-
-
Modify a method body so that instantiation of the class - specified by oldClass - is replaced with instantiation of another class newClass.
-
-
replaceNew(CtClass, CtClass, String) - Method in class javassist.CodeConverter
-
-
Modify a method body so that instantiation of the specified class - is replaced with a call to the specified static method.
-
-
resetUseContextClassLoaderLocally() - Static method in class javassist.runtime.Desc
-
-
Changes so that the current thread will not use the context class loader - when a class is loaded.
-
-
result(Object[]) - Method in class javassist.tools.Callback
-
-
Gets called when bytecode is executed
-
-
RET - Static variable in interface javassist.bytecode.Opcode
-
 
-
RETURN - Static variable in interface javassist.bytecode.Opcode
-
 
-
RETURN_ADDRESS - Static variable in class javassist.bytecode.analysis.Type
-
-
Represents an internal JVM return address, which is used by the RET - instruction to return to a JSR that invoked the subroutine.
-
-
run() - Method in class javassist.tools.rmi.AppletServer
-
-
Begins the HTTP service.
-
-
run() - Method in class javassist.tools.web.Webserver
-
-
Begins the HTTP service.
-
-
run(String[]) - Method in class javassist.Loader
-
-
Loads a class and calls main() in that class.
-
-
run(String, String[]) - Method in class javassist.Loader
-
-
Loads a class and calls main() in that class.
-
-
run(String, String[]) - Method in class javassist.tools.web.Viewer
-
-
Invokes main() in the class specified by classname.
-
-
RuntimeCopyException(String) - Constructor for exception javassist.bytecode.CodeAttribute.RuntimeCopyException
-
-
Constructs an exception.
-
-
RuntimeCopyException(String) - Constructor for exception javassist.bytecode.StackMapTable.RuntimeCopyException
-
-
Constructs an exception.
-
-
RuntimeSupport - Class in javassist.util.proxy
-
-
Runtime support routines that the classes generated by ProxyFactory use.
-
-
RuntimeSupport() - Constructor for class javassist.util.proxy.RuntimeSupport
-
 
-
- - - -

S

-
-
s16bitAt(int) - Method in class javassist.bytecode.CodeIterator
-
-
Returns the signed 16bit value at the given index.
-
-
s32bitAt(int) - Method in class javassist.bytecode.CodeIterator
-
-
Returns the signed 32bit value at the given index.
-
-
SALOAD - Static variable in interface javassist.bytecode.Opcode
-
 
-
sameFrame(int) - Method in class javassist.bytecode.StackMapTable.Writer
-
-
Writes a same_frame or a same_frame_extended.
-
-
sameFrame(int, int) - Method in class javassist.bytecode.StackMapTable.Walker
-
-
Invoked if the visited frame is a same_frame or - a same_frame_extended.
-
-
sameLocals(int, int, int) - Method in class javassist.bytecode.StackMapTable.Writer
-
-
Writes a same_locals_1_stack_item - or a same_locals_1_stack_item_extended.
-
-
sameLocals(int, int, int, int) - Method in class javassist.bytecode.StackMapTable.Walker
-
-
Invoked if the visited frame is a same_locals_1_stack_item_frame - or a same_locals_1_stack_item_frame_extended.
-
-
Sample - Class in javassist.tools.reflect
-
-
A template used for defining a reflective class.
-
-
Sample - Class in javassist.tools.rmi
-
-
A template used for defining a proxy class.
-
-
Sample() - Constructor for class javassist.tools.reflect.Sample
-
 
-
Sample() - Constructor for class javassist.tools.rmi.Sample
-
 
-
SASTORE - Static variable in interface javassist.bytecode.Opcode
-
 
-
scan(MethodInfo) - Method in class javassist.bytecode.analysis.SubroutineScanner
-
 
-
SERIALIZABLE - Static variable in class javassist.bytecode.analysis.Type
-
-
Represents the java.io.Serializable reference type
-
-
SerialVersionUID - Class in javassist
-
-
Utility for calculating serialVersionUIDs for Serializable classes.
-
-
SerialVersionUID() - Constructor for class javassist.SerialVersionUID
-
 
-
set(byte[]) - Method in class javassist.bytecode.AttributeInfo
-
-
Sets the info field - of this attribute_info structure.
-
-
set(byte[]) - Method in class javassist.bytecode.CodeAttribute
-
-
This method is not available.
-
-
setAccessFlags(int) - Method in class javassist.bytecode.ClassFile
-
-
Changes access flags.
-
-
setAccessFlags(int) - Method in class javassist.bytecode.FieldInfo
-
-
Sets the access flags.
-
-
setAccessFlags(int) - Method in class javassist.bytecode.MethodInfo
-
-
Sets access flags.
-
-
setAccessFlags(int, int) - Method in class javassist.bytecode.InnerClassesAttribute
-
-
Sets classes[nth].inner_class_access_flags to - the given index.
-
-
setAnnotation(Annotation) - Method in class javassist.bytecode.AnnotationsAttribute
-
-
Changes the annotations.
-
-
setAnnotations(Annotation[]) - Method in class javassist.bytecode.AnnotationsAttribute
-
-
Changes the annotations represented by this object according to - the given array of Annotation objects.
-
-
setAnnotations(Annotation[][]) - Method in class javassist.bytecode.ParameterAnnotationsAttribute
-
-
Changes the annotations represented by this object according to - the given array of Annotation objects.
-
-
setAttribute(String, byte[]) - Method in class javassist.CtBehavior
-
-
Adds an attribute.
-
-
setAttribute(String, byte[]) - Method in class javassist.CtClass
-
-
Adds a named attribute.
-
-
setAttribute(String, byte[]) - Method in class javassist.CtField
-
-
Adds an attribute.
-
-
setAttribute(String, byte[]) - Method in class javassist.CtMember
-
-
Adds a user-defined attribute.
-
-
setAttribute(StackMap) - Method in class javassist.bytecode.CodeAttribute
-
-
Adds a stack map table for J2ME (CLDC).
-
-
setAttribute(StackMapTable) - Method in class javassist.bytecode.CodeAttribute
-
-
Adds a stack map table.
-
-
setBody(String) - Method in class javassist.CtBehavior
-
-
Sets a method/constructor body.
-
-
setBody(String) - Method in class javassist.CtConstructor
-
-
Sets a constructor body.
-
-
setBody(String, String, String) - Method in class javassist.CtBehavior
-
-
Sets a method/constructor body.
-
-
setBody(CtConstructor, ClassMap) - Method in class javassist.CtConstructor
-
-
Copies a constructor body from another constructor.
-
-
setBody(CtMethod, ClassMap) - Method in class javassist.CtMethod
-
-
Copies a method body from another method.
-
-
setCatchType(int, int) - Method in class javassist.bytecode.ExceptionTable
-
-
Sets catchType of the n-th entry.
-
-
setClassLoader(ClassLoader) - Method in class javassist.util.proxy.ProxyObjectInputStream
-
-
Reset the loader to be
-
-
setClassPool(ClassPool) - Method in class javassist.Loader
-
-
Sets the soruce ClassPool.
-
-
setClassPool(ClassPool) - Method in class javassist.tools.web.Webserver
-
-
Requests the web server to use the specified - ClassPool object for obtaining a class file.
-
-
setCodeAttribute(CodeAttribute) - Method in class javassist.bytecode.MethodInfo
-
-
Adds a Code attribute.
-
-
setDefaultValue(MemberValue) - Method in class javassist.bytecode.AnnotationDefaultAttribute
-
-
Changes the default value represented by this attribute.
-
-
setDescriptor(String) - Method in class javassist.bytecode.FieldInfo
-
-
Sets the field descriptor.
-
-
setDescriptor(String) - Method in class javassist.bytecode.MethodInfo
-
-
Sets a method descriptor.
-
-
setDomain(ProtectionDomain) - Method in class javassist.Loader
-
-
Sets the protection domain for the classes handled by this class - loader.
-
-
setEndPc(int, int) - Method in class javassist.bytecode.ExceptionTable
-
-
Sets endPc of the n-th entry.
-
-
setExceptionIndexes(int[]) - Method in class javassist.bytecode.ExceptionsAttribute
-
-
Sets exception_index_table[].
-
-
setExceptions(String[]) - Method in class javassist.bytecode.ExceptionsAttribute
-
-
Sets the names of exceptions that the method may throw.
-
-
setExceptionsAttribute(ExceptionsAttribute) - Method in class javassist.bytecode.MethodInfo
-
-
Adds an Exception attribute.
-
-
setExceptionTypes(CtClass[]) - Method in class javassist.CtBehavior
-
-
Sets exceptions that this method/constructor may throw.
-
-
setFilter(MethodFilter) - Method in class javassist.util.proxy.ProxyFactory
-
-
Sets a filter that selects the methods that will be controlled by a handler.
-
-
setGenericSignature(String) - Method in class javassist.CtBehavior
-
-
Set the generic signature of the method.
-
-
setGenericSignature(String) - Method in class javassist.CtClass
-
-
Sets the generic signature of the class.
-
-
setGenericSignature(String) - Method in class javassist.CtField
-
-
Set the generic signature of the field.
-
-
setGenericSignature(String) - Method in class javassist.CtMember
-
-
Sets the generic signature of the member.
-
-
setHandler(MethodHandler) - Method in interface javassist.util.proxy.Proxy
-
-
Sets a handler.
-
-
setHandler(MethodHandler) - Method in class javassist.util.proxy.ProxyFactory
-
-
Deprecated. -
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.
-
-
-
setHandler(MethodHandler) - Method in interface javassist.util.proxy.ProxyObject
-
-
Sets a handler.
-
-
setHandlerPc(int, int) - Method in class javassist.bytecode.ExceptionTable
-
-
Sets handlerPc of the n-th entry.
-
-
setHttpProxy(String, int) - Method in class javassist.tools.rmi.ObjectImporter
-
-
Sets an http proxy server.
-
-
setInnerClassIndex(int, int) - Method in class javassist.bytecode.InnerClassesAttribute
-
-
Sets classes[nth].inner_class_info_index to - the given index.
-
-
setInnerNameIndex(int, int) - Method in class javassist.bytecode.InnerClassesAttribute
-
-
Sets classes[nth].inner_name_index to - the given index.
-
-
setInterfaces(Class<?>[]) - Method in class javassist.util.proxy.ProxyFactory
-
-
Sets the interfaces of a proxy class.
-
-
setInterfaces(String[]) - Method in class javassist.bytecode.ClassFile
-
-
Sets the interfaces.
-
-
setInterfaces(CtClass[]) - Method in class javassist.CtClass
-
-
Sets implemented interfaces.
-
-
setLocal(int, Type) - Method in class javassist.bytecode.analysis.Frame
-
-
Sets the local variable table entry at index to a type.
-
-
setMajorVersion(int) - Method in class javassist.bytecode.ClassFile
-
-
Set the major version.
-
-
setMark(int) - Method in class javassist.bytecode.CodeIterator
-
-
Sets a mark to the bytecode at the given index.
-
-
setMaxLocals(boolean, CtClass[], int) - Method in class javassist.bytecode.Bytecode
-
-
Sets max_locals.
-
-
setMaxLocals(int) - Method in class javassist.bytecode.Bytecode
-
-
Sets max_locals.
-
-
setMaxLocals(int) - Method in class javassist.bytecode.CodeAttribute
-
-
Sets max_locals.
-
-
setMaxStack(int) - Method in class javassist.bytecode.Bytecode
-
-
Sets max_stack.
-
-
setMaxStack(int) - Method in class javassist.bytecode.CodeAttribute
-
-
Sets max_stack.
-
-
setMinorVersion(int) - Method in class javassist.bytecode.ClassFile
-
-
Set the minor version.
-
-
setModifiers(int) - Method in class javassist.CtBehavior
-
-
Sets the encoded modifiers of the method/constructor.
-
-
setModifiers(int) - Method in class javassist.CtClass
-
-
Sets the modifiers.
-
-
setModifiers(int) - Method in class javassist.CtField
-
-
Sets the encoded modifiers of the field.
-
-
setModifiers(int) - Method in class javassist.CtMember
-
-
Sets the encoded modifiers of the member.
-
-
setName(String) - Method in class javassist.bytecode.ClassFile
-
-
Sets the class name.
-
-
setName(String) - Method in class javassist.bytecode.FieldInfo
-
-
Sets the field name.
-
-
setName(String) - Method in class javassist.bytecode.MethodInfo
-
-
Sets a method name.
-
-
setName(String) - Method in class javassist.CtClass
-
-
Sets the class name
-
-
setName(String) - Method in class javassist.CtField
-
-
Changes the name of the field.
-
-
setName(String) - Method in class javassist.CtMethod
-
-
Changes the name of this method.
-
-
setObject(Object) - Method in class javassist.tools.reflect.Metaobject
-
-
Changes the object controlled by this metaobject.
-
-
setOuterClassIndex(int, int) - Method in class javassist.bytecode.InnerClassesAttribute
-
-
Sets classes[nth].outer_class_info_index to - the given index.
-
-
setPackage(int) - Static method in class javassist.bytecode.AccessFlag
-
-
Clears the public, protected, and private bits.
-
-
setPackage(int) - Static method in class javassist.Modifier
-
-
Clears the public, protected, and private bits.
-
-
setPrivate(int) - Static method in class javassist.bytecode.AccessFlag
-
-
Truns the private bit on.
-
-
setPrivate(int) - Static method in class javassist.Modifier
-
-
Truns the private bit on.
-
-
setProtected(int) - Static method in class javassist.bytecode.AccessFlag
-
-
Turns the protected bit on.
-
-
setProtected(int) - Static method in class javassist.Modifier
-
-
Truns the protected bit on.
-
-
setPublic(int) - Static method in class javassist.bytecode.AccessFlag
-
-
Turns the public bit on.
-
-
setPublic(int) - Static method in class javassist.Modifier
-
-
Truns the public bit on.
-
-
setSerialVersionUID(CtClass) - Static method in class javassist.SerialVersionUID
-
-
Adds serialVersionUID if one does not already exist.
-
-
setSignature(String) - Method in class javassist.bytecode.SignatureAttribute
-
-
Sets signature_index to the index of the given generic signature, - which is added to a constant pool.
-
-
setStack(int, Type) - Method in class javassist.bytecode.analysis.Frame
-
-
Sets the type of the stack position
-
-
setStackDepth(int) - Method in class javassist.bytecode.Bytecode
-
-
Sets the current stack depth.
-
-
setStartPc(int, int) - Method in class javassist.bytecode.ExceptionTable
-
-
Sets startPc of the n-th entry.
-
-
setSuperclass(Class<?>) - Method in class javassist.util.proxy.ProxyFactory
-
-
Sets the super class of a proxy class.
-
-
setSuperclass(String) - Method in class javassist.bytecode.ClassFile
-
-
Sets the super class.
-
-
setSuperclass(String) - Method in class javassist.bytecode.MethodInfo
-
-
Changes a super constructor called by this constructor.
-
-
setSuperclass(CtClass) - Method in class javassist.CtClass
-
-
Changes a super class unless this object represents an interface.
-
-
setter(String, CtField) - Static method in class javassist.CtNewMethod
-
-
Creates a public setter method.
-
-
setType(String) - Method in class javassist.bytecode.annotation.EnumMemberValue
-
-
Changes the enum type name.
-
-
setType(CtClass) - Method in class javassist.CtField
-
-
Sets the type of the field.
-
-
setUseCache(boolean) - Method in class javassist.util.proxy.ProxyFactory
-
-
configure whether this factory should use the proxy cache
-
-
setUseContextClassLoaderLocally() - Static method in class javassist.runtime.Desc
-
-
Changes so that the current thread will use the context class loader - when a class is loaded.
-
-
setUseWriteReplace(boolean) - Method in class javassist.util.proxy.ProxyFactory
-
-
configure whether this factory should add a writeReplace method to created classes
-
-
setValue(boolean) - Method in class javassist.bytecode.annotation.BooleanMemberValue
-
-
Sets the value of the member.
-
-
setValue(byte) - Method in class javassist.bytecode.annotation.ByteMemberValue
-
-
Sets the value of the member.
-
-
setValue(char) - Method in class javassist.bytecode.annotation.CharMemberValue
-
-
Sets the value of the member.
-
-
setValue(double) - Method in class javassist.bytecode.annotation.DoubleMemberValue
-
-
Sets the value of the member.
-
-
setValue(float) - Method in class javassist.bytecode.annotation.FloatMemberValue
-
-
Sets the value of the member.
-
-
setValue(int) - Method in class javassist.bytecode.annotation.IntegerMemberValue
-
-
Sets the value of the member.
-
-
setValue(long) - Method in class javassist.bytecode.annotation.LongMemberValue
-
-
Sets the value of the member.
-
-
setValue(short) - Method in class javassist.bytecode.annotation.ShortMemberValue
-
-
Sets the value of the member.
-
-
setValue(String) - Method in class javassist.bytecode.annotation.ClassMemberValue
-
-
Sets the value of the member.
-
-
setValue(String) - Method in class javassist.bytecode.annotation.EnumMemberValue
-
-
Changes the name of the enum constant value.
-
-
setValue(String) - Method in class javassist.bytecode.annotation.StringMemberValue
-
-
Sets the value of the member.
-
-
setValue(Annotation) - Method in class javassist.bytecode.annotation.AnnotationMemberValue
-
-
Sets the value of this member.
-
-
setValue(MemberValue[]) - Method in class javassist.bytecode.annotation.ArrayMemberValue
-
-
Sets the elements of the array.
-
-
setVersionToJava5() - Method in class javassist.bytecode.ClassFile
-
-
Sets the major and minor version to Java 5.
-
-
setWrappedBody(CtMethod, CtMethod.ConstParameter) - Method in class javassist.CtMethod
-
-
Replace a method body with a new method body wrapping the - given method.
-
-
shiftIndex(int, int) - Method in class javassist.bytecode.LocalVariableAttribute
-
-
For each local_variable_table[i].index, - this method increases index by delta.
-
-
SHORT - Static variable in class javassist.bytecode.analysis.Type
-
-
Represents the short primitive type
-
-
ShortMemberValue - Class in javassist.bytecode.annotation
-
-
Short integer constant value.
-
-
ShortMemberValue(int, ConstPool) - Constructor for class javassist.bytecode.annotation.ShortMemberValue
-
-
Constructs a short constant value.
-
-
ShortMemberValue(short, ConstPool) - Constructor for class javassist.bytecode.annotation.ShortMemberValue
-
-
Constructs a short constant value.
-
-
ShortMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.ShortMemberValue
-
-
Constructs a short constant value.
-
-
shortRead() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
-
Returns the name of a static method with the signature - (Ljava/lang/Object;I)S to replace reading from a short[].
-
-
shortRead() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
-
Returns "arrayReadShort" as the name of the static method with the signature - (Ljava/lang/Object;I)S to replace reading from a short[].
-
-
shortType - Static variable in class javassist.CtClass
-
-
The CtClass object representing - the short type.
-
-
shortWrite() - Method in interface javassist.CodeConverter.ArrayAccessReplacementMethodNames
-
-
Returns the name of a static method with the signature - (Ljava/lang/Object;IS)V to replace writing to a short[].
-
-
shortWrite() - Method in class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
-
Returns "arrayWriteShort" as the name of the static method with the signature - (Ljava/lang/Object;IS)V to replace writing to a short[].
-
-
signature(int) - Method in class javassist.bytecode.LocalVariableAttribute
-
-
This method is equivalent to descriptor().
-
-
SignatureAttribute - Class in javassist.bytecode
-
-
Signature_attribute.
-
-
SignatureAttribute(ConstPool, String) - Constructor for class javassist.bytecode.SignatureAttribute
-
-
Constructs a Signature attribute.
-
-
SignatureAttribute.ArrayType - Class in javassist.bytecode
-
-
Array types.
-
-
SignatureAttribute.BaseType - Class in javassist.bytecode
-
-
Primitive types.
-
-
SignatureAttribute.ClassSignature - Class in javassist.bytecode
-
-
Class signature.
-
-
SignatureAttribute.ClassType - Class in javassist.bytecode
-
-
Class types.
-
-
SignatureAttribute.MethodSignature - Class in javassist.bytecode
-
-
Method type signature.
-
-
SignatureAttribute.NestedClassType - Class in javassist.bytecode
-
-
Nested class types.
-
-
SignatureAttribute.ObjectType - Class in javassist.bytecode
-
-
Class types, array types, and type variables.
-
-
SignatureAttribute.Type - Class in javassist.bytecode
-
-
Primitive types and object types.
-
-
SignatureAttribute.TypeArgument - Class in javassist.bytecode
-
-
Type argument.
-
-
SignatureAttribute.TypeParameter - Class in javassist.bytecode
-
-
Formal type parameters.
-
-
SignatureAttribute.TypeVariable - Class in javassist.bytecode
-
-
Type variables.
-
-
signatureIndex(int) - Method in class javassist.bytecode.LocalVariableAttribute
-
-
This method is equivalent to descriptorIndex().
-
-
signedByteAt(int) - Method in class javassist.bytecode.CodeIterator
-
-
Returns the signed 8bit value at the given index.
-
-
Simple() - Constructor for class javassist.Loader.Simple
-
-
Constructs a class loader.
-
-
Simple(ClassLoader) - Constructor for class javassist.Loader.Simple
-
-
Constructs a class loader.
-
-
SIPUSH - Static variable in interface javassist.bytecode.Opcode
-
 
-
size() - Method in interface javassist.bytecode.ClassFileWriter.AttributeWriter
-
-
Returns the number of attributes that this writer will - write.
-
-
size() - Method in class javassist.bytecode.ClassFileWriter.MethodWriter
-
-
Returns the length of the bytecode that has been added so far.
-
-
size() - Method in class javassist.bytecode.ExceptionTable
-
-
Returns exception_table_length, which is the number - of entries in the exception_table[].
-
-
size() - Method in class javassist.bytecode.MethodParametersAttribute
-
-
Returns parameters_count, which is the number of - parameters.
-
-
size() - Method in class javassist.bytecode.StackMapTable.Walker
-
-
Returns the number of the entries.
-
-
skeleton(CtClass[], CtClass[], CtClass) - Static method in class javassist.CtNewConstructor
-
-
Creates a public constructor that only calls a constructor - in the super class.
-
-
skipConstructor() - Method in class javassist.bytecode.CodeIterator
-
-
Moves to the instruction for - either super() or this().
-
-
skipSuperConstructor() - Method in class javassist.bytecode.CodeIterator
-
-
Moves to the instruction for super().
-
-
skipThisConstructor() - Method in class javassist.bytecode.CodeIterator
-
-
Moves to the instruction for this().
-
-
sourceCode() - Method in class javassist.tools.Callback
-
 
-
SourceFileAttribute - Class in javassist.bytecode
-
-
SourceFile_attribute.
-
-
SourceFileAttribute(ConstPool, String) - Constructor for class javassist.bytecode.SourceFileAttribute
-
-
Constructs a SourceFile attribute.
-
-
stack(int, int, int) - Method in class javassist.bytecode.StackMap.Walker
-
-
Invoked when stack of stack_map_frame - is visited.
-
-
STACK_GROW - Static variable in interface javassist.bytecode.Opcode
-
 
-
StackMap - Class in javassist.bytecode
-
-
Another stack_map attribute defined in CLDC 1.1 for J2ME.
-
-
StackMap.Walker - Class in javassist.bytecode
-
-
A code walker for a StackMap attribute.
-
-
StackMap.Writer - Class in javassist.bytecode
-
-
Internal use only.
-
-
StackMapTable - Class in javassist.bytecode
-
-
stack_map attribute.
-
-
StackMapTable.RuntimeCopyException - Exception in javassist.bytecode
-
-
An exception that may be thrown by copy() - in StackMapTable.
-
-
StackMapTable.Walker - Class in javassist.bytecode
-
-
A code walker for a StackMapTable attribute.
-
-
StackMapTable.Writer - Class in javassist.bytecode
-
-
A writer of stack map tables.
-
-
start() - Method in class javassist.bytecode.analysis.Subroutine
-
 
-
start(ClassPool) - Method in class javassist.tools.reflect.Reflection
-
-
Initializes the object.
-
-
start(ClassPool) - Method in class javassist.tools.rmi.StubGenerator
-
-
Initializes the object.
-
-
start(ClassPool) - Method in interface javassist.Translator
-
-
Is invoked by a Loader for initialization - when the object is attached to the Loader object.
-
-
startPc(int) - Method in class javassist.bytecode.ExceptionTable
-
-
Returns startPc of the n-th entry.
-
-
startPc(int) - Method in class javassist.bytecode.LineNumberAttribute
-
-
Returns line_number_table[i].start_pc.
-
-
startPc(int) - Method in class javassist.bytecode.LocalVariableAttribute
-
-
Returns local_variable_table[i].start_pc.
-
-
STATIC - Static variable in class javassist.bytecode.AccessFlag
-
 
-
STATIC - Static variable in class javassist.Modifier
-
 
-
stopPruning(boolean) - Method in class javassist.CtClass
-
-
Disallows (or allows) automatically pruning this CtClass - object.
-
-
STRICT - Static variable in class javassist.bytecode.AccessFlag
-
 
-
STRICT - Static variable in class javassist.Modifier
-
 
-
string(String) - Static method in class javassist.CtMethod.ConstParameter
-
-
Makes an String constant.
-
-
StringMemberValue - Class in javassist.bytecode.annotation
-
-
String constant value.
-
-
StringMemberValue(int, ConstPool) - Constructor for class javassist.bytecode.annotation.StringMemberValue
-
-
Constructs a string constant value.
-
-
StringMemberValue(String, ConstPool) - Constructor for class javassist.bytecode.annotation.StringMemberValue
-
-
Constructs a string constant value.
-
-
StringMemberValue(ConstPool) - Constructor for class javassist.bytecode.annotation.StringMemberValue
-
-
Constructs a string constant value.
-
-
StubGenerator - Class in javassist.tools.rmi
-
-
A stub-code generator.
-
-
StubGenerator() - Constructor for class javassist.tools.rmi.StubGenerator
-
-
Constructs a stub-code generator.
-
-
subclassOf(SignatureAttribute.ObjectType) - Static method in class javassist.bytecode.SignatureAttribute.TypeArgument
-
-
A factory method constructing a TypeArgument with an upper bound.
-
-
subclassOf(CtClass) - Method in class javassist.CtClass
-
-
Determines whether the class directly or indirectly extends - the given class.
-
-
Subroutine - Class in javassist.bytecode.analysis
-
-
Represents a nested method subroutine (marked by JSR and RET).
-
-
Subroutine(int, int) - Constructor for class javassist.bytecode.analysis.Subroutine
-
 
-
SubroutineScanner - Class in javassist.bytecode.analysis
-
-
Discovers the subroutines in a method, and tracks all callers.
-
-
SubroutineScanner() - Constructor for class javassist.bytecode.analysis.SubroutineScanner
-
 
-
subtypeOf(CtClass) - Method in class javassist.CtClass
-
-
Returns true if this class extends or implements - clazz.
-
-
SUPER - Static variable in class javassist.bytecode.AccessFlag
-
 
-
superOf(SignatureAttribute.ObjectType) - Static method in class javassist.bytecode.SignatureAttribute.TypeArgument
-
-
A factory method constructing a TypeArgument with an lower bound.
-
-
supertypeTarget(int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
-
Writes target_type and supertype_target - of target_info union.
-
-
SWAP - Static variable in interface javassist.bytecode.Opcode
-
 
-
SYNCHRONIZED - Static variable in class javassist.bytecode.AccessFlag
-
 
-
SYNCHRONIZED - Static variable in class javassist.Modifier
-
 
-
SYNTHETIC - Static variable in class javassist.bytecode.AccessFlag
-
 
-
SyntheticAttribute - Class in javassist.bytecode
-
-
Synthetic_attribute.
-
-
SyntheticAttribute(ConstPool) - Constructor for class javassist.bytecode.SyntheticAttribute
-
-
Constructs a Synthetic attribute.
-
-
- - - -

T

-
-
T_BOOLEAN - Static variable in interface javassist.bytecode.Opcode
-
 
-
T_BYTE - Static variable in interface javassist.bytecode.Opcode
-
 
-
T_CHAR - Static variable in interface javassist.bytecode.Opcode
-
 
-
T_DOUBLE - Static variable in interface javassist.bytecode.Opcode
-
 
-
T_FLOAT - Static variable in interface javassist.bytecode.Opcode
-
 
-
T_INT - Static variable in interface javassist.bytecode.Opcode
-
 
-
T_LONG - Static variable in interface javassist.bytecode.Opcode
-
 
-
T_SHORT - Static variable in interface javassist.bytecode.Opcode
-
 
-
tableLength() - Method in class javassist.bytecode.ExceptionsAttribute
-
-
Returns number_of_exceptions.
-
-
tableLength() - Method in class javassist.bytecode.InnerClassesAttribute
-
-
Returns number_of_classes.
-
-
tableLength() - Method in class javassist.bytecode.LineNumberAttribute
-
-
Returns line_number_table_length.
-
-
tableLength() - Method in class javassist.bytecode.LocalVariableAttribute
-
-
Returns local_variable_table_length.
-
-
TABLESWITCH - Static variable in interface javassist.bytecode.Opcode
-
 
-
tag - Static variable in class javassist.bytecode.AnnotationDefaultAttribute
-
-
The name of the AnnotationDefault attribute.
-
-
tag - Static variable in class javassist.bytecode.BootstrapMethodsAttribute
-
-
The name of this attribute "BootstrapMethods".
-
-
tag - Static variable in class javassist.bytecode.CodeAttribute
-
-
The name of this attribute "Code".
-
-
tag - Static variable in class javassist.bytecode.ConstantAttribute
-
-
The name of this attribute "ConstantValue".
-
-
tag - Static variable in class javassist.bytecode.DeprecatedAttribute
-
-
The name of this attribute "Deprecated".
-
-
tag - Static variable in class javassist.bytecode.EnclosingMethodAttribute
-
-
The name of this attribute "EnclosingMethod".
-
-
tag - Static variable in class javassist.bytecode.ExceptionsAttribute
-
-
The name of this attribute "Exceptions".
-
-
tag - Static variable in class javassist.bytecode.InnerClassesAttribute
-
-
The name of this attribute "InnerClasses".
-
-
tag - Static variable in class javassist.bytecode.LineNumberAttribute
-
-
The name of this attribute "LineNumberTable".
-
-
tag - Static variable in class javassist.bytecode.LocalVariableAttribute
-
-
The name of this attribute "LocalVariableTable".
-
-
tag - Static variable in class javassist.bytecode.LocalVariableTypeAttribute
-
-
The name of the attribute "LocalVariableTypeTable".
-
-
tag - Static variable in class javassist.bytecode.MethodParametersAttribute
-
-
The name of this attribute "MethodParameters".
-
-
tag - Static variable in class javassist.bytecode.NestHostAttribute
-
-
The name of this attribute "NestHost".
-
-
tag - Static variable in class javassist.bytecode.NestMembersAttribute
-
-
The name of this attribute "NestMembers".
-
-
tag - Static variable in class javassist.bytecode.SignatureAttribute
-
-
The name of this attribute "Signature".
-
-
tag - Static variable in class javassist.bytecode.SourceFileAttribute
-
-
The name of this attribute "SourceFile".
-
-
tag - Static variable in class javassist.bytecode.StackMap
-
-
The name of this attribute "StackMap".
-
-
tag - Static variable in class javassist.bytecode.StackMapTable
-
-
The name of this attribute "StackMapTable".
-
-
tag - Static variable in class javassist.bytecode.SyntheticAttribute
-
-
The name of this attribute "Synthetic".
-
-
THIS - Static variable in class javassist.bytecode.Bytecode
-
-
Represents the CtClass file using the - constant pool table given to this Bytecode object.
-
-
THIS - Static variable in class javassist.bytecode.ConstPool
-
-
Represents the class using this constant pool table.
-
-
THIS - Static variable in class javassist.bytecode.StackMap
-
-
UninitializedThis_variable_info.tag.
-
-
THIS - Static variable in class javassist.bytecode.StackMapTable
-
-
UninitializedThis_variable_info.tag.
-
-
THROWABLE - Static variable in class javassist.bytecode.analysis.Type
-
-
Represents the java.lang.Throwable reference type
-
-
throwsTarget(int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
-
Writes target_type and throws_target - of target_info union.
-
-
toAnnotationType(ClassLoader, ClassPool) - Method in class javassist.bytecode.annotation.Annotation
-
-
Constructs an annotation-type object representing this annotation.
-
-
toArrayComponent(String, int) - Static method in class javassist.bytecode.Descriptor
-
-
Returns the descriptor of the type of the array component.
-
-
toByteArray() - Method in class javassist.bytecode.StackMap.Writer
-
-
Converts the written data into a byte array.
-
-
toByteArray() - Method in class javassist.bytecode.StackMapTable.Writer
-
-
Returns the stack map table written out.
-
-
toBytecode() - Method in class javassist.CtClass
-
-
Converts this class to a class file.
-
-
toBytecode(DataOutputStream) - Method in class javassist.CtClass
-
-
Converts this class to a class file.
-
-
toClass() - Method in class javassist.CtClass
-
-
Converts this class to a java.lang.Class object.
-
-
toClass(Class<?>) - Method in class javassist.CtClass
-
-
Converts this class to a java.lang.Class object.
-
-
toClass(Class<?>, byte[]) - Static method in class javassist.util.proxy.DefineClassHelper
-
-
Loads a class file by java.lang.invoke.MethodHandles.Lookup.
-
-
toClass(ClassLoader) - Method in class javassist.CtClass
-
- -
-
toClass(ClassLoader, ProtectionDomain) - Method in class javassist.CtClass
-
-
Converts this class to a java.lang.Class object.
-
-
toClass(MethodHandles.Lookup) - Method in class javassist.CtClass
-
-
Converts this class to a java.lang.Class object.
-
-
toClass(MethodHandles.Lookup, byte[]) - Static method in class javassist.util.proxy.DefineClassHelper
-
-
Loads a class file by java.lang.invoke.MethodHandles.Lookup.
-
-
toClass(String, Class<?>, ClassLoader, ProtectionDomain, byte[]) - Static method in class javassist.util.proxy.DefineClassHelper
-
-
Loads a class file by a given class loader.
-
-
toClass(ClassFile, Class<?>, ClassLoader, ProtectionDomain) - Static method in class javassist.util.proxy.FactoryHelper
-
-
Loads a class file by a given class loader.
-
-
toClass(ClassFile, ClassLoader) - Static method in class javassist.util.proxy.FactoryHelper
-
-
Deprecated. 
-
-
toClass(ClassFile, ClassLoader, ProtectionDomain) - Static method in class javassist.util.proxy.FactoryHelper
-
-
Deprecated. 
-
-
toClass(ClassFile, MethodHandles.Lookup) - Static method in class javassist.util.proxy.FactoryHelper
-
-
Loads a class file by a given lookup.
-
-
toClass(CtClass) - Method in class javassist.ClassPool
-
-
Converts the given class to a java.lang.Class object.
-
-
toClass(CtClass, Class<?>) - Method in class javassist.ClassPool
-
-
Converts the class to a java.lang.Class object.
-
-
toClass(CtClass, Class<?>, ClassLoader, ProtectionDomain) - Method in class javassist.ClassPool
-
-
Converts the class to a java.lang.Class object.
-
-
toClass(CtClass, ClassLoader) - Method in class javassist.ClassPool
-
-
Deprecated. -
Replaced by ClassPool.toClass(CtClass,Class,ClassLoader,ProtectionDomain). - A subclass of ClassPool that has been - overriding this method should be modified. It should override - ClassPool.toClass(CtClass,Class,ClassLoader,ProtectionDomain).
-
-
-
toClass(CtClass, ClassLoader, ProtectionDomain) - Method in class javassist.ClassPool
-
- -
-
toClass(CtClass, MethodHandles.Lookup) - Method in class javassist.ClassPool
-
-
Converts the class to a java.lang.Class object.
-
-
toClassName(String) - Static method in class javassist.bytecode.Descriptor
-
-
Converts to a Java class name from a descriptor.
-
-
toClassSignature(String) - Static method in class javassist.bytecode.SignatureAttribute
-
-
Parses the given signature string as a class signature.
-
-
toCodeAttribute() - Method in class javassist.bytecode.Bytecode
-
-
Converts to a CodeAttribute.
-
-
toCtClass(String, ClassPool) - Static method in class javassist.bytecode.Descriptor
-
-
Returns a CtClass object representing the type - specified by the given descriptor.
-
-
toFieldSignature(String) - Static method in class javassist.bytecode.SignatureAttribute
-
-
Parses the given signature string as a field type signature.
-
-
toJavaName(String) - Static method in class javassist.bytecode.Descriptor
-
-
Converts a class name from the internal representation used in - the JVM to the normal one used in Java.
-
-
toJavaName(String) - Static method in class javassist.ClassMap
-
-
Converts a class name from the internal representation used in - the JVM to the normal one used in Java.
-
-
toJvmName(String) - Static method in class javassist.bytecode.Descriptor
-
-
Converts a class name into the internal representation used in - the JVM.
-
-
toJvmName(String) - Static method in class javassist.ClassMap
-
-
Converts a class name into the internal representation used in - the JVM.
-
-
toJvmName(CtClass) - Static method in class javassist.bytecode.Descriptor
-
-
Returns the internal representation of the class name in the - JVM.
-
-
toLineNumber(int) - Method in class javassist.bytecode.LineNumberAttribute
-
-
Returns the line number corresponding to the specified bytecode.
-
-
toMethod(String, CtClass) - Method in class javassist.CtConstructor
-
-
Makes a copy of this constructor and converts it into a method.
-
-
toMethod(String, CtClass, ClassMap) - Method in class javassist.CtConstructor
-
-
Makes a copy of this constructor and converts it into a method.
-
-
toMethodSignature(String) - Static method in class javassist.bytecode.SignatureAttribute
-
-
Parses the given signature string as a method type signature.
-
-
toModifier(int) - Static method in class javassist.bytecode.AccessFlag
-
-
Converts a javassist.bytecode.AccessFlag - into a javassist.Modifier.
-
-
toNearPc(int) - Method in class javassist.bytecode.LineNumberAttribute
-
-
Returns the index into the code array at which the code for - the specified line (or the nearest line after the specified one) - begins.
-
-
TOP - Static variable in class javassist.bytecode.analysis.Type
-
-
A placeholder used by the analyzer for the second word position of a double-word type
-
-
TOP - Static variable in class javassist.bytecode.StackMap
-
-
Top_variable_info.tag.
-
-
TOP - Static variable in class javassist.bytecode.StackMapTable
-
-
Top_variable_info.tag.
-
-
toStackMap(ConstPool) - Method in class javassist.bytecode.StackMap.Writer
-
-
Converts to a StackMap attribute.
-
-
toStackMapTable(ConstPool) - Method in class javassist.bytecode.StackMapTable.Writer
-
-
Constructs and a return a stack map table containing - the written stack map entries.
-
-
toStartPc(int) - Method in class javassist.bytecode.LineNumberAttribute
-
-
Returns the index into the code array at which the code for - the specified line begins.
-
-
toString() - Method in class javassist.ByteArrayClassPath
-
 
-
toString() - Method in class javassist.bytecode.analysis.ControlFlow.Node
-
-
Returns a String representation.
-
-
toString() - Method in class javassist.bytecode.analysis.Frame
-
 
-
toString() - Method in class javassist.bytecode.analysis.MultiArrayType
-
 
-
toString() - Method in class javassist.bytecode.analysis.MultiType
-
 
-
toString() - Method in class javassist.bytecode.analysis.Subroutine
-
 
-
toString() - Method in class javassist.bytecode.analysis.Type
-
 
-
toString() - Method in class javassist.bytecode.annotation.Annotation
-
-
Returns a string representation of the annotation.
-
-
toString() - Method in class javassist.bytecode.annotation.AnnotationMemberValue
-
-
Obtains the string representation of this object.
-
-
toString() - Method in class javassist.bytecode.annotation.ArrayMemberValue
-
-
Obtains the string representation of this object.
-
-
toString() - Method in class javassist.bytecode.annotation.BooleanMemberValue
-
-
Obtains the string representation of this object.
-
-
toString() - Method in class javassist.bytecode.annotation.ByteMemberValue
-
-
Obtains the string representation of this object.
-
-
toString() - Method in class javassist.bytecode.annotation.CharMemberValue
-
-
Obtains the string representation of this object.
-
-
toString() - Method in class javassist.bytecode.annotation.ClassMemberValue
-
-
Obtains the string representation of this object.
-
-
toString() - Method in class javassist.bytecode.annotation.DoubleMemberValue
-
-
Obtains the string representation of this object.
-
-
toString() - Method in class javassist.bytecode.annotation.EnumMemberValue
-
 
-
toString() - Method in class javassist.bytecode.annotation.FloatMemberValue
-
-
Obtains the string representation of this object.
-
-
toString() - Method in class javassist.bytecode.annotation.IntegerMemberValue
-
-
Obtains the string representation of this object.
-
-
toString() - Method in class javassist.bytecode.annotation.LongMemberValue
-
-
Obtains the string representation of this object.
-
-
toString() - Method in class javassist.bytecode.annotation.ShortMemberValue
-
-
Obtains the string representation of this object.
-
-
toString() - Method in class javassist.bytecode.annotation.StringMemberValue
-
-
Obtains the string representation of this object.
-
-
toString() - Method in class javassist.bytecode.AnnotationDefaultAttribute
-
-
Returns a string representation of this object.
-
-
toString() - Method in class javassist.bytecode.AnnotationsAttribute
-
-
Returns a string representation of this object.
-
-
toString() - Method in class javassist.bytecode.FieldInfo
-
-
Returns a string representation of the object.
-
-
toString() - Method in class javassist.bytecode.MethodInfo
-
-
Returns a string representation of the object.
-
-
toString() - Method in class javassist.bytecode.ParameterAnnotationsAttribute
-
-
Returns a string representation of this object.
-
-
toString() - Method in class javassist.bytecode.SignatureAttribute.ArrayType
-
-
Returns the string representation.
-
-
toString() - Method in class javassist.bytecode.SignatureAttribute.BaseType
-
-
Returns the string representation.
-
-
toString() - Method in class javassist.bytecode.SignatureAttribute.ClassSignature
-
-
Returns the string representation.
-
-
toString() - Method in class javassist.bytecode.SignatureAttribute.ClassType
-
-
Returns the string representation.
-
-
toString() - Method in class javassist.bytecode.SignatureAttribute.MethodSignature
-
-
Returns the string representation.
-
-
toString() - Method in class javassist.bytecode.SignatureAttribute.TypeArgument
-
-
Returns the string representation.
-
-
toString() - Method in class javassist.bytecode.SignatureAttribute.TypeParameter
-
-
Returns the string representation.
-
-
toString() - Method in class javassist.bytecode.SignatureAttribute.TypeVariable
-
-
Returns the string representation.
-
-
toString() - Method in class javassist.ClassClassPath
-
 
-
toString() - Method in class javassist.ClassPool
-
-
Returns the class search path.
-
-
toString() - Method in class javassist.CtClass
-
-
Converts the object to a string.
-
-
toString() - Method in class javassist.CtField
-
-
Returns a String representation of the object.
-
-
toString() - Method in class javassist.CtMember
-
 
-
toString() - Method in class javassist.LoaderClassPath
-
 
-
toString() - Method in class javassist.tools.Callback
-
 
-
toString() - Method in exception javassist.tools.web.BadHttpRequest
-
 
-
toString() - Method in class javassist.URLClassPath
-
 
-
toString(int) - Static method in class javassist.Modifier
-
-
Return a string describing the access modifier flags in - the specified modifier.
-
-
toString(String) - Static method in class javassist.bytecode.Descriptor
-
-
Returns a human-readable representation of the - given descriptor.
-
-
toTypeSignature(String) - Static method in class javassist.bytecode.SignatureAttribute
-
-
Parses the given signature string as a type signature.
-
-
TRANSIENT - Static variable in class javassist.bytecode.AccessFlag
-
 
-
TRANSIENT - Static variable in class javassist.Modifier
-
 
-
Translator - Interface in javassist
-
-
An observer of Loader.
-
-
trap(Object[], int) - Method in class javassist.tools.reflect.Sample
-
 
-
trapFieldRead(String) - Method in class javassist.tools.reflect.ClassMetaobject
-
-
Is invoked when static fields of the base-level - class are read and the runtime system intercepts it.
-
-
trapFieldRead(String) - Method in class javassist.tools.reflect.Metaobject
-
-
Is invoked when public fields of the base-level - class are read and the runtime system intercepts it.
-
-
trapFieldWrite(String, Object) - Method in class javassist.tools.reflect.ClassMetaobject
-
-
Is invoked when static fields of the base-level - class are modified and the runtime system intercepts it.
-
-
trapFieldWrite(String, Object) - Method in class javassist.tools.reflect.Metaobject
-
-
Is invoked when public fields of the base-level - class are modified and the runtime system intercepts it.
-
-
trapMethodcall(int, Object[]) - Method in class javassist.tools.reflect.ClassMetaobject
-
-
Is invoked when static methods of the base-level - class are called and the runtime system intercepts it.
-
-
trapMethodcall(int, Object[]) - Method in class javassist.tools.reflect.Metaobject
-
-
Is invoked when base-level method invocation is intercepted.
-
-
trapRead(Object[], String) - Static method in class javassist.tools.reflect.Sample
-
 
-
trapStatic(Object[], int) - Static method in class javassist.tools.reflect.Sample
-
 
-
trapWrite(Object[], String) - Static method in class javassist.tools.reflect.Sample
-
 
-
type() - Method in class javassist.bytecode.analysis.ControlFlow.Catcher
-
-
Returns the name of the exception type that - this catch clause catches.
-
-
Type - Class in javassist.bytecode.analysis
-
-
Represents a JVM type in data-flow analysis.
-
-
Type() - Constructor for class javassist.bytecode.SignatureAttribute.Type
-
 
-
TypeAnnotationsAttribute - Class in javassist.bytecode
-
-
A class representing - RuntimeVisibleTypeAnnotations attribute and - RuntimeInvisibleTypeAnnotations attribute.
-
-
TypeAnnotationsAttribute(ConstPool, String, byte[]) - Constructor for class javassist.bytecode.TypeAnnotationsAttribute
-
-
Constructs a Runtime(In)VisibleTypeAnnotations_attribute.
-
-
TypeAnnotationsWriter - Class in javassist.bytecode.annotation
-
-
A convenience class for constructing a - ..TypeAnnotations_attribute.
-
-
TypeAnnotationsWriter(OutputStream, ConstPool) - Constructor for class javassist.bytecode.annotation.TypeAnnotationsWriter
-
-
Constructs with the given output stream.
-
-
TypeArgument() - Constructor for class javassist.bytecode.SignatureAttribute.TypeArgument
-
-
Constructs a TypeArgument representing <?>.
-
-
TypeArgument(SignatureAttribute.ObjectType) - Constructor for class javassist.bytecode.SignatureAttribute.TypeArgument
-
-
Constructs a TypeArgument.
-
-
typeArgumentTarget(int, int, int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
-
Writes target_type and type_argument_target - of target_info union.
-
-
typeIndex(Class<?>) - Static method in class javassist.util.proxy.FactoryHelper
-
-
Returns an index for accessing arrays in this class.
-
-
typeInfo(int, byte) - Method in class javassist.bytecode.StackMap.Walker
-
-
Invoked when an element of verification_type_info - (except Object_variable_info and - Uninitialized_variable_info) is visited.
-
-
typeInfoArray(int, int, int, boolean) - Method in class javassist.bytecode.StackMap.Walker
-
-
Invoked when an array of verification_type_info is - visited.
-
-
TypeParameter(String) - Constructor for class javassist.bytecode.SignatureAttribute.TypeParameter
-
-
Constructs a TypeParameter representing a type parameter - like <T>.
-
-
TypeParameter(String, SignatureAttribute.ObjectType, SignatureAttribute.ObjectType[]) - Constructor for class javassist.bytecode.SignatureAttribute.TypeParameter
-
-
Constructs a TypeParameter representing a type parametre - like <T extends ...
-
-
typeParameterBoundTarget(int, int, int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
-
Writes target_type and type_parameter_bound_target - of target_info union.
-
-
typeParameterTarget(int, int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
-
Writes target_type and type_parameter_target - of target_info union.
-
-
typePath(int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
-
Writes path_length of type_path.
-
-
typePathPath(int, int) - Method in class javassist.bytecode.annotation.TypeAnnotationsWriter
-
-
Writes an element of path[] of type_path.
-
-
typeTag - Static variable in class javassist.bytecode.LocalVariableAttribute
-
-
The name of the attribute "LocalVariableTypeTable".
-
-
typeTagOf(char) - Static method in class javassist.bytecode.StackMapTable
-
-
Returns the tag of the type specified by the - descriptor.
-
-
TypeVariable(String) - Constructor for class javassist.bytecode.SignatureAttribute.TypeVariable
-
-
Constructs a TypeVariable.
-
-
- - - -

U

-
-
u16bitAt(int) - Method in class javassist.bytecode.CodeIterator
-
-
Returns the unsigned 16bit value at the given index.
-
-
UNINIT - Static variable in class javassist.bytecode.analysis.Type
-
-
Represents an unknown, or null type.
-
-
UNINIT - Static variable in class javassist.bytecode.StackMap
-
-
Uninitialized_variable_info.tag.
-
-
UNINIT - Static variable in class javassist.bytecode.StackMapTable
-
-
Uninitialized_variable_info.tag.
-
-
uninitialized(int, int) - Method in class javassist.bytecode.StackMap.Walker
-
-
Invoked when an element of type Uninitialized_variable_info - is visited.
-
-
unwarpMethods - Static variable in class javassist.util.proxy.FactoryHelper
-
-
The names of methods for obtaining a primitive value - from a wrapper object.
-
-
unwrapDesc - Static variable in class javassist.util.proxy.FactoryHelper
-
-
The descriptors of the unwrapping methods contained - in unwrapMethods.
-
-
URLClassPath - Class in javassist
-
-
A class search-path specified with URL (http).
-
-
URLClassPath(String, int, String, String) - Constructor for class javassist.URLClassPath
-
-
Creates a search path specified with URL (http).
-
-
useCache - Static variable in class javassist.util.proxy.ProxyFactory
-
-
If true, a generated proxy class is cached and it will be reused - when generating the proxy class with the same properties is requested.
-
-
useCflow(String) - Method in class javassist.CtBehavior
-
-
Declares to use $cflow for this method/constructor.
-
-
useContextClassLoader - Static variable in class javassist.runtime.Desc
-
-
Specifies how a java.lang.Class object is loaded.
-
-
useContextClassLoader - Static variable in class javassist.tools.reflect.ClassMetaobject
-
-
Specifies how a java.lang.Class object is loaded.
-
-
useWriteReplace - Static variable in class javassist.util.proxy.ProxyFactory
-
-
If true, a generated proxy class will implement method writeReplace enabling - serialization of its proxies to a conventional ObjectOutputStream.
-
-
Util - Class in javassist.bytecode.analysis
-
-
A set of common utility methods.
-
-
Util() - Constructor for class javassist.bytecode.analysis.Util
-
 
-
- - - -

V

-
-
value() - Method in class javassist.runtime.Cflow
-
-
Returns the value of the counter.
-
-
VARARGS - Static variable in class javassist.bytecode.AccessFlag
-
 
-
VARARGS - Static variable in class javassist.Modifier
-
 
-
variableName(int) - Method in class javassist.bytecode.LocalVariableAttribute
-
-
Returns the name of the local variable - specified by local_variable_table[i].name_index.
-
-
version - Static variable in class javassist.CtClass
-
-
The version number of this release.
-
-
Viewer - Class in javassist.tools.web
-
-
A sample applet viewer.
-
-
Viewer(String, int) - Constructor for class javassist.tools.web.Viewer
-
-
Constructs a viewer.
-
-
visibleFrom(CtClass) - Method in class javassist.CtMember
-
-
Returns true if this member is accessible from the given class.
-
-
visibleTag - Static variable in class javassist.bytecode.AnnotationsAttribute
-
-
The name of the RuntimeVisibleAnnotations attribute.
-
-
visibleTag - Static variable in class javassist.bytecode.ParameterAnnotationsAttribute
-
-
The name of the RuntimeVisibleParameterAnnotations - attribute.
-
-
visibleTag - Static variable in class javassist.bytecode.TypeAnnotationsAttribute
-
-
The name of the RuntimeVisibleTypeAnnotations attribute.
-
-
visit() - Method in class javassist.bytecode.StackMap.Walker
-
-
Visits each entry of the stack map frames.
-
-
visitAnnotationMemberValue(AnnotationMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
-
 
-
visitArrayMemberValue(ArrayMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
-
 
-
visitBooleanMemberValue(BooleanMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
-
 
-
visitByteMemberValue(ByteMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
-
 
-
visitCharMemberValue(CharMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
-
 
-
visitClassMemberValue(ClassMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
-
 
-
visitDoubleMemberValue(DoubleMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
-
 
-
visitEnumMemberValue(EnumMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
-
 
-
visitFloatMemberValue(FloatMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
-
 
-
visitIntegerMemberValue(IntegerMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
-
 
-
visitLongMemberValue(LongMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
-
 
-
visitShortMemberValue(ShortMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
-
 
-
visitStringMemberValue(StringMemberValue) - Method in interface javassist.bytecode.annotation.MemberValueVisitor
-
 
-
VOID - Static variable in class javassist.bytecode.analysis.Type
-
-
Represents the void primitive type
-
-
voidType - Static variable in class javassist.CtClass
-
-
The CtClass object representing - the void type.
-
-
VOLATILE - Static variable in class javassist.bytecode.AccessFlag
-
 
-
VOLATILE - Static variable in class javassist.Modifier
-
 
-
- - - -

W

-
-
Walker(byte[]) - Constructor for class javassist.bytecode.StackMapTable.Walker
-
-
Constructs a walker.
-
-
Walker(StackMap) - Constructor for class javassist.bytecode.StackMap.Walker
-
-
Constructs a walker.
-
-
Walker(StackMapTable) - Constructor for class javassist.bytecode.StackMapTable.Walker
-
-
Constructs a walker.
-
-
Webserver - Class in javassist.tools.web
-
-
A web server for running sample programs.
-
-
Webserver(int) - Constructor for class javassist.tools.web.Webserver
-
-
Constructs a web server.
-
-
Webserver(String) - Constructor for class javassist.tools.web.Webserver
-
-
Constructs a web server.
-
-
where() - Method in class javassist.expr.Cast
-
-
Returns the method or constructor containing the type cast - expression represented by this object.
-
-
where() - Method in class javassist.expr.Expr
-
-
Returns the constructor or method containing the expression.
-
-
where() - Method in class javassist.expr.FieldAccess
-
-
Returns the method or constructor containing the field-access - expression represented by this object.
-
-
where() - Method in class javassist.expr.Handler
-
-
Returns the method or constructor containing the catch clause.
-
-
where() - Method in class javassist.expr.Instanceof
-
-
Returns the method or constructor containing the instanceof - expression represented by this object.
-
-
where() - Method in class javassist.expr.MethodCall
-
-
Returns the method or constructor containing the method-call - expression represented by this object.
-
-
where() - Method in class javassist.expr.NewArray
-
-
Returns the method or constructor containing the array creation - represented by this object.
-
-
where() - Method in class javassist.expr.NewExpr
-
-
Returns the method or constructor containing the new - expression represented by this object.
-
-
WIDE - Static variable in interface javassist.bytecode.Opcode
-
 
-
wrapped(CtClass, String, CtClass[], CtClass[], CtMethod, CtMethod.ConstParameter, CtClass) - Static method in class javassist.CtNewMethod
-
-
Creates a wrapped method.
-
-
wrapperDesc - Static variable in class javassist.util.proxy.FactoryHelper
-
-
The descriptors of the constructors of wrapper classes.
-
-
wrapperTypes - Static variable in class javassist.util.proxy.FactoryHelper
-
-
The fully-qualified names of wrapper classes for primitive types.
-
-
write(byte[], int) - Method in class javassist.bytecode.CodeIterator
-
-
Writes a byte array at the index.
-
-
write(int, int) - Method in class javassist.bytecode.Bytecode
-
-
Writes an 8bit value at the offset from the beginning of the - bytecode sequence.
-
-
write(DataOutputStream) - Method in class javassist.bytecode.ClassFile
-
-
Writes a class file represented by this object into an output stream.
-
-
write(DataOutputStream) - Method in interface javassist.bytecode.ClassFileWriter.AttributeWriter
-
-
Writes all the contents of the attributes.
-
-
write(DataOutputStream) - Method in class javassist.bytecode.ConstPool
-
-
Writes the contents of the constant pool table.
-
-
write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.Annotation
-
-
Writes this annotation.
-
-
write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.AnnotationMemberValue
-
-
Writes the value.
-
-
write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.ArrayMemberValue
-
-
Writes the value.
-
-
write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.BooleanMemberValue
-
-
Writes the value.
-
-
write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.ByteMemberValue
-
-
Writes the value.
-
-
write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.CharMemberValue
-
-
Writes the value.
-
-
write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.ClassMemberValue
-
-
Writes the value.
-
-
write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.DoubleMemberValue
-
-
Writes the value.
-
-
write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.EnumMemberValue
-
-
Writes the value.
-
-
write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.FloatMemberValue
-
-
Writes the value.
-
-
write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.IntegerMemberValue
-
-
Writes the value.
-
-
write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.LongMemberValue
-
-
Writes the value.
-
-
write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.MemberValue
-
-
Writes the value.
-
-
write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.ShortMemberValue
-
-
Writes the value.
-
-
write(AnnotationsWriter) - Method in class javassist.bytecode.annotation.StringMemberValue
-
-
Writes the value.
-
-
write16bit(int) - Method in class javassist.bytecode.StackMap.Writer
-
-
Writes a 16bit value.
-
-
write16bit(int, byte[], int) - Static method in class javassist.bytecode.ByteArray
-
-
Writes a 16bit integer at the index.
-
-
write16bit(int, int) - Method in class javassist.bytecode.Bytecode
-
-
Writes an 16bit value at the offset from the beginning of the - bytecode sequence.
-
-
write16bit(int, int) - Method in class javassist.bytecode.CodeIterator
-
-
Writes a 16 bit integer at the index.
-
-
write32bit(int, byte[], int) - Static method in class javassist.bytecode.ByteArray
-
-
Writes a 32bit integer at the index.
-
-
write32bit(int, int) - Method in class javassist.bytecode.Bytecode
-
-
Writes an 32bit value at the offset from the beginning of the - bytecode sequence.
-
-
write32bit(int, int) - Method in class javassist.bytecode.CodeIterator
-
-
Writes a 32bit integer at the index.
-
-
writeByte(int, int) - Method in class javassist.bytecode.CodeIterator
-
-
Writes an 8bit value at the given index.
-
-
writeDirectory - Variable in class javassist.util.proxy.ProxyFactory
-
-
If the value of this variable is not null, the class file of - the generated proxy class is written under the directory specified - by this variable.
-
-
writeFile() - Method in class javassist.CtClass
-
-
Writes a class file represented by this CtClass - object in the current directory.
-
-
writeFile(String) - Method in class javassist.CtClass
-
-
Writes a class file represented by this CtClass - object on a local disk.
-
-
writeFile(ClassFile, String) - Static method in class javassist.util.proxy.FactoryHelper
-
-
Writes a class file.
-
-
Writer() - Constructor for class javassist.bytecode.StackMap.Writer
-
-
Constructs a writer.
-
-
Writer(int) - Constructor for class javassist.bytecode.StackMapTable.Writer
-
-
Constructs a writer.
-
-
writeVerifyTypeInfo(int, int) - Method in class javassist.bytecode.StackMap.Writer
-
-
Writes a union verification_type_info value.
-
-
- - - -

_

-
-
_getClass() - Method in interface javassist.tools.reflect.Metalevel
-
-
Obtains the class metaobject associated with this object.
-
-
_getMetaobject() - Method in interface javassist.tools.reflect.Metalevel
-
-
Obtains the metaobject associated with this object.
-
-
_getObjectId() - Method in interface javassist.tools.rmi.Proxy
-
 
-
_setMetaobject(Metaobject) - Method in interface javassist.tools.reflect.Metalevel
-
-
Changes the metaobject associated with this object.
-
-
-A B C D E F G H I J L M N O P R S T U V W _ 
All Classes All Packages
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/index.html b/html/index.html deleted file mode 100644 index 6e422a99..00000000 --- a/html/index.html +++ /dev/null @@ -1,231 +0,0 @@ - - - - - -Overview (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-

Javassist

-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Packages 
PackageDescription
javassist -
The Javassist Core API.
-
javassist.bytecode -
Bytecode-level API.
-
javassist.bytecode.analysis -
Bytecode Analysis API.
-
javassist.bytecode.annotation -
Bytecode-level Annotations API.
-
javassist.expr -
This package contains the classes for modifying a method body.
-
javassist.runtime -
Runtime support classes required by modified bytecode.
-
javassist.tools -
Covenient tools.
-
javassist.tools.reflect -
Runtime Behavioral Reflection.
-
javassist.tools.rmi -
Sample implementation of remote method invocation.
-
javassist.tools.web -
Simple web server for running sample code.
-
javassist.util -
Utility classes.
-
javassist.util.proxy -
Dynamic proxy (similar to Enhancer of cglib).
-
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/ByteArrayClassPath.html b/html/javassist/ByteArrayClassPath.html deleted file mode 100644 index 6f7de7d3..00000000 --- a/html/javassist/ByteArrayClassPath.html +++ /dev/null @@ -1,396 +0,0 @@ - - - - - -ByteArrayClassPath (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class ByteArrayClassPath

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.ByteArrayClassPath
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    ClassPath
    -
    -
    -
    public class ByteArrayClassPath
    -extends java.lang.Object
    -implements ClassPath
    -
    A ByteArrayClassPath contains bytes that is served as - a class file to a ClassPool. It is useful to convert - a byte array to a CtClass object. - -

    For example, if you want to convert a byte array b - into a CtClass object representing the class with a name - classname, then do as following: - -

    - ClassPool cp = ClassPool.getDefault();
    - cp.insertClassPath(new ByteArrayClassPath(classname, b));
    - CtClass cc = cp.get(classname);
    - 
    - -

    The ClassPool object cp uses the created - ByteArrayClassPath object as the source of the class file. - -

    A ByteArrayClassPath must be instantiated for every - class. It contains only a single class file.

    -
    -
    See Also:
    -
    ClassPath, -ClassPool.insertClassPath(ClassPath), -ClassPool.appendClassPath(ClassPath), -ClassPool.makeClass(InputStream)
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      ByteArrayClassPath​(java.lang.String name, - byte[] classfile) 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.net.URLfind​(java.lang.String classname) -
      Obtains the URL.
      -
      java.io.InputStreamopenClassfile​(java.lang.String classname) -
      Opens the class file.
      -
      java.lang.StringtoString() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ByteArrayClassPath

        -
        public ByteArrayClassPath​(java.lang.String name,
        -                          byte[] classfile)
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        openClassfile

        -
        public java.io.InputStream openClassfile​(java.lang.String classname)
        -
        Opens the class file.
        -
        -
        Specified by:
        -
        openClassfile in interface ClassPath
        -
        Parameters:
        -
        classname - a fully-qualified class name
        -
        Returns:
        -
        the input stream for reading a class file
        -
        See Also:
        -
        Translator
        -
        -
      • -
      - - - -
        -
      • -

        find

        -
        public java.net.URL find​(java.lang.String classname)
        -
        Obtains the URL.
        -
        -
        Specified by:
        -
        find in interface ClassPath
        -
        Parameters:
        -
        classname - a fully-qualified class name.
        -
        Returns:
        -
        null if the specified class file could not be found.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/CannotCompileException.html b/html/javassist/CannotCompileException.html deleted file mode 100644 index c498ec51..00000000 --- a/html/javassist/CannotCompileException.html +++ /dev/null @@ -1,510 +0,0 @@ - - - - - -CannotCompileException (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class CannotCompileException

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.lang.Throwable
    • -
    • -
        -
      • java.lang.Exception
      • -
      • -
          -
        • javassist.CannotCompileException
        • -
        -
      • -
      -
    • -
    -
  • -
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      CannotCompileException​(java.lang.ClassFormatError e, - java.lang.String name) -
      Constructs a CannotCompileException with a ClassFormatError.
      -
      CannotCompileException​(java.lang.ClassNotFoundException e, - java.lang.String name) -
      Constructs a CannotCompileException - with a ClassNotFoundException.
      -
      CannotCompileException​(java.lang.String msg) -
      Constructs a CannotCompileException with a message.
      -
      CannotCompileException​(java.lang.String msg, - java.lang.Throwable e) -
      Constructs a CannotCompileException with a detailed message - and an Exception representing the cause.
      -
      CannotCompileException​(java.lang.Throwable e) -
      Constructs a CannotCompileException with an Exception - representing the cause.
      -
      CannotCompileException​(javassist.compiler.CompileError e) -
      Constructs a CannotCompileException with an CompileError.
      -
      CannotCompileException​(NotFoundException e) -
      Constructs a CannotCompileException with a - NotFoundException.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.ThrowablegetCause() -
      Gets the cause of this throwable.
      -
      java.lang.StringgetReason() -
      Gets a long message if it is available.
      -
      java.lang.ThrowableinitCause​(java.lang.Throwable cause) -
      Initializes the cause of this throwable.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        CannotCompileException

        -
        public CannotCompileException​(java.lang.String msg)
        -
        Constructs a CannotCompileException with a message.
        -
        -
        Parameters:
        -
        msg - the message.
        -
        -
      • -
      - - - -
        -
      • -

        CannotCompileException

        -
        public CannotCompileException​(java.lang.Throwable e)
        -
        Constructs a CannotCompileException with an Exception - representing the cause.
        -
        -
        Parameters:
        -
        e - the cause.
        -
        -
      • -
      - - - -
        -
      • -

        CannotCompileException

        -
        public CannotCompileException​(java.lang.String msg,
        -                              java.lang.Throwable e)
        -
        Constructs a CannotCompileException with a detailed message - and an Exception representing the cause.
        -
        -
        Parameters:
        -
        msg - the message.
        -
        e - the cause.
        -
        -
      • -
      - - - -
        -
      • -

        CannotCompileException

        -
        public CannotCompileException​(NotFoundException e)
        -
        Constructs a CannotCompileException with a - NotFoundException.
        -
      • -
      - - - -
        -
      • -

        CannotCompileException

        -
        public CannotCompileException​(javassist.compiler.CompileError e)
        -
        Constructs a CannotCompileException with an CompileError.
        -
      • -
      - - - -
        -
      • -

        CannotCompileException

        -
        public CannotCompileException​(java.lang.ClassNotFoundException e,
        -                              java.lang.String name)
        -
        Constructs a CannotCompileException - with a ClassNotFoundException.
        -
      • -
      - - - -
        -
      • -

        CannotCompileException

        -
        public CannotCompileException​(java.lang.ClassFormatError e,
        -                              java.lang.String name)
        -
        Constructs a CannotCompileException with a ClassFormatError.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getCause

        -
        public java.lang.Throwable getCause()
        -
        Gets the cause of this throwable. - It is for JDK 1.3 compatibility.
        -
        -
        Overrides:
        -
        getCause in class java.lang.Throwable
        -
        -
      • -
      - - - -
        -
      • -

        initCause

        -
        public java.lang.Throwable initCause​(java.lang.Throwable cause)
        -
        Initializes the cause of this throwable. - It is for JDK 1.3 compatibility.
        -
        -
        Overrides:
        -
        initCause in class java.lang.Throwable
        -
        -
      • -
      - - - -
        -
      • -

        getReason

        -
        public java.lang.String getReason()
        -
        Gets a long message if it is available.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/ClassClassPath.html b/html/javassist/ClassClassPath.html deleted file mode 100644 index 35ab1c35..00000000 --- a/html/javassist/ClassClassPath.html +++ /dev/null @@ -1,407 +0,0 @@ - - - - - -ClassClassPath (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class ClassClassPath

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.ClassClassPath
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    ClassPath
    -
    -
    -
    public class ClassClassPath
    -extends java.lang.Object
    -implements ClassPath
    -
    A search-path for obtaining a class file - by getResourceAsStream() in java.lang.Class. - -

    Try adding a ClassClassPath when a program is running - with a user-defined class loader and any class files are not found with - the default ClassPool. For example, - -

    - ClassPool cp = ClassPool.getDefault();
    - cp.insertClassPath(new ClassClassPath(this.getClass()));
    - 
    - - This code snippet permanently adds a ClassClassPath - to the default ClassPool. Note that the default - ClassPool is a singleton. The added - ClassClassPath uses a class object representing - the class including the code snippet above. - -

    Class files in a named module are private to that module. - This method cannot obtain class files in named modules. -

    -
    -
    See Also:
    -
    ClassPool.insertClassPath(ClassPath), -ClassPool.appendClassPath(ClassPath), -LoaderClassPath
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      ClassClassPath​(java.lang.Class<?> c) -
      Creates a search path.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.net.URLfind​(java.lang.String classname) -
      Obtains the URL of the specified class file.
      -
      java.io.InputStreamopenClassfile​(java.lang.String classname) -
      Obtains a class file by getResourceAsStream().
      -
      java.lang.StringtoString() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ClassClassPath

        -
        public ClassClassPath​(java.lang.Class<?> c)
        -
        Creates a search path.
        -
        -
        Parameters:
        -
        c - the Class object used to obtain a class - file. getResourceAsStream() is called on - this object.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        openClassfile

        -
        public java.io.InputStream openClassfile​(java.lang.String classname)
        -                                  throws NotFoundException
        -
        Obtains a class file by getResourceAsStream().
        -
        -
        Specified by:
        -
        openClassfile in interface ClassPath
        -
        Parameters:
        -
        classname - a fully-qualified class name
        -
        Returns:
        -
        the input stream for reading a class file
        -
        Throws:
        -
        NotFoundException
        -
        See Also:
        -
        Translator
        -
        -
      • -
      - - - -
        -
      • -

        find

        -
        public java.net.URL find​(java.lang.String classname)
        -
        Obtains the URL of the specified class file.
        -
        -
        Specified by:
        -
        find in interface ClassPath
        -
        Parameters:
        -
        classname - a fully-qualified class name.
        -
        Returns:
        -
        null if the class file could not be found.
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/ClassMap.html b/html/javassist/ClassMap.html deleted file mode 100644 index 0fff0c08..00000000 --- a/html/javassist/ClassMap.html +++ /dev/null @@ -1,587 +0,0 @@ - - - - - -ClassMap (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class ClassMap

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.util.AbstractMap<K,​V>
    • -
    • -
        -
      • java.util.HashMap<java.lang.String,​java.lang.String>
      • -
      • -
          -
        • javassist.ClassMap
        • -
        -
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,​java.lang.String>
    -
    -
    -
    public class ClassMap
    -extends java.util.HashMap<java.lang.String,​java.lang.String>
    -
    A hash table associating class names with different names. - -

    This hashtable is used for replacing class names in a class - definition or a method body. Define a subclass of this class - if a more complex mapping algorithm is needed. For example, - -

    class MyClassMap extends ClassMap {
    -   public Object get(Object jvmClassName) {
    -     String name = toJavaName((String)jvmClassName);
    -     if (name.startsWith("java."))
    -         return toJvmName("java2." + name.substring(5));
    -     else
    -         return super.get(jvmClassName);
    -   }
    - }
    - -

    This subclass maps java.lang.String to - java2.lang.String. Note that get() - receives and returns the internal representation of a class name. - For example, the internal representation of java.lang.String - is java/lang/String. - -

    Note that this is a map from String to String.

    -
    -
    See Also:
    -
    get(Object), -CtClass.replaceClassName(ClassMap), -CtNewMethod.copy(CtMethod,String,CtClass,ClassMap), -Serialized Form
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Nested Class Summary

      -
        -
      • - - -

        Nested classes/interfaces inherited from class java.util.AbstractMap

        -java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
      • -
      -
        -
      • - - -

        Nested classes/interfaces inherited from interface java.util.Map

        -java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      ClassMap() -
      Constructs a hash table.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidfix​(java.lang.String name) -
      Prevents a mapping from the specified class name to another name.
      -
      voidfix​(CtClass clazz) -
      Prevents a mapping from the specified class name to another name.
      -
      java.lang.Stringget​(java.lang.Object jvmClassName) -
      Returns the class name to wihch the given jvmClassName - is mapped.
      -
      java.lang.Stringput​(java.lang.String oldname, - java.lang.String newname) -
      Maps a class name to another name in this hashtable.
      -
      voidput​(CtClass oldname, - CtClass newname) -
      Maps a class name to another name in this hashtable.
      -
      voidputIfNone​(java.lang.String oldname, - java.lang.String newname) -
      Is equivalent to put() except that - the given mapping is not recorded into the hashtable - if another mapping from oldname is - already included.
      -
      static java.lang.StringtoJavaName​(java.lang.String classname) -
      Converts a class name from the internal representation used in - the JVM to the normal one used in Java.
      -
      static java.lang.StringtoJvmName​(java.lang.String classname) -
      Converts a class name into the internal representation used in - the JVM.
      -
      -
        -
      • - - -

        Methods inherited from class java.util.HashMap

        -clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
      • -
      -
        -
      • - - -

        Methods inherited from class java.util.AbstractMap

        -equals, hashCode, toString
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -getClass, notify, notifyAll, wait, wait, wait
      • -
      -
        -
      • - - -

        Methods inherited from interface java.util.Map

        -equals, hashCode
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ClassMap

        -
        public ClassMap()
        -
        Constructs a hash table.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        put

        -
        public void put​(CtClass oldname,
        -                CtClass newname)
        -
        Maps a class name to another name in this hashtable. - The names are obtained with calling Class.getName(). - This method translates the given class names into the - internal form used in the JVM before putting it in - the hashtable.
        -
        -
        Parameters:
        -
        oldname - the original class name
        -
        newname - the substituted class name.
        -
        -
      • -
      - - - -
        -
      • -

        put

        -
        public java.lang.String put​(java.lang.String oldname,
        -                            java.lang.String newname)
        -
        Maps a class name to another name in this hashtable. - If the hashtable contains another mapping from the same - class name, the old mapping is replaced. - This method translates the given class names into the - internal form used in the JVM before putting it in - the hashtable. - -

        If oldname is identical to - newname, then this method does not - perform anything; it does not record the mapping from - oldname to newname. See - fix method.

        -
        -
        Specified by:
        -
        put in interface java.util.Map<java.lang.String,​java.lang.String>
        -
        Overrides:
        -
        put in class java.util.HashMap<java.lang.String,​java.lang.String>
        -
        Parameters:
        -
        oldname - the original class name.
        -
        newname - the substituted class name.
        -
        See Also:
        -
        fix(String)
        -
        -
      • -
      - - - -
        -
      • -

        putIfNone

        -
        public void putIfNone​(java.lang.String oldname,
        -                      java.lang.String newname)
        -
        Is equivalent to put() except that - the given mapping is not recorded into the hashtable - if another mapping from oldname is - already included.
        -
        -
        Parameters:
        -
        oldname - the original class name.
        -
        newname - the substituted class name.
        -
        -
      • -
      - - - -
        -
      • -

        get

        -
        public java.lang.String get​(java.lang.Object jvmClassName)
        -
        Returns the class name to wihch the given jvmClassName - is mapped. A subclass of this class should override this method. - -

        This method receives and returns the internal representation of - class name used in the JVM.

        -
        -
        Specified by:
        -
        get in interface java.util.Map<java.lang.String,​java.lang.String>
        -
        Overrides:
        -
        get in class java.util.HashMap<java.lang.String,​java.lang.String>
        -
        See Also:
        -
        toJvmName(String), -toJavaName(String)
        -
        -
      • -
      - - - -
        -
      • -

        fix

        -
        public void fix​(CtClass clazz)
        -
        Prevents a mapping from the specified class name to another name.
        -
      • -
      - - - -
        -
      • -

        fix

        -
        public void fix​(java.lang.String name)
        -
        Prevents a mapping from the specified class name to another name.
        -
      • -
      - - - -
        -
      • -

        toJvmName

        -
        public static java.lang.String toJvmName​(java.lang.String classname)
        -
        Converts a class name into the internal representation used in - the JVM.
        -
      • -
      - - - -
        -
      • -

        toJavaName

        -
        public static java.lang.String toJavaName​(java.lang.String classname)
        -
        Converts a class name from the internal representation used in - the JVM to the normal one used in Java.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/ClassPath.html b/html/javassist/ClassPath.html deleted file mode 100644 index a5586565..00000000 --- a/html/javassist/ClassPath.html +++ /dev/null @@ -1,315 +0,0 @@ - - - - - -ClassPath (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Interface ClassPath

-
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      java.net.URLfind​(java.lang.String classname) -
      Returns the uniform resource locator (URL) of the class file - with the specified name.
      -
      java.io.InputStreamopenClassfile​(java.lang.String classname) -
      Opens a class file.
      -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        openClassfile

        -
        java.io.InputStream openClassfile​(java.lang.String classname)
        -                           throws NotFoundException
        -
        Opens a class file. - This method may be called just to examine whether the class file - exists as well as to read the contents of the file. - -

        This method can return null if the specified class file is not - found. If null is returned, the next search path is examined. - However, if an error happens, this method must throw an exception - so that the search will be terminated. - -

        This method should not modify the contents of the class file.

        -
        -
        Parameters:
        -
        classname - a fully-qualified class name
        -
        Returns:
        -
        the input stream for reading a class file
        -
        Throws:
        -
        NotFoundException
        -
        See Also:
        -
        Translator
        -
        -
      • -
      - - - -
        -
      • -

        find

        -
        java.net.URL find​(java.lang.String classname)
        -
        Returns the uniform resource locator (URL) of the class file - with the specified name.
        -
        -
        Parameters:
        -
        classname - a fully-qualified class name.
        -
        Returns:
        -
        null if the specified class file could not be found.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/ClassPool.html b/html/javassist/ClassPool.html deleted file mode 100644 index a988c7e9..00000000 --- a/html/javassist/ClassPool.html +++ /dev/null @@ -1,1806 +0,0 @@ - - - - - -ClassPool (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class ClassPool

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.ClassPool
    • -
    -
  • -
-
-
    -
  • -
    -
    public class ClassPool
    -extends java.lang.Object
    -
    A container of CtClass objects. - A CtClass object must be obtained from this object. - If get() is called on this object, - it searches various sources represented by ClassPath - to find a class file and then it creates a CtClass object - representing that class file. The created object is returned to the - caller. - -

    Memory consumption memo: - -

    ClassPool objects hold all the CtClasses - that have been created so that the consistency among modified classes - can be guaranteed. Thus if a large number of CtClasses - are processed, the ClassPool will consume a huge amount - of memory. To avoid this, a ClassPool object - should be recreated, for example, every hundred classes processed. - Note that getDefault() is a singleton factory. - Otherwise, detach() in CtClass should be used - to avoid huge memory consumption. - -

    ClassPool hierarchy: - -

    ClassPools can make a parent-child hierarchy as - java.lang.ClassLoaders. If a ClassPool has - a parent pool, get() first asks the parent pool to find - a class file. Only if the parent could not find the class file, - get() searches the ClassPaths of - the child ClassPool. This search order is reversed if - ClassPath.childFirstLookup is true.

    -
    -
    See Also:
    -
    CtClass, -ClassPath
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      booleanchildFirstLookup -
      Determines the search order.
      -
      static booleandoPruning -
      Turning the automatic pruning on/off.
      -
      static booleanreleaseUnmodifiedClassFile -
      If true, unmodified and not-recently-used class files are - periodically released for saving memory.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      ClassPool() -
      Creates a root class pool.
      -
      ClassPool​(boolean useDefaultPath) -
      Creates a root class pool.
      -
      ClassPool​(ClassPool parent) -
      Creates a class pool.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and TypeMethodDescription
      ClassPathappendClassPath​(java.lang.String pathname) -
      Appends a directory or a jar (or zip) file to the end of the - search path.
      -
      ClassPathappendClassPath​(ClassPath cp) -
      Appends a ClassPath object to the end of the - search path.
      -
      voidappendPathList​(java.lang.String pathlist) -
      Appends directories and jar files for search.
      -
      ClassPathappendSystemPath() -
      Appends the system search path to the end of the - search path.
      -
      voidclearImportedPackages() -
      Clear all the package names recorded by importPackage().
      -
      java.net.URLfind​(java.lang.String classname) -
      Searches the class path to obtain the URL of the class file - specified by classname.
      -
      CtClassget​(java.lang.String classname) -
      Reads a class file from the source and returns a reference - to the CtClass - object representing that class file.
      -
      CtClass[]get​(java.lang.String[] classnames) -
      Reads class files from the source and returns an array of - CtClass - objects representing those class files.
      -
      CtClassgetAndRename​(java.lang.String orgName, - java.lang.String newName) -
      Reads a class file and constructs a CtClass - object with a new name.
      -
      java.lang.ClassLoadergetClassLoader() -
      Get the classloader for toClass(), getAnnotations() in - CtClass, etc.
      -
      CtClassgetCtClass​(java.lang.String classname) -
      Returns a CtClass object with the given name.
      -
      static ClassPoolgetDefault() -
      Returns the default class pool.
      -
      java.util.Iterator<java.lang.String>getImportedPackages() -
      Returns all the package names recorded by importPackage().
      -
      CtMethodgetMethod​(java.lang.String classname, - java.lang.String methodname) -
      Reads a class file and obtains a compile-time method.
      -
      CtClassgetOrNull​(java.lang.String classname) -
      Reads a class file from the source and returns a reference - to the CtClass - object representing that class file.
      -
      voidimportPackage​(java.lang.String packageName) -
      Record a package name so that the Javassist compiler searches - the package to resolve a class name.
      -
      ClassPathinsertClassPath​(java.lang.String pathname) -
      Inserts a directory or a jar (or zip) file at the head of the - search path.
      -
      ClassPathinsertClassPath​(ClassPath cp) -
      Insert a ClassPath object at the head of the - search path.
      -
      java.lang.Object[]lookupCflow​(java.lang.String name) -
      Undocumented method.
      -
      CtClassmakeAnnotation​(java.lang.String name) -
      Creates a new annotation.
      -
      CtClassmakeClass​(java.io.InputStream classfile) -
      Creates a new class (or interface) from the given class file.
      -
      CtClassmakeClass​(java.io.InputStream classfile, - boolean ifNotFrozen) -
      Creates a new class (or interface) from the given class file.
      -
      CtClassmakeClass​(java.lang.String classname) -
      Creates a new public class.
      -
      CtClassmakeClass​(java.lang.String classname, - CtClass superclass) -
      Creates a new public class.
      -
      CtClassmakeClass​(ClassFile classfile) -
      Creates a new class (or interface) from the given class file.
      -
      CtClassmakeClass​(ClassFile classfile, - boolean ifNotFrozen) -
      Creates a new class (or interface) from the given class file.
      -
      CtClassmakeClassIfNew​(java.io.InputStream classfile) -
      Creates a new class (or interface) from the given class file.
      -
      CtClassmakeInterface​(java.lang.String name) -
      Creates a new public interface.
      -
      CtClassmakeInterface​(java.lang.String name, - CtClass superclass) -
      Creates a new public interface.
      -
      voidmakePackage​(java.lang.ClassLoader loader, - java.lang.String name) -
      Deprecated. 
      -
      voidrecordInvalidClassName​(java.lang.String name) -
      Deprecated. 
      -
      voidremoveClassPath​(ClassPath cp) -
      Detatches the ClassPath object from the search path.
      -
      java.lang.ClasstoClass​(CtClass clazz) -
      Converts the given class to a java.lang.Class object.
      -
      java.lang.Class<?>toClass​(CtClass ct, - java.lang.Class<?> neighbor) -
      Converts the class to a java.lang.Class object.
      -
      java.lang.ClasstoClass​(CtClass ct, - java.lang.Class<?> neighbor, - java.lang.ClassLoader loader, - java.security.ProtectionDomain domain) -
      Converts the class to a java.lang.Class object.
      -
      java.lang.ClasstoClass​(CtClass ct, - java.lang.ClassLoader loader) - -
      java.lang.ClasstoClass​(CtClass ct, - java.lang.ClassLoader loader, - java.security.ProtectionDomain domain) - -
      java.lang.Class<?>toClass​(CtClass ct, - java.lang.invoke.MethodHandles.Lookup lookup) -
      Converts the class to a java.lang.Class object.
      -
      java.lang.StringtoString() -
      Returns the class search path.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        childFirstLookup

        -
        public boolean childFirstLookup
        -
        Determines the search order. - -

        If this field is true, get() first searches the - class path associated to this ClassPool and then - the class path associated with the parent ClassPool. - Otherwise, the class path associated with the parent is searched - first. - -

        The default value is false.

        -
      • -
      - - - -
        -
      • -

        doPruning

        -
        public static boolean doPruning
        -
        Turning the automatic pruning on/off. - -

        If this field is true, CtClass objects are - automatically pruned by default when toBytecode() etc. - are called. The automatic pruning can be turned on/off individually - for each CtClass object. - -

        The initial value is false.

        -
        -
        See Also:
        -
        CtClass.prune(), -CtClass.stopPruning(boolean), -CtClass.detach()
        -
        -
      • -
      - - - -
        -
      • -

        releaseUnmodifiedClassFile

        -
        public static boolean releaseUnmodifiedClassFile
        -
        If true, unmodified and not-recently-used class files are - periodically released for saving memory. - -

        The initial value is true.

        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ClassPool

        -
        public ClassPool()
        -
        Creates a root class pool. No parent class pool is specified.
        -
      • -
      - - - -
        -
      • -

        ClassPool

        -
        public ClassPool​(boolean useDefaultPath)
        -
        Creates a root class pool. If useDefaultPath is - true, appendSystemPath() is called. Otherwise, - this constructor is equivalent to the constructor taking no - parameter.
        -
        -
        Parameters:
        -
        useDefaultPath - true if the system search path is - appended.
        -
        -
      • -
      - - - -
        -
      • -

        ClassPool

        -
        public ClassPool​(ClassPool parent)
        -
        Creates a class pool.
        -
        -
        Parameters:
        -
        parent - the parent of this class pool. If this is a root - class pool, this parameter must be null.
        -
        See Also:
        -
        getDefault()
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getDefault

        -
        public static ClassPool getDefault()
        -
        Returns the default class pool. - The returned object is always identical since this method is - a singleton factory. - -

        The default class pool searches the system search path, - which usually includes the platform library, extension - libraries, and the search path specified by the - -classpath option or the CLASSPATH - environment variable. - -

        When this method is called for the first time, the default - class pool is created with the following code snippet: - -

        ClassPool cp = new ClassPool();
        - cp.appendSystemPath();
        - 
        - -

        If the default class pool cannot find any class files, - try ClassClassPath, ModuleClassPath, - or LoaderClassPath.

        -
        -
        See Also:
        -
        ClassClassPath, -LoaderClassPath
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Returns the class search path.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        importPackage

        -
        public void importPackage​(java.lang.String packageName)
        -
        Record a package name so that the Javassist compiler searches - the package to resolve a class name. - Don't record the java.lang package, which has - been implicitly recorded by default. - -

        Since version 3.14, packageName can be a - fully-qualified class name. - -

        Note that get() in ClassPool does - not search the recorded package. Only the compiler searches it.

        -
        -
        Parameters:
        -
        packageName - the package name. - It must not include the last '.' (dot). - For example, "java.util" is valid but "java.util." is wrong.
        -
        Since:
        -
        3.1
        -
        -
      • -
      - - - -
        -
      • -

        clearImportedPackages

        -
        public void clearImportedPackages()
        -
        Clear all the package names recorded by importPackage(). - The java.lang package is not removed.
        -
        -
        Since:
        -
        3.1
        -
        See Also:
        -
        importPackage(String)
        -
        -
      • -
      - - - -
        -
      • -

        getImportedPackages

        -
        public java.util.Iterator<java.lang.String> getImportedPackages()
        -
        Returns all the package names recorded by importPackage().
        -
        -
        Since:
        -
        3.1
        -
        See Also:
        -
        importPackage(String)
        -
        -
      • -
      - - - -
        -
      • -

        recordInvalidClassName

        -
        public void recordInvalidClassName​(java.lang.String name)
        -
        Deprecated.
        -
        Records a class name that never exists. - For example, a package name can be recorded by this method. - This would improve execution performance - since get() quickly throw an exception - without searching the class path at all - if the given name is an invalid name recorded by this method. - Note that searching the class path takes relatively long time. - -

        The current implementation of this method performs nothing.

        -
        -
        Parameters:
        -
        name - an invalid class name (separeted by dots).
        -
        -
      • -
      - - - -
        -
      • -

        lookupCflow

        -
        public java.lang.Object[] lookupCflow​(java.lang.String name)
        -
        Undocumented method. Do not use; internal-use only.
        -
        -
        Parameters:
        -
        name - the name of $cflow variable
        -
        -
      • -
      - - - -
        -
      • -

        getAndRename

        -
        public CtClass getAndRename​(java.lang.String orgName,
        -                            java.lang.String newName)
        -                     throws NotFoundException
        -
        Reads a class file and constructs a CtClass - object with a new name. - This method is useful if you want to generate a new class as a copy - of another class (except the class name). For example, - -
        - getAndRename("Point", "Pair")
        - 
        - - returns a CtClass object representing Pair - class. The definition of Pair is the same as that of - Point class except the class name since Pair - is defined by reading Point.class.
        -
        -
        Parameters:
        -
        orgName - the original (fully-qualified) class name
        -
        newName - the new class name
        -
        Throws:
        -
        NotFoundException
        -
        -
      • -
      - - - -
        -
      • -

        get

        -
        public CtClass get​(java.lang.String classname)
        -            throws NotFoundException
        -
        Reads a class file from the source and returns a reference - to the CtClass - object representing that class file. If that class file has been - already read, this method returns a reference to the - CtClass created when that class file was read at the - first time. - -

        If classname ends with "[]", then this method - returns a CtClass object for that array type. - -

        To obtain an inner class, use "$" instead of "." for separating - the enclosing class name and the inner class name.

        -
        -
        Parameters:
        -
        classname - a fully-qualified class name.
        -
        Throws:
        -
        NotFoundException
        -
        -
      • -
      - - - -
        -
      • -

        getOrNull

        -
        public CtClass getOrNull​(java.lang.String classname)
        -
        Reads a class file from the source and returns a reference - to the CtClass - object representing that class file. - This method is equivalent to get except - that it returns null when a class file is - not found and it never throws an exception.
        -
        -
        Parameters:
        -
        classname - a fully-qualified class name.
        -
        Returns:
        -
        a CtClass object or null.
        -
        Since:
        -
        3.13
        -
        See Also:
        -
        get(String), -find(String)
        -
        -
      • -
      - - - -
        -
      • -

        getCtClass

        -
        public CtClass getCtClass​(java.lang.String classname)
        -                   throws NotFoundException
        -
        Returns a CtClass object with the given name. - This is almost equivalent to get(String) except - that classname can be an array-type "descriptor" (an encoded - type name) such as [Ljava/lang/Object;. - -

        Using this method is not recommended; this method should be - used only to obtain the CtClass object - with a name returned from getClassInfo in - javassist.bytecode.ClassPool. getClassInfo - returns a fully-qualified class name but, if the class is an array - type, it returns a descriptor.

        -
        -
        Parameters:
        -
        classname - a fully-qualified class name or a descriptor - representing an array type.
        -
        Throws:
        -
        NotFoundException
        -
        Since:
        -
        3.8.1
        -
        See Also:
        -
        get(String), -ConstPool.getClassInfo(int), -Descriptor.toCtClass(String, ClassPool)
        -
        -
      • -
      - - - -
        -
      • -

        find

        -
        public java.net.URL find​(java.lang.String classname)
        -
        Searches the class path to obtain the URL of the class file - specified by classname. It is also used to determine whether - the class file exists.
        -
        -
        Parameters:
        -
        classname - a fully-qualified class name.
        -
        Returns:
        -
        null if the class file could not be found.
        -
        See Also:
        -
        CtClass.getURL()
        -
        -
      • -
      - - - -
        -
      • -

        get

        -
        public CtClass[] get​(java.lang.String[] classnames)
        -              throws NotFoundException
        -
        Reads class files from the source and returns an array of - CtClass - objects representing those class files. - -

        If an element of classnames ends with "[]", - then this method - returns a CtClass object for that array type.

        -
        -
        Parameters:
        -
        classnames - an array of fully-qualified class name.
        -
        Throws:
        -
        NotFoundException
        -
        -
      • -
      - - - - - - - -
        -
      • -

        makeClass

        -
        public CtClass makeClass​(java.io.InputStream classfile)
        -                  throws java.io.IOException,
        -                         java.lang.RuntimeException
        -
        Creates a new class (or interface) from the given class file. - If there already exists a class with the same name, the new class - overwrites that previous class. - -

        This method is used for creating a CtClass object - directly from a class file. The qualified class name is obtained - from the class file; you do not have to explicitly give the name.

        -
        -
        Parameters:
        -
        classfile - class file.
        -
        Throws:
        -
        java.lang.RuntimeException - if there is a frozen class with the - the same name.
        -
        java.io.IOException
        -
        See Also:
        -
        makeClassIfNew(InputStream), -ByteArrayClassPath
        -
        -
      • -
      - - - -
        -
      • -

        makeClass

        -
        public CtClass makeClass​(java.io.InputStream classfile,
        -                         boolean ifNotFrozen)
        -                  throws java.io.IOException,
        -                         java.lang.RuntimeException
        -
        Creates a new class (or interface) from the given class file. - If there already exists a class with the same name, the new class - overwrites that previous class. - -

        This method is used for creating a CtClass object - directly from a class file. The qualified class name is obtained - from the class file; you do not have to explicitly give the name.

        -
        -
        Parameters:
        -
        classfile - class file.
        -
        ifNotFrozen - throws a RuntimeException if this parameter is true - and there is a frozen class with the same name.
        -
        Throws:
        -
        java.io.IOException
        -
        java.lang.RuntimeException
        -
        See Also:
        -
        ByteArrayClassPath
        -
        -
      • -
      - - - -
        -
      • -

        makeClass

        -
        public CtClass makeClass​(ClassFile classfile)
        -                  throws java.lang.RuntimeException
        -
        Creates a new class (or interface) from the given class file. - If there already exists a class with the same name, the new class - overwrites that previous class. - -

        This method is used for creating a CtClass object - directly from a class file. The qualified class name is obtained - from the class file; you do not have to explicitly give the name.

        -
        -
        Parameters:
        -
        classfile - class file.
        -
        Throws:
        -
        java.lang.RuntimeException - if there is a frozen class with the - the same name.
        -
        Since:
        -
        3.20
        -
        -
      • -
      - - - -
        -
      • -

        makeClass

        -
        public CtClass makeClass​(ClassFile classfile,
        -                         boolean ifNotFrozen)
        -                  throws java.lang.RuntimeException
        -
        Creates a new class (or interface) from the given class file. - If there already exists a class with the same name, the new class - overwrites that previous class. - -

        This method is used for creating a CtClass object - directly from a class file. The qualified class name is obtained - from the class file; you do not have to explicitly give the name.

        -
        -
        Parameters:
        -
        classfile - class file.
        -
        ifNotFrozen - throws a RuntimeException if this parameter is true - and there is a frozen class with the same name.
        -
        Throws:
        -
        java.lang.RuntimeException
        -
        Since:
        -
        3.20
        -
        -
      • -
      - - - -
        -
      • -

        makeClassIfNew

        -
        public CtClass makeClassIfNew​(java.io.InputStream classfile)
        -                       throws java.io.IOException,
        -                              java.lang.RuntimeException
        -
        Creates a new class (or interface) from the given class file. - If there already exists a class with the same name, this method - returns the existing class; a new class is never created from - the given class file. - -

        This method is used for creating a CtClass object - directly from a class file. The qualified class name is obtained - from the class file; you do not have to explicitly give the name.

        -
        -
        Parameters:
        -
        classfile - the class file.
        -
        Throws:
        -
        java.io.IOException
        -
        java.lang.RuntimeException
        -
        Since:
        -
        3.9
        -
        See Also:
        -
        makeClass(InputStream), -ByteArrayClassPath
        -
        -
      • -
      - - - -
        -
      • -

        makeClass

        -
        public CtClass makeClass​(java.lang.String classname)
        -                  throws java.lang.RuntimeException
        -
        Creates a new public class. - If there already exists a class with the same name, the new class - overwrites that previous class. - -

        If no constructor is explicitly added to the created new - class, Javassist generates constructors and adds it when - the class file is generated. It generates a new constructor - for each constructor of the super class. The new constructor - takes the same set of parameters and invokes the - corresponding constructor of the super class. All the received - parameters are passed to it.

        -
        -
        Parameters:
        -
        classname - a fully-qualified class name.
        -
        Throws:
        -
        java.lang.RuntimeException - if the existing class is frozen.
        -
        -
      • -
      - - - -
        -
      • -

        makeClass

        -
        public CtClass makeClass​(java.lang.String classname,
        -                         CtClass superclass)
        -                  throws java.lang.RuntimeException
        -
        Creates a new public class. - If there already exists a class/interface with the same name, - the new class overwrites that previous class. - -

        If no constructor is explicitly added to the created new - class, Javassist generates constructors and adds it when - the class file is generated. It generates a new constructor - for each constructor of the super class. The new constructor - takes the same set of parameters and invokes the - corresponding constructor of the super class. All the received - parameters are passed to it.

        -
        -
        Parameters:
        -
        classname - a fully-qualified class name.
        -
        superclass - the super class.
        -
        Throws:
        -
        java.lang.RuntimeException - if the existing class is frozen.
        -
        -
      • -
      - - - -
        -
      • -

        makeInterface

        -
        public CtClass makeInterface​(java.lang.String name)
        -                      throws java.lang.RuntimeException
        -
        Creates a new public interface. - If there already exists a class/interface with the same name, - the new interface overwrites that previous one.
        -
        -
        Parameters:
        -
        name - a fully-qualified interface name.
        -
        Throws:
        -
        java.lang.RuntimeException - if the existing interface is frozen.
        -
        -
      • -
      - - - -
        -
      • -

        makeInterface

        -
        public CtClass makeInterface​(java.lang.String name,
        -                             CtClass superclass)
        -                      throws java.lang.RuntimeException
        -
        Creates a new public interface. - If there already exists a class/interface with the same name, - the new interface overwrites that previous one.
        -
        -
        Parameters:
        -
        name - a fully-qualified interface name.
        -
        superclass - the super interface.
        -
        Throws:
        -
        java.lang.RuntimeException - if the existing interface is frozen.
        -
        -
      • -
      - - - -
        -
      • -

        makeAnnotation

        -
        public CtClass makeAnnotation​(java.lang.String name)
        -                       throws java.lang.RuntimeException
        -
        Creates a new annotation. - If there already exists a class/interface with the same name, - the new interface overwrites that previous one.
        -
        -
        Parameters:
        -
        name - a fully-qualified interface name. - Or null if the annotation has no super interface.
        -
        Throws:
        -
        java.lang.RuntimeException - if the existing interface is frozen.
        -
        Since:
        -
        3.19
        -
        -
      • -
      - - - -
        -
      • -

        appendSystemPath

        -
        public ClassPath appendSystemPath()
        -
        Appends the system search path to the end of the - search path. The system search path - usually includes the platform library, extension - libraries, and the search path specified by the - -classpath option or the CLASSPATH - environment variable.
        -
        -
        Returns:
        -
        the appended class path.
        -
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        insertClassPath

        -
        public ClassPath insertClassPath​(java.lang.String pathname)
        -                          throws NotFoundException
        -
        Inserts a directory or a jar (or zip) file at the head of the - search path.
        -
        -
        Parameters:
        -
        pathname - the path name of the directory or jar file. - It must not end with a path separator ("/"). - If the path name ends with "/*", then all the - jar files matching the path name are inserted.
        -
        Returns:
        -
        the inserted class path.
        -
        Throws:
        -
        NotFoundException - if the jar file is not found.
        -
        -
      • -
      - - - -
        -
      • -

        appendClassPath

        -
        public ClassPath appendClassPath​(java.lang.String pathname)
        -                          throws NotFoundException
        -
        Appends a directory or a jar (or zip) file to the end of the - search path.
        -
        -
        Parameters:
        -
        pathname - the path name of the directory or jar file. - It must not end with a path separator ("/"). - If the path name ends with "/*", then all the - jar files matching the path name are appended.
        -
        Returns:
        -
        the appended class path.
        -
        Throws:
        -
        NotFoundException - if the jar file is not found.
        -
        -
      • -
      - - - -
        -
      • -

        removeClassPath

        -
        public void removeClassPath​(ClassPath cp)
        -
        Detatches the ClassPath object from the search path. - The detached ClassPath object cannot be added - to the path again.
        -
      • -
      - - - -
        -
      • -

        appendPathList

        -
        public void appendPathList​(java.lang.String pathlist)
        -                    throws NotFoundException
        -
        Appends directories and jar files for search. - -

        The elements of the given path list must be separated by colons - in Unix or semi-colons in Windows.

        -
        -
        Parameters:
        -
        pathlist - a (semi)colon-separated list of - the path names of directories and jar files. - The directory name must not end with a path - separator ("/").
        -
        Throws:
        -
        NotFoundException - if a jar file is not found.
        -
        -
      • -
      - - - -
        -
      • -

        toClass

        -
        public java.lang.Class toClass​(CtClass clazz)
        -                        throws CannotCompileException
        -
        Converts the given class to a java.lang.Class object. - Once this method is called, further modifications are not - allowed any more. - To load the class, this method uses the context class loader - of the current thread. It is obtained by calling - getClassLoader(). - -

        This behavior can be changed by subclassing the pool and changing - the getClassLoader() method. - If the program is running on some application - server, the context class loader might be inappropriate to load the - class.

        - -

        This method is provided for convenience. If you need more - complex functionality, you should write your own class loader. - -

        Warining: - This method should not be used in Java 11 or later. - Use toClass(CtClass,Class). -

        - -

        Warining: - A Class object returned by this method may not - work with a security manager or a signed jar file because a - protection domain is not specified.

        -
        -
        Throws:
        -
        CannotCompileException
        -
        See Also:
        -
        toClass(CtClass,Class), -toClass(CtClass,Class,java.lang.ClassLoader,ProtectionDomain), -getClassLoader()
        -
        -
      • -
      - - - -
        -
      • -

        getClassLoader

        -
        public java.lang.ClassLoader getClassLoader()
        -
        Get the classloader for toClass(), getAnnotations() in - CtClass, etc. - -

        The default is the context class loader.

        -
        -
        Returns:
        -
        the classloader for the pool
        -
        See Also:
        -
        toClass(CtClass), -CtClass.getAnnotations()
        -
        -
      • -
      - - - - - - - -
        -
      • -

        toClass

        -
        public java.lang.Class toClass​(CtClass ct,
        -                               java.lang.ClassLoader loader,
        -                               java.security.ProtectionDomain domain)
        -                        throws CannotCompileException
        - -
        Converts the class to a java.lang.Class object. - Once this method is called, further modifications are not allowed - any more. - -

        The class file represented by the given CtClass is - loaded by the given class loader to construct a - java.lang.Class object. Since a private method - on the class loader is invoked through the reflection API, - the caller must have permissions to do that.

        - -

        An easy way to obtain ProtectionDomain object is - to call getProtectionDomain() - in java.lang.Class. It returns the domain that the - class belongs to. - -

        This method is provided for convenience. If you need more - complex functionality, you should write your own class loader.

        -
        -
        Parameters:
        -
        ct - the class converted into java.lang.Class.
        -
        loader - the class loader used to load this class. - For example, the loader returned by - getClassLoader() can be used - for this parameter.
        -
        domain - the protection domain for the class. - If it is null, the default domain created - by java.lang.ClassLoader is used.
        -
        Throws:
        -
        CannotCompileException
        -
        Since:
        -
        3.3
        -
        See Also:
        -
        getClassLoader()
        -
        -
      • -
      - - - -
        -
      • -

        toClass

        -
        public java.lang.Class<?> toClass​(CtClass ct,
        -                                  java.lang.Class<?> neighbor)
        -                           throws CannotCompileException
        -
        Converts the class to a java.lang.Class object. - Once this method is called, further modifications are not allowed - any more. - -

        This method is available in Java 9 or later. - It loads the class - by using java.lang.invoke.MethodHandles with neighbor. -

        -
        -
        Parameters:
        -
        ct - the class converted into java.lang.Class.
        -
        neighbor - a class belonging to the same package that - the converted class belongs to.
        -
        Throws:
        -
        CannotCompileException
        -
        Since:
        -
        3.24
        -
        -
      • -
      - - - -
        -
      • -

        toClass

        -
        public java.lang.Class<?> toClass​(CtClass ct,
        -                                  java.lang.invoke.MethodHandles.Lookup lookup)
        -                           throws CannotCompileException
        -
        Converts the class to a java.lang.Class object. - Once this method is called, further modifications are not allowed - any more. - -

        This method is available in Java 9 or later. - It loads the class - by using the given java.lang.invoke.MethodHandles.Lookup. -

        -
        -
        Parameters:
        -
        ct - the class converted into java.lang.Class.
        -
        Throws:
        -
        CannotCompileException
        -
        Since:
        -
        3.24
        -
        -
      • -
      - - - -
        -
      • -

        toClass

        -
        public java.lang.Class toClass​(CtClass ct,
        -                               java.lang.Class<?> neighbor,
        -                               java.lang.ClassLoader loader,
        -                               java.security.ProtectionDomain domain)
        -                        throws CannotCompileException
        -
        Converts the class to a java.lang.Class object. - Once this method is called, further modifications are not allowed - any more. - -

        When the JVM is Java 11 or later, this method loads the class - by using java.lang.invoke.MethodHandles with neighbor. - The other arguments loader and domain are not used; - so they can be null. -

        - -

        Otherwise, or when neighbor is null, - the class file represented by the given CtClass is - loaded by the given class loader to construct a - java.lang.Class object. Since a private method - on the class loader is invoked through the reflection API, - the caller must have permissions to do that. - -

        An easy way to obtain ProtectionDomain object is - to call getProtectionDomain() - in java.lang.Class. It returns the domain that the - class belongs to. - -

        If your program is for only Java 9 or later, don't use this method. - Use toClass(CtClass,Class) or - toClass(CtClass,java.lang.invoke.MethodHandles.Lookup). -

        -
        -
        Parameters:
        -
        ct - the class converted into java.lang.Class.
        -
        neighbor - a class belonging to the same package that - the converted class belongs to. - It can be null.
        -
        loader - the class loader used to load this class. - For example, the loader returned by - getClassLoader() can be used - for this parameter.
        -
        domain - the protection domain for the class. - If it is null, the default domain created - by java.lang.ClassLoader is used.
        -
        Throws:
        -
        CannotCompileException
        -
        Since:
        -
        3.24
        -
        See Also:
        -
        getClassLoader()
        -
        -
      • -
      - - - -
        -
      • -

        makePackage

        -
        public void makePackage​(java.lang.ClassLoader loader,
        -                        java.lang.String name)
        -                 throws CannotCompileException
        -
        Deprecated.
        -
        Defines a new package. If the package is already defined, this method - performs nothing. - -

        You do not necessarily need to - call this method. If this method is called, then - getPackage() on the Class object returned - by toClass() will return a non-null object.

        - -

        The jigsaw module introduced by Java 9 has broken this method.

        -
        -
        Parameters:
        -
        loader - the class loader passed to toClass() or - the default one obtained by getClassLoader().
        -
        name - the package name.
        -
        Throws:
        -
        CannotCompileException
        -
        Since:
        -
        3.16
        -
        See Also:
        -
        getClassLoader(), -toClass(CtClass), -CtClass.toClass()
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/CodeConverter.ArrayAccessReplacementMethodNames.html b/html/javassist/CodeConverter.ArrayAccessReplacementMethodNames.html deleted file mode 100644 index 5add717b..00000000 --- a/html/javassist/CodeConverter.ArrayAccessReplacementMethodNames.html +++ /dev/null @@ -1,561 +0,0 @@ - - - - - -CodeConverter.ArrayAccessReplacementMethodNames (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Interface CodeConverter.ArrayAccessReplacementMethodNames

-
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      java.lang.StringbyteOrBooleanRead() -
      Returns the name of a static method with the signature - (Ljava/lang/Object;I)B to replace reading from a byte[].
      -
      java.lang.StringbyteOrBooleanWrite() -
      Returns the name of a static method with the signature - (Ljava/lang/Object;IB)V to replace writing to a byte[].
      -
      java.lang.StringcharRead() 
      java.lang.StringcharWrite() -
      Returns the name of a static method with the signature - (Ljava/lang/Object;IC)V to replace writing to a byte[].
      -
      java.lang.StringdoubleRead() -
      Returns the name of a static method with the signature - (Ljava/lang/Object;I)D to replace reading from a double[].
      -
      java.lang.StringdoubleWrite() -
      Returns the name of a static method with the signature - (Ljava/lang/Object;ID)V to replace writing to a double[].
      -
      java.lang.StringfloatRead() -
      Returns the name of a static method with the signature - (Ljava/lang/Object;I)F to replace reading from a float[].
      -
      java.lang.StringfloatWrite() -
      Returns the name of a static method with the signature - (Ljava/lang/Object;IF)V to replace writing to a float[].
      -
      java.lang.StringintRead() -
      Returns the name of a static method with the signature - (Ljava/lang/Object;I)I to replace reading from a int[].
      -
      java.lang.StringintWrite() -
      Returns the name of a static method with the signature - (Ljava/lang/Object;II)V to replace writing to a int[].
      -
      java.lang.StringlongRead() -
      Returns the name of a static method with the signature - (Ljava/lang/Object;I)J to replace reading from a long[].
      -
      java.lang.StringlongWrite() -
      Returns the name of a static method with the signature - (Ljava/lang/Object;IJ)V to replace writing to a long[].
      -
      java.lang.StringobjectRead() -
      Returns the name of a static method with the signature - (Ljava/lang/Object;I)Ljava/lang/Object; - to replace reading from a Object[] (or any subclass of object).
      -
      java.lang.StringobjectWrite() -
      Returns the name of a static method with the signature - (Ljava/lang/Object;ILjava/lang/Object;)V - to replace writing to a Object[] (or any subclass of object).
      -
      java.lang.StringshortRead() -
      Returns the name of a static method with the signature - (Ljava/lang/Object;I)S to replace reading from a short[].
      -
      java.lang.StringshortWrite() -
      Returns the name of a static method with the signature - (Ljava/lang/Object;IS)V to replace writing to a short[].
      -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        byteOrBooleanRead

        -
        java.lang.String byteOrBooleanRead()
        -
        Returns the name of a static method with the signature - (Ljava/lang/Object;I)B to replace reading from a byte[].
        -
      • -
      - - - -
        -
      • -

        byteOrBooleanWrite

        -
        java.lang.String byteOrBooleanWrite()
        -
        Returns the name of a static method with the signature - (Ljava/lang/Object;IB)V to replace writing to a byte[].
        -
      • -
      - - - -
        -
      • -

        charRead

        -
        java.lang.String charRead()
        -
        -
        Returns:
        -
        the name of a static method with the signature - (Ljava/lang/Object;I)C to replace reading from a char[].
        -
        -
      • -
      - - - -
        -
      • -

        charWrite

        -
        java.lang.String charWrite()
        -
        Returns the name of a static method with the signature - (Ljava/lang/Object;IC)V to replace writing to a byte[].
        -
      • -
      - - - -
        -
      • -

        doubleRead

        -
        java.lang.String doubleRead()
        -
        Returns the name of a static method with the signature - (Ljava/lang/Object;I)D to replace reading from a double[].
        -
      • -
      - - - -
        -
      • -

        doubleWrite

        -
        java.lang.String doubleWrite()
        -
        Returns the name of a static method with the signature - (Ljava/lang/Object;ID)V to replace writing to a double[].
        -
      • -
      - - - -
        -
      • -

        floatRead

        -
        java.lang.String floatRead()
        -
        Returns the name of a static method with the signature - (Ljava/lang/Object;I)F to replace reading from a float[].
        -
      • -
      - - - -
        -
      • -

        floatWrite

        -
        java.lang.String floatWrite()
        -
        Returns the name of a static method with the signature - (Ljava/lang/Object;IF)V to replace writing to a float[].
        -
      • -
      - - - -
        -
      • -

        intRead

        -
        java.lang.String intRead()
        -
        Returns the name of a static method with the signature - (Ljava/lang/Object;I)I to replace reading from a int[].
        -
      • -
      - - - -
        -
      • -

        intWrite

        -
        java.lang.String intWrite()
        -
        Returns the name of a static method with the signature - (Ljava/lang/Object;II)V to replace writing to a int[].
        -
      • -
      - - - -
        -
      • -

        longRead

        -
        java.lang.String longRead()
        -
        Returns the name of a static method with the signature - (Ljava/lang/Object;I)J to replace reading from a long[].
        -
      • -
      - - - -
        -
      • -

        longWrite

        -
        java.lang.String longWrite()
        -
        Returns the name of a static method with the signature - (Ljava/lang/Object;IJ)V to replace writing to a long[].
        -
      • -
      - - - -
        -
      • -

        objectRead

        -
        java.lang.String objectRead()
        -
        Returns the name of a static method with the signature - (Ljava/lang/Object;I)Ljava/lang/Object; - to replace reading from a Object[] (or any subclass of object).
        -
      • -
      - - - -
        -
      • -

        objectWrite

        -
        java.lang.String objectWrite()
        -
        Returns the name of a static method with the signature - (Ljava/lang/Object;ILjava/lang/Object;)V - to replace writing to a Object[] (or any subclass of object).
        -
      • -
      - - - -
        -
      • -

        shortRead

        -
        java.lang.String shortRead()
        -
        Returns the name of a static method with the signature - (Ljava/lang/Object;I)S to replace reading from a short[].
        -
      • -
      - - - -
        -
      • -

        shortWrite

        -
        java.lang.String shortWrite()
        -
        Returns the name of a static method with the signature - (Ljava/lang/Object;IS)V to replace writing to a short[].
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/CodeConverter.DefaultArrayAccessReplacementMethodNames.html b/html/javassist/CodeConverter.DefaultArrayAccessReplacementMethodNames.html deleted file mode 100644 index 2e43d407..00000000 --- a/html/javassist/CodeConverter.DefaultArrayAccessReplacementMethodNames.html +++ /dev/null @@ -1,682 +0,0 @@ - - - - - -CodeConverter.DefaultArrayAccessReplacementMethodNames (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class CodeConverter.DefaultArrayAccessReplacementMethodNames

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
    • -
    -
  • -
-
- -
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.StringbyteOrBooleanRead() -
      Returns "arrayReadByteOrBoolean" as the name of the static method with the signature - (Ljava/lang/Object;I)B to replace reading from a byte[].
      -
      java.lang.StringbyteOrBooleanWrite() -
      Returns "arrayWriteByteOrBoolean" as the name of the static method with the signature - (Ljava/lang/Object;IB)V to replace writing to a byte[].
      -
      java.lang.StringcharRead() -
      Returns "arrayReadChar" as the name of the static method with the signature - (Ljava/lang/Object;I)C to replace reading from a char[].
      -
      java.lang.StringcharWrite() -
      Returns "arrayWriteChar" as the name of the static method with the signature - (Ljava/lang/Object;IC)V to replace writing to a byte[].
      -
      java.lang.StringdoubleRead() -
      Returns "arrayReadDouble" as the name of the static method with the signature - (Ljava/lang/Object;I)D to replace reading from a double[].
      -
      java.lang.StringdoubleWrite() -
      Returns "arrayWriteDouble" as the name of the static method with the signature - (Ljava/lang/Object;ID)V to replace writing to a double[].
      -
      java.lang.StringfloatRead() -
      Returns "arrayReadFloat" as the name of the static method with the signature - (Ljava/lang/Object;I)F to replace reading from a float[].
      -
      java.lang.StringfloatWrite() -
      Returns "arrayWriteFloat" as the name of the static method with the signature - (Ljava/lang/Object;IF)V to replace writing to a float[].
      -
      java.lang.StringintRead() -
      Returns "arrayReadInt" as the name of the static method with the signature - (Ljava/lang/Object;I)I to replace reading from a int[].
      -
      java.lang.StringintWrite() -
      Returns "arrayWriteInt" as the name of the static method with the signature - (Ljava/lang/Object;II)V to replace writing to a int[].
      -
      java.lang.StringlongRead() -
      Returns "arrayReadLong" as the name of the static method with the signature - (Ljava/lang/Object;I)J to replace reading from a long[].
      -
      java.lang.StringlongWrite() -
      Returns "arrayWriteLong" as the name of the static method with the signature - (Ljava/lang/Object;IJ)V to replace writing to a long[].
      -
      java.lang.StringobjectRead() -
      Returns "arrayReadObject" as the name of the static method with the signature - (Ljava/lang/Object;I)Ljava/lang/Object; to replace reading from a Object[] (or any subclass of object).
      -
      java.lang.StringobjectWrite() -
      Returns "arrayWriteObject" as the name of the static method with the signature - (Ljava/lang/Object;ILjava/lang/Object;)V to replace writing to a Object[] (or any subclass of object).
      -
      java.lang.StringshortRead() -
      Returns "arrayReadShort" as the name of the static method with the signature - (Ljava/lang/Object;I)S to replace reading from a short[].
      -
      java.lang.StringshortWrite() -
      Returns "arrayWriteShort" as the name of the static method with the signature - (Ljava/lang/Object;IS)V to replace writing to a short[].
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        DefaultArrayAccessReplacementMethodNames

        -
        public DefaultArrayAccessReplacementMethodNames()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - - - - - - - - - -
        -
      • -

        charRead

        -
        public java.lang.String charRead()
        -
        Returns "arrayReadChar" as the name of the static method with the signature - (Ljava/lang/Object;I)C to replace reading from a char[].
        -
        -
        Specified by:
        -
        charRead in interface CodeConverter.ArrayAccessReplacementMethodNames
        -
        Returns:
        -
        the name of a static method with the signature - (Ljava/lang/Object;I)C to replace reading from a char[].
        -
        -
      • -
      - - - -
        -
      • -

        charWrite

        -
        public java.lang.String charWrite()
        -
        Returns "arrayWriteChar" as the name of the static method with the signature - (Ljava/lang/Object;IC)V to replace writing to a byte[].
        -
        -
        Specified by:
        -
        charWrite in interface CodeConverter.ArrayAccessReplacementMethodNames
        -
        -
      • -
      - - - -
        -
      • -

        doubleRead

        -
        public java.lang.String doubleRead()
        -
        Returns "arrayReadDouble" as the name of the static method with the signature - (Ljava/lang/Object;I)D to replace reading from a double[].
        -
        -
        Specified by:
        -
        doubleRead in interface CodeConverter.ArrayAccessReplacementMethodNames
        -
        -
      • -
      - - - -
        -
      • -

        doubleWrite

        -
        public java.lang.String doubleWrite()
        -
        Returns "arrayWriteDouble" as the name of the static method with the signature - (Ljava/lang/Object;ID)V to replace writing to a double[].
        -
        -
        Specified by:
        -
        doubleWrite in interface CodeConverter.ArrayAccessReplacementMethodNames
        -
        -
      • -
      - - - -
        -
      • -

        floatRead

        -
        public java.lang.String floatRead()
        -
        Returns "arrayReadFloat" as the name of the static method with the signature - (Ljava/lang/Object;I)F to replace reading from a float[].
        -
        -
        Specified by:
        -
        floatRead in interface CodeConverter.ArrayAccessReplacementMethodNames
        -
        -
      • -
      - - - -
        -
      • -

        floatWrite

        -
        public java.lang.String floatWrite()
        -
        Returns "arrayWriteFloat" as the name of the static method with the signature - (Ljava/lang/Object;IF)V to replace writing to a float[].
        -
        -
        Specified by:
        -
        floatWrite in interface CodeConverter.ArrayAccessReplacementMethodNames
        -
        -
      • -
      - - - -
        -
      • -

        intRead

        -
        public java.lang.String intRead()
        -
        Returns "arrayReadInt" as the name of the static method with the signature - (Ljava/lang/Object;I)I to replace reading from a int[].
        -
        -
        Specified by:
        -
        intRead in interface CodeConverter.ArrayAccessReplacementMethodNames
        -
        -
      • -
      - - - -
        -
      • -

        intWrite

        -
        public java.lang.String intWrite()
        -
        Returns "arrayWriteInt" as the name of the static method with the signature - (Ljava/lang/Object;II)V to replace writing to a int[].
        -
        -
        Specified by:
        -
        intWrite in interface CodeConverter.ArrayAccessReplacementMethodNames
        -
        -
      • -
      - - - -
        -
      • -

        longRead

        -
        public java.lang.String longRead()
        -
        Returns "arrayReadLong" as the name of the static method with the signature - (Ljava/lang/Object;I)J to replace reading from a long[].
        -
        -
        Specified by:
        -
        longRead in interface CodeConverter.ArrayAccessReplacementMethodNames
        -
        -
      • -
      - - - -
        -
      • -

        longWrite

        -
        public java.lang.String longWrite()
        -
        Returns "arrayWriteLong" as the name of the static method with the signature - (Ljava/lang/Object;IJ)V to replace writing to a long[].
        -
        -
        Specified by:
        -
        longWrite in interface CodeConverter.ArrayAccessReplacementMethodNames
        -
        -
      • -
      - - - -
        -
      • -

        objectRead

        -
        public java.lang.String objectRead()
        -
        Returns "arrayReadObject" as the name of the static method with the signature - (Ljava/lang/Object;I)Ljava/lang/Object; to replace reading from a Object[] (or any subclass of object).
        -
        -
        Specified by:
        -
        objectRead in interface CodeConverter.ArrayAccessReplacementMethodNames
        -
        -
      • -
      - - - -
        -
      • -

        objectWrite

        -
        public java.lang.String objectWrite()
        -
        Returns "arrayWriteObject" as the name of the static method with the signature - (Ljava/lang/Object;ILjava/lang/Object;)V to replace writing to a Object[] (or any subclass of object).
        -
        -
        Specified by:
        -
        objectWrite in interface CodeConverter.ArrayAccessReplacementMethodNames
        -
        -
      • -
      - - - -
        -
      • -

        shortRead

        -
        public java.lang.String shortRead()
        -
        Returns "arrayReadShort" as the name of the static method with the signature - (Ljava/lang/Object;I)S to replace reading from a short[].
        -
        -
        Specified by:
        -
        shortRead in interface CodeConverter.ArrayAccessReplacementMethodNames
        -
        -
      • -
      - - - -
        -
      • -

        shortWrite

        -
        public java.lang.String shortWrite()
        -
        Returns "arrayWriteShort" as the name of the static method with the signature - (Ljava/lang/Object;IS)V to replace writing to a short[].
        -
        -
        Specified by:
        -
        shortWrite in interface CodeConverter.ArrayAccessReplacementMethodNames
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/CodeConverter.html b/html/javassist/CodeConverter.html deleted file mode 100644 index e79a1abe..00000000 --- a/html/javassist/CodeConverter.html +++ /dev/null @@ -1,958 +0,0 @@ - - - - - -CodeConverter (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class CodeConverter

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.CodeConverter
    • -
    -
  • -
-
-
    -
  • -
    -
    public class CodeConverter
    -extends java.lang.Object
    -
    Simple translator of method bodies - (also see the javassist.expr package). - -

    Instances of this class specifies how to instrument of the - bytecodes representing a method body. They are passed to - CtClass.instrument() or - CtMethod.instrument() as a parameter. - -

    Example: -

    - ClassPool cp = ClassPool.getDefault();
    - CtClass point = cp.get("Point");
    - CtClass singleton = cp.get("Singleton");
    - CtClass client = cp.get("Client");
    - CodeConverter conv = new CodeConverter();
    - conv.replaceNew(point, singleton, "makePoint");
    - client.instrument(conv);
    - 
    - -

    This program substitutes "Singleton.makePoint()" - for all occurrences of "new Point()" - appearing in methods declared in a Client class.

    -
    -
    See Also:
    -
    CtClass.instrument(CodeConverter), -CtBehavior.instrument(CodeConverter), -ExprEditor
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      CodeConverter() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidinsertAfterMethod​(CtMethod origMethod, - CtMethod afterMethod) -
      Inserts a call to another method after an existing method call.
      -
      voidinsertBeforeMethod​(CtMethod origMethod, - CtMethod beforeMethod) -
      Insert a call to another method before an existing method call.
      -
      voidredirectFieldAccess​(CtField field, - CtClass newClass, - java.lang.String newFieldname) -
      Modify a method body so that field read/write expressions access - a different field from the original one.
      -
      voidredirectMethodCall​(java.lang.String oldMethodName, - CtMethod newMethod) -
      Correct invocations to a method that has been renamed.
      -
      voidredirectMethodCall​(CtMethod origMethod, - CtMethod substMethod) -
      Modify method invocations in a method body so that a different - method will be invoked.
      -
      voidredirectMethodCallToStatic​(CtMethod origMethod, - CtMethod staticMethod) -
      Redirect non-static method invocations in a method body to a static - method.
      -
      voidreplaceArrayAccess​(CtClass calledClass, - CodeConverter.ArrayAccessReplacementMethodNames names) -
      Modify a method body, so that ALL accesses to an array are replaced with - calls to static methods within another class.
      -
      voidreplaceFieldRead​(CtField field, - CtClass calledClass, - java.lang.String calledMethod) -
      Modify a method body so that an expression reading the specified - field is replaced with a call to the specified static method.
      -
      voidreplaceFieldWrite​(CtField field, - CtClass calledClass, - java.lang.String calledMethod) -
      Modify a method body so that an expression writing the specified - field is replaced with a call to the specified static method.
      -
      voidreplaceNew​(CtClass oldClass, - CtClass newClass) -
      Modify a method body so that instantiation of the class - specified by oldClass - is replaced with instantiation of another class newClass.
      -
      voidreplaceNew​(CtClass newClass, - CtClass calledClass, - java.lang.String calledMethod) -
      Modify a method body so that instantiation of the specified class - is replaced with a call to the specified static method.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        CodeConverter

        -
        public CodeConverter()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        replaceNew

        -
        public void replaceNew​(CtClass newClass,
        -                       CtClass calledClass,
        -                       java.lang.String calledMethod)
        -
        Modify a method body so that instantiation of the specified class - is replaced with a call to the specified static method. For example, - replaceNew(ctPoint, ctSingleton, "createPoint") - (where ctPoint and ctSingleton are - compile-time classes for class Point and class - Singleton, respectively) - replaces all occurrences of: - -
        new Point(x, y)
        - - in the method body with: - -
        Singleton.createPoint(x, y)
        - -

        This enables to intercept instantiation of Point - and change the samentics. For example, the following - createPoint() implements the singleton pattern: - -

        public static Point createPoint(int x, int y) {
        -     if (aPoint == null)
        -         aPoint = new Point(x, y);
        -     return aPoint;
        - }
        - 
        - -

        The static method call substituted for the original new - expression must be - able to receive the same set of parameters as the original - constructor. If there are multiple constructors with different - parameter types, then there must be multiple static methods - with the same name but different parameter types. - -

        The return type of the substituted static method must be - the exactly same as the type of the instantiated class specified by - newClass.

        -
        -
        Parameters:
        -
        newClass - the instantiated class.
        -
        calledClass - the class in which the static method is - declared.
        -
        calledMethod - the name of the static method.
        -
        -
      • -
      - - - -
        -
      • -

        replaceNew

        -
        public void replaceNew​(CtClass oldClass,
        -                       CtClass newClass)
        -
        Modify a method body so that instantiation of the class - specified by oldClass - is replaced with instantiation of another class newClass. - For example, - replaceNew(ctPoint, ctPoint2) - (where ctPoint and ctPoint2 are - compile-time classes for class Point and class - Point2, respectively) - replaces all occurrences of: - -
        new Point(x, y)
        - - in the method body with: - -
        new Point2(x, y)
        - -

        Note that Point2 must be type-compatible with Point. - It must have the same set of methods, fields, and constructors as the - replaced class.

        -
      • -
      - - - -
        -
      • -

        redirectFieldAccess

        -
        public void redirectFieldAccess​(CtField field,
        -                                CtClass newClass,
        -                                java.lang.String newFieldname)
        -
        Modify a method body so that field read/write expressions access - a different field from the original one. - -

        Note that this method changes only the filed name and the class - declaring the field; the type of the target object does not change. - Therefore, the substituted field must be declared in the same class - or a superclass of the original class. - -

        Also, clazz and newClass must specify - the class directly declaring the field. They must not specify - a subclass of that class.

        -
        -
        Parameters:
        -
        field - the originally accessed field.
        -
        newClass - the class declaring the substituted field.
        -
        newFieldname - the name of the substituted field.
        -
        -
      • -
      - - - -
        -
      • -

        replaceFieldRead

        -
        public void replaceFieldRead​(CtField field,
        -                             CtClass calledClass,
        -                             java.lang.String calledMethod)
        -
        Modify a method body so that an expression reading the specified - field is replaced with a call to the specified static method. - This static method receives the target object of the original - read expression as a parameter. It must return a value of - the same type as the field. - -

        For example, the program below - -

        Point p = new Point();
        - int newX = p.x + 3;
        - -

        can be translated into: - -

        Point p = new Point();
        - int newX = Accessor.readX(p) + 3;
        - -

        where - -

        public class Accessor {
        -     public static int readX(Object target) { ... }
        - }
        - -

        The type of the parameter of readX() must - be java.lang.Object independently of the actual - type of target. The return type must be the same - as the field type.

        -
        -
        Parameters:
        -
        field - the field.
        -
        calledClass - the class in which the static method is - declared.
        -
        calledMethod - the name of the static method.
        -
        -
      • -
      - - - -
        -
      • -

        replaceFieldWrite

        -
        public void replaceFieldWrite​(CtField field,
        -                              CtClass calledClass,
        -                              java.lang.String calledMethod)
        -
        Modify a method body so that an expression writing the specified - field is replaced with a call to the specified static method. - This static method receives two parameters: the target object of - the original - write expression and the assigned value. The return type of the - static method is void. - -

        For example, the program below - -

        Point p = new Point();
        - p.x = 3;
        - -

        can be translated into: - -

        Point p = new Point();
        - Accessor.writeX(3);
        - -

        where - -

        public class Accessor {
        -     public static void writeX(Object target, int value) { ... }
        - }
        - -

        The type of the first parameter of writeX() must - be java.lang.Object independently of the actual - type of target. The type of the second parameter - is the same as the field type.

        -
        -
        Parameters:
        -
        field - the field.
        -
        calledClass - the class in which the static method is - declared.
        -
        calledMethod - the name of the static method.
        -
        -
      • -
      - - - -
        -
      • -

        replaceArrayAccess

        -
        public void replaceArrayAccess​(CtClass calledClass,
        -                               CodeConverter.ArrayAccessReplacementMethodNames names)
        -                        throws NotFoundException
        -
        Modify a method body, so that ALL accesses to an array are replaced with - calls to static methods within another class. In the case of reading an - element from the array, this is replaced with a call to a static method with - the array and the index as arguments, the return value is the value read from - the array. If writing to an array, this is replaced with a call to a static - method with the array, index and new value as parameters, the return value of - the static method is void. - -

        The calledClass parameter is the class containing the static methods to be used - for array replacement. The names parameter points to an implementation of - ArrayAccessReplacementMethodNames which specifies the names of the method to be - used for access for each type of array. For example reading from an int[] will - require a different method than if writing to an int[], and writing to a long[] - will require a different method than if writing to a byte[]. If the implementation - of ArrayAccessReplacementMethodNames does not contain the name for access for a - type of array, that access is not replaced. - -

        A default implementation of ArrayAccessReplacementMethodNames called - DefaultArrayAccessReplacementMethodNames has been provided and is what is used in the - following example. This also assumes that 'foo.ArrayAdvisor' is the name of the - CtClass passed in. - -

        If we have the following class: -

        class POJO{
        -    int[] ints = new int[]{1, 2, 3, 4, 5};
        -    long[] longs = new int[]{10, 20, 30};
        -    Object objects = new Object[]{true, false};
        -    Integer[] integers = new Integer[]{new Integer(10)};
        - }
        - 
        - and this is accessed as: -
        POJO p = new POJO();
        - 
        - //Write to int array
        - p.ints[2] = 7;
        - 
        - //Read from int array
        - int i = p.ints[2];
        - 
        - //Write to long array
        - p.longs[2] = 1000L;
        - 
        - //Read from long array
        - long l = p.longs[2];
        - 
        - //Write to Object array
        - p.objects[2] = "Hello";
        - 
        - //Read from Object array
        - Object o = p.objects[2];
        - 
        - //Write to Integer array
        - Integer integer = new Integer(5);
        - p.integers[0] = integer;
        - 
        - //Read from Object array
        - integer = p.integers[0];
        - 
        - - Following instrumentation we will have -
        POJO p = new POJO();
        - 
        - //Write to int array
        - ArrayAdvisor.arrayWriteInt(p.ints, 2, 7);
        - 
        - //Read from int array
        - int i = ArrayAdvisor.arrayReadInt(p.ints, 2);
        - 
        - //Write to long array
        - ArrayAdvisor.arrayWriteLong(p.longs, 2, 1000L);
        - 
        - //Read from long array
        - long l = ArrayAdvisor.arrayReadLong(p.longs, 2);
        - 
        - //Write to Object array
        - ArrayAdvisor.arrayWriteObject(p.objects, 2, "Hello");
        - 
        - //Read from Object array
        - Object o = ArrayAdvisor.arrayReadObject(p.objects, 2);
        - 
        - //Write to Integer array
        - Integer integer = new Integer(5);
        - ArrayAdvisor.arrayWriteObject(p.integers, 0, integer);
        - 
        - //Read from Object array
        - integer = ArrayAdvisor.arrayWriteObject(p.integers, 0);
        - 
        -
        -
        Parameters:
        -
        calledClass - the class containing the static methods.
        -
        names - contains the names of the methods to replace - the different kinds of array access with.
        -
        Throws:
        -
        NotFoundException
        -
        See Also:
        -
        CodeConverter.DefaultArrayAccessReplacementMethodNames
        -
        -
      • -
      - - - -
        -
      • -

        redirectMethodCall

        -
        public void redirectMethodCall​(CtMethod origMethod,
        -                               CtMethod substMethod)
        -                        throws CannotCompileException
        -
        Modify method invocations in a method body so that a different - method will be invoked. - -

        Note that the target object, the parameters, or - the type of invocation - (static method call, interface call, or private method call) - are not modified. Only the method name is changed. The substituted - method must have the same signature that the original one has. - If the original method is a static method, the substituted method - must be static.

        -
        -
        Parameters:
        -
        origMethod - original method
        -
        substMethod - substituted method
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        redirectMethodCall

        -
        public void redirectMethodCall​(java.lang.String oldMethodName,
        -                               CtMethod newMethod)
        -                        throws CannotCompileException
        -
        Correct invocations to a method that has been renamed. - If a method is renamed, calls to that method must be also - modified so that the method with the new name will be called. - -

        The method must be declared in the same class before and - after it is renamed. - -

        Note that the target object, the parameters, or - the type of invocation - (static method call, interface call, or private method call) - are not modified. Only the method name is changed.

        -
        -
        Parameters:
        -
        oldMethodName - the old name of the method.
        -
        newMethod - the method with the new name.
        -
        Throws:
        -
        CannotCompileException
        -
        See Also:
        -
        CtMethod.setName(String)
        -
        -
      • -
      - - - -
        -
      • -

        redirectMethodCallToStatic

        -
        public void redirectMethodCallToStatic​(CtMethod origMethod,
        -                                       CtMethod staticMethod)
        -
        Redirect non-static method invocations in a method body to a static - method. The return type must be same with the originally invoked method. - As parameters, the static method receives - the target object and all the parameters to the originally invoked - method. For example, if the originally invoked method is - move(): - -
        class Point {
        -     Point move(int x, int y) { ... }
        - }
        - -

        Then the static method must be something like this: - -

        class Verbose {
        -     static Point print(Point target, int x, int y) { ... }
        - }
        - -

        The CodeConverter would translate bytecode - equivalent to: - -

        Point p2 = p.move(x + y, 0);
        - -

        into the bytecode equivalent to: - -

        Point p2 = Verbose.print(p, x + y, 0);
        -
        -
        Parameters:
        -
        origMethod - original method
        -
        staticMethod - static method
        -
        -
      • -
      - - - -
        -
      • -

        insertBeforeMethod

        -
        public void insertBeforeMethod​(CtMethod origMethod,
        -                               CtMethod beforeMethod)
        -                        throws CannotCompileException
        -
        Insert a call to another method before an existing method call. - That "before" method must be static. The return type must be - void. As parameters, the before method receives - the target object and all the parameters to the originally invoked - method. For example, if the originally invoked method is - move(): - -
        class Point {
        -     Point move(int x, int y) { ... }
        - }
        - -

        Then the before method must be something like this: - -

        class Verbose {
        -     static void print(Point target, int x, int y) { ... }
        - }
        - -

        The CodeConverter would translate bytecode - equivalent to: - -

        Point p2 = p.move(x + y, 0);
        - -

        into the bytecode equivalent to: - -

        int tmp1 = x + y;
        - int tmp2 = 0;
        - Verbose.print(p, tmp1, tmp2);
        - Point p2 = p.move(tmp1, tmp2);
        -
        -
        Parameters:
        -
        origMethod - the method originally invoked.
        -
        beforeMethod - the method invoked before - origMethod.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        insertAfterMethod

        -
        public void insertAfterMethod​(CtMethod origMethod,
        -                              CtMethod afterMethod)
        -                       throws CannotCompileException
        -
        Inserts a call to another method after an existing method call. - That "after" method must be static. The return type must be - void. As parameters, the after method receives - the target object and all the parameters to the originally invoked - method. For example, if the originally invoked method is - move(): - -
        class Point {
        -     Point move(int x, int y) { ... }
        - }
        - -

        Then the after method must be something like this: - -

        class Verbose {
        -     static void print(Point target, int x, int y) { ... }
        - }
        - -

        The CodeConverter would translate bytecode - equivalent to: - -

        Point p2 = p.move(x + y, 0);
        - -

        into the bytecode equivalent to: - -

        - int tmp1 = x + y;
        - int tmp2 = 0;
        - Point p2 = p.move(tmp1, tmp2);
        - Verbose.print(p, tmp1, tmp2);
        -
        -
        Parameters:
        -
        origMethod - the method originally invoked.
        -
        afterMethod - the method invoked after - origMethod.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/CtBehavior.html b/html/javassist/CtBehavior.html deleted file mode 100644 index f1f48865..00000000 --- a/html/javassist/CtBehavior.html +++ /dev/null @@ -1,1323 +0,0 @@ - - - - - -CtBehavior (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class CtBehavior

-
-
- -
-
    -
  • -
    -
    Direct Known Subclasses:
    -
    CtConstructor, CtMethod
    -
    -
    -
    public abstract class CtBehavior
    -extends CtMember
    -
    CtBehavior represents a method, a constructor, - or a static constructor (class initializer). - It is the abstract super class of - CtMethod and CtConstructor. - -

    To directly read or modify bytecode, obtain MethodInfo - objects.

    -
    -
    See Also:
    -
    getMethodInfo()
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidaddCatch​(java.lang.String src, - CtClass exceptionType) -
      Adds a catch clause that handles an exception thrown in the - body.
      -
      voidaddCatch​(java.lang.String src, - CtClass exceptionType, - java.lang.String exceptionName) -
      Adds a catch clause that handles an exception thrown in the - body.
      -
      voidaddLocalVariable​(java.lang.String name, - CtClass type) -
      Declares a new local variable.
      -
      voidaddParameter​(CtClass type) -
      Appends a new parameter, which becomes the last parameter.
      -
      java.lang.ObjectgetAnnotation​(java.lang.Class<?> clz) -
      Returns the annotation if the class has the specified annotation class.
      -
      java.lang.Object[]getAnnotations() -
      Returns the annotations associated with this method or constructor.
      -
      byte[]getAttribute​(java.lang.String name) -
      Obtains an attribute with the given name.
      -
      java.lang.Object[]getAvailableAnnotations() -
      Returns the annotations associated with this method or constructor.
      -
      java.lang.Object[][]getAvailableParameterAnnotations() -
      Returns the parameter annotations associated with this method or constructor.
      -
      CtClass[]getExceptionTypes() -
      Obtains exceptions that this method/constructor may throw.
      -
      java.lang.StringgetGenericSignature() -
      Returns the generic signature of the method.
      -
      abstract java.lang.StringgetLongName() -
      Returns the method or constructor name followed by parameter types - such as javassist.CtBehavior.stBody(String).
      -
      MethodInfogetMethodInfo() -
      Returns the MethodInfo representing this method/constructor in the - class file.
      -
      MethodInfogetMethodInfo2() -
      Returns the MethodInfo representing the method/constructor in the - class file (read only).
      -
      intgetModifiers() -
      Obtains the modifiers of the method/constructor.
      -
      java.lang.Object[][]getParameterAnnotations() -
      Returns the parameter annotations associated with this method or constructor.
      -
      CtClass[]getParameterTypes() -
      Obtains parameter types of this method/constructor.
      -
      java.lang.StringgetSignature() -
      Returns the method signature (the parameter types - and the return type).
      -
      booleanhasAnnotation​(java.lang.String typeName) -
      Returns true if the class has the specified annotation type.
      -
      voidinsertAfter​(java.lang.String src) -
      Inserts bytecode at the end of the body.
      -
      voidinsertAfter​(java.lang.String src, - boolean asFinally) -
      Inserts bytecode at the end of the body.
      -
      intinsertAt​(int lineNum, - boolean modify, - java.lang.String src) -
      Inserts bytecode at the specified line in the body.
      -
      intinsertAt​(int lineNum, - java.lang.String src) -
      Inserts bytecode at the specified line in the body.
      -
      voidinsertBefore​(java.lang.String src) -
      Inserts bytecode at the beginning of the body.
      -
      voidinsertParameter​(CtClass type) -
      Inserts a new parameter, which becomes the first parameter.
      -
      voidinstrument​(CodeConverter converter) -
      Modifies the method/constructor body.
      -
      voidinstrument​(ExprEditor editor) -
      Modifies the method/constructor body.
      -
      abstract booleanisEmpty() -
      Returns true if the body is empty.
      -
      voidsetAttribute​(java.lang.String name, - byte[] data) -
      Adds an attribute.
      -
      voidsetBody​(java.lang.String src) -
      Sets a method/constructor body.
      -
      voidsetBody​(java.lang.String src, - java.lang.String delegateObj, - java.lang.String delegateMethod) -
      Sets a method/constructor body.
      -
      voidsetExceptionTypes​(CtClass[] types) -
      Sets exceptions that this method/constructor may throw.
      -
      voidsetGenericSignature​(java.lang.String sig) -
      Set the generic signature of the method.
      -
      voidsetModifiers​(int mod) -
      Sets the encoded modifiers of the method/constructor.
      -
      voiduseCflow​(java.lang.String name) -
      Declares to use $cflow for this method/constructor.
      -
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getLongName

        -
        public abstract java.lang.String getLongName()
        -
        Returns the method or constructor name followed by parameter types - such as javassist.CtBehavior.stBody(String).
        -
        -
        Since:
        -
        3.5
        -
        -
      • -
      - - - -
        -
      • -

        getMethodInfo

        -
        public MethodInfo getMethodInfo()
        -
        Returns the MethodInfo representing this method/constructor in the - class file. - -

        If you modify the bytecode through the returned - MethodInfo object, you might have to explicitly - rebuild a stack map table. Javassist does not automatically - rebuild it for avoiding unnecessary rebuilding.

        -
        -
        See Also:
        -
        MethodInfo.rebuildStackMap(ClassPool)
        -
        -
      • -
      - - - -
        -
      • -

        getMethodInfo2

        -
        public MethodInfo getMethodInfo2()
        -
        Returns the MethodInfo representing the method/constructor in the - class file (read only). - Normal applications do not need calling this method. Use - getMethodInfo(). - -

        The MethodInfo object obtained by this method - is read only. Changes to this object might not be reflected - on a class file generated by toBytecode(), - toClass(), etc in CtClass. - -

        This method is available even if the CtClass - containing this method is frozen. However, if the class is - frozen, the MethodInfo might be also pruned.

        -
        -
        See Also:
        -
        getMethodInfo(), -CtClass.isFrozen(), -CtClass.prune()
        -
        -
      • -
      - - - -
        -
      • -

        getModifiers

        -
        public int getModifiers()
        -
        Obtains the modifiers of the method/constructor.
        -
        -
        Specified by:
        -
        getModifiers in class CtMember
        -
        Returns:
        -
        modifiers encoded with - javassist.Modifier.
        -
        See Also:
        -
        Modifier
        -
        -
      • -
      - - - -
        -
      • -

        setModifiers

        -
        public void setModifiers​(int mod)
        -
        Sets the encoded modifiers of the method/constructor. - -

        Changing the modifiers may cause a problem. - For example, if a non-static method is changed to static, - the method will be rejected by the bytecode verifier.

        -
        -
        Specified by:
        -
        setModifiers in class CtMember
        -
        See Also:
        -
        Modifier
        -
        -
      • -
      - - - -
        -
      • -

        hasAnnotation

        -
        public boolean hasAnnotation​(java.lang.String typeName)
        -
        Returns true if the class has the specified annotation type.
        -
        -
        Specified by:
        -
        hasAnnotation in class CtMember
        -
        Parameters:
        -
        typeName - the name of annotation type.
        -
        Returns:
        -
        true if the annotation is found, - otherwise false.
        -
        Since:
        -
        3.21
        -
        -
      • -
      - - - -
        -
      • -

        getAnnotation

        -
        public java.lang.Object getAnnotation​(java.lang.Class<?> clz)
        -                               throws java.lang.ClassNotFoundException
        -
        Returns the annotation if the class has the specified annotation class. - For example, if an annotation @Author is associated - with this method/constructor, an Author object is returned. - The member values can be obtained by calling methods on - the Author object.
        -
        -
        Specified by:
        -
        getAnnotation in class CtMember
        -
        Parameters:
        -
        clz - the annotation class.
        -
        Returns:
        -
        the annotation if found, otherwise null.
        -
        Throws:
        -
        java.lang.ClassNotFoundException
        -
        Since:
        -
        3.11
        -
        -
      • -
      - - - -
        -
      • -

        getAnnotations

        -
        public java.lang.Object[] getAnnotations()
        -                                  throws java.lang.ClassNotFoundException
        -
        Returns the annotations associated with this method or constructor.
        -
        -
        Specified by:
        -
        getAnnotations in class CtMember
        -
        Returns:
        -
        an array of annotation-type objects.
        -
        Throws:
        -
        java.lang.ClassNotFoundException
        -
        Since:
        -
        3.1
        -
        See Also:
        -
        getAvailableAnnotations()
        -
        -
      • -
      - - - -
        -
      • -

        getAvailableAnnotations

        -
        public java.lang.Object[] getAvailableAnnotations()
        -
        Returns the annotations associated with this method or constructor. - If any annotations are not on the classpath, they are not included - in the returned array.
        -
        -
        Specified by:
        -
        getAvailableAnnotations in class CtMember
        -
        Returns:
        -
        an array of annotation-type objects.
        -
        Since:
        -
        3.3
        -
        See Also:
        -
        getAnnotations()
        -
        -
      • -
      - - - -
        -
      • -

        getParameterAnnotations

        -
        public java.lang.Object[][] getParameterAnnotations()
        -                                             throws java.lang.ClassNotFoundException
        -
        Returns the parameter annotations associated with this method or constructor.
        -
        -
        Returns:
        -
        an array of annotation-type objects. The length of the returned array is - equal to the number of the formal parameters. If each parameter has no - annotation, the elements of the returned array are empty arrays.
        -
        Throws:
        -
        java.lang.ClassNotFoundException
        -
        Since:
        -
        3.1
        -
        See Also:
        -
        getAvailableParameterAnnotations(), -getAnnotations()
        -
        -
      • -
      - - - -
        -
      • -

        getAvailableParameterAnnotations

        -
        public java.lang.Object[][] getAvailableParameterAnnotations()
        -
        Returns the parameter annotations associated with this method or constructor. - If any annotations are not on the classpath, they are not included in the - returned array.
        -
        -
        Returns:
        -
        an array of annotation-type objects. The length of the returned array is - equal to the number of the formal parameters. If each parameter has no - annotation, the elements of the returned array are empty arrays.
        -
        Since:
        -
        3.3
        -
        See Also:
        -
        getParameterAnnotations(), -getAvailableAnnotations()
        -
        -
      • -
      - - - - - - - -
        -
      • -

        getSignature

        -
        public java.lang.String getSignature()
        -
        Returns the method signature (the parameter types - and the return type). - The method signature is represented by a character string - called method descriptor, which is defined in the JVM specification. - If two methods/constructors have - the same parameter types - and the return type, getSignature() returns the - same string (the return type of constructors is void). - -

        Note that the returned string is not the type signature - contained in the SignatureAttirbute. It is - a descriptor.

        -
        -
        Specified by:
        -
        getSignature in class CtMember
        -
        See Also:
        -
        Descriptor, -getGenericSignature()
        -
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        getExceptionTypes

        -
        public CtClass[] getExceptionTypes()
        -                            throws NotFoundException
        -
        Obtains exceptions that this method/constructor may throw.
        -
        -
        Returns:
        -
        a zero-length array if there is no throws clause.
        -
        Throws:
        -
        NotFoundException
        -
        -
      • -
      - - - - - - - -
        -
      • -

        isEmpty

        -
        public abstract boolean isEmpty()
        -
        Returns true if the body is empty.
        -
      • -
      - - - -
        -
      • -

        setBody

        -
        public void setBody​(java.lang.String src)
        -             throws CannotCompileException
        -
        Sets a method/constructor body.
        -
        -
        Parameters:
        -
        src - the source code representing the body. - It must be a single statement or block. - If it is null, the substituted - body does nothing except returning zero or null.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        setBody

        -
        public void setBody​(java.lang.String src,
        -                    java.lang.String delegateObj,
        -                    java.lang.String delegateMethod)
        -             throws CannotCompileException
        -
        Sets a method/constructor body.
        -
        -
        Parameters:
        -
        src - the source code representing the body. - It must be a single statement or block. - If it is null, the substituted - body does nothing except returning zero or null.
        -
        delegateObj - the source text specifying the object - that is called on by $proceed().
        -
        delegateMethod - the name of the method - that is called by $proceed().
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        getAttribute

        -
        public byte[] getAttribute​(java.lang.String name)
        -
        Obtains an attribute with the given name. - If that attribute is not found in the class file, this - method returns null. - -

        Note that an attribute is a data block specified by - the class file format. It is not an annotation. - See AttributeInfo.

        -
        -
        Specified by:
        -
        getAttribute in class CtMember
        -
        Parameters:
        -
        name - attribute name
        -
        -
      • -
      - - - -
        -
      • -

        setAttribute

        -
        public void setAttribute​(java.lang.String name,
        -                         byte[] data)
        -
        Adds an attribute. The attribute is saved in the class file. - -

        Note that an attribute is a data block specified by - the class file format. It is not an annotation. - See AttributeInfo.

        -
        -
        Specified by:
        -
        setAttribute in class CtMember
        -
        Parameters:
        -
        name - attribute name
        -
        data - attribute value
        -
        -
      • -
      - - - -
        -
      • -

        useCflow

        -
        public void useCflow​(java.lang.String name)
        -              throws CannotCompileException
        -
        Declares to use $cflow for this method/constructor. - If $cflow is used, the class files modified - with Javassist requires a support class - javassist.runtime.Cflow at runtime - (other Javassist classes are not required at runtime). - -

        Every $cflow variable is given a unique name. - For example, if the given name is "Point.paint", - then the variable is indicated by $cflow(Point.paint).

        -
        -
        Parameters:
        -
        name - $cflow name. It can include - alphabets, numbers, _, - $, and . (dot).
        -
        Throws:
        -
        CannotCompileException
        -
        See Also:
        -
        Cflow
        -
        -
      • -
      - - - -
        -
      • -

        addLocalVariable

        -
        public void addLocalVariable​(java.lang.String name,
        -                             CtClass type)
        -                      throws CannotCompileException
        -
        Declares a new local variable. The scope of this variable is the - whole method body. The initial value of that variable is not set. - The declared variable can be accessed in the code snippet inserted - by insertBefore(), insertAfter(), etc. - -

        If the second parameter asFinally to - insertAfter() is true, the declared local variable - is not visible from the code inserted by insertAfter().

        -
        -
        Parameters:
        -
        name - the name of the variable
        -
        type - the type of the variable
        -
        Throws:
        -
        CannotCompileException
        -
        See Also:
        -
        insertBefore(String), -insertAfter(String)
        -
        -
      • -
      - - - - - - - - - - - - - - - -
        -
      • -

        instrument

        -
        public void instrument​(ExprEditor editor)
        -                throws CannotCompileException
        -
        Modifies the method/constructor body. - -

        While executing this method, only replace() - in Expr is available for bytecode modification. - Other methods such as insertBefore() may collapse - the bytecode because the ExprEditor loses - its current position.

        -
        -
        Parameters:
        -
        editor - specifies how to modify.
        -
        Throws:
        -
        CannotCompileException
        -
        See Also:
        -
        Expr.replace(String), -insertBefore(String)
        -
        -
      • -
      - - - -
        -
      • -

        insertBefore

        -
        public void insertBefore​(java.lang.String src)
        -                  throws CannotCompileException
        -
        Inserts bytecode at the beginning of the body. - -

        If this object represents a constructor, - the bytecode is inserted before - a constructor in the super class or this class is called. - Therefore, the inserted bytecode is subject to constraints described - in Section 4.8.2 of The Java Virtual Machine Specification (2nd ed). - For example, it cannot access instance fields or methods although - it may assign a value to an instance field directly declared in this - class. Accessing static fields and methods is allowed. - Use insertBeforeBody() in CtConstructor.

        -
        -
        Parameters:
        -
        src - the source code representing the inserted bytecode. - It must be a single statement or block.
        -
        Throws:
        -
        CannotCompileException
        -
        See Also:
        -
        CtConstructor.insertBeforeBody(String)
        -
        -
      • -
      - - - -
        -
      • -

        insertAfter

        -
        public void insertAfter​(java.lang.String src)
        -                 throws CannotCompileException
        -
        Inserts bytecode at the end of the body. - The bytecode is inserted just before every return insturction. - It is not executed when an exception is thrown.
        -
        -
        Parameters:
        -
        src - the source code representing the inserted bytecode. - It must be a single statement or block.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        insertAfter

        -
        public void insertAfter​(java.lang.String src,
        -                        boolean asFinally)
        -                 throws CannotCompileException
        -
        Inserts bytecode at the end of the body. - The bytecode is inserted just before every return insturction.
        -
        -
        Parameters:
        -
        src - the source code representing the inserted bytecode. - It must be a single statement or block.
        -
        asFinally - true if the inserted bytecode is executed - not only when the control normally returns - but also when an exception is thrown. - If this parameter is true, the inserted code cannot - access local variables.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        addCatch

        -
        public void addCatch​(java.lang.String src,
        -                     CtClass exceptionType)
        -              throws CannotCompileException
        -
        Adds a catch clause that handles an exception thrown in the - body. The catch clause must end with a return or throw statement.
        -
        -
        Parameters:
        -
        src - the source code representing the catch clause. - It must be a single statement or block.
        -
        exceptionType - the type of the exception handled by the - catch clause.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        addCatch

        -
        public void addCatch​(java.lang.String src,
        -                     CtClass exceptionType,
        -                     java.lang.String exceptionName)
        -              throws CannotCompileException
        -
        Adds a catch clause that handles an exception thrown in the - body. The catch clause must end with a return or throw statement.
        -
        -
        Parameters:
        -
        src - the source code representing the catch clause. - It must be a single statement or block.
        -
        exceptionType - the type of the exception handled by the - catch clause.
        -
        exceptionName - the name of the variable containing the - caught exception, for example, - $e.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        insertAt

        -
        public int insertAt​(int lineNum,
        -                    java.lang.String src)
        -             throws CannotCompileException
        -
        Inserts bytecode at the specified line in the body. - It is equivalent to: - -
        insertAt(lineNum, true, src) - -
        See this method as well.
        -
        -
        Parameters:
        -
        lineNum - the line number. The bytecode is inserted at the - beginning of the code at the line specified by this - line number.
        -
        src - the source code representing the inserted bytecode. - It must be a single statement or block.
        -
        Returns:
        -
        the line number at which the bytecode has been inserted.
        -
        Throws:
        -
        CannotCompileException
        -
        See Also:
        -
        insertAt(int,boolean,String)
        -
        -
      • -
      - - - -
        -
      • -

        insertAt

        -
        public int insertAt​(int lineNum,
        -                    boolean modify,
        -                    java.lang.String src)
        -             throws CannotCompileException
        -
        Inserts bytecode at the specified line in the body. - -

        If there is not - a statement at the specified line, the bytecode might be inserted - at the line including the first statement after that line specified. - For example, if there is only a closing brace at that line, the - bytecode would be inserted at another line below. - To know exactly where the bytecode will be inserted, call with - modify set to false.

        -
        -
        Parameters:
        -
        lineNum - the line number. The bytecode is inserted at the - beginning of the code at the line specified by this - line number.
        -
        modify - if false, this method does not insert the bytecode. - It instead only returns the line number at which - the bytecode would be inserted.
        -
        src - the source code representing the inserted bytecode. - It must be a single statement or block. - If modify is false, the value of src can be null.
        -
        Returns:
        -
        the line number at which the bytecode has been inserted.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/CtClass.html b/html/javassist/CtClass.html deleted file mode 100644 index 0caca142..00000000 --- a/html/javassist/CtClass.html +++ /dev/null @@ -1,3148 +0,0 @@ - - - - - -CtClass (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class CtClass

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.CtClass
    • -
    -
  • -
-
-
    -
  • -
    -
    Direct Known Subclasses:
    -
    CtPrimitiveType
    -
    -
    -
    public abstract class CtClass
    -extends java.lang.Object
    -
    An instance of CtClass represents a class. - It is obtained from ClassPool.
    -
    -
    See Also:
    -
    ClassPool.get(String)
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static CtClassbooleanType -
      The CtClass object representing - the boolean type.
      -
      static CtClassbyteType -
      The CtClass object representing - the byte type.
      -
      static CtClasscharType -
      The CtClass object representing - the char type.
      -
      static java.lang.StringdebugDump -
      If the value of this field is not null, then all class - files modified by Javassist are saved under the directory - specified by this variable.
      -
      static CtClassdoubleType -
      The CtClass object representing - the double type.
      -
      static CtClassfloatType -
      The CtClass object representing - the float type.
      -
      static CtClassintType -
      The CtClass object representing - the int type.
      -
      static CtClasslongType -
      The CtClass object representing - the long type.
      -
      static CtClassshortType -
      The CtClass object representing - the short type.
      -
      static java.lang.Stringversion -
      The version number of this release.
      -
      static CtClassvoidType -
      The CtClass object representing - the void type.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and TypeMethodDescription
      voidaddConstructor​(CtConstructor c) -
      Adds a constructor.
      -
      voidaddField​(CtField f) -
      Adds a field.
      -
      voidaddField​(CtField f, - java.lang.String init) -
      Adds a field with an initial value.
      -
      voidaddField​(CtField f, - CtField.Initializer init) -
      Adds a field with an initial value.
      -
      voidaddInterface​(CtClass anInterface) -
      Adds an interface.
      -
      voidaddMethod​(CtMethod m) -
      Adds a method.
      -
      voiddebugWriteFile() -
      Writes a class file as writeFile() does although this - method does not prune or freeze the class after writing the class - file.
      -
      voiddebugWriteFile​(java.lang.String directoryName) -
      Writes a class file as writeFile() does although this - method does not prune or freeze the class after writing the class - file.
      -
      voiddefrost() -
      Defrosts the class so that the class can be modified again.
      -
      voiddetach() -
      Removes this CtClass object from the - ClassPool.
      -
      voidfreeze() -
      Makes the class frozen.
      -
      javassist.compiler.AccessorMakergetAccessorMaker() -
      Undocumented method.
      -
      java.lang.ObjectgetAnnotation​(java.lang.Class<?> clz) -
      Returns the annotation if the class has the specified annotation type.
      -
      java.lang.Object[]getAnnotations() -
      Returns the annotations associated with this class.
      -
      byte[]getAttribute​(java.lang.String name) -
      Obtains an attribute with the given name.
      -
      java.lang.Object[]getAvailableAnnotations() -
      Returns the annotations associated with this class.
      -
      ClassFilegetClassFile() -
      Returns a class file for this class.
      -
      ClassFilegetClassFile2() -
      Returns a class file for this class (read only).
      -
      CtConstructorgetClassInitializer() -
      Gets the class initializer (static constructor) - declared in the class.
      -
      ClassPoolgetClassPool() -
      Returns a ClassPool for this class.
      -
      CtClassgetComponentType() -
      If this object represents an array, this method returns the component - type of the array.
      -
      CtConstructorgetConstructor​(java.lang.String desc) -
      Returns the constructor with the given signature, - which is represented by a character string - called method descriptor.
      -
      CtConstructor[]getConstructors() -
      Returns an array containing CtConstructor objects - representing all the non-private constructors of the class.
      -
      CtBehavior[]getDeclaredBehaviors() -
      Gets all the constructors and methods declared in the class.
      -
      CtClass[]getDeclaredClasses() -
      Returns an array of nested classes declared in the class.
      -
      CtConstructorgetDeclaredConstructor​(CtClass[] params) -
      Returns a constructor receiving the specified parameters.
      -
      CtConstructor[]getDeclaredConstructors() -
      Gets all the constructors declared in the class.
      -
      CtFieldgetDeclaredField​(java.lang.String name) -
      Retrieves the field with the specified name among the fields - declared in the class.
      -
      CtFieldgetDeclaredField​(java.lang.String name, - java.lang.String desc) -
      Retrieves the field with the specified name and type among the fields - declared in the class.
      -
      CtField[]getDeclaredFields() -
      Gets all the fields declared in the class.
      -
      CtMethodgetDeclaredMethod​(java.lang.String name) -
      Retrieves the method with the specified name among the methods - declared in the class.
      -
      CtMethodgetDeclaredMethod​(java.lang.String name, - CtClass[] params) -
      Retrieves the method with the specified name and parameter types - among the methods declared in the class.
      -
      CtMethod[]getDeclaredMethods() -
      Gets all methods declared in the class.
      -
      CtMethod[]getDeclaredMethods​(java.lang.String name) -
      Retrieves methods with the specified name among the methods - declared in the class.
      -
      CtClassgetDeclaringClass() -
      If this class is a member class or interface of another class, - then the class enclosing this class is returned.
      -
      CtBehaviorgetEnclosingBehavior() -
      Returns the immediately enclosing method of this class.
      -
      CtMethodgetEnclosingMethod() -
      Deprecated. -
      The enclosing method might be a constructor.
      -
      -
      CtFieldgetField​(java.lang.String name) -
      Returns the field with the specified name.
      -
      CtFieldgetField​(java.lang.String name, - java.lang.String desc) -
      Returns the field with the specified name and type.
      -
      CtField[]getFields() -
      Returns an array containing CtField objects - representing all the non-private fields of the class.
      -
      java.lang.StringgetGenericSignature() -
      Returns the generic signature of the class.
      -
      CtClass[]getInterfaces() -
      Obtains the class objects representing the interfaces implemented - by the class or, if this object represents an interface, the interfaces - extended by that interface.
      -
      CtMethodgetMethod​(java.lang.String name, - java.lang.String desc) -
      Returns the method with the given name and signature.
      -
      CtMethod[]getMethods() -
      Returns an array containing CtMethod objects - representing all the non-private methods of the class.
      -
      intgetModifiers() -
      Returns the modifiers for this class, encoded in an integer.
      -
      java.lang.StringgetName() -
      Obtains the fully-qualified name of the class.
      -
      CtClass[]getNestedClasses() -
      Returns an array of nested classes declared in the class.
      -
      java.lang.StringgetPackageName() -
      Obtains the package name.
      -
      java.util.Collection<java.lang.String>getRefClasses() -
      Returns a collection of the names of all the classes - referenced in this class.
      -
      java.lang.StringgetSimpleName() -
      Obtains the not-qualified class name.
      -
      CtClassgetSuperclass() -
      Obtains the class object representing the superclass of the - class.
      -
      java.net.URLgetURL() -
      Returns the uniform resource locator (URL) of the class file.
      -
      booleanhasAnnotation​(java.lang.Class<?> annotationType) -
      Returns true if the class has the specified annotation type.
      -
      booleanhasAnnotation​(java.lang.String annotationTypeName) -
      Returns true if the class has the specified annotation type.
      -
      voidinstrument​(CodeConverter converter) -
      Applies the given converter to all methods and constructors - declared in the class.
      -
      voidinstrument​(ExprEditor editor) -
      Modifies the bodies of all methods and constructors - declared in the class.
      -
      booleanisAnnotation() -
      Determines whether this object represents an annotation type.
      -
      booleanisArray() -
      Returns true if this object represents an array type.
      -
      booleanisEnum() -
      Determines whether this object represents an enum.
      -
      booleanisFrozen() -
      Returns true if the class has been loaded or written out - and thus it cannot be modified any more.
      -
      booleanisInterface() -
      Determines whether this object represents a class or an interface.
      -
      booleanisModified() -
      Returns true if the definition of the class has been modified.
      -
      booleanisPrimitive() -
      Returns true if this object represents a primitive - Java type: boolean, byte, char, short, int, long, float, double, - or void.
      -
      static voidmain​(java.lang.String[] args) -
      Prints the version number and the copyright notice.
      -
      CtConstructormakeClassInitializer() -
      Makes an empty class initializer (static constructor).
      -
      CtClassmakeNestedClass​(java.lang.String name, - boolean isStatic) -
      Makes a new public nested class.
      -
      java.lang.StringmakeUniqueName​(java.lang.String prefix) -
      Makes a unique member name.
      -
      voidprune() -
      Discards unnecessary attributes, in particular, - CodeAttributes (method bodies) of the class, - to minimize the memory footprint.
      -
      voidrebuildClassFile() -
      If this method is called, the class file will be - rebuilt when it is finally generated by - toBytecode() and writeFile().
      -
      voidremoveConstructor​(CtConstructor c) -
      Removes a constructor declared in this class.
      -
      voidremoveField​(CtField f) -
      Removes a field declared in this class.
      -
      voidremoveMethod​(CtMethod m) -
      Removes a method declared in this class.
      -
      voidreplaceClassName​(java.lang.String oldName, - java.lang.String newName) -
      Substitutes newName for all occurrences of a class - name oldName in the class file.
      -
      voidreplaceClassName​(ClassMap map) -
      Changes class names appearing in the class file according to the - given map.
      -
      voidsetAttribute​(java.lang.String name, - byte[] data) -
      Adds a named attribute.
      -
      voidsetGenericSignature​(java.lang.String sig) -
      Sets the generic signature of the class.
      -
      voidsetInterfaces​(CtClass[] list) -
      Sets implemented interfaces.
      -
      voidsetModifiers​(int mod) -
      Sets the modifiers.
      -
      voidsetName​(java.lang.String name) -
      Sets the class name
      -
      voidsetSuperclass​(CtClass clazz) -
      Changes a super class unless this object represents an interface.
      -
      booleanstopPruning​(boolean stop) -
      Disallows (or allows) automatically pruning this CtClass - object.
      -
      booleansubclassOf​(CtClass superclass) -
      Determines whether the class directly or indirectly extends - the given class.
      -
      booleansubtypeOf​(CtClass clazz) -
      Returns true if this class extends or implements - clazz.
      -
      byte[]toBytecode() -
      Converts this class to a class file.
      -
      voidtoBytecode​(java.io.DataOutputStream out) -
      Converts this class to a class file.
      -
      java.lang.Class<?>toClass() -
      Converts this class to a java.lang.Class object.
      -
      java.lang.Class<?>toClass​(java.lang.Class<?> neighbor) -
      Converts this class to a java.lang.Class object.
      -
      java.lang.Class<?>toClass​(java.lang.ClassLoader loader) -
      Deprecated. - -
      -
      java.lang.Class<?>toClass​(java.lang.ClassLoader loader, - java.security.ProtectionDomain domain) -
      Converts this class to a java.lang.Class object.
      -
      java.lang.Class<?>toClass​(java.lang.invoke.MethodHandles.Lookup lookup) -
      Converts this class to a java.lang.Class object.
      -
      java.lang.StringtoString() -
      Converts the object to a string.
      -
      voidwriteFile() -
      Writes a class file represented by this CtClass - object in the current directory.
      -
      voidwriteFile​(java.lang.String directoryName) -
      Writes a class file represented by this CtClass - object on a local disk.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        debugDump

        -
        public static java.lang.String debugDump
        -
        If the value of this field is not null, then all class - files modified by Javassist are saved under the directory - specified by this variable. For example, if the value is - "./debug", then all class files are saved - there. The directory name must not end with a directory - separator such as /. - -

        The default value is null.

        -
        -
        Since:
        -
        3.16
        -
        See Also:
        -
        debugWriteFile(String)
        -
        -
      • -
      - - - -
        -
      • -

        version

        -
        public static final java.lang.String version
        -
        The version number of this release.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        booleanType

        -
        public static CtClass booleanType
        -
        The CtClass object representing - the boolean type.
        -
      • -
      - - - -
        -
      • -

        charType

        -
        public static CtClass charType
        -
        The CtClass object representing - the char type.
        -
      • -
      - - - -
        -
      • -

        byteType

        -
        public static CtClass byteType
        -
        The CtClass object representing - the byte type.
        -
      • -
      - - - -
        -
      • -

        shortType

        -
        public static CtClass shortType
        -
        The CtClass object representing - the short type.
        -
      • -
      - - - -
        -
      • -

        intType

        -
        public static CtClass intType
        -
        The CtClass object representing - the int type.
        -
      • -
      - - - -
        -
      • -

        longType

        -
        public static CtClass longType
        -
        The CtClass object representing - the long type.
        -
      • -
      - - - -
        -
      • -

        floatType

        -
        public static CtClass floatType
        -
        The CtClass object representing - the float type.
        -
      • -
      - - - -
        -
      • -

        doubleType

        -
        public static CtClass doubleType
        -
        The CtClass object representing - the double type.
        -
      • -
      - - - -
        -
      • -

        voidType

        -
        public static CtClass voidType
        -
        The CtClass object representing - the void type.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        main

        -
        public static void main​(java.lang.String[] args)
        -
        Prints the version number and the copyright notice. - -

        The following command invokes this method: - -

        java -jar javassist.jar
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Converts the object to a string.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        getClassPool

        -
        public ClassPool getClassPool()
        -
        Returns a ClassPool for this class.
        -
      • -
      - - - -
        -
      • -

        getClassFile

        -
        public ClassFile getClassFile()
        -
        Returns a class file for this class. - -

        This method is not available if isFrozen() - is true.

        -
      • -
      - - - -
        -
      • -

        getClassFile2

        -
        public ClassFile getClassFile2()
        -
        Returns a class file for this class (read only). - Normal applications do not need calling this method. Use - getClassFile(). - -

        The ClassFile object obtained by this method - is read only. Changes to this object might not be reflected - on a class file generated by toBytecode(), - toClass(), etc. - -

        This method is available even if isFrozen() - is true. However, if the class is frozen, it might be also - pruned.

        -
        -
        See Also:
        -
        getClassFile(), -isFrozen(), -prune()
        -
        -
      • -
      - - - -
        -
      • -

        getAccessorMaker

        -
        public javassist.compiler.AccessorMaker getAccessorMaker()
        -
        Undocumented method. Do not use; internal-use only.
        -
      • -
      - - - - - - - -
        -
      • -

        isModified

        -
        public boolean isModified()
        -
        Returns true if the definition of the class has been modified.
        -
      • -
      - - - -
        -
      • -

        isFrozen

        -
        public boolean isFrozen()
        -
        Returns true if the class has been loaded or written out - and thus it cannot be modified any more.
        -
        -
        See Also:
        -
        defrost(), -detach()
        -
        -
      • -
      - - - -
        -
      • -

        freeze

        -
        public void freeze()
        -
        Makes the class frozen.
        -
        -
        Since:
        -
        3.6
        -
        See Also:
        -
        isFrozen(), -defrost()
        -
        -
      • -
      - - - -
        -
      • -

        defrost

        -
        public void defrost()
        -
        Defrosts the class so that the class can be modified again. - -

        To avoid changes that will be never reflected, - the class is frozen to be unmodifiable if it is loaded or - written out. This method should be called only in a case - that the class will be reloaded or written out later again. - -

        If defrost() will be called later, pruning - must be disallowed in advance.

        -
        -
        See Also:
        -
        isFrozen(), -stopPruning(boolean), -detach()
        -
        -
      • -
      - - - -
        -
      • -

        isPrimitive

        -
        public boolean isPrimitive()
        -
        Returns true if this object represents a primitive - Java type: boolean, byte, char, short, int, long, float, double, - or void.
        -
      • -
      - - - -
        -
      • -

        isArray

        -
        public boolean isArray()
        -
        Returns true if this object represents an array type.
        -
      • -
      - - - -
        -
      • -

        getComponentType

        -
        public CtClass getComponentType()
        -                         throws NotFoundException
        -
        If this object represents an array, this method returns the component - type of the array. Otherwise, it returns null.
        -
        -
        Throws:
        -
        NotFoundException
        -
        -
      • -
      - - - -
        -
      • -

        subtypeOf

        -
        public boolean subtypeOf​(CtClass clazz)
        -                  throws NotFoundException
        -
        Returns true if this class extends or implements - clazz. It also returns true if - this class is the same as clazz.
        -
        -
        Throws:
        -
        NotFoundException
        -
        -
      • -
      - - - -
        -
      • -

        getName

        -
        public java.lang.String getName()
        -
        Obtains the fully-qualified name of the class.
        -
      • -
      - - - -
        -
      • -

        getSimpleName

        -
        public final java.lang.String getSimpleName()
        -
        Obtains the not-qualified class name.
        -
      • -
      - - - -
        -
      • -

        getPackageName

        -
        public final java.lang.String getPackageName()
        -
        Obtains the package name. It may be null.
        -
      • -
      - - - -
        -
      • -

        setName

        -
        public void setName​(java.lang.String name)
        -
        Sets the class name
        -
        -
        Parameters:
        -
        name - fully-qualified name
        -
        -
      • -
      - - - -
        -
      • -

        getGenericSignature

        -
        public java.lang.String getGenericSignature()
        -
        Returns the generic signature of the class. - -

        The generics of Java is implemented by the erasure technique. - After compilation, all type parameters are dropped off from the - main part of a class file. However, for reflection, the type - parameters are encoded into generic signatures and attached - to a class file.

        -
        -
        Returns:
        -
        null if the generic signature is not included.
        -
        Since:
        -
        3.17
        -
        See Also:
        -
        SignatureAttribute.toClassSignature(String), -CtMember.getGenericSignature()
        -
        -
      • -
      - - - -
        -
      • -

        setGenericSignature

        -
        public void setGenericSignature​(java.lang.String sig)
        -
        Sets the generic signature of the class. - -

        The generics of Java is implemented by the erasure technique. - After compilation, all type parameters are dropped off from the - main part of a class file. However, for reflection, the type - parameters must be encoded into generic signatures and attached - to a class file. - -

        For example, - -

        class List<T> {
        -     T value;
        -     T get() { return value; }
        -     void set(T v) { value = v; }
        - }
        - 
        - -

        this class is generated by the following code: - -

        - ClassPool pool = ClassPool.getDefault();
        - CtClass cc = pool.makeClass("List");
        - CtClass objectClass = pool.get(CtClass.javaLangObject);
        - ClassSignature cs = new ClassSignature(
        -                         new TypeParameter[] { new TypeParameter("T") });
        - cc.setGenericSignature(cs.encode());    // <T:Ljava/lang/Object;>Ljava/lang/Object;
        -
        - CtField f = new CtField(objClass, "value", cc);
        - TypeVariable tvar = new TypeVariable("T");
        - f.setGenericSignature(tvar.encode());   // TT;
        - cc.addField(f);
        -
        - CtMethod m = CtNewMethod.make("public Object get(){return value;}", cc);
        - MethodSignature ms = new MethodSignature(null, null, tvar, null);
        - m.setGenericSignature(ms.encode());     // ()TT;
        - cc.addMethod(m);
        -
        - CtMethod m2 = CtNewMethod.make("public void set(Object v){value = v;}", cc);
        - MethodSignature ms2 = new MethodSignature(null, new Type[] { tvar },
        -                                           new BaseType("void"), null);
        - m2.setGenericSignature(ms2.encode());   // (TT;)V;
        - cc.addMethod(m2);
        -
        - cc.writeFile();
        - 
        - -

        The generated class file is equivalent to the following: - -

        class List {
        -     Object value;
        -     Object get() { return value; }
        -     void set(Object v) { value = v; }
        - }
        - -

        but it includes generic signatures for the class, the field, - and the methods so that the type variable T can be - accessible through reflection. - -

        MethodSignature is a utility class. You can directly - pass the signature string to the setGenericSignature method. - For the specification of the signatures, see Section 4.7.9.1 Signatures - of The Java Virtual Machine Specification (Java SE 8).

        -
        -
        Parameters:
        -
        sig - a generic signature.
        -
        Since:
        -
        3.17
        -
        See Also:
        -
        SignatureAttribute.ClassSignature.encode(), -SignatureAttribute.MethodSignature.encode(), -CtMember.setGenericSignature(String)
        -
        -
      • -
      - - - -
        -
      • -

        replaceClassName

        -
        public void replaceClassName​(java.lang.String oldName,
        -                             java.lang.String newName)
        -
        Substitutes newName for all occurrences of a class - name oldName in the class file.
        -
        -
        Parameters:
        -
        oldName - replaced class name
        -
        newName - substituted class name
        -
        -
      • -
      - - - -
        -
      • -

        replaceClassName

        -
        public void replaceClassName​(ClassMap map)
        -
        Changes class names appearing in the class file according to the - given map. - -

        All the class names appearing in the class file are tested - with map to determine whether each class name is - replaced or not. Thus this method can be used for collecting - all the class names in the class file. To do that, first define - a subclass of ClassMap so that get() - records all the given parameters. Then, make an instance of - that subclass as an empty hash-table. Finally, pass that instance - to this method. After this method finishes, that instance would - contain all the class names appearing in the class file.

        -
        -
        Parameters:
        -
        map - the hashtable associating replaced class names - with substituted names.
        -
        -
      • -
      - - - -
        -
      • -

        getRefClasses

        -
        public java.util.Collection<java.lang.String> getRefClasses()
        -
        Returns a collection of the names of all the classes - referenced in this class. - That collection includes the name of this class. - -

        This method may return null.

        -
        -
        Returns:
        -
        a Collection<String> object.
        -
        -
      • -
      - - - -
        -
      • -

        isInterface

        -
        public boolean isInterface()
        -
        Determines whether this object represents a class or an interface. - It returns true if this object represents an interface.
        -
      • -
      - - - -
        -
      • -

        isAnnotation

        -
        public boolean isAnnotation()
        -
        Determines whether this object represents an annotation type. - It returns true if this object represents an annotation type.
        -
        -
        Since:
        -
        3.2
        -
        -
      • -
      - - - -
        -
      • -

        isEnum

        -
        public boolean isEnum()
        -
        Determines whether this object represents an enum. - It returns true if this object represents an enum.
        -
        -
        Since:
        -
        3.2
        -
        -
      • -
      - - - -
        -
      • -

        getModifiers

        -
        public int getModifiers()
        -
        Returns the modifiers for this class, encoded in an integer. - For decoding, use javassist.Modifier. - -

        If the class is a static nested class (a.k.a. static inner class), - the returned modifiers include Modifier.STATIC.

        -
        -
        See Also:
        -
        Modifier
        -
        -
      • -
      - - - -
        -
      • -

        hasAnnotation

        -
        public boolean hasAnnotation​(java.lang.Class<?> annotationType)
        -
        Returns true if the class has the specified annotation type.
        -
        -
        Parameters:
        -
        annotationType - the annotation type.
        -
        Returns:
        -
        true if the annotation is found, otherwise false.
        -
        Since:
        -
        3.11
        -
        -
      • -
      - - - -
        -
      • -

        hasAnnotation

        -
        public boolean hasAnnotation​(java.lang.String annotationTypeName)
        -
        Returns true if the class has the specified annotation type.
        -
        -
        Parameters:
        -
        annotationTypeName - the name of annotation type.
        -
        Returns:
        -
        true if the annotation is found, otherwise false.
        -
        Since:
        -
        3.21
        -
        -
      • -
      - - - -
        -
      • -

        getAnnotation

        -
        public java.lang.Object getAnnotation​(java.lang.Class<?> clz)
        -                               throws java.lang.ClassNotFoundException
        -
        Returns the annotation if the class has the specified annotation type. - For example, if an annotation @Author is associated - with this class, an Author object is returned. - The member values can be obtained by calling methods on - the Author object.
        -
        -
        Parameters:
        -
        clz - the annotation type.
        -
        Returns:
        -
        the annotation if found, otherwise null.
        -
        Throws:
        -
        java.lang.ClassNotFoundException
        -
        Since:
        -
        3.11
        -
        -
      • -
      - - - -
        -
      • -

        getAnnotations

        -
        public java.lang.Object[] getAnnotations()
        -                                  throws java.lang.ClassNotFoundException
        -
        Returns the annotations associated with this class. - For example, if an annotation @Author is associated - with this class, the returned array contains an Author - object. The member values can be obtained by calling methods on - the Author object.
        -
        -
        Returns:
        -
        an array of annotation-type objects.
        -
        Throws:
        -
        java.lang.ClassNotFoundException
        -
        Since:
        -
        3.1
        -
        See Also:
        -
        CtMember.getAnnotations()
        -
        -
      • -
      - - - -
        -
      • -

        getAvailableAnnotations

        -
        public java.lang.Object[] getAvailableAnnotations()
        -
        Returns the annotations associated with this class. - This method is equivalent to getAnnotations() - except that, if any annotations are not on the classpath, - they are not included in the returned array.
        -
        -
        Returns:
        -
        an array of annotation-type objects.
        -
        Since:
        -
        3.3
        -
        See Also:
        -
        getAnnotations(), -CtMember.getAvailableAnnotations()
        -
        -
      • -
      - - - -
        -
      • -

        getDeclaredClasses

        -
        public CtClass[] getDeclaredClasses()
        -                             throws NotFoundException
        -
        Returns an array of nested classes declared in the class. - Nested classes are inner classes, anonymous classes, local classes, - and static nested classes. This simply calls getNestedClasses().
        -
        -
        Throws:
        -
        NotFoundException
        -
        Since:
        -
        3.15
        -
        See Also:
        -
        getNestedClasses()
        -
        -
      • -
      - - - -
        -
      • -

        getNestedClasses

        -
        public CtClass[] getNestedClasses()
        -                           throws NotFoundException
        -
        Returns an array of nested classes declared in the class. - Nested classes are inner classes, anonymous classes, local classes, - and static nested classes.
        -
        -
        Throws:
        -
        NotFoundException
        -
        Since:
        -
        3.2
        -
        -
      • -
      - - - -
        -
      • -

        setModifiers

        -
        public void setModifiers​(int mod)
        -
        Sets the modifiers. - -

        If the class is a nested class, this method also modifies - the class declaring that nested class (i.e. the enclosing - class is modified).

        -
        -
        Parameters:
        -
        mod - modifiers encoded by - javassist.Modifier
        -
        See Also:
        -
        Modifier
        -
        -
      • -
      - - - -
        -
      • -

        subclassOf

        -
        public boolean subclassOf​(CtClass superclass)
        -
        Determines whether the class directly or indirectly extends - the given class. If this class extends a class A and - the class A extends a class B, then subclassof(B) returns true. - -

        This method returns true if the given class is identical to - the class represented by this object.

        -
      • -
      - - - -
        -
      • -

        getSuperclass

        -
        public CtClass getSuperclass()
        -                      throws NotFoundException
        -
        Obtains the class object representing the superclass of the - class. - It returns null if this object represents the - java.lang.Object class and thus it does not have - the super class. - -

        If this object represents an interface, this method - always returns the java.lang.Object class. - To obtain the super interfaces - extended by that interface, call getInterfaces().

        -
        -
        Throws:
        -
        NotFoundException
        -
        -
      • -
      - - - -
        -
      • -

        setSuperclass

        -
        public void setSuperclass​(CtClass clazz)
        -                   throws CannotCompileException
        -
        Changes a super class unless this object represents an interface. - The new super class must be compatible with the old one; for example, - it should inherit from the old super class. - -

        If this object represents an interface, this method is equivalent - to addInterface(); it appends clazz to - the list of the super interfaces extended by that interface. - Note that an interface can extend multiple super interfaces.

        -
        -
        Throws:
        -
        CannotCompileException
        -
        See Also:
        -
        replaceClassName(String, String), -replaceClassName(ClassMap)
        -
        -
      • -
      - - - -
        -
      • -

        getInterfaces

        -
        public CtClass[] getInterfaces()
        -                        throws NotFoundException
        -
        Obtains the class objects representing the interfaces implemented - by the class or, if this object represents an interface, the interfaces - extended by that interface.
        -
        -
        Throws:
        -
        NotFoundException
        -
        -
      • -
      - - - -
        -
      • -

        setInterfaces

        -
        public void setInterfaces​(CtClass[] list)
        -
        Sets implemented interfaces. If this object represents an interface, - this method sets the interfaces extended by that interface.
        -
        -
        Parameters:
        -
        list - a list of the CtClass objects - representing interfaces, or - null if the class implements - no interfaces.
        -
        -
      • -
      - - - -
        -
      • -

        addInterface

        -
        public void addInterface​(CtClass anInterface)
        -
        Adds an interface.
        -
        -
        Parameters:
        -
        anInterface - the added interface.
        -
        -
      • -
      - - - -
        -
      • -

        getDeclaringClass

        -
        public CtClass getDeclaringClass()
        -                          throws NotFoundException
        -
        If this class is a member class or interface of another class, - then the class enclosing this class is returned.
        -
        -
        Returns:
        -
        null if this class is a top-level class or an anonymous class.
        -
        Throws:
        -
        NotFoundException
        -
        -
      • -
      - - - -
        -
      • -

        getEnclosingMethod

        -
        @Deprecated
        -public final CtMethod getEnclosingMethod()
        -                                  throws NotFoundException
        -
        Deprecated. -
        The enclosing method might be a constructor. - Use getEnclosingBehavior().
        -
        -
        Returns the immediately enclosing method of this class. - This method works only with JDK 1.5 or later.
        -
        -
        Returns:
        -
        null if this class is not a local class or an anonymous - class.
        -
        Throws:
        -
        NotFoundException
        -
        See Also:
        -
        getEnclosingBehavior()
        -
        -
      • -
      - - - -
        -
      • -

        getEnclosingBehavior

        -
        public CtBehavior getEnclosingBehavior()
        -                                throws NotFoundException
        -
        Returns the immediately enclosing method of this class. - It might be not a method but a constructor. - This method works only with JDK 1.5 or later.
        -
        -
        Returns:
        -
        null if this class is not a local class or an anonymous - class.
        -
        Throws:
        -
        NotFoundException
        -
        -
      • -
      - - - -
        -
      • -

        makeNestedClass

        -
        public CtClass makeNestedClass​(java.lang.String name,
        -                               boolean isStatic)
        -
        Makes a new public nested class. If this method is called, - the CtClass, which encloses the nested class, is modified - since a class file includes a list of nested classes. - -

        The current implementation only supports a static nested class. - isStatic must be true.

        -
        -
        Parameters:
        -
        name - the simple name of the nested class.
        -
        isStatic - true if the nested class is static.
        -
        -
      • -
      - - - -
        -
      • -

        getFields

        -
        public CtField[] getFields()
        -
        Returns an array containing CtField objects - representing all the non-private fields of the class. - That array includes non-private fields inherited from the - superclasses.
        -
      • -
      - - - -
        -
      • -

        getField

        -
        public CtField getField​(java.lang.String name)
        -                 throws NotFoundException
        -
        Returns the field with the specified name. The returned field - may be a private field declared in a super class or interface.
        -
        -
        Throws:
        -
        NotFoundException
        -
        -
      • -
      - - - -
        -
      • -

        getField

        -
        public CtField getField​(java.lang.String name,
        -                        java.lang.String desc)
        -                 throws NotFoundException
        -
        Returns the field with the specified name and type. The returned field - may be a private field declared in a super class or interface. - Unlike Java, the JVM allows a class to have - multiple fields with the same name but different types.
        -
        -
        Parameters:
        -
        name - the field name.
        -
        desc - the type descriptor of the field. It is available by - CtField.getSignature().
        -
        Throws:
        -
        NotFoundException
        -
        See Also:
        -
        CtField.getSignature()
        -
        -
      • -
      - - - -
        -
      • -

        getDeclaredFields

        -
        public CtField[] getDeclaredFields()
        -
        Gets all the fields declared in the class. The inherited fields - are not included. - -

        Note: the result does not include inherited fields.

        -
      • -
      - - - -
        -
      • -

        getDeclaredField

        -
        public CtField getDeclaredField​(java.lang.String name)
        -                         throws NotFoundException
        -
        Retrieves the field with the specified name among the fields - declared in the class. - -

        Note: this method does not search the super classes.

        -
        -
        Throws:
        -
        NotFoundException
        -
        -
      • -
      - - - -
        -
      • -

        getDeclaredField

        -
        public CtField getDeclaredField​(java.lang.String name,
        -                                java.lang.String desc)
        -                         throws NotFoundException
        -
        Retrieves the field with the specified name and type among the fields - declared in the class. Unlike Java, the JVM allows a class to have - multiple fields with the same name but different types. - -

        Note: this method does not search the super classes.

        -
        -
        Parameters:
        -
        name - the field name.
        -
        desc - the type descriptor of the field. It is available by - CtField.getSignature().
        -
        Throws:
        -
        NotFoundException
        -
        See Also:
        -
        CtField.getSignature()
        -
        -
      • -
      - - - -
        -
      • -

        getDeclaredBehaviors

        -
        public CtBehavior[] getDeclaredBehaviors()
        -
        Gets all the constructors and methods declared in the class.
        -
      • -
      - - - -
        -
      • -

        getConstructors

        -
        public CtConstructor[] getConstructors()
        -
        Returns an array containing CtConstructor objects - representing all the non-private constructors of the class.
        -
      • -
      - - - -
        -
      • -

        getConstructor

        -
        public CtConstructor getConstructor​(java.lang.String desc)
        -                             throws NotFoundException
        -
        Returns the constructor with the given signature, - which is represented by a character string - called method descriptor. - For details of the method descriptor, see the JVM specification - or javassist.bytecode.Descriptor.
        -
        -
        Parameters:
        -
        desc - method descriptor
        -
        Throws:
        -
        NotFoundException
        -
        See Also:
        -
        Descriptor
        -
        -
      • -
      - - - -
        -
      • -

        getDeclaredConstructors

        -
        public CtConstructor[] getDeclaredConstructors()
        -
        Gets all the constructors declared in the class.
        -
        -
        See Also:
        -
        CtConstructor
        -
        -
      • -
      - - - - - - - -
        -
      • -

        getClassInitializer

        -
        public CtConstructor getClassInitializer()
        -
        Gets the class initializer (static constructor) - declared in the class. - This method returns null if - no class initializer is not declared.
        -
        -
        See Also:
        -
        makeClassInitializer(), -CtConstructor
        -
        -
      • -
      - - - -
        -
      • -

        getMethods

        -
        public CtMethod[] getMethods()
        -
        Returns an array containing CtMethod objects - representing all the non-private methods of the class. - That array includes non-private methods inherited from the - superclasses.
        -
      • -
      - - - -
        -
      • -

        getMethod

        -
        public CtMethod getMethod​(java.lang.String name,
        -                          java.lang.String desc)
        -                   throws NotFoundException
        -
        Returns the method with the given name and signature. - The returned method may be declared in a super class. - The method signature is represented by a character string - called method descriptor, - which is defined in the JVM specification.
        -
        -
        Parameters:
        -
        name - method name
        -
        desc - method descriptor
        -
        Throws:
        -
        NotFoundException
        -
        See Also:
        -
        CtBehavior.getSignature(), -Descriptor
        -
        -
      • -
      - - - -
        -
      • -

        getDeclaredMethods

        -
        public CtMethod[] getDeclaredMethods()
        -
        Gets all methods declared in the class. The inherited methods - are not included.
        -
        -
        See Also:
        -
        CtMethod
        -
        -
      • -
      - - - -
        -
      • -

        getDeclaredMethod

        -
        public CtMethod getDeclaredMethod​(java.lang.String name,
        -                                  CtClass[] params)
        -                           throws NotFoundException
        -
        Retrieves the method with the specified name and parameter types - among the methods declared in the class. - -

        Note: this method does not search the superclasses.

        -
        -
        Parameters:
        -
        name - method name
        -
        params - parameter types
        -
        Throws:
        -
        NotFoundException
        -
        See Also:
        -
        CtMethod
        -
        -
      • -
      - - - -
        -
      • -

        getDeclaredMethods

        -
        public CtMethod[] getDeclaredMethods​(java.lang.String name)
        -                              throws NotFoundException
        -
        Retrieves methods with the specified name among the methods - declared in the class. Multiple methods with different parameters - may be returned. - -

        Note: this method does not search the superclasses.

        -
        -
        Parameters:
        -
        name - method name.
        -
        Throws:
        -
        NotFoundException
        -
        Since:
        -
        3.19
        -
        -
      • -
      - - - -
        -
      • -

        getDeclaredMethod

        -
        public CtMethod getDeclaredMethod​(java.lang.String name)
        -                           throws NotFoundException
        -
        Retrieves the method with the specified name among the methods - declared in the class. If there are multiple methods with - the specified name, then this method returns one of them. - -

        Note: this method does not search the superclasses.

        -
        -
        Throws:
        -
        NotFoundException
        -
        See Also:
        -
        CtMethod
        -
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        removeConstructor

        -
        public void removeConstructor​(CtConstructor c)
        -                       throws NotFoundException
        -
        Removes a constructor declared in this class.
        -
        -
        Parameters:
        -
        c - removed constructor.
        -
        Throws:
        -
        NotFoundException - if the constructor is not found.
        -
        -
      • -
      - - - - - - - -
        -
      • -

        removeMethod

        -
        public void removeMethod​(CtMethod m)
        -                  throws NotFoundException
        -
        Removes a method declared in this class.
        -
        -
        Parameters:
        -
        m - removed method.
        -
        Throws:
        -
        NotFoundException - if the method is not found.
        -
        -
      • -
      - - - - - - - -
        -
      • -

        addField

        -
        public void addField​(CtField f,
        -                     java.lang.String init)
        -              throws CannotCompileException
        -
        Adds a field with an initial value. - -

        The CtField belonging to another - CtClass cannot be directly added to this class. - Only a field created for this class can be added. - -

        The initial value is given as an expression written in Java. - Any regular Java expression can be used for specifying the initial - value. The followings are examples. - -

        - cc.addField(f, "0")               // the initial value is 0.
        - cc.addField(f, "i + 1")           // i + 1.
        - cc.addField(f, "new Point()");    // a Point object.
        - 
        - -

        Here, the type of variable cc is CtClass. - The type of f is CtField. - -

        Note: do not change the modifier of the field - (in particular, do not add or remove static - to/from the modifier) - after it is added to the class by addField().

        -
        -
        Parameters:
        -
        init - an expression for the initial value.
        -
        Throws:
        -
        CannotCompileException
        -
        See Also:
        -
        CtField.Initializer.byExpr(String), -CtField(CtField,CtClass)
        -
        -
      • -
      - - - -
        -
      • -

        addField

        -
        public void addField​(CtField f,
        -                     CtField.Initializer init)
        -              throws CannotCompileException
        -
        Adds a field with an initial value. - -

        The CtField belonging to another - CtClass cannot be directly added to this class. - Only a field created for this class can be added. - -

        For example, - -

        - CtClass cc = ...;
        - addField(new CtField(CtClass.intType, "i", cc),
        -          CtField.Initializer.constant(1));
        - 
        - -

        This code adds an int field named "i". The - initial value of this field is 1.

        -
        -
        Parameters:
        -
        init - specifies the initial value of the field.
        -
        Throws:
        -
        CannotCompileException
        -
        See Also:
        -
        CtField(CtField,CtClass)
        -
        -
      • -
      - - - -
        -
      • -

        removeField

        -
        public void removeField​(CtField f)
        -                 throws NotFoundException
        -
        Removes a field declared in this class.
        -
        -
        Parameters:
        -
        f - removed field.
        -
        Throws:
        -
        NotFoundException - if the field is not found.
        -
        -
      • -
      - - - -
        -
      • -

        getAttribute

        -
        public byte[] getAttribute​(java.lang.String name)
        -
        Obtains an attribute with the given name. - If that attribute is not found in the class file, this - method returns null. - -

        This is a convenient method mainly for obtaining - a user-defined attribute. For dealing with attributes, see the - javassist.bytecode package. For example, the following - expression returns all the attributes of a class file. - -

        - getClassFile().getAttributes()
        - 
        -
        -
        Parameters:
        -
        name - attribute name
        -
        See Also:
        -
        AttributeInfo
        -
        -
      • -
      - - - -
        -
      • -

        setAttribute

        -
        public void setAttribute​(java.lang.String name,
        -                         byte[] data)
        -
        Adds a named attribute. - An arbitrary data (smaller than 64Kb) can be saved in the class - file. Some attribute name are reserved by the JVM. - The attributes with the non-reserved names are ignored when a - class file is loaded into the JVM. - If there is already an attribute with - the same name, this method substitutes the new one for it. - -

        This is a convenient method mainly for adding - a user-defined attribute. For dealing with attributes, see the - javassist.bytecode package. For example, the following - expression adds an attribute info to a class file. - -

        - getClassFile().addAttribute(info)
        - 
        -
        -
        Parameters:
        -
        name - attribute name
        -
        data - attribute value
        -
        See Also:
        -
        AttributeInfo
        -
        -
      • -
      - - - -
        -
      • -

        instrument

        -
        public void instrument​(CodeConverter converter)
        -                throws CannotCompileException
        -
        Applies the given converter to all methods and constructors - declared in the class. This method calls instrument() - on every CtMethod and CtConstructor object - in the class.
        -
        -
        Parameters:
        -
        converter - specifies how to modify.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        instrument

        -
        public void instrument​(ExprEditor editor)
        -                throws CannotCompileException
        -
        Modifies the bodies of all methods and constructors - declared in the class. This method calls instrument() - on every CtMethod and CtConstructor object - in the class.
        -
        -
        Parameters:
        -
        editor - specifies how to modify.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        toClass

        -
        public java.lang.Class<?> toClass()
        -                           throws CannotCompileException
        -
        Converts this class to a java.lang.Class object. - Once this method is called, further modifications are not - allowed any more. - To load the class, this method uses the context class loader - of the current thread. If the program is running on some application - server, the context class loader might be inappropriate to load the - class. - -

        Warning: In Java 11 or later, the call to this method will - print a warning message:

        -
        - WARNING: An illegal reflective access operation has occurred
        - WARNING: Illegal reflective access by javassist.util.proxy.SecurityActions$3 ...
        - WARNING: Please consider reporting this to the maintainers of javassist.util.proxy.SecurityActions$3
        - WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
        - WARNING: All illegal access operations will be denied in a future release
        - 
        -

        To avoid this message, use toClass(Class) - or toClass(java.lang.invoke.MethodHandles.Lookup). - toClass() will be unavailable in a future release. -

        - -

        Warning: A Class object returned by this method may not - work with a security manager or a signed jar file because a - protection domain is not specified.

        - -

        Note: this method calls toClass() - in ClassPool.

        -
        -
        Throws:
        -
        CannotCompileException
        -
        See Also:
        -
        toClass(java.lang.invoke.MethodHandles.Lookup), -toClass(Class), -ClassPool.toClass(CtClass)
        -
        -
      • -
      - - - -
        -
      • -

        toClass

        -
        public java.lang.Class<?> toClass​(java.lang.Class<?> neighbor)
        -                           throws CannotCompileException
        -
        Converts this class to a java.lang.Class object. - Once this method is called, further modifications are not - allowed any more. - -

        This method is provided for convenience. You should use - toClass(Lookup) for better compatibility with the - module system. - -

        Note: this method calls toClass() - in ClassPool. - -

        Warning: A Class object returned by this method may not - work with a security manager or a signed jar file because a - protection domain is not specified.

        -
        -
        Parameters:
        -
        neighbor - A class belonging to the same package that this - class belongs to. It is used to load the class.
        -
        Throws:
        -
        CannotCompileException
        -
        Since:
        -
        3.24
        -
        See Also:
        -
        ClassPool.toClass(CtClass,Class), -toClass(java.lang.invoke.MethodHandles.Lookup)
        -
        -
      • -
      - - - -
        -
      • -

        toClass

        -
        public java.lang.Class<?> toClass​(java.lang.invoke.MethodHandles.Lookup lookup)
        -                           throws CannotCompileException
        -
        Converts this class to a java.lang.Class object. - Once this method is called, further modifications are not - allowed any more. - -

        This method is provided for convenience. If you need more - complex functionality, you should write your own class loader. - -

        Note: this method calls toClass() - in ClassPool. - -

        Warning: A Class object returned by this method may not - work with a security manager or a signed jar file because a - protection domain is not specified.

        -
        -
        Parameters:
        -
        lookup - used when loading the class. It has to have - an access right to define a new class.
        -
        Throws:
        -
        CannotCompileException
        -
        Since:
        -
        3.24
        -
        See Also:
        -
        ClassPool.toClass(CtClass,java.lang.invoke.MethodHandles.Lookup)
        -
        -
      • -
      - - - -
        -
      • -

        toClass

        -
        public java.lang.Class<?> toClass​(java.lang.ClassLoader loader,
        -                                  java.security.ProtectionDomain domain)
        -                           throws CannotCompileException
        -
        Converts this class to a java.lang.Class object. - Once this method is called, further modifications are not allowed - any more. - -

        The class file represented by this CtClass is - loaded by the given class loader to construct a - java.lang.Class object. Since a private method - on the class loader is invoked through the reflection API, - the caller must have permissions to do that. - -

        An easy way to obtain ProtectionDomain object is - to call getProtectionDomain() - in java.lang.Class. It returns the domain that - the class belongs to. - -

        This method is provided for convenience. If you need more - complex functionality, you should write your own class loader. - -

        Note: this method calls toClass() - in ClassPool.

        -
        -
        Parameters:
        -
        loader - the class loader used to load this class. - If it is null, the class loader returned by - ClassPool.getClassLoader() is used.
        -
        domain - the protection domain that the class belongs to. - If it is null, the default domain created - by java.lang.ClassLoader is used.
        -
        Throws:
        -
        CannotCompileException
        -
        Since:
        -
        3.3
        -
        See Also:
        -
        ClassPool.toClass(CtClass,java.lang.ClassLoader)
        -
        -
      • -
      - - - -
        -
      • -

        toClass

        -
        @Deprecated
        -public final java.lang.Class<?> toClass​(java.lang.ClassLoader loader)
        -                                 throws CannotCompileException
        -
        Deprecated. - -
        -
        Converts this class to a java.lang.Class object. - -

        Warning: A Class object returned by this method may not - work with a security manager or a signed jar file because a - protection domain is not specified.

        -
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        detach

        -
        public void detach()
        -
        Removes this CtClass object from the - ClassPool. - After this method is called, any method cannot be called on the - removed CtClass object. - -

        If get() in ClassPool is called - with the name of the removed method, - the ClassPool will read the class file again - and constructs another CtClass object representing - the same class.

        -
      • -
      - - - -
        -
      • -

        stopPruning

        -
        public boolean stopPruning​(boolean stop)
        -
        Disallows (or allows) automatically pruning this CtClass - object. - -

        - Javassist can automatically prune a CtClass object - when toBytecode() (or toClass(), - writeFile()) is called. - Since a ClassPool holds all instances of CtClass - even after toBytecode() (or toClass(), - writeFile()) is called, pruning may significantly - save memory consumption. - -

        If ClassPool.doPruning is true, the automatic pruning - is on by default. Otherwise, it is off. The default value of - ClassPool.doPruning is false.

        -
        -
        Parameters:
        -
        stop - disallow pruning if true. Otherwise, allow.
        -
        Returns:
        -
        the previous status of pruning. true if pruning is already stopped.
        -
        See Also:
        -
        detach(), -prune(), -ClassPool.doPruning
        -
        -
      • -
      - - - -
        -
      • -

        prune

        -
        public void prune()
        -
        Discards unnecessary attributes, in particular, - CodeAttributes (method bodies) of the class, - to minimize the memory footprint. - After calling this method, the class is read only. - It cannot be modified any more. - Furthermore, toBytecode(), - writeFile(), toClass(), - or instrument() cannot be called. - However, the method names and signatures in the class etc. - are still accessible. - -

        toBytecode(), writeFile(), and - toClass() internally call this method if - automatic pruning is on. - -

        According to some experiments, pruning does not really reduce - memory consumption. Only about 20%. Since pruning takes time, - it might not pay off. So the automatic pruning is off by default.

        -
        -
        See Also:
        -
        stopPruning(boolean), -detach(), -ClassPool.doPruning, -toBytecode(), -toClass(Class), -writeFile(), -instrument(CodeConverter), -instrument(ExprEditor)
        -
        -
      • -
      - - - -
        -
      • -

        rebuildClassFile

        -
        public void rebuildClassFile()
        -
        If this method is called, the class file will be - rebuilt when it is finally generated by - toBytecode() and writeFile(). - For a performance reason, the symbol table of the - class file may contain unused entries, for example, - after a method or a filed is deleted. - This method - removes those unused entries. This removal will - minimize the size of the class file.
        -
        -
        Since:
        -
        3.8.1
        -
        -
      • -
      - - - -
        -
      • -

        toBytecode

        -
        public byte[] toBytecode()
        -                  throws java.io.IOException,
        -                         CannotCompileException
        -
        Converts this class to a class file. - Once this method is called, further modifications are not - possible any more.
        -
        -
        Returns:
        -
        the contents of the class file.
        -
        Throws:
        -
        java.io.IOException
        -
        CannotCompileException
        -
        -
      • -
      - - - - - - - -
        -
      • -

        writeFile

        -
        public void writeFile​(java.lang.String directoryName)
        -               throws CannotCompileException,
        -                      java.io.IOException
        -
        Writes a class file represented by this CtClass - object on a local disk. - Once this method is called, further modifications are not - possible any more.
        -
        -
        Parameters:
        -
        directoryName - it must end without a directory separator.
        -
        Throws:
        -
        CannotCompileException
        -
        java.io.IOException
        -
        See Also:
        -
        debugWriteFile(String)
        -
        -
      • -
      - - - -
        -
      • -

        debugWriteFile

        -
        public void debugWriteFile()
        -
        Writes a class file as writeFile() does although this - method does not prune or freeze the class after writing the class - file. Note that, once writeFile() or toBytecode() - is called, it cannot be called again since the class is pruned and frozen. - This method would be useful for debugging.
        -
      • -
      - - - -
        -
      • -

        debugWriteFile

        -
        public void debugWriteFile​(java.lang.String directoryName)
        -
        Writes a class file as writeFile() does although this - method does not prune or freeze the class after writing the class - file. Note that, once writeFile() or toBytecode() - is called, it cannot be called again since the class is pruned and frozen. - This method would be useful for debugging.
        -
        -
        Parameters:
        -
        directoryName - it must end without a directory separator.
        -
        -
      • -
      - - - -
        -
      • -

        toBytecode

        -
        public void toBytecode​(java.io.DataOutputStream out)
        -                throws CannotCompileException,
        -                       java.io.IOException
        -
        Converts this class to a class file. - Once this method is called, further modifications are not - possible any more. - -

        This method dose not close the output stream in the end.

        -
        -
        Parameters:
        -
        out - the output stream that a class file is written to.
        -
        Throws:
        -
        CannotCompileException
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        makeUniqueName

        -
        public java.lang.String makeUniqueName​(java.lang.String prefix)
        -
        Makes a unique member name. This method guarantees that - the returned name is not used as a prefix of any methods - or fields visible in this class. - If the returned name is XYZ, then any method or field names - in this class do not start with XYZ.
        -
        -
        Parameters:
        -
        prefix - the prefix of the member name.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/CtConstructor.html b/html/javassist/CtConstructor.html deleted file mode 100644 index 2f8f5fee..00000000 --- a/html/javassist/CtConstructor.html +++ /dev/null @@ -1,724 +0,0 @@ - - - - - -CtConstructor (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class CtConstructor

-
-
- -
-
    -
  • -
    -
    public final class CtConstructor
    -extends CtBehavior
    -
    An instance of CtConstructor represents a constructor. - It may represent a static constructor - (class initializer). To distinguish a constructor and a class - initializer, call isClassInitializer(). - -

    See the super class CtBehavior as well since - a number of useful methods are in CtBehavior.

    -
    -
    See Also:
    -
    CtClass.getDeclaredConstructors(), -CtClass.getClassInitializer(), -CtNewConstructor
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        CtConstructor

        -
        public CtConstructor​(CtClass[] parameters,
        -                     CtClass declaring)
        -
        Creates a constructor with no constructor body. - The created constructor - must be added to a class with CtClass.addConstructor(). - -

        The created constructor does not include a constructor body, - which must be specified with setBody().

        -
        -
        Parameters:
        -
        declaring - the class to which the created method is added.
        -
        parameters - a list of the parameter types
        -
        See Also:
        -
        CtClass.addConstructor(CtConstructor), -setBody(String), -setBody(CtConstructor,ClassMap)
        -
        -
      • -
      - - - -
        -
      • -

        CtConstructor

        -
        public CtConstructor​(CtConstructor src,
        -                     CtClass declaring,
        -                     ClassMap map)
        -              throws CannotCompileException
        -
        Creates a copy of a CtConstructor object. - The created constructor must be - added to a class with CtClass.addConstructor(). - -

        All occurrences of class names in the created constructor - are replaced with names specified by - map if map is not null. - -

        By default, all the occurrences of the names of the class - declaring src and the superclass are replaced - with the name of the class and the superclass that - the created constructor is added to. - This is done whichever map is null or not. - To prevent this replacement, call ClassMap.fix() - or put() to explicitly specify replacement. - -

        Note: if the .class notation (for example, - String.class) is included in an expression, the - Javac compiler may produce a helper method. - Since this constructor never - copies this helper method, the programmers have the responsiblity of - copying it. Otherwise, use Class.forName() in the - expression.

        -
        -
        Parameters:
        -
        src - the source method.
        -
        declaring - the class to which the created method is added.
        -
        map - the hashtable associating original class names - with substituted names. - It can be null.
        -
        Throws:
        -
        CannotCompileException
        -
        See Also:
        -
        CtClass.addConstructor(CtConstructor), -ClassMap.fix(String)
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        isConstructor

        -
        public boolean isConstructor()
        -
        Returns true if this object represents a constructor.
        -
      • -
      - - - -
        -
      • -

        isClassInitializer

        -
        public boolean isClassInitializer()
        -
        Returns true if this object represents a static initializer.
        -
      • -
      - - - -
        -
      • -

        getLongName

        -
        public java.lang.String getLongName()
        -
        Returns the constructor name followed by parameter types - such as javassist.CtConstructor(CtClass[],CtClass).
        -
        -
        Specified by:
        -
        getLongName in class CtBehavior
        -
        Since:
        -
        3.5
        -
        -
      • -
      - - - -
        -
      • -

        getName

        -
        public java.lang.String getName()
        -
        Obtains the name of this constructor. - It is the same as the simple name of the class declaring this - constructor. If this object represents a class initializer, - then this method returns "<clinit>".
        -
        -
        Specified by:
        -
        getName in class CtMember
        -
        See Also:
        -
        getName()
        -
        -
      • -
      - - - -
        -
      • -

        isEmpty

        -
        public boolean isEmpty()
        -
        Returns true if the constructor (or static initializer) - is the default one. This method returns true if the constructor - takes some arguments but it does not perform anything except - calling super() (the no-argument constructor of - the super class).
        -
        -
        Specified by:
        -
        isEmpty in class CtBehavior
        -
        -
      • -
      - - - -
        -
      • -

        callsSuper

        -
        public boolean callsSuper()
        -                   throws CannotCompileException
        -
        Returns true if this constructor calls a constructor - of the super class. This method returns false if it - calls another constructor of this class by this().
        -
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        setBody

        -
        public void setBody​(java.lang.String src)
        -             throws CannotCompileException
        -
        Sets a constructor body.
        -
        -
        Overrides:
        -
        setBody in class CtBehavior
        -
        Parameters:
        -
        src - the source code representing the constructor body. - It must be a single statement or block. - If it is null, the substituted - constructor body does nothing except calling - super().
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        setBody

        -
        public void setBody​(CtConstructor src,
        -                    ClassMap map)
        -             throws CannotCompileException
        -
        Copies a constructor body from another constructor. - -

        All occurrences of the class names in the copied body - are replaced with the names specified by - map if map is not null.

        -
        -
        Parameters:
        -
        src - the method that the body is copied from.
        -
        map - the hashtable associating original class names - with substituted names. - It can be null.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        insertBeforeBody

        -
        public void insertBeforeBody​(java.lang.String src)
        -                      throws CannotCompileException
        -
        Inserts bytecode just after another constructor in the super class - or this class is called. - It does not work if this object represents a class initializer.
        -
        -
        Parameters:
        -
        src - the source code representing the inserted bytecode. - It must be a single statement or block.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        toMethod

        -
        public CtMethod toMethod​(java.lang.String name,
        -                         CtClass declaring)
        -                  throws CannotCompileException
        -
        Makes a copy of this constructor and converts it into a method. - The signature of the mehtod is the same as the that of this constructor. - The return type is void. The resulting method must be - appended to the class specified by declaring. - If this constructor is a static initializer, the resulting method takes - no parameter. - -

        An occurrence of another constructor call this() - or a super constructor call super() is - eliminated from the resulting method. - -

        The immediate super class of the class declaring this constructor - must be also a super class of the class declaring the resulting method. - If the constructor accesses a field, the class declaring the resulting method - must also declare a field with the same name and type.

        -
        -
        Parameters:
        -
        name - the name of the resulting method.
        -
        declaring - the class declaring the resulting method.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        toMethod

        -
        public CtMethod toMethod​(java.lang.String name,
        -                         CtClass declaring,
        -                         ClassMap map)
        -                  throws CannotCompileException
        -
        Makes a copy of this constructor and converts it into a method. - The signature of the method is the same as the that of this constructor. - The return type is void. The resulting method must be - appended to the class specified by declaring. - If this constructor is a static initializer, the resulting method takes - no parameter. - -

        An occurrence of another constructor call this() - or a super constructor call super() is - eliminated from the resulting method. - -

        The immediate super class of the class declaring this constructor - must be also a super class of the class declaring the resulting method - (this is obviously true if the second parameter declaring is - the same as the class declaring this constructor). - If the constructor accesses a field, the class declaring the resulting method - must also declare a field with the same name and type.

        -
        -
        Parameters:
        -
        name - the name of the resulting method.
        -
        declaring - the class declaring the resulting method. - It is normally the same as the class declaring this - constructor.
        -
        map - the hash table associating original class names - with substituted names. The original class names will be - replaced while making a copy. - map can be null.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/CtField.Initializer.html b/html/javassist/CtField.Initializer.html deleted file mode 100644 index d24fdd80..00000000 --- a/html/javassist/CtField.Initializer.html +++ /dev/null @@ -1,831 +0,0 @@ - - - - - -CtField.Initializer (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class CtField.Initializer

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.CtField.Initializer
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    CtField
    -
    -
    -
    public abstract static class CtField.Initializer
    -extends java.lang.Object
    -
    Instances of this class specify how to initialize a field. - Initializer is passed to - CtClass.addField() with a CtField. - -

    This class cannot be instantiated with the new operator. - Factory methods such as byParameter() and - byNew - must be used for the instantiation. They create a new instance with - the given parameters and return it.

    -
    -
    See Also:
    -
    CtClass.addField(CtField,CtField.Initializer)
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Initializer

        -
        public Initializer()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        constant

        -
        public static CtField.Initializer constant​(int i)
        -
        Makes an initializer that assigns a constant integer value. - The field must be integer, short, char, or byte type.
        -
      • -
      - - - -
        -
      • -

        constant

        -
        public static CtField.Initializer constant​(boolean b)
        -
        Makes an initializer that assigns a constant boolean value. - The field must be boolean type.
        -
      • -
      - - - -
        -
      • -

        constant

        -
        public static CtField.Initializer constant​(long l)
        -
        Makes an initializer that assigns a constant long value. - The field must be long type.
        -
      • -
      - - - -
        -
      • -

        constant

        -
        public static CtField.Initializer constant​(float l)
        -
        Makes an initializer that assigns a constant float value. - The field must be float type.
        -
      • -
      - - - -
        -
      • -

        constant

        -
        public static CtField.Initializer constant​(double d)
        -
        Makes an initializer that assigns a constant double value. - The field must be double type.
        -
      • -
      - - - -
        -
      • -

        constant

        -
        public static CtField.Initializer constant​(java.lang.String s)
        -
        Makes an initializer that assigns a constant string value. - The field must be java.lang.String type.
        -
      • -
      - - - -
        -
      • -

        byParameter

        -
        public static CtField.Initializer byParameter​(int nth)
        -
        Makes an initializer using a constructor parameter. - -

        The initial value is the - N-th parameter given to the constructor of the object including - the field. If the constructor takes less than N parameters, - the field is not initialized. - If the field is static, it is never initialized.

        -
        -
        Parameters:
        -
        nth - the n-th (>= 0) parameter is used as - the initial value. - If nth is 0, then the first parameter is - used.
        -
        -
      • -
      - - - -
        -
      • -

        byNew

        -
        public static CtField.Initializer byNew​(CtClass objectType)
        -
        Makes an initializer creating a new object. - -

        This initializer creates a new object and uses it as the initial - value of the field. The constructor of the created object receives - the parameter: - -

        Object obj - the object including the field. - -

        If the initialized field is static, then the constructor does - not receive any parameters.

        -
        -
        Parameters:
        -
        objectType - the class instantiated for the initial value.
        -
        -
      • -
      - - - -
        -
      • -

        byNew

        -
        public static CtField.Initializer byNew​(CtClass objectType,
        -                                        java.lang.String[] stringParams)
        -
        Makes an initializer creating a new object. - -

        This initializer creates a new object and uses it as the initial - value of the field. The constructor of the created object receives - the parameters: - -

        Object obj - the object including the field.
        - String[] strs - the character strings specified - by stringParams
        - -

        If the initialized field is static, then the constructor - receives only strs.

        -
        -
        Parameters:
        -
        objectType - the class instantiated for the initial value.
        -
        stringParams - the array of strings passed to the - constructor.
        -
        -
      • -
      - - - -
        -
      • -

        byNewWithParams

        -
        public static CtField.Initializer byNewWithParams​(CtClass objectType)
        -
        Makes an initializer creating a new object. - -

        This initializer creates a new object and uses it as the initial - value of the field. The constructor of the created object receives - the parameters: - -

        Object obj - the object including the field.
        - Object[] args - the parameters passed to the - constructor of the object including the - filed. - -

        If the initialized field is static, then the constructor does - not receive any parameters.

        -
        -
        Parameters:
        -
        objectType - the class instantiated for the initial value.
        -
        See Also:
        -
        byNewArray(CtClass,int), -byNewArray(CtClass,int[])
        -
        -
      • -
      - - - -
        -
      • -

        byNewWithParams

        -
        public static CtField.Initializer byNewWithParams​(CtClass objectType,
        -                                                  java.lang.String[] stringParams)
        -
        Makes an initializer creating a new object. - -

        This initializer creates a new object and uses it as the initial - value of the field. The constructor of the created object receives - the parameters: - -

        Object obj - the object including the field.
        - String[] strs - the character strings specified - by stringParams
        - Object[] args - the parameters passed to the - constructor of the object including the - filed. - -

        If the initialized field is static, then the constructor receives - only strs.

        -
        -
        Parameters:
        -
        objectType - the class instantiated for the initial value.
        -
        stringParams - the array of strings passed to the - constructor.
        -
        -
      • -
      - - - -
        -
      • -

        byCall

        -
        public static CtField.Initializer byCall​(CtClass methodClass,
        -                                         java.lang.String methodName)
        -
        Makes an initializer calling a static method. - -

        This initializer calls a static method and uses the returned - value as the initial value of the field. - The called method receives the parameters: - -

        Object obj - the object including the field. - -

        If the initialized field is static, then the method does - not receive any parameters. - -

        The type of the returned value must be the same as the field - type.

        -
        -
        Parameters:
        -
        methodClass - the class that the static method is - declared in.
        -
        methodName - the name of the satic method.
        -
        -
      • -
      - - - -
        -
      • -

        byCall

        -
        public static CtField.Initializer byCall​(CtClass methodClass,
        -                                         java.lang.String methodName,
        -                                         java.lang.String[] stringParams)
        -
        Makes an initializer calling a static method. - -

        This initializer calls a static method and uses the returned - value as the initial value of the field. The called method - receives the parameters: - -

        Object obj - the object including the field.
        - String[] strs - the character strings specified - by stringParams
        - -

        If the initialized field is static, then the method - receive only strs. - -

        The type of the returned value must be the same as the field - type.

        -
        -
        Parameters:
        -
        methodClass - the class that the static method is - declared in.
        -
        methodName - the name of the satic method.
        -
        stringParams - the array of strings passed to the - static method.
        -
        -
      • -
      - - - -
        -
      • -

        byCallWithParams

        -
        public static CtField.Initializer byCallWithParams​(CtClass methodClass,
        -                                                   java.lang.String methodName)
        -
        Makes an initializer calling a static method. - -

        This initializer calls a static method and uses the returned - value as the initial value of the field. The called method - receives the parameters: - -

        Object obj - the object including the field.
        - Object[] args - the parameters passed to the - constructor of the object including the - filed. - -

        If the initialized field is static, then the method does - not receive any parameters. - -

        The type of the returned value must be the same as the field - type.

        -
        -
        Parameters:
        -
        methodClass - the class that the static method is - declared in.
        -
        methodName - the name of the satic method.
        -
        -
      • -
      - - - -
        -
      • -

        byCallWithParams

        -
        public static CtField.Initializer byCallWithParams​(CtClass methodClass,
        -                                                   java.lang.String methodName,
        -                                                   java.lang.String[] stringParams)
        -
        Makes an initializer calling a static method. - -

        This initializer calls a static method and uses the returned - value as the initial value of the field. The called method - receives the parameters: - -

        Object obj - the object including the field.
        - String[] strs - the character strings specified - by stringParams
        - Object[] args - the parameters passed to the - constructor of the object including the - filed. - -

        If the initialized field is static, then the method - receive only strs. - -

        The type of the returned value must be the same as the field - type.

        -
        -
        Parameters:
        -
        methodClass - the class that the static method is - declared in.
        -
        methodName - the name of the satic method.
        -
        stringParams - the array of strings passed to the - static method.
        -
        -
      • -
      - - - -
        -
      • -

        byNewArray

        -
        public static CtField.Initializer byNewArray​(CtClass type,
        -                                             int size)
        -                                      throws NotFoundException
        -
        Makes an initializer creating a new array.
        -
        -
        Parameters:
        -
        type - the type of the array.
        -
        size - the size of the array.
        -
        Throws:
        -
        NotFoundException - if the type of the array components - is not found.
        -
        -
      • -
      - - - -
        -
      • -

        byNewArray

        -
        public static CtField.Initializer byNewArray​(CtClass type,
        -                                             int[] sizes)
        -
        Makes an initializer creating a new multi-dimensional array.
        -
        -
        Parameters:
        -
        type - the type of the array.
        -
        sizes - an int array of the size in every - dimension. - The first element is the size in the first - dimension. The second is in the second, etc.
        -
        -
      • -
      - - - -
        -
      • -

        byExpr

        -
        public static CtField.Initializer byExpr​(java.lang.String source)
        -
        Makes an initializer.
        -
        -
        Parameters:
        -
        source - initializer expression.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/CtField.html b/html/javassist/CtField.html deleted file mode 100644 index 1afb2c52..00000000 --- a/html/javassist/CtField.html +++ /dev/null @@ -1,970 +0,0 @@ - - - - - -CtField (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class CtField

-
-
- -
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClassDescription
      static class CtField.Initializer -
      Instances of this class specify how to initialize a field.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      CtField​(CtClass type, - java.lang.String name, - CtClass declaring) -
      Creates a CtField object.
      -
      CtField​(CtField src, - CtClass declaring) -
      Creates a copy of the given field.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.ObjectgetAnnotation​(java.lang.Class<?> clz) -
      Returns the annotation if the class has the specified annotation class.
      -
      java.lang.Object[]getAnnotations() -
      Returns the annotations associated with this field.
      -
      byte[]getAttribute​(java.lang.String name) -
      Obtains an attribute with the given name.
      -
      java.lang.Object[]getAvailableAnnotations() -
      Returns the annotations associated with this field.
      -
      java.lang.ObjectgetConstantValue() -
      Returns the value of this field if it is a constant field.
      -
      CtClassgetDeclaringClass() -
      Returns the class declaring the field.
      -
      FieldInfogetFieldInfo() -
      Returns the FieldInfo representing the field in the class file.
      -
      FieldInfogetFieldInfo2() -
      Returns the FieldInfo representing the field in the class - file (read only).
      -
      java.lang.StringgetGenericSignature() -
      Returns the generic signature of the field.
      -
      intgetModifiers() -
      Returns the encoded modifiers of the field.
      -
      java.lang.StringgetName() -
      Returns the name of the field.
      -
      java.lang.StringgetSignature() -
      Returns the character string representing the type of the field.
      -
      CtClassgetType() -
      Returns the type of the field.
      -
      booleanhasAnnotation​(java.lang.String typeName) -
      Returns true if the class has the specified annotation type.
      -
      static CtFieldmake​(java.lang.String src, - CtClass declaring) -
      Compiles the given source code and creates a field.
      -
      voidsetAttribute​(java.lang.String name, - byte[] data) -
      Adds an attribute.
      -
      voidsetGenericSignature​(java.lang.String sig) -
      Set the generic signature of the field.
      -
      voidsetModifiers​(int mod) -
      Sets the encoded modifiers of the field.
      -
      voidsetName​(java.lang.String newName) -
      Changes the name of the field.
      -
      voidsetType​(CtClass clazz) -
      Sets the type of the field.
      -
      java.lang.StringtoString() -
      Returns a String representation of the object.
      -
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Returns a String representation of the object.
        -
        -
        Overrides:
        -
        toString in class CtMember
        -
        -
      • -
      - - - -
        -
      • -

        make

        -
        public static CtField make​(java.lang.String src,
        -                           CtClass declaring)
        -                    throws CannotCompileException
        -
        Compiles the given source code and creates a field. - Examples of the source code are: - -
        - "public String name;"
        - "public int k = 3;"
        - -

        Note that the source code ends with ';' - (semicolon).

        -
        -
        Parameters:
        -
        src - the source text.
        -
        declaring - the class to which the created field is added.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        getFieldInfo

        -
        public FieldInfo getFieldInfo()
        -
        Returns the FieldInfo representing the field in the class file.
        -
      • -
      - - - -
        -
      • -

        getFieldInfo2

        -
        public FieldInfo getFieldInfo2()
        -
        Returns the FieldInfo representing the field in the class - file (read only). - Normal applications do not need calling this method. Use - getFieldInfo(). - -

        The FieldInfo object obtained by this method - is read only. Changes to this object might not be reflected - on a class file generated by toBytecode(), - toClass(), etc in CtClass. - -

        This method is available even if the CtClass - containing this field is frozen. However, if the class is - frozen, the FieldInfo might be also pruned.

        -
        -
        See Also:
        -
        getFieldInfo(), -CtClass.isFrozen(), -CtClass.prune()
        -
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        setName

        -
        public void setName​(java.lang.String newName)
        -
        Changes the name of the field.
        -
      • -
      - - - -
        -
      • -

        getModifiers

        -
        public int getModifiers()
        -
        Returns the encoded modifiers of the field.
        -
        -
        Specified by:
        -
        getModifiers in class CtMember
        -
        Returns:
        -
        modifiers encoded with - javassist.Modifier.
        -
        See Also:
        -
        Modifier
        -
        -
      • -
      - - - -
        -
      • -

        setModifiers

        -
        public void setModifiers​(int mod)
        -
        Sets the encoded modifiers of the field.
        -
        -
        Specified by:
        -
        setModifiers in class CtMember
        -
        See Also:
        -
        Modifier
        -
        -
      • -
      - - - -
        -
      • -

        hasAnnotation

        -
        public boolean hasAnnotation​(java.lang.String typeName)
        -
        Returns true if the class has the specified annotation type.
        -
        -
        Specified by:
        -
        hasAnnotation in class CtMember
        -
        Parameters:
        -
        typeName - the name of annotation type.
        -
        Returns:
        -
        true if the annotation is found, otherwise false.
        -
        Since:
        -
        3.21
        -
        -
      • -
      - - - -
        -
      • -

        getAnnotation

        -
        public java.lang.Object getAnnotation​(java.lang.Class<?> clz)
        -                               throws java.lang.ClassNotFoundException
        -
        Returns the annotation if the class has the specified annotation class. - For example, if an annotation @Author is associated - with this field, an Author object is returned. - The member values can be obtained by calling methods on - the Author object.
        -
        -
        Specified by:
        -
        getAnnotation in class CtMember
        -
        Parameters:
        -
        clz - the annotation class.
        -
        Returns:
        -
        the annotation if found, otherwise null.
        -
        Throws:
        -
        java.lang.ClassNotFoundException
        -
        Since:
        -
        3.11
        -
        -
      • -
      - - - -
        -
      • -

        getAnnotations

        -
        public java.lang.Object[] getAnnotations()
        -                                  throws java.lang.ClassNotFoundException
        -
        Returns the annotations associated with this field.
        -
        -
        Specified by:
        -
        getAnnotations in class CtMember
        -
        Returns:
        -
        an array of annotation-type objects.
        -
        Throws:
        -
        java.lang.ClassNotFoundException
        -
        Since:
        -
        3.1
        -
        See Also:
        -
        getAvailableAnnotations()
        -
        -
      • -
      - - - -
        -
      • -

        getAvailableAnnotations

        -
        public java.lang.Object[] getAvailableAnnotations()
        -
        Returns the annotations associated with this field. - If any annotations are not on the classpath, they are not included - in the returned array.
        -
        -
        Specified by:
        -
        getAvailableAnnotations in class CtMember
        -
        Returns:
        -
        an array of annotation-type objects.
        -
        Since:
        -
        3.3
        -
        See Also:
        -
        getAnnotations()
        -
        -
      • -
      - - - -
        -
      • -

        getSignature

        -
        public java.lang.String getSignature()
        -
        Returns the character string representing the type of the field. - The field signature is represented by a character string - called a field descriptor, which is defined in the JVM specification. - If two fields have the same type, - getSignature() returns the same string. - -

        Note that the returned string is not the type signature - contained in the SignatureAttirbute. It is - a descriptor.

        -
        -
        Specified by:
        -
        getSignature in class CtMember
        -
        See Also:
        -
        Descriptor, -getGenericSignature()
        -
        -
      • -
      - - - - - - - - - - - - - - - -
        -
      • -

        setType

        -
        public void setType​(CtClass clazz)
        -
        Sets the type of the field. - -

        This method does not automatically update method bodies that access - this field. They have to be explicitly updated. For example, - if some method contains an expression t.value and the type - of the variable t is changed by setType(CtClass) - from int to double, then t.value has to be modified - as well since the bytecode of t.value contains the type information. -

        -
        -
        See Also:
        -
        CodeConverter, -ExprEditor
        -
        -
      • -
      - - - -
        -
      • -

        getConstantValue

        -
        public java.lang.Object getConstantValue()
        -
        Returns the value of this field if it is a constant field. - This method works only if the field type is a primitive type - or String type. Otherwise, it returns null. - A constant field is static and final.
        -
        -
        Returns:
        -
        a Integer, Long, Float, - Double, Boolean, - or String object - representing the constant value. - null if it is not a constant field - or if the field type is not a primitive type - or String.
        -
        -
      • -
      - - - -
        -
      • -

        getAttribute

        -
        public byte[] getAttribute​(java.lang.String name)
        -
        Obtains an attribute with the given name. - If that attribute is not found in the class file, this - method returns null. - -

        Note that an attribute is a data block specified by - the class file format. - See AttributeInfo.

        -
        -
        Specified by:
        -
        getAttribute in class CtMember
        -
        Parameters:
        -
        name - attribute name
        -
        -
      • -
      - - - -
        -
      • -

        setAttribute

        -
        public void setAttribute​(java.lang.String name,
        -                         byte[] data)
        -
        Adds an attribute. The attribute is saved in the class file. - -

        Note that an attribute is a data block specified by - the class file format. - See AttributeInfo.

        -
        -
        Specified by:
        -
        setAttribute in class CtMember
        -
        Parameters:
        -
        name - attribute name
        -
        data - attribute value
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/CtMember.html b/html/javassist/CtMember.html deleted file mode 100644 index 40808f09..00000000 --- a/html/javassist/CtMember.html +++ /dev/null @@ -1,647 +0,0 @@ - - - - - -CtMember (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class CtMember

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.CtMember
    • -
    -
  • -
-
-
    -
  • -
    -
    Direct Known Subclasses:
    -
    CtBehavior, CtField
    -
    -
    -
    public abstract class CtMember
    -extends java.lang.Object
    -
    An instance of CtMember represents a field, a constructor, - or a method.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and TypeMethodDescription
      abstract java.lang.ObjectgetAnnotation​(java.lang.Class<?> annotationType) -
      Returns the annotation if the class has the specified annotation type.
      -
      abstract java.lang.Object[]getAnnotations() -
      Returns the annotations associated with this member.
      -
      abstract byte[]getAttribute​(java.lang.String name) -
      Obtains a user-defined attribute with the given name.
      -
      abstract java.lang.Object[]getAvailableAnnotations() -
      Returns the annotations associated with this member.
      -
      CtClassgetDeclaringClass() -
      Returns the class that declares this member.
      -
      abstract java.lang.StringgetGenericSignature() -
      Returns the generic signature of the member.
      -
      abstract intgetModifiers() -
      Obtains the modifiers of the member.
      -
      abstract java.lang.StringgetName() -
      Obtains the name of the member.
      -
      abstract java.lang.StringgetSignature() -
      Returns the character string representing the signature of the member.
      -
      booleanhasAnnotation​(java.lang.Class<?> clz) -
      Returns true if the class has the specified annotation type.
      -
      abstract booleanhasAnnotation​(java.lang.String annotationTypeName) -
      Returns true if the class has the specified annotation type.
      -
      abstract voidsetAttribute​(java.lang.String name, - byte[] data) -
      Adds a user-defined attribute.
      -
      abstract voidsetGenericSignature​(java.lang.String sig) -
      Sets the generic signature of the member.
      -
      abstract voidsetModifiers​(int mod) -
      Sets the encoded modifiers of the member.
      -
      java.lang.StringtoString() 
      booleanvisibleFrom​(CtClass clazz) -
      Returns true if this member is accessible from the given class.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        getDeclaringClass

        -
        public CtClass getDeclaringClass()
        -
        Returns the class that declares this member.
        -
      • -
      - - - -
        -
      • -

        visibleFrom

        -
        public boolean visibleFrom​(CtClass clazz)
        -
        Returns true if this member is accessible from the given class.
        -
      • -
      - - - -
        -
      • -

        getModifiers

        -
        public abstract int getModifiers()
        -
        Obtains the modifiers of the member.
        -
        -
        Returns:
        -
        modifiers encoded with - javassist.Modifier.
        -
        See Also:
        -
        Modifier
        -
        -
      • -
      - - - -
        -
      • -

        setModifiers

        -
        public abstract void setModifiers​(int mod)
        -
        Sets the encoded modifiers of the member.
        -
        -
        See Also:
        -
        Modifier
        -
        -
      • -
      - - - -
        -
      • -

        hasAnnotation

        -
        public boolean hasAnnotation​(java.lang.Class<?> clz)
        -
        Returns true if the class has the specified annotation type.
        -
        -
        Parameters:
        -
        clz - the annotation type.
        -
        Returns:
        -
        true if the annotation is found, otherwise false.
        -
        Since:
        -
        3.11
        -
        -
      • -
      - - - -
        -
      • -

        hasAnnotation

        -
        public abstract boolean hasAnnotation​(java.lang.String annotationTypeName)
        -
        Returns true if the class has the specified annotation type.
        -
        -
        Parameters:
        -
        annotationTypeName - the name of annotation type.
        -
        Returns:
        -
        true if the annotation is found, otherwise false.
        -
        Since:
        -
        3.21
        -
        -
      • -
      - - - -
        -
      • -

        getAnnotation

        -
        public abstract java.lang.Object getAnnotation​(java.lang.Class<?> annotationType)
        -                                        throws java.lang.ClassNotFoundException
        -
        Returns the annotation if the class has the specified annotation type. - For example, if an annotation @Author is associated - with this member, an Author object is returned. - The member values can be obtained by calling methods on - the Author object.
        -
        -
        Parameters:
        -
        annotationType - the annotation type.
        -
        Returns:
        -
        the annotation if found, otherwise null.
        -
        Throws:
        -
        java.lang.ClassNotFoundException
        -
        Since:
        -
        3.11
        -
        -
      • -
      - - - -
        -
      • -

        getAnnotations

        -
        public abstract java.lang.Object[] getAnnotations()
        -                                           throws java.lang.ClassNotFoundException
        -
        Returns the annotations associated with this member. - For example, if an annotation @Author is associated - with this member, the returned array contains an Author - object. The member values can be obtained by calling methods on - the Author object.
        -
        -
        Returns:
        -
        an array of annotation-type objects.
        -
        Throws:
        -
        java.lang.ClassNotFoundException
        -
        See Also:
        -
        CtClass.getAnnotations()
        -
        -
      • -
      - - - -
        -
      • -

        getAvailableAnnotations

        -
        public abstract java.lang.Object[] getAvailableAnnotations()
        -
        Returns the annotations associated with this member. - This method is equivalent to getAnnotations() - except that, if any annotations are not on the classpath, - they are not included in the returned array.
        -
        -
        Returns:
        -
        an array of annotation-type objects.
        -
        Since:
        -
        3.3
        -
        See Also:
        -
        getAnnotations(), -CtClass.getAvailableAnnotations()
        -
        -
      • -
      - - - -
        -
      • -

        getName

        -
        public abstract java.lang.String getName()
        -
        Obtains the name of the member. - -

        As for constructor names, see getName() - in CtConstructor.

        -
        -
        See Also:
        -
        CtConstructor.getName()
        -
        -
      • -
      - - - -
        -
      • -

        getSignature

        -
        public abstract java.lang.String getSignature()
        -
        Returns the character string representing the signature of the member. - If two members have the same signature (parameter types etc.), - getSignature() returns the same string.
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        getAttribute

        -
        public abstract byte[] getAttribute​(java.lang.String name)
        -
        Obtains a user-defined attribute with the given name. - If that attribute is not found in the class file, this - method returns null. - -

        Note that an attribute is a data block specified by - the class file format. - See AttributeInfo.

        -
        -
        Parameters:
        -
        name - attribute name
        -
        -
      • -
      - - - -
        -
      • -

        setAttribute

        -
        public abstract void setAttribute​(java.lang.String name,
        -                                  byte[] data)
        -
        Adds a user-defined attribute. The attribute is saved in the class file. - -

        Note that an attribute is a data block specified by - the class file format. - See AttributeInfo.

        -
        -
        Parameters:
        -
        name - attribute name
        -
        data - attribute value
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/CtMethod.ConstParameter.html b/html/javassist/CtMethod.ConstParameter.html deleted file mode 100644 index 77d8b0ec..00000000 --- a/html/javassist/CtMethod.ConstParameter.html +++ /dev/null @@ -1,329 +0,0 @@ - - - - - -CtMethod.ConstParameter (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class CtMethod.ConstParameter

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.CtMethod.ConstParameter
    • -
    -
  • -
-
- -
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        integer

        -
        public static CtMethod.ConstParameter integer​(int i)
        -
        Makes an integer constant.
        -
        -
        Parameters:
        -
        i - the constant value.
        -
        -
      • -
      - - - -
        -
      • -

        integer

        -
        public static CtMethod.ConstParameter integer​(long i)
        -
        Makes a long integer constant.
        -
        -
        Parameters:
        -
        i - the constant value.
        -
        -
      • -
      - - - -
        -
      • -

        string

        -
        public static CtMethod.ConstParameter string​(java.lang.String s)
        -
        Makes an String constant.
        -
        -
        Parameters:
        -
        s - the constant value.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/CtMethod.html b/html/javassist/CtMethod.html deleted file mode 100644 index da90ab67..00000000 --- a/html/javassist/CtMethod.html +++ /dev/null @@ -1,728 +0,0 @@ - - - - - -CtMethod (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class CtMethod

-
-
- -
-
    -
  • -
    -
    public final class CtMethod
    -extends CtBehavior
    -
    An instance of CtMethod represents a method. - -

    See the super class CtBehavior since - a number of useful methods are in CtBehavior. - A number of useful factory methods are in CtNewMethod.

    -
    -
    See Also:
    -
    CtClass.getDeclaredMethods(), -CtNewMethod
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        CtMethod

        -
        public CtMethod​(CtClass returnType,
        -                java.lang.String mname,
        -                CtClass[] parameters,
        -                CtClass declaring)
        -
        Creates a public abstract method. The created method must be - added to a class with CtClass.addMethod().
        -
        -
        Parameters:
        -
        declaring - the class to which the created method is added.
        -
        returnType - the type of the returned value
        -
        mname - the method name
        -
        parameters - a list of the parameter types
        -
        See Also:
        -
        CtClass.addMethod(CtMethod)
        -
        -
      • -
      - - - -
        -
      • -

        CtMethod

        -
        public CtMethod​(CtMethod src,
        -                CtClass declaring,
        -                ClassMap map)
        -         throws CannotCompileException
        -
        Creates a copy of a CtMethod object. - The created method must be - added to a class with CtClass.addMethod(). - -

        All occurrences of class names in the created method - are replaced with names specified by - map if map is not null. - -

        For example, suppose that a method at() is as - follows: - -

        - public X at(int i) {
        -     return (X)super.elementAt(i);
        - }
        - -

        (X is a class name.) If map substitutes - String for X, then the created method is: - -

        - public String at(int i) {
        -     return (String)super.elementAt(i);
        - }
        - -

        By default, all the occurrences of the names of the class - declaring at() and the superclass are replaced - with the name of the class and the superclass that the - created method is added to. - This is done whichever map is null or not. - To prevent this replacement, call ClassMap.fix() - or put() to explicitly specify replacement. - -

        Note: if the .class notation (for example, - String.class) is included in an expression, the - Javac compiler may produce a helper method. - Since this constructor never - copies this helper method, the programmers have the responsiblity of - copying it. Otherwise, use Class.forName() in the - expression.

        -
        -
        Parameters:
        -
        src - the source method.
        -
        declaring - the class to which the created method is added.
        -
        map - the hashtable associating original class names - with substituted names. - It can be null.
        -
        Throws:
        -
        CannotCompileException
        -
        See Also:
        -
        CtClass.addMethod(CtMethod), -ClassMap.fix(String)
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        make

        -
        public static CtMethod make​(java.lang.String src,
        -                            CtClass declaring)
        -                     throws CannotCompileException
        -
        Compiles the given source code and creates a method. - This method simply delegates to make() in - CtNewMethod. See it for more details. - CtNewMethod has a number of useful factory methods.
        -
        -
        Parameters:
        -
        src - the source text.
        -
        declaring - the class to which the created method is added.
        -
        Throws:
        -
        CannotCompileException
        -
        See Also:
        -
        CtNewMethod.make(String, CtClass)
        -
        -
      • -
      - - - -
        -
      • -

        make

        -
        public static CtMethod make​(MethodInfo minfo,
        -                            CtClass declaring)
        -                     throws CannotCompileException
        -
        Creates a method from a MethodInfo object.
        -
        -
        Parameters:
        -
        declaring - the class declaring the method.
        -
        Throws:
        -
        CannotCompileException - if the the MethodInfo - object and the declaring class have different - ConstPool objects
        -
        Since:
        -
        3.6
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        Returns a hash code value for the method. - If two methods have the same name and signature, then - the hash codes for the two methods are equal.
        -
        -
        Overrides:
        -
        hashCode in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals​(java.lang.Object obj)
        -
        Indicates whether obj has the same name and the - same signature as this method.
        -
        -
        Overrides:
        -
        equals in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        getLongName

        -
        public java.lang.String getLongName()
        -
        Returns the method name followed by parameter types - such as javassist.CtMethod.setBody(String).
        -
        -
        Specified by:
        -
        getLongName in class CtBehavior
        -
        Since:
        -
        3.5
        -
        -
      • -
      - - - - - - - -
        -
      • -

        setName

        -
        public void setName​(java.lang.String newname)
        -
        Changes the name of this method.
        -
      • -
      - - - - - - - -
        -
      • -

        isEmpty

        -
        public boolean isEmpty()
        -
        Returns true if the method body is empty, that is, {}. - It also returns true if the method is an abstract method.
        -
        -
        Specified by:
        -
        isEmpty in class CtBehavior
        -
        -
      • -
      - - - -
        -
      • -

        setBody

        -
        public void setBody​(CtMethod src,
        -                    ClassMap map)
        -             throws CannotCompileException
        -
        Copies a method body from another method. - If this method is abstract, the abstract modifier is removed - after the method body is copied. - -

        All occurrences of the class names in the copied method body - are replaced with the names specified by - map if map is not null.

        -
        -
        Parameters:
        -
        src - the method that the body is copied from.
        -
        map - the hashtable associating original class names - with substituted names. - It can be null.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - - -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/CtNewConstructor.html b/html/javassist/CtNewConstructor.html deleted file mode 100644 index 88464996..00000000 --- a/html/javassist/CtNewConstructor.html +++ /dev/null @@ -1,746 +0,0 @@ - - - - - -CtNewConstructor (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class CtNewConstructor

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.CtNewConstructor
    • -
    -
  • -
-
-
    -
  • -
    -
    public class CtNewConstructor
    -extends java.lang.Object
    -
    A collection of static methods for creating a CtConstructor. - An instance of this class does not make any sense. - -

    A class initializer (static constructor) cannot be created by the - methods in this class. Call makeClassInitializer() in - CtClass and append code snippet to the body of the class - initializer obtained by makeClassInitializer().

    -
    -
    See Also:
    -
    CtClass.addConstructor(CtConstructor), -CtClass.makeClassInitializer()
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static intPASS_ARRAY -
      Specifies that parameters are converted into an array of - Object and passed to a super-class' - constructor.
      -
      static intPASS_NONE -
      Specifies that no parameters are passed to a super-class' - constructor.
      -
      static intPASS_PARAMS -
      Specifies that parameters are passed as is - to a super-class' constructor.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      CtNewConstructor() 
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        PASS_NONE

        -
        public static final int PASS_NONE
        -
        Specifies that no parameters are passed to a super-class' - constructor. That is, the default constructor is invoked.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        PASS_ARRAY

        -
        public static final int PASS_ARRAY
        -
        Specifies that parameters are converted into an array of - Object and passed to a super-class' - constructor.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        PASS_PARAMS

        -
        public static final int PASS_PARAMS
        -
        Specifies that parameters are passed as is - to a super-class' constructor. The signature of that - constructor must be the same as that of the created constructor.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        CtNewConstructor

        -
        public CtNewConstructor()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        make

        -
        public static CtConstructor make​(java.lang.String src,
        -                                 CtClass declaring)
        -                          throws CannotCompileException
        -
        Compiles the given source code and creates a constructor. - The source code must include not only the constructor body - but the whole declaration.
        -
        -
        Parameters:
        -
        src - the source text.
        -
        declaring - the class to which the created constructor is added.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        make

        -
        public static CtConstructor make​(CtClass[] parameters,
        -                                 CtClass[] exceptions,
        -                                 java.lang.String body,
        -                                 CtClass declaring)
        -                          throws CannotCompileException
        -
        Creates a public constructor.
        -
        -
        Parameters:
        -
        parameters - a list of the parameter types.
        -
        exceptions - a list of the exception types.
        -
        body - the source text of the constructor body. - It must be a block surrounded by {}. - If it is null, the substituted - constructor body does nothing except calling - super().
        -
        declaring - the class to which the created method is added.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        skeleton

        -
        public static CtConstructor skeleton​(CtClass[] parameters,
        -                                     CtClass[] exceptions,
        -                                     CtClass declaring)
        -                              throws CannotCompileException
        -
        Creates a public constructor that only calls a constructor - in the super class. The created constructor receives parameters - specified by parameters but calls the super's - constructor without those parameters (that is, it calls the default - constructor). - -

        The parameters passed to the created constructor should be - used for field initialization. CtField.Initializer - objects implicitly insert initialization code in constructor - bodies.

        -
        -
        Parameters:
        -
        parameters - parameter types
        -
        exceptions - exception types
        -
        declaring - the class to which the created constructor - is added.
        -
        Throws:
        -
        CannotCompileException
        -
        See Also:
        -
        CtField.Initializer.byParameter(int)
        -
        -
      • -
      - - - -
        -
      • -

        make

        -
        public static CtConstructor make​(CtClass[] parameters,
        -                                 CtClass[] exceptions,
        -                                 CtClass declaring)
        -                          throws CannotCompileException
        -
        Creates a public constructor that only calls a constructor - in the super class. The created constructor receives parameters - specified by parameters and calls the super's - constructor with those parameters.
        -
        -
        Parameters:
        -
        parameters - parameter types
        -
        exceptions - exception types
        -
        declaring - the class to which the created constructor - is added.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        make

        -
        public static CtConstructor make​(CtClass[] parameters,
        -                                 CtClass[] exceptions,
        -                                 int howto,
        -                                 CtMethod body,
        -                                 CtMethod.ConstParameter cparam,
        -                                 CtClass declaring)
        -                          throws CannotCompileException
        -
        Creates a public constructor. - -

        If howto is PASS_PARAMS, - the created constructor calls the super's constructor with the - same signature. The superclass must contain - a constructor taking the same set of parameters as the created one. - -

        If howto is PASS_NONE, - the created constructor calls the super's default constructor. - The superclass must contain a constructor taking no parameters. - -

        If howto is PASS_ARRAY, - the created constructor calls the super's constructor - with the given parameters in the form of an array of - Object. The signature of the super's constructor - must be: - -

        constructor(Object[] params, <type> cvalue)
        - 
        - -

        Here, cvalue is the constant value specified - by cparam. - -

        If cparam is null, the signature - must be: - -

        constructor(Object[] params)
        - -

        If body is not null, a copy of that method is - embedded in the body of the created constructor. - The embedded method is executed after - the super's constructor is called and the values of fields are - initialized. Note that body must not - be a constructor but a method. - -

        Since the embedded method is wrapped - in parameter-conversion code - as in CtNewMethod.wrapped(), - the constructor parameters are - passed in the form of an array of Object. - The method specified by body must have the - signature shown below: - -

        Object method(Object[] params, <type> cvalue)
        - -

        If cparam is null, the signature - must be: - -

        Object method(Object[] params)
        - -

        Although the type of the returned value is Object, - the value must be always null. - -

        Example: - -

        - ClassPool pool = ... ;
        - CtClass xclass = pool.makeClass("X");
        - CtMethod method = pool.getMethod("Sample", "m");
        - xclass.setSuperclass(pool.get("Y"));
        - CtClass[] argTypes = { CtClass.intType };
        - ConstParameter cparam = ConstParameter.string("test");
        - CtConstructor c = CtNewConstructor.make(argTypes, null,
        -                                  PASS_PARAMS, method, cparam, xclass);
        - xclass.addConstructor(c);
        - -

        where the class Sample is as follows: - -

        - public class Sample {
        -     public Object m(Object[] args, String msg) {
        -         System.out.println(msg);
        -         return null;
        -     }
        - }
        - -

        This program produces the following class: - -

        - public class X extends Y {
        -     public X(int p0) {
        -         super(p0);
        -         String msg = "test";
        -         Object[] args = new Object[] { p0 };
        -         // begin of copied body
        -         System.out.println(msg);
        -         Object result = null;
        -         // end
        -     }
        - }
        -
        -
        Parameters:
        -
        parameters - a list of the parameter types
        -
        exceptions - a list of the exceptions
        -
        howto - how to pass parameters to the super-class' - constructor (PASS_NONE, - PASS_ARRAY, - or PASS_PARAMS)
        -
        body - appended body (may be null). - It must be not a constructor but a method.
        -
        cparam - constant parameter (may be null.)
        -
        declaring - the class to which the created constructor - is added.
        -
        Throws:
        -
        CannotCompileException
        -
        See Also:
        -
        CtNewMethod.wrapped(CtClass,String,CtClass[],CtClass[],CtMethod,CtMethod.ConstParameter,CtClass)
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/CtNewMethod.html b/html/javassist/CtNewMethod.html deleted file mode 100644 index d751b92a..00000000 --- a/html/javassist/CtNewMethod.html +++ /dev/null @@ -1,816 +0,0 @@ - - - - - -CtNewMethod (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class CtNewMethod

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.CtNewMethod
    • -
    -
  • -
-
-
    -
  • -
    -
    public class CtNewMethod
    -extends java.lang.Object
    -
    A collection of static methods for creating a CtMethod. - An instance of this class does not make any sense.
    -
    -
    See Also:
    -
    CtClass.addMethod(CtMethod)
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      CtNewMethod() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static CtMethodabstractMethod​(CtClass returnType, - java.lang.String mname, - CtClass[] parameters, - CtClass[] exceptions, - CtClass declaring) -
      Creates a public abstract method.
      -
      static CtMethodcopy​(CtMethod src, - java.lang.String name, - CtClass declaring, - ClassMap map) -
      Creates a copy of a method with a new name.
      -
      static CtMethodcopy​(CtMethod src, - CtClass declaring, - ClassMap map) -
      Creates a copy of a method.
      -
      static CtMethoddelegator​(CtMethod delegate, - CtClass declaring) -
      Creates a method forwarding to a delegate in - a super class.
      -
      static CtMethodgetter​(java.lang.String methodName, - CtField field) -
      Creates a public getter method.
      -
      static CtMethodmake​(int modifiers, - CtClass returnType, - java.lang.String mname, - CtClass[] parameters, - CtClass[] exceptions, - java.lang.String body, - CtClass declaring) -
      Creates a method.
      -
      static CtMethodmake​(java.lang.String src, - CtClass declaring) -
      Compiles the given source code and creates a method.
      -
      static CtMethodmake​(java.lang.String src, - CtClass declaring, - java.lang.String delegateObj, - java.lang.String delegateMethod) -
      Compiles the given source code and creates a method.
      -
      static CtMethodmake​(CtClass returnType, - java.lang.String mname, - CtClass[] parameters, - CtClass[] exceptions, - java.lang.String body, - CtClass declaring) -
      Creates a public (non-static) method.
      -
      static CtMethodsetter​(java.lang.String methodName, - CtField field) -
      Creates a public setter method.
      -
      static CtMethodwrapped​(CtClass returnType, - java.lang.String mname, - CtClass[] parameterTypes, - CtClass[] exceptionTypes, - CtMethod body, - CtMethod.ConstParameter constParam, - CtClass declaring) -
      Creates a wrapped method.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        CtNewMethod

        -
        public CtNewMethod()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        make

        -
        public static CtMethod make​(java.lang.String src,
        -                            CtClass declaring)
        -                     throws CannotCompileException
        -
        Compiles the given source code and creates a method. - The source code must include not only the method body - but the whole declaration, for example, - -
        "public Object id(Object obj) { return obj; }"
        -
        -
        Parameters:
        -
        src - the source text.
        -
        declaring - the class to which the created method is added.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        make

        -
        public static CtMethod make​(java.lang.String src,
        -                            CtClass declaring,
        -                            java.lang.String delegateObj,
        -                            java.lang.String delegateMethod)
        -                     throws CannotCompileException
        -
        Compiles the given source code and creates a method. - The source code must include not only the method body - but the whole declaration, for example, - -
        "public Object id(Object obj) { return obj; }"
        - -

        If the source code includes $proceed(), then - it is compiled into a method call on the specified object.

        -
        -
        Parameters:
        -
        src - the source text.
        -
        declaring - the class to which the created method is added.
        -
        delegateObj - the source text specifying the object - that is called on by $proceed().
        -
        delegateMethod - the name of the method - that is called by $proceed().
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        make

        -
        public static CtMethod make​(CtClass returnType,
        -                            java.lang.String mname,
        -                            CtClass[] parameters,
        -                            CtClass[] exceptions,
        -                            java.lang.String body,
        -                            CtClass declaring)
        -                     throws CannotCompileException
        -
        Creates a public (non-static) method. The created method cannot - be changed to a static method later.
        -
        -
        Parameters:
        -
        returnType - the type of the returned value.
        -
        mname - the method name.
        -
        parameters - a list of the parameter types.
        -
        exceptions - a list of the exception types.
        -
        body - the source text of the method body. - It must be a block surrounded by {}. - If it is null, the created method - does nothing except returning zero or null.
        -
        declaring - the class to which the created method is added.
        -
        Throws:
        -
        CannotCompileException
        -
        See Also:
        -
        make(int, CtClass, String, CtClass[], CtClass[], String, CtClass)
        -
        -
      • -
      - - - -
        -
      • -

        make

        -
        public static CtMethod make​(int modifiers,
        -                            CtClass returnType,
        -                            java.lang.String mname,
        -                            CtClass[] parameters,
        -                            CtClass[] exceptions,
        -                            java.lang.String body,
        -                            CtClass declaring)
        -                     throws CannotCompileException
        -
        Creates a method. modifiers can contain - Modifier.STATIC.
        -
        -
        Parameters:
        -
        modifiers - access modifiers.
        -
        returnType - the type of the returned value.
        -
        mname - the method name.
        -
        parameters - a list of the parameter types.
        -
        exceptions - a list of the exception types.
        -
        body - the source text of the method body. - It must be a block surrounded by {}. - If it is null, the created method - does nothing except returning zero or null.
        -
        declaring - the class to which the created method is added.
        -
        Throws:
        -
        CannotCompileException
        -
        See Also:
        -
        Modifier
        -
        -
      • -
      - - - -
        -
      • -

        copy

        -
        public static CtMethod copy​(CtMethod src,
        -                            CtClass declaring,
        -                            ClassMap map)
        -                     throws CannotCompileException
        -
        Creates a copy of a method. This method is provided for creating - a new method based on an existing method. - This is a convenience method for calling - this constructor. - See the description of the constructor for particular behavior of the copying.
        -
        -
        Parameters:
        -
        src - the source method.
        -
        declaring - the class to which the created method is added.
        -
        map - the hash table associating original class names - with substituted names. - It can be null.
        -
        Throws:
        -
        CannotCompileException
        -
        See Also:
        -
        CtMethod(CtMethod,CtClass,ClassMap)
        -
        -
      • -
      - - - -
        -
      • -

        copy

        -
        public static CtMethod copy​(CtMethod src,
        -                            java.lang.String name,
        -                            CtClass declaring,
        -                            ClassMap map)
        -                     throws CannotCompileException
        -
        Creates a copy of a method with a new name. - This method is provided for creating - a new method based on an existing method. - This is a convenience method for calling - this constructor. - See the description of the constructor for particular behavior of the copying.
        -
        -
        Parameters:
        -
        src - the source method.
        -
        name - the name of the created method.
        -
        declaring - the class to which the created method is added.
        -
        map - the hash table associating original class names - with substituted names. - It can be null.
        -
        Throws:
        -
        CannotCompileException
        -
        See Also:
        -
        CtMethod(CtMethod,CtClass,ClassMap)
        -
        -
      • -
      - - - -
        -
      • -

        abstractMethod

        -
        public static CtMethod abstractMethod​(CtClass returnType,
        -                                      java.lang.String mname,
        -                                      CtClass[] parameters,
        -                                      CtClass[] exceptions,
        -                                      CtClass declaring)
        -                               throws NotFoundException
        -
        Creates a public abstract method.
        -
        -
        Parameters:
        -
        returnType - the type of the returned value
        -
        mname - the method name
        -
        parameters - a list of the parameter types
        -
        exceptions - a list of the exception types
        -
        declaring - the class to which the created method is added.
        -
        Throws:
        -
        NotFoundException
        -
        See Also:
        -
        CtMethod(CtClass,String,CtClass[],CtClass)
        -
        -
      • -
      - - - -
        -
      • -

        getter

        -
        public static CtMethod getter​(java.lang.String methodName,
        -                              CtField field)
        -                       throws CannotCompileException
        -
        Creates a public getter method. The getter method returns the value - of the specified field in the class to which this method is added. - The created method is initially not static even if the field is - static. Change the modifiers if the method should be static.
        -
        -
        Parameters:
        -
        methodName - the name of the getter
        -
        field - the field accessed.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        setter

        -
        public static CtMethod setter​(java.lang.String methodName,
        -                              CtField field)
        -                       throws CannotCompileException
        -
        Creates a public setter method. The setter method assigns the - value of the first parameter to the specified field - in the class to which this method is added. - The created method is not static even if the field is - static. You may not change it to be static - by setModifiers() in CtBehavior.
        -
        -
        Parameters:
        -
        methodName - the name of the setter
        -
        field - the field accessed.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        delegator

        -
        public static CtMethod delegator​(CtMethod delegate,
        -                                 CtClass declaring)
        -                          throws CannotCompileException
        -
        Creates a method forwarding to a delegate in - a super class. The created method calls a method specified - by delegate with all the parameters passed to the - created method. If the delegate method returns a value, - the created method returns that value to the caller. - The delegate method must be declared in a super class. - -

        The following method is an example of the created method. - -

        - int f(int p, int q) {
        -     return super.f(p, q);
        - }
        - -

        The name of the created method can be changed by - setName().

        -
        -
        Parameters:
        -
        delegate - the method that the created method forwards to.
        -
        declaring - the class to which the created method is - added.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        wrapped

        -
        public static CtMethod wrapped​(CtClass returnType,
        -                               java.lang.String mname,
        -                               CtClass[] parameterTypes,
        -                               CtClass[] exceptionTypes,
        -                               CtMethod body,
        -                               CtMethod.ConstParameter constParam,
        -                               CtClass declaring)
        -                        throws CannotCompileException
        -
        Creates a wrapped method. The wrapped method receives parameters - in the form of an array of Object. - -

        The body of the created method is a copy of the body of the method - specified by body. However, it is wrapped in - parameter-conversion code. - -

        The method specified by body must have this singature: - -

        Object method(Object[] params, <type> cvalue)
        - -

        The type of the cvalue depends on - constParam. - If constParam is null, the signature - must be: - -

        Object method(Object[] params)
        - -

        The method body copied from body is wrapped in - parameter-conversion code, which converts parameters specified by - parameterTypes into an array of Object. - The returned value is also converted from the Object - type to the type specified by returnType. Thus, - the resulting method body is as follows: - -

        - Object[] params = new Object[] { p0, p1, ... };
        - <type> cvalue = <constant-value>;
        -  ... copied method body ...
        - Object result = <returned value>
        - return (<returnType>)result;
        - 
        - -

        The variables p0, p2, ... represent - formal parameters of the created method. - The value of cvalue is specified by - constParam. - -

        If the type of a parameter or a returned value is a primitive - type, then the value is converted into a wrapper object such as - java.lang.Integer. If the type of the returned value - is void, the returned value is discarded. - -

        Example: - -

        - ClassPool pool = ... ;
        - CtClass vec = pool.makeClass("intVector");
        - vec.setSuperclass(pool.get("java.util.Vector"));
        - CtMethod addMethod = pool.getMethod("Sample", "add0");
        -
        - CtClass[] argTypes = { CtClass.intType };
        - CtMethod m = CtNewMethod.wrapped(CtClass.voidType, "add", argTypes,
        -                                  null, addMethod, null, vec);
        - vec.addMethod(m);
        - -

        where the class Sample is as follows: - -

        public class Sample extends java.util.Vector {
        -     public Object add0(Object[] args) {
        -         super.addElement(args[0]);
        -         return null;
        -     }
        - }
        - -

        This program produces a class intVector: - -

        public class intVector extends java.util.Vector {
        -     public void add(int p0) {
        -         Object[] args = new Object[] { p0 };
        -         // begin of the copied body
        -         super.addElement(args[0]);
        -         Object result = null;
        -         // end
        -     }
        - }
        - -

        Note that the type of the parameter to add() depends - only on the value of argTypes passed to - CtNewMethod.wrapped(). Thus, it is easy to - modify this program to produce a - StringVector class, which is a vector containing - only String objects, and other vector classes.

        -
        -
        Parameters:
        -
        returnType - the type of the returned value.
        -
        mname - the method name.
        -
        parameterTypes - a list of the parameter types.
        -
        exceptionTypes - a list of the exception types.
        -
        body - the method body - (must not be a static method).
        -
        constParam - the constant parameter - (maybe null).
        -
        declaring - the class to which the created method is - added.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/CtPrimitiveType.html b/html/javassist/CtPrimitiveType.html deleted file mode 100644 index c8e1dfb1..00000000 --- a/html/javassist/CtPrimitiveType.html +++ /dev/null @@ -1,470 +0,0 @@ - - - - - -CtPrimitiveType (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class CtPrimitiveType

-
-
- -
-
    -
  • -
    -
    public final class CtPrimitiveType
    -extends CtClass
    -
    An instance of CtPrimitiveType represents a primitive type. - It is obtained from CtClass.
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        isPrimitive

        -
        public boolean isPrimitive()
        -
        Returns true if this object represents a primitive - Java type: boolean, byte, char, short, int, long, float, double, - or void.
        -
        -
        Overrides:
        -
        isPrimitive in class CtClass
        -
        -
      • -
      - - - -
        -
      • -

        getModifiers

        -
        public int getModifiers()
        -
        Returns the modifiers for this type. - For decoding, use javassist.Modifier.
        -
        -
        Overrides:
        -
        getModifiers in class CtClass
        -
        See Also:
        -
        Modifier
        -
        -
      • -
      - - - -
        -
      • -

        getDescriptor

        -
        public char getDescriptor()
        -
        Returns the descriptor representing this type. - For example, if the type is int, then the descriptor is I.
        -
      • -
      - - - -
        -
      • -

        getWrapperName

        -
        public java.lang.String getWrapperName()
        -
        Returns the name of the wrapper class. - For example, if the type is int, then the wrapper class is - java.lang.Integer.
        -
      • -
      - - - -
        -
      • -

        getGetMethodName

        -
        public java.lang.String getGetMethodName()
        -
        Returns the name of the method for retrieving the value - from the wrapper object. - For example, if the type is int, then the method name is - intValue.
        -
      • -
      - - - -
        -
      • -

        getGetMethodDescriptor

        -
        public java.lang.String getGetMethodDescriptor()
        -
        Returns the descriptor of the method for retrieving the value - from the wrapper object. - For example, if the type is int, then the method descriptor is - ()I.
        -
      • -
      - - - -
        -
      • -

        getReturnOp

        -
        public int getReturnOp()
        -
        Returns the opcode for returning a value of the type. - For example, if the type is int, then the returned opcode is - javassit.bytecode.Opcode.IRETURN.
        -
      • -
      - - - -
        -
      • -

        getArrayType

        -
        public int getArrayType()
        -
        Returns the array-type code representing the type. - It is used for the newarray instruction. - For example, if the type is int, then this method returns - javassit.bytecode.Opcode.T_INT.
        -
      • -
      - - - -
        -
      • -

        getDataSize

        -
        public int getDataSize()
        -
        Returns the data size of the primitive type. - If the type is long or double, this method returns 2. - Otherwise, it returns 1.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/Loader.Simple.html b/html/javassist/Loader.Simple.html deleted file mode 100644 index 948b905a..00000000 --- a/html/javassist/Loader.Simple.html +++ /dev/null @@ -1,373 +0,0 @@ - - - - - -Loader.Simple (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class Loader.Simple

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.lang.ClassLoader
    • -
    • -
        -
      • javassist.Loader.Simple
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    Loader
    -
    -
    -
    public static class Loader.Simple
    -extends java.lang.ClassLoader
    -
    A simpler class loader. - This is a class loader that exposes the protected defineClass() method - declared in java.lang.ClassLoader. It provides a method similar to - CtClass#toClass(). - -

    When loading a class, this class loader delegates the work to the - parent class loader unless the loaded classes are explicitly given - by invokeDefineClass(CtClass). - Note that a class Foo loaded by this class loader is - different from the class with the same name Foo but loaded by - another class loader. This is Java's naming rule. -

    -
    -
    Since:
    -
    3.24
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Simple() -
      Constructs a class loader.
      -
      Simple​(java.lang.ClassLoader parent) -
      Constructs a class loader.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.Class<?>invokeDefineClass​(CtClass cc) -
      Invokes the protected defineClass() in ClassLoader.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.ClassLoader

        -clearAssertionStatus, getDefinedPackage, getDefinedPackages, getName, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Simple

        -
        public Simple()
        -
        Constructs a class loader.
        -
      • -
      - - - -
        -
      • -

        Simple

        -
        public Simple​(java.lang.ClassLoader parent)
        -
        Constructs a class loader.
        -
        -
        Parameters:
        -
        parent - the parent class loader.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        invokeDefineClass

        -
        public java.lang.Class<?> invokeDefineClass​(CtClass cc)
        -                                     throws java.io.IOException,
        -                                            CannotCompileException
        -
        Invokes the protected defineClass() in ClassLoader. - It converts the given CtClass object into a java.lang.Class object.
        -
        -
        Throws:
        -
        java.io.IOException
        -
        CannotCompileException
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/Loader.html b/html/javassist/Loader.html deleted file mode 100644 index 138c4f5c..00000000 --- a/html/javassist/Loader.html +++ /dev/null @@ -1,726 +0,0 @@ - - - - - -Loader (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class Loader

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.lang.ClassLoader
    • -
    • -
        -
      • javassist.Loader
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    Direct Known Subclasses:
    -
    Loader
    -
    -
    -
    public class Loader
    -extends java.lang.ClassLoader
    -
    The class loader for Javassist. - -

    This is a sample class loader using ClassPool. - Unlike a regular class loader, this class loader obtains bytecode - from a ClassPool. - -

    Note that Javassist can be used without this class loader; programmers - can define their own versions of class loader. They can run - a program even without any user-defined class loader if that program - is statically translated with Javassist. - This class loader is just provided as a utility class. - -

    Suppose that an instance of MyTranslator implementing - the interface Translator is responsible for modifying - class files. - The startup program of an application using MyTranslator - should be something like this: - -

    - import javassist.*;
    -
    - public class Main {
    -   public static void main(String[] args) throws Throwable {
    -     MyTranslator myTrans = new MyTranslator();
    -     ClassPool cp = ClassPool.getDefault();
    -     Loader cl = new Loader(cp);
    -     cl.addTranslator(cp, myTrans);
    -     cl.run("MyApp", args);
    -   }
    - }
    - 
    - -

    Class MyApp is the main program of the application. - -

    This program should be executed as follows: - -

    - % java Main arg1 arg2...
    - 
    - -

    It modifies the class MyApp with a MyTranslator - object before the JVM loads it. - Then it calls main() in MyApp with arguments - arg1, arg2, ... - -

    This program execution is equivalent to: - -

    - % java MyApp arg1 arg2...
    - 
    - -

    except that classes are translated by MyTranslator - at load time. - -

    If only a particular class must be modified when it is loaded, - the startup program can be simpler; MyTranslator is - unnecessary. For example, if only a class test.Rectangle - is modified, the main() method above will be the following: - -

    - ClassPool cp = ClassPool.getDefault();
    - Loader cl = new Loader(cp);
    - CtClass ct = cp.get("test.Rectangle");
    - ct.setSuperclass(cp.get("test.Point"));
    - cl.run("MyApp", args);
    - -

    This program changes the super class of the test.Rectangle - class. - -

    Note 1: - -

    This class loader does not allow the users to intercept the loading - of java.* and javax.* classes (and - sun.*, org.xml.*, ...) unless - Loader.doDelegation is false. This is because - the JVM prohibits a user class loader from loading a system class. - Also see Note 2. - If this behavior is not appropriate, a subclass of Loader - must be defined and loadClassByDelegation() must be overridden. - -

    Note 2: - -

    If classes are loaded with different class loaders, they belong to - separate name spaces. If class C is loaded by a class - loader CL, all classes that the class C - refers to are also loaded by CL. However, if CL - delegates the loading of the class C to CL', - then those classes that the class C refers to - are loaded by a parent class loader CL' - instead of CL. - -

    If an object of class C is assigned - to a variable of class C belonging to a different name - space, then a ClassCastException is thrown. - -

    Because of the fact above, this loader delegates only the loading of - javassist.Loader - and classes included in package java.* and - javax.* to the parent class - loader. Other classes are directly loaded by this loader. - -

    For example, suppose that java.lang.String would be loaded - by this loader while java.io.File is loaded by the parent - class loader. If the constructor of java.io.File is called - with an instance of java.lang.String, then it may throw - an exception since it accepts an instance of only the - java.lang.String loaded by the parent class loader.

    -
    -
    See Also:
    -
    ClassPool, -Translator
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClassDescription
      static class Loader.Simple -
      A simpler class loader.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      booleandoDelegation -
      Specifies the algorithm of class loading.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Loader() -
      Creates a new class loader.
      -
      Loader​(java.lang.ClassLoader parent, - ClassPool cp) -
      Creates a new class loader - using the specified parent class loader for delegation.
      -
      Loader​(ClassPool cp) -
      Creates a new class loader.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidaddTranslator​(ClassPool cp, - Translator t) -
      Adds a translator, which is called whenever a class is loaded.
      -
      voiddelegateLoadingOf​(java.lang.String classname) -
      Records a class so that the loading of that class is delegated - to the parent class loader.
      -
      static voidmain​(java.lang.String[] args) -
      Loads a class with an instance of Loader - and calls main() of that class.
      -
      voidrun​(java.lang.String[] args) -
      Loads a class and calls main() in that class.
      -
      voidrun​(java.lang.String classname, - java.lang.String[] args) -
      Loads a class and calls main() in that class.
      -
      voidsetClassPool​(ClassPool cp) -
      Sets the soruce ClassPool.
      -
      voidsetDomain​(java.security.ProtectionDomain d) -
      Sets the protection domain for the classes handled by this class - loader.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.ClassLoader

        -clearAssertionStatus, getDefinedPackage, getDefinedPackages, getName, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        doDelegation

        -
        public boolean doDelegation
        -
        Specifies the algorithm of class loading. - -

        This class loader uses the parent class loader for - java.* and javax.* classes. - If this variable doDelegation - is false, this class loader does not delegate those - classes to the parent class loader. - -

        The default value is true.

        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Loader

        -
        public Loader()
        -
        Creates a new class loader.
        -
      • -
      - - - -
        -
      • -

        Loader

        -
        public Loader​(ClassPool cp)
        -
        Creates a new class loader.
        -
        -
        Parameters:
        -
        cp - the source of class files.
        -
        -
      • -
      - - - -
        -
      • -

        Loader

        -
        public Loader​(java.lang.ClassLoader parent,
        -              ClassPool cp)
        -
        Creates a new class loader - using the specified parent class loader for delegation.
        -
        -
        Parameters:
        -
        parent - the parent class loader.
        -
        cp - the source of class files.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        delegateLoadingOf

        -
        public void delegateLoadingOf​(java.lang.String classname)
        -
        Records a class so that the loading of that class is delegated - to the parent class loader. - -

        If the given class name ends with . (dot), then - that name is interpreted as a package name. All the classes - in that package and the sub packages are delegated.

        -
      • -
      - - - -
        -
      • -

        setDomain

        -
        public void setDomain​(java.security.ProtectionDomain d)
        -
        Sets the protection domain for the classes handled by this class - loader. Without registering an appropriate protection domain, - the program loaded by this loader will not work with a security - manager or a signed jar file.
        -
      • -
      - - - -
        -
      • -

        setClassPool

        -
        public void setClassPool​(ClassPool cp)
        -
        Sets the soruce ClassPool.
        -
      • -
      - - - - - - - -
        -
      • -

        main

        -
        public static void main​(java.lang.String[] args)
        -                 throws java.lang.Throwable
        -
        Loads a class with an instance of Loader - and calls main() of that class. - -

        This method calls run().

        -
        -
        Parameters:
        -
        args - command line parameters. -
          args[0] is the class name to be loaded. -
          args[1..n] are parameters passed - to the target main().
        -
        Throws:
        -
        java.lang.Throwable
        -
        See Also:
        -
        run(String[])
        -
        -
      • -
      - - - -
        -
      • -

        run

        -
        public void run​(java.lang.String[] args)
        -         throws java.lang.Throwable
        -
        Loads a class and calls main() in that class.
        -
        -
        Parameters:
        -
        args - command line parameters. - -
          args[0] is the class name to be loaded. -
          args[1..n] are parameters passed - to the target main().
        -
        Throws:
        -
        java.lang.Throwable
        -
        -
      • -
      - - - -
        -
      • -

        run

        -
        public void run​(java.lang.String classname,
        -                java.lang.String[] args)
        -         throws java.lang.Throwable
        -
        Loads a class and calls main() in that class.
        -
        -
        Parameters:
        -
        classname - the loaded class.
        -
        args - parameters passed to main().
        -
        Throws:
        -
        java.lang.Throwable
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- - - - diff --git a/html/javassist/LoaderClassPath.html b/html/javassist/LoaderClassPath.html deleted file mode 100644 index 5e81a97f..00000000 --- a/html/javassist/LoaderClassPath.html +++ /dev/null @@ -1,400 +0,0 @@ - - - - - -LoaderClassPath (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class LoaderClassPath

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.LoaderClassPath
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    ClassPath
    -
    -
    -
    public class LoaderClassPath
    -extends java.lang.Object
    -implements ClassPath
    -
    A class search-path representing a class loader. - -

    It is used for obtaining a class file from the given - class loader by getResourceAsStream(). - The LoaderClassPath refers to the class loader through - WeakReference. If the class loader is garbage collected, - the other search pathes are examined. - -

    The given class loader must have both getResourceAsStream() - and getResource(). - -

    Class files in a named module are private to that module. - This method cannot obtain class files in named modules. -

    -
    -
    Author:
    -
    Bill Burke, Shigeru Chiba
    -
    See Also:
    -
    ClassPool.insertClassPath(ClassPath), -ClassPool.appendClassPath(ClassPath), -ClassClassPath
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      LoaderClassPath​(java.lang.ClassLoader cl) -
      Creates a search path representing a class loader.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.net.URLfind​(java.lang.String classname) -
      Obtains the URL of the specified class file.
      -
      java.io.InputStreamopenClassfile​(java.lang.String classname) -
      Obtains a class file from the class loader.
      -
      java.lang.StringtoString() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        LoaderClassPath

        -
        public LoaderClassPath​(java.lang.ClassLoader cl)
        -
        Creates a search path representing a class loader.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        openClassfile

        -
        public java.io.InputStream openClassfile​(java.lang.String classname)
        -                                  throws NotFoundException
        -
        Obtains a class file from the class loader. - This method calls getResourceAsStream(String) - on the class loader.
        -
        -
        Specified by:
        -
        openClassfile in interface ClassPath
        -
        Parameters:
        -
        classname - a fully-qualified class name
        -
        Returns:
        -
        the input stream for reading a class file
        -
        Throws:
        -
        NotFoundException
        -
        See Also:
        -
        Translator
        -
        -
      • -
      - - - -
        -
      • -

        find

        -
        public java.net.URL find​(java.lang.String classname)
        -
        Obtains the URL of the specified class file. - This method calls getResource(String) - on the class loader.
        -
        -
        Specified by:
        -
        find in interface ClassPath
        -
        Parameters:
        -
        classname - a fully-qualified class name.
        -
        Returns:
        -
        null if the class file could not be found.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/Modifier.html b/html/javassist/Modifier.html deleted file mode 100644 index 1ed1878f..00000000 --- a/html/javassist/Modifier.html +++ /dev/null @@ -1,1026 +0,0 @@ - - - - - -Modifier (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class Modifier

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.Modifier
    • -
    -
  • -
-
-
    -
  • -
    -
    public class Modifier
    -extends java.lang.Object
    -
    The Modifier class provides static methods and constants to decode - class and member access modifiers. The constant values are equivalent - to the corresponding values in javassist.bytecode.AccessFlag. - -

    All the methods/constants in this class are compatible with - ones in java.lang.reflect.Modifier.

    -
    -
    See Also:
    -
    CtClass.getModifiers()
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Modifier() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static intclear​(int mod, - int clearBit) -
      Clears a specified bit in mod.
      -
      static booleanisAbstract​(int mod) -
      Returns true if the modifiers include the abstract - modifier.
      -
      static booleanisAnnotation​(int mod) -
      Returns true if the modifiers include the annotation - modifier.
      -
      static booleanisEnum​(int mod) -
      Returns true if the modifiers include the enum - modifier.
      -
      static booleanisFinal​(int mod) -
      Returns true if the modifiers include the final - modifier.
      -
      static booleanisInterface​(int mod) -
      Returns true if the modifiers include the interface - modifier.
      -
      static booleanisNative​(int mod) -
      Returns true if the modifiers include the native - modifier.
      -
      static booleanisPackage​(int mod) -
      Returns true if the modifiers do not include either - public, protected, or private.
      -
      static booleanisPrivate​(int mod) -
      Returns true if the modifiers include the private - modifier.
      -
      static booleanisProtected​(int mod) -
      Returns true if the modifiers include the protected - modifier.
      -
      static booleanisPublic​(int mod) -
      Returns true if the modifiers include the public - modifier.
      -
      static booleanisStatic​(int mod) -
      Returns true if the modifiers include the static - modifier.
      -
      static booleanisStrict​(int mod) -
      Returns true if the modifiers include the strictfp - modifier.
      -
      static booleanisSynchronized​(int mod) -
      Returns true if the modifiers include the synchronized - modifier.
      -
      static booleanisTransient​(int mod) -
      Returns true if the modifiers include the transient - modifier.
      -
      static booleanisVarArgs​(int mod) -
      Returns true if the modifiers include the varargs - (variable number of arguments) modifier.
      -
      static booleanisVolatile​(int mod) -
      Returns true if the modifiers include the volatile - modifier.
      -
      static intsetPackage​(int mod) -
      Clears the public, protected, and private bits.
      -
      static intsetPrivate​(int mod) -
      Truns the private bit on.
      -
      static intsetProtected​(int mod) -
      Truns the protected bit on.
      -
      static intsetPublic​(int mod) -
      Truns the public bit on.
      -
      static java.lang.StringtoString​(int mod) -
      Return a string describing the access modifier flags in - the specified modifier.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Modifier

        -
        public Modifier()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        isPublic

        -
        public static boolean isPublic​(int mod)
        -
        Returns true if the modifiers include the public - modifier.
        -
      • -
      - - - -
        -
      • -

        isPrivate

        -
        public static boolean isPrivate​(int mod)
        -
        Returns true if the modifiers include the private - modifier.
        -
      • -
      - - - -
        -
      • -

        isProtected

        -
        public static boolean isProtected​(int mod)
        -
        Returns true if the modifiers include the protected - modifier.
        -
      • -
      - - - -
        -
      • -

        isPackage

        -
        public static boolean isPackage​(int mod)
        -
        Returns true if the modifiers do not include either - public, protected, or private.
        -
      • -
      - - - -
        -
      • -

        isStatic

        -
        public static boolean isStatic​(int mod)
        -
        Returns true if the modifiers include the static - modifier.
        -
      • -
      - - - -
        -
      • -

        isFinal

        -
        public static boolean isFinal​(int mod)
        -
        Returns true if the modifiers include the final - modifier.
        -
      • -
      - - - -
        -
      • -

        isSynchronized

        -
        public static boolean isSynchronized​(int mod)
        -
        Returns true if the modifiers include the synchronized - modifier.
        -
      • -
      - - - -
        -
      • -

        isVolatile

        -
        public static boolean isVolatile​(int mod)
        -
        Returns true if the modifiers include the volatile - modifier.
        -
      • -
      - - - -
        -
      • -

        isTransient

        -
        public static boolean isTransient​(int mod)
        -
        Returns true if the modifiers include the transient - modifier.
        -
      • -
      - - - -
        -
      • -

        isNative

        -
        public static boolean isNative​(int mod)
        -
        Returns true if the modifiers include the native - modifier.
        -
      • -
      - - - -
        -
      • -

        isInterface

        -
        public static boolean isInterface​(int mod)
        -
        Returns true if the modifiers include the interface - modifier.
        -
      • -
      - - - -
        -
      • -

        isAnnotation

        -
        public static boolean isAnnotation​(int mod)
        -
        Returns true if the modifiers include the annotation - modifier.
        -
        -
        Since:
        -
        3.2
        -
        -
      • -
      - - - -
        -
      • -

        isEnum

        -
        public static boolean isEnum​(int mod)
        -
        Returns true if the modifiers include the enum - modifier.
        -
        -
        Since:
        -
        3.2
        -
        -
      • -
      - - - -
        -
      • -

        isAbstract

        -
        public static boolean isAbstract​(int mod)
        -
        Returns true if the modifiers include the abstract - modifier.
        -
      • -
      - - - -
        -
      • -

        isStrict

        -
        public static boolean isStrict​(int mod)
        -
        Returns true if the modifiers include the strictfp - modifier.
        -
      • -
      - - - -
        -
      • -

        isVarArgs

        -
        public static boolean isVarArgs​(int mod)
        -
        Returns true if the modifiers include the varargs - (variable number of arguments) modifier.
        -
      • -
      - - - -
        -
      • -

        setPublic

        -
        public static int setPublic​(int mod)
        -
        Truns the public bit on. The protected and private bits are - cleared.
        -
      • -
      - - - -
        -
      • -

        setProtected

        -
        public static int setProtected​(int mod)
        -
        Truns the protected bit on. The protected and public bits are - cleared.
        -
      • -
      - - - -
        -
      • -

        setPrivate

        -
        public static int setPrivate​(int mod)
        -
        Truns the private bit on. The protected and private bits are - cleared.
        -
      • -
      - - - -
        -
      • -

        setPackage

        -
        public static int setPackage​(int mod)
        -
        Clears the public, protected, and private bits.
        -
      • -
      - - - -
        -
      • -

        clear

        -
        public static int clear​(int mod,
        -                        int clearBit)
        -
        Clears a specified bit in mod.
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public static java.lang.String toString​(int mod)
        -
        Return a string describing the access modifier flags in - the specified modifier.
        -
        -
        Parameters:
        -
        mod - modifier flags.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/NotFoundException.html b/html/javassist/NotFoundException.html deleted file mode 100644 index 5e730654..00000000 --- a/html/javassist/NotFoundException.html +++ /dev/null @@ -1,310 +0,0 @@ - - - - - -NotFoundException (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class NotFoundException

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.lang.Throwable
    • -
    • -
        -
      • java.lang.Exception
      • -
      • -
          -
        • javassist.NotFoundException
        • -
        -
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    public class NotFoundException
    -extends java.lang.Exception
    -
    Signals that something could not be found.
    -
    -
    See Also:
    -
    Serialized Form
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      NotFoundException​(java.lang.String msg) 
      NotFoundException​(java.lang.String msg, - java.lang.Exception e) 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        NotFoundException

        -
        public NotFoundException​(java.lang.String msg)
        -
      • -
      - - - -
        -
      • -

        NotFoundException

        -
        public NotFoundException​(java.lang.String msg,
        -                         java.lang.Exception e)
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/SerialVersionUID.html b/html/javassist/SerialVersionUID.html deleted file mode 100644 index 8300af49..00000000 --- a/html/javassist/SerialVersionUID.html +++ /dev/null @@ -1,348 +0,0 @@ - - - - - -SerialVersionUID (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class SerialVersionUID

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.SerialVersionUID
    • -
    -
  • -
-
-
    -
  • -
    -
    public class SerialVersionUID
    -extends java.lang.Object
    -
    Utility for calculating serialVersionUIDs for Serializable classes.
    -
    -
    Author:
    -
    Bob Lee (crazybob@crazybob.org), modified by Shigeru Chiba
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      SerialVersionUID() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static longcalculateDefault​(CtClass clazz) -
      Calculate default value.
      -
      static voidsetSerialVersionUID​(CtClass clazz) -
      Adds serialVersionUID if one does not already exist.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
- -
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/Translator.html b/html/javassist/Translator.html deleted file mode 100644 index 02614328..00000000 --- a/html/javassist/Translator.html +++ /dev/null @@ -1,331 +0,0 @@ - - - - - -Translator (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Interface Translator

-
-
-
-
    -
  • -
    -
    All Known Implementing Classes:
    -
    Reflection, StubGenerator
    -
    -
    -
    public interface Translator
    -
    An observer of Loader. - The users can define a class implementing this - interface and attach an instance of that class to a - Loader object so that it can translate a class file - when the class file is loaded into the JVM.
    -
    -
    See Also:
    -
    Loader.addTranslator(ClassPool, Translator)
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      voidonLoad​(ClassPool pool, - java.lang.String classname) -
      Is invoked by a Loader for notifying that - a class is loaded.
      -
      voidstart​(ClassPool pool) -
      Is invoked by a Loader for initialization - when the object is attached to the Loader object.
      -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        start

        -
        void start​(ClassPool pool)
        -    throws NotFoundException,
        -           CannotCompileException
        -
        Is invoked by a Loader for initialization - when the object is attached to the Loader object. - This method can be used for getting (for caching) some - CtClass objects that will be accessed - in onLoad() in Translator.
        -
        -
        Parameters:
        -
        pool - the ClassPool that this translator - should use.
        -
        Throws:
        -
        NotFoundException - if a CtClass cannot be found.
        -
        CannotCompileException - if the initialization by this method - fails.
        -
        See Also:
        -
        Loader
        -
        -
      • -
      - - - -
        -
      • -

        onLoad

        -
        void onLoad​(ClassPool pool,
        -            java.lang.String classname)
        -     throws NotFoundException,
        -            CannotCompileException
        -
        Is invoked by a Loader for notifying that - a class is loaded. The Loader calls - -
        - pool.get(classname).toBytecode()
        - - to read the class file after onLoad() returns. - -

        classname may be the name of a class - that has not been created yet. - If so, onLoad() must create that class so that - the Loader can read it after onLoad() - returns.

        -
        -
        Parameters:
        -
        pool - the ClassPool that this translator - should use.
        -
        classname - the name of the class being loaded.
        -
        Throws:
        -
        NotFoundException - if a CtClass cannot be found.
        -
        CannotCompileException - if the code transformation - by this method fails.
        -
        See Also:
        -
        Loader
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/URLClassPath.html b/html/javassist/URLClassPath.html deleted file mode 100644 index 61bf67f1..00000000 --- a/html/javassist/URLClassPath.html +++ /dev/null @@ -1,443 +0,0 @@ - - - - - -URLClassPath (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
-
Package javassist
-

Class URLClassPath

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.URLClassPath
    • -
    -
  • -
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      URLClassPath​(java.lang.String host, - int port, - java.lang.String directory, - java.lang.String packageName) -
      Creates a search path specified with URL (http).
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static byte[]fetchClass​(java.lang.String host, - int port, - java.lang.String directory, - java.lang.String classname) -
      Reads a class file on an http server.
      -
      java.net.URLfind​(java.lang.String classname) -
      Returns the URL.
      -
      java.io.InputStreamopenClassfile​(java.lang.String classname) -
      Opens a class file with http.
      -
      java.lang.StringtoString() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        URLClassPath

        -
        public URLClassPath​(java.lang.String host,
        -                    int port,
        -                    java.lang.String directory,
        -                    java.lang.String packageName)
        -
        Creates a search path specified with URL (http). - -

        This search path is used only if a requested - class name starts with the name specified by packageName. - If packageName is "org.javassist." and a requested class is - "org.javassist.test.Main", then the given URL is used for loading that class. - The URLClassPath obtains a class file from: - -

        http://www.javassist.org:80/java/classes/org/javassist/test/Main.class
        - 
        - -

        Here, we assume that host is "www.javassist.org", - port is 80, and directory is "/java/classes/". - -

        If packageName is null, the URL is used - for loading any class.

        -
        -
        Parameters:
        -
        host - host name
        -
        port - port number
        -
        directory - directory name ending with "/". - It can be "/" (root directory). - It must start with "/".
        -
        packageName - package name. It must end with "." (dot).
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        openClassfile

        -
        public java.io.InputStream openClassfile​(java.lang.String classname)
        -
        Opens a class file with http.
        -
        -
        Specified by:
        -
        openClassfile in interface ClassPath
        -
        Parameters:
        -
        classname - a fully-qualified class name
        -
        Returns:
        -
        null if the class file could not be found.
        -
        See Also:
        -
        Translator
        -
        -
      • -
      - - - -
        -
      • -

        find

        -
        public java.net.URL find​(java.lang.String classname)
        -
        Returns the URL.
        -
        -
        Specified by:
        -
        find in interface ClassPath
        -
        Parameters:
        -
        classname - a fully-qualified class name.
        -
        Returns:
        -
        null if the class file could not be obtained.
        -
        -
      • -
      - - - -
        -
      • -

        fetchClass

        -
        public static byte[] fetchClass​(java.lang.String host,
        -                                int port,
        -                                java.lang.String directory,
        -                                java.lang.String classname)
        -                         throws java.io.IOException
        -
        Reads a class file on an http server.
        -
        -
        Parameters:
        -
        host - host name
        -
        port - port number
        -
        directory - directory name ending with "/". - It can be "/" (root directory). - It must start with "/".
        -
        classname - fully-qualified class name
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/AccessFlag.html b/html/javassist/bytecode/AccessFlag.html deleted file mode 100644 index 8704056e..00000000 --- a/html/javassist/bytecode/AccessFlag.html +++ /dev/null @@ -1,889 +0,0 @@ - - - - - -AccessFlag (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class AccessFlag

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.AccessFlag
    • -
    -
  • -
-
-
    -
  • -
    -
    public class AccessFlag
    -extends java.lang.Object
    -
    A support class providing static methods and constants - for access modifiers such as public, private, ...
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      AccessFlag() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static intclear​(int accflags, - int clearBit) -
      Clears a specified bit in accflags.
      -
      static booleanisPackage​(int accflags) -
      Returns true if the access flags include neither public, protected, - or private.
      -
      static booleanisPrivate​(int accflags) -
      Returns true if the access flags include the private bit.
      -
      static booleanisProtected​(int accflags) -
      Returns true if the access flags include the protected bit.
      -
      static booleanisPublic​(int accflags) -
      Returns true if the access flags include the public bit.
      -
      static intof​(int modifier) -
      Converts a javassist.Modifier into - a javassist.bytecode.AccessFlag.
      -
      static intsetPackage​(int accflags) -
      Clears the public, protected, and private bits.
      -
      static intsetPrivate​(int accflags) -
      Truns the private bit on.
      -
      static intsetProtected​(int accflags) -
      Turns the protected bit on.
      -
      static intsetPublic​(int accflags) -
      Turns the public bit on.
      -
      static inttoModifier​(int accflags) -
      Converts a javassist.bytecode.AccessFlag - into a javassist.Modifier.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        AccessFlag

        -
        public AccessFlag()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setPublic

        -
        public static int setPublic​(int accflags)
        -
        Turns the public bit on. The protected and private bits are - cleared.
        -
      • -
      - - - -
        -
      • -

        setProtected

        -
        public static int setProtected​(int accflags)
        -
        Turns the protected bit on. The protected and public bits are - cleared.
        -
      • -
      - - - -
        -
      • -

        setPrivate

        -
        public static int setPrivate​(int accflags)
        -
        Truns the private bit on. The protected and private bits are - cleared.
        -
      • -
      - - - -
        -
      • -

        setPackage

        -
        public static int setPackage​(int accflags)
        -
        Clears the public, protected, and private bits.
        -
      • -
      - - - -
        -
      • -

        isPublic

        -
        public static boolean isPublic​(int accflags)
        -
        Returns true if the access flags include the public bit.
        -
      • -
      - - - -
        -
      • -

        isProtected

        -
        public static boolean isProtected​(int accflags)
        -
        Returns true if the access flags include the protected bit.
        -
      • -
      - - - -
        -
      • -

        isPrivate

        -
        public static boolean isPrivate​(int accflags)
        -
        Returns true if the access flags include the private bit.
        -
      • -
      - - - -
        -
      • -

        isPackage

        -
        public static boolean isPackage​(int accflags)
        -
        Returns true if the access flags include neither public, protected, - or private.
        -
      • -
      - - - -
        -
      • -

        clear

        -
        public static int clear​(int accflags,
        -                        int clearBit)
        -
        Clears a specified bit in accflags.
        -
      • -
      - - - -
        -
      • -

        of

        -
        public static int of​(int modifier)
        -
        Converts a javassist.Modifier into - a javassist.bytecode.AccessFlag.
        -
        -
        Parameters:
        -
        modifier - javassist.Modifier
        -
        -
      • -
      - - - -
        -
      • -

        toModifier

        -
        public static int toModifier​(int accflags)
        -
        Converts a javassist.bytecode.AccessFlag - into a javassist.Modifier.
        -
        -
        Parameters:
        -
        accflags - javassist.bytecode.Accessflag
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/AnnotationDefaultAttribute.html b/html/javassist/bytecode/AnnotationDefaultAttribute.html deleted file mode 100644 index 3e968a4f..00000000 --- a/html/javassist/bytecode/AnnotationDefaultAttribute.html +++ /dev/null @@ -1,514 +0,0 @@ - - - - - -AnnotationDefaultAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class AnnotationDefaultAttribute

-
-
- -
-
    -
  • -
    -
    public class AnnotationDefaultAttribute
    -extends AttributeInfo
    -
    A class representing AnnotationDefault_attribute. - -

    For example, if you declare the following annotation type: - -

    - @interface Author {
    -   String name() default "Shakespeare";
    -   int age() default 99;
    - }
    - 
    - -

    The defautl values of name and age - are stored as annotation default attributes in Author.class. - The following code snippet obtains the default value of name: - -

    - ClassPool pool = ...
    - CtClass cc = pool.get("Author");
    - CtMethod cm = cc.getDeclaredMethod("age");
    - MethodInfo minfo = cm.getMethodInfo();
    - AnnotationDefaultAttribute ada
    -         = (AnnotationDefaultAttribute)
    -           minfo.getAttribute(AnnotationDefaultAttribute.tag);
    - MemberValue value = ada.getDefaultValue());    // default value of age
    - 
    - -

    If the following statement is executed after the code above, - the default value of age is set to 80: - -

    - ada.setDefaultValue(new IntegerMemberValue(minfo.getConstPool(), 80));
    - 
    -
    -
    See Also:
    -
    AnnotationsAttribute, -MemberValue
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.Stringtag -
      The name of the AnnotationDefault attribute.
      -
      -
    • -
    -
    - -
    - -
    - -
    - -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        tag

        -
        public static final java.lang.String tag
        -
        The name of the AnnotationDefault attribute.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        AnnotationDefaultAttribute

        -
        public AnnotationDefaultAttribute​(ConstPool cp,
        -                                  byte[] info)
        -
        Constructs an AnnotationDefault_attribute.
        -
        -
        Parameters:
        -
        cp - constant pool
        -
        info - the contents of this attribute. It does not - include attribute_name_index or - attribute_length.
        -
        -
      • -
      - - - - -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        copy

        -
        public AttributeInfo copy​(ConstPool newCp,
        -                          java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Copies this attribute and returns a new copy.
        -
        -
        Overrides:
        -
        copy in class AttributeInfo
        -
        Parameters:
        -
        newCp - the constant pool table used by the new copy.
        -
        classnames - pairs of replaced and substituted - class names.
        -
        -
      • -
      - - - -
        -
      • -

        getDefaultValue

        -
        public MemberValue getDefaultValue()
        -
        Obtains the default value represented by this attribute.
        -
      • -
      - - - - - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Returns a string representation of this object.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/AnnotationsAttribute.html b/html/javassist/bytecode/AnnotationsAttribute.html deleted file mode 100644 index 8590ccf2..00000000 --- a/html/javassist/bytecode/AnnotationsAttribute.html +++ /dev/null @@ -1,714 +0,0 @@ - - - - - -AnnotationsAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class AnnotationsAttribute

-
-
- -
-
    -
  • -
    -
    public class AnnotationsAttribute
    -extends AttributeInfo
    -
    A class representing - RuntimeVisibleAnnotations_attribute and - RuntimeInvisibleAnnotations_attribute. - -

    To obtain an AnnotationAttribute object, invoke - getAttribute(AnnotationsAttribute.visibleTag) - in ClassFile, MethodInfo, - or FieldInfo. The obtained attribute is a - runtime visible annotations attribute. - If the parameter is - AnnotationAttribute.invisibleTag, then the obtained - attribute is a runtime invisible one. - -

    For example, - -

    - import javassist.bytecode.annotation.Annotation;
    -    :
    - CtMethod m = ... ;
    - MethodInfo minfo = m.getMethodInfo();
    - AnnotationsAttribute attr = (AnnotationsAttribute)
    -         minfo.getAttribute(AnnotationsAttribute.invisibleTag);
    - Annotation an = attr.getAnnotation("Author");
    - String s = ((StringMemberValue)an.getMemberValue("name")).getValue();
    - System.out.println("@Author(name=" + s + ")");
    - 
    - -

    This code snippet retrieves an annotation of the type Author - from the MethodInfo object specified by minfo. - Then, it prints the value of name in Author. - -

    If the annotation type Author is annotated by a meta annotation: - -

    - @Retention(RetentionPolicy.RUNTIME)
    - 
    - -

    Then Author is visible at runtime. Therefore, the third - statement of the code snippet above must be changed into: - -

    - AnnotationsAttribute attr = (AnnotationsAttribute)
    -         minfo.getAttribute(AnnotationsAttribute.visibleTag);
    - 
    - -

    The attribute tag must be visibleTag instead of - invisibleTag. - -

    If the member value of an annotation is not specified, the default value - is used as that member value. If so, getMemberValue() in - Annotation returns null - since the default value is not included in the - AnnotationsAttribute. It is included in the - AnnotationDefaultAttribute of the method declared in the - annotation type. - -

    If you want to record a new AnnotationAttribute object, execute the - following snippet: - -

    - ClassFile cf = ... ;
    - ConstPool cp = cf.getConstPool();
    - AnnotationsAttribute attr
    -     = new AnnotationsAttribute(cp, AnnotationsAttribute.visibleTag);
    - Annotation a = new Annotation("Author", cp);
    - a.addMemberValue("name", new StringMemberValue("Chiba", cp));
    - attr.setAnnotation(a);
    - cf.addAttribute(attr);
    - cf.setVersionToJava5();
    - 
    - -

    The last statement is necessary if the class file was produced by - javac of JDK 1.4 or earlier. Otherwise, it is not necessary.

    -
    -
    See Also:
    -
    AnnotationDefaultAttribute, -Annotation
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.StringinvisibleTag -
      The name of the RuntimeInvisibleAnnotations attribute.
      -
      static java.lang.StringvisibleTag -
      The name of the RuntimeVisibleAnnotations attribute.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      AnnotationsAttribute​(ConstPool cp, - java.lang.String attrname) -
      Constructs an empty - Runtime(In)VisibleAnnotations_attribute.
      -
      AnnotationsAttribute​(ConstPool cp, - java.lang.String attrname, - byte[] info) -
      Constructs a Runtime(In)VisibleAnnotations_attribute.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidaddAnnotation​(Annotation annotation) -
      Adds an annotation.
      -
      AttributeInfocopy​(ConstPool newCp, - java.util.Map<java.lang.String,​java.lang.String> classnames) -
      Copies this attribute and returns a new copy.
      -
      AnnotationgetAnnotation​(java.lang.String type) -
      Parses the annotations and returns a data structure representing - the annotation with the specified type.
      -
      Annotation[]getAnnotations() -
      Parses the annotations and returns a data structure representing - that parsed annotations.
      -
      intnumAnnotations() -
      Returns num_annotations.
      -
      booleanremoveAnnotation​(java.lang.String type) -
      Removes an annotation by type.
      -
      voidsetAnnotation​(Annotation annotation) -
      Changes the annotations.
      -
      voidsetAnnotations​(Annotation[] annotations) -
      Changes the annotations represented by this object according to - the given array of Annotation objects.
      -
      java.lang.StringtoString() -
      Returns a string representation of this object.
      -
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        visibleTag

        -
        public static final java.lang.String visibleTag
        -
        The name of the RuntimeVisibleAnnotations attribute.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        invisibleTag

        -
        public static final java.lang.String invisibleTag
        -
        The name of the RuntimeInvisibleAnnotations attribute.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        AnnotationsAttribute

        -
        public AnnotationsAttribute​(ConstPool cp,
        -                            java.lang.String attrname,
        -                            byte[] info)
        -
        Constructs a Runtime(In)VisibleAnnotations_attribute.
        -
        -
        Parameters:
        -
        cp - constant pool
        -
        attrname - attribute name (visibleTag or - invisibleTag).
        -
        info - the contents of this attribute. It does not - include attribute_name_index or - attribute_length.
        -
        -
      • -
      - - - -
        -
      • -

        AnnotationsAttribute

        -
        public AnnotationsAttribute​(ConstPool cp,
        -                            java.lang.String attrname)
        -
        Constructs an empty - Runtime(In)VisibleAnnotations_attribute. - A new annotation can be later added to the created attribute - by setAnnotations().
        -
        -
        Parameters:
        -
        cp - constant pool
        -
        attrname - attribute name (visibleTag or - invisibleTag).
        -
        See Also:
        -
        setAnnotations(Annotation[])
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        numAnnotations

        -
        public int numAnnotations()
        -
        Returns num_annotations.
        -
      • -
      - - - -
        -
      • -

        copy

        -
        public AttributeInfo copy​(ConstPool newCp,
        -                          java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Copies this attribute and returns a new copy.
        -
        -
        Overrides:
        -
        copy in class AttributeInfo
        -
        Parameters:
        -
        newCp - the constant pool table used by the new copy.
        -
        classnames - pairs of replaced and substituted - class names.
        -
        -
      • -
      - - - -
        -
      • -

        getAnnotation

        -
        public Annotation getAnnotation​(java.lang.String type)
        -
        Parses the annotations and returns a data structure representing - the annotation with the specified type. See also - getAnnotations() as to the returned data structure.
        -
        -
        Parameters:
        -
        type - the annotation type.
        -
        Returns:
        -
        null if the specified annotation type is not included.
        -
        See Also:
        -
        getAnnotations()
        -
        -
      • -
      - - - -
        -
      • -

        addAnnotation

        -
        public void addAnnotation​(Annotation annotation)
        -
        Adds an annotation. If there is an annotation with the same type, - it is removed before the new annotation is added.
        -
        -
        Parameters:
        -
        annotation - the added annotation.
        -
        -
      • -
      - - - -
        -
      • -

        removeAnnotation

        -
        public boolean removeAnnotation​(java.lang.String type)
        -
        Removes an annotation by type. - After removing an annotation, if numAnnotations() returns 0, - this annotations attribute has to be removed.
        -
        -
        Parameters:
        -
        type - of annotation to remove
        -
        Returns:
        -
        whether an annotation with the given type has been removed
        -
        Since:
        -
        3.21
        -
        -
      • -
      - - - -
        -
      • -

        getAnnotations

        -
        public Annotation[] getAnnotations()
        -
        Parses the annotations and returns a data structure representing - that parsed annotations. Note that changes of the node values of the - returned tree are not reflected on the annotations represented by - this object unless the tree is copied back to this object by - setAnnotations().
        -
        -
        See Also:
        -
        setAnnotations(Annotation[])
        -
        -
      • -
      - - - -
        -
      • -

        setAnnotations

        -
        public void setAnnotations​(Annotation[] annotations)
        -
        Changes the annotations represented by this object according to - the given array of Annotation objects.
        -
        -
        Parameters:
        -
        annotations - the data structure representing the - new annotations.
        -
        -
      • -
      - - - -
        -
      • -

        setAnnotation

        -
        public void setAnnotation​(Annotation annotation)
        -
        Changes the annotations. A call to this method is equivalent to: -
        setAnnotations(new Annotation[] { annotation })
        -
        -
        Parameters:
        -
        annotation - the data structure representing - the new annotation.
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Returns a string representation of this object.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/AttributeInfo.html b/html/javassist/bytecode/AttributeInfo.html deleted file mode 100644 index b55baa91..00000000 --- a/html/javassist/bytecode/AttributeInfo.html +++ /dev/null @@ -1,442 +0,0 @@ - - - - - -AttributeInfo (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class AttributeInfo

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.AttributeInfo
    • -
    -
  • -
- -
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      AttributeInfo​(ConstPool cp, - java.lang.String attrname, - byte[] attrinfo) -
      Constructs an attribute_info structure.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      AttributeInfocopy​(ConstPool newCp, - java.util.Map<java.lang.String,​java.lang.String> classnames) -
      Makes a copy.
      -
      byte[]get() -
      Returns the info field - of this attribute_info structure.
      -
      ConstPoolgetConstPool() -
      Returns a constant pool table.
      -
      java.lang.StringgetName() -
      Returns an attribute name.
      -
      intlength() -
      Returns the length of this attribute_info - structure.
      -
      voidset​(byte[] newinfo) -
      Sets the info field - of this attribute_info structure.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        AttributeInfo

        -
        public AttributeInfo​(ConstPool cp,
        -                     java.lang.String attrname,
        -                     byte[] attrinfo)
        -
        Constructs an attribute_info structure.
        -
        -
        Parameters:
        -
        cp - constant pool table
        -
        attrname - attribute name
        -
        attrinfo - info field - of attribute_info structure.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getName

        -
        public java.lang.String getName()
        -
        Returns an attribute name.
        -
      • -
      - - - -
        -
      • -

        getConstPool

        -
        public ConstPool getConstPool()
        -
        Returns a constant pool table.
        -
      • -
      - - - -
        -
      • -

        length

        -
        public int length()
        -
        Returns the length of this attribute_info - structure. - The returned value is attribute_length + 6.
        -
      • -
      - - - -
        -
      • -

        get

        -
        public byte[] get()
        -
        Returns the info field - of this attribute_info structure. - -

        This method is not available if the object is an instance - of CodeAttribute.

        -
      • -
      - - - -
        -
      • -

        set

        -
        public void set​(byte[] newinfo)
        -
        Sets the info field - of this attribute_info structure. - -

        This method is not available if the object is an instance - of CodeAttribute.

        -
      • -
      - - - -
        -
      • -

        copy

        -
        public AttributeInfo copy​(ConstPool newCp,
        -                          java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Makes a copy. Class names are replaced according to the - given Map object.
        -
        -
        Parameters:
        -
        newCp - the constant pool table used by the new copy.
        -
        classnames - pairs of replaced and substituted - class names.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/BadBytecode.html b/html/javassist/bytecode/BadBytecode.html deleted file mode 100644 index 08017c41..00000000 --- a/html/javassist/bytecode/BadBytecode.html +++ /dev/null @@ -1,338 +0,0 @@ - - - - - -BadBytecode (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class BadBytecode

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.lang.Throwable
    • -
    • -
        -
      • java.lang.Exception
      • -
      • -
          -
        • javassist.bytecode.BadBytecode
        • -
        -
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    public class BadBytecode
    -extends java.lang.Exception
    -
    Signals that a bad bytecode sequence has been found.
    -
    -
    See Also:
    -
    Serialized Form
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      BadBytecode​(int opcode) 
      BadBytecode​(java.lang.String msg) 
      BadBytecode​(java.lang.String msg, - java.lang.Throwable cause) 
      BadBytecode​(MethodInfo minfo, - java.lang.Throwable cause) 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        BadBytecode

        -
        public BadBytecode​(int opcode)
        -
      • -
      - - - -
        -
      • -

        BadBytecode

        -
        public BadBytecode​(java.lang.String msg)
        -
      • -
      - - - -
        -
      • -

        BadBytecode

        -
        public BadBytecode​(java.lang.String msg,
        -                   java.lang.Throwable cause)
        -
      • -
      - - - -
        -
      • -

        BadBytecode

        -
        public BadBytecode​(MethodInfo minfo,
        -                   java.lang.Throwable cause)
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/BootstrapMethodsAttribute.BootstrapMethod.html b/html/javassist/bytecode/BootstrapMethodsAttribute.BootstrapMethod.html deleted file mode 100644 index 0b454f72..00000000 --- a/html/javassist/bytecode/BootstrapMethodsAttribute.BootstrapMethod.html +++ /dev/null @@ -1,347 +0,0 @@ - - - - - -BootstrapMethodsAttribute.BootstrapMethod (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class BootstrapMethodsAttribute.BootstrapMethod

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.BootstrapMethodsAttribute.BootstrapMethod
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    BootstrapMethodsAttribute
    -
    -
    -
    public static class BootstrapMethodsAttribute.BootstrapMethod
    -extends java.lang.Object
    -
    An element of bootstrap_methods.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      int[]arguments -
      bootstrap_arguments.
      -
      intmethodRef -
      bootstrap_method_ref.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      BootstrapMethod​(int method, - int[] args) -
      Constructs an element of bootstrap_methods.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        methodRef

        -
        public int methodRef
        -
        bootstrap_method_ref. - The value at this index must be a CONSTANT_MethodHandle_info.
        -
      • -
      - - - -
        -
      • -

        arguments

        -
        public int[] arguments
        -
        bootstrap_arguments.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        BootstrapMethod

        -
        public BootstrapMethod​(int method,
        -                       int[] args)
        -
        Constructs an element of bootstrap_methods.
        -
        -
        Parameters:
        -
        method - bootstrap_method_ref.
        -
        args - bootstrap_arguments.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/BootstrapMethodsAttribute.html b/html/javassist/bytecode/BootstrapMethodsAttribute.html deleted file mode 100644 index 574304fb..00000000 --- a/html/javassist/bytecode/BootstrapMethodsAttribute.html +++ /dev/null @@ -1,440 +0,0 @@ - - - - - -BootstrapMethodsAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class BootstrapMethodsAttribute

-
-
- -
-
    -
  • -
    -
    public class BootstrapMethodsAttribute
    -extends AttributeInfo
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        tag

        -
        public static final java.lang.String tag
        -
        The name of this attribute "BootstrapMethods".
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        BootstrapMethodsAttribute

        -
        public BootstrapMethodsAttribute​(ConstPool cp,
        -                                 BootstrapMethodsAttribute.BootstrapMethod[] methods)
        -
        Constructs a BootstrapMethods attribute.
        -
        -
        Parameters:
        -
        cp - a constant pool table.
        -
        methods - the contents.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getMethods

        -
        public BootstrapMethodsAttribute.BootstrapMethod[] getMethods()
        -
        Obtains bootstrap_methods in this attribute.
        -
        -
        Returns:
        -
        an array of BootstrapMethod. Since it - is a fresh copy, modifying the returned array does not - affect the original contents of this attribute.
        -
        -
      • -
      - - - -
        -
      • -

        copy

        -
        public AttributeInfo copy​(ConstPool newCp,
        -                          java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Makes a copy. Class names are replaced according to the - given Map object.
        -
        -
        Overrides:
        -
        copy in class AttributeInfo
        -
        Parameters:
        -
        newCp - the constant pool table used by the new copy.
        -
        classnames - pairs of replaced and substituted - class names.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- - - - diff --git a/html/javassist/bytecode/ByteArray.html b/html/javassist/bytecode/ByteArray.html deleted file mode 100644 index 66ad9650..00000000 --- a/html/javassist/bytecode/ByteArray.html +++ /dev/null @@ -1,393 +0,0 @@ - - - - - -ByteArray (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ByteArray

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.ByteArray
    • -
    -
  • -
-
-
    -
  • -
    -
    public class ByteArray
    -extends java.lang.Object
    -
    A collection of static methods for reading and writing a byte array.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      ByteArray() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static intread32bit​(byte[] code, - int index) -
      Reads a 32bit integer at the index.
      -
      static intreadS16bit​(byte[] code, - int index) -
      Reads a signed 16bit integer at the index.
      -
      static intreadU16bit​(byte[] code, - int index) -
      Reads an unsigned 16bit integer at the index.
      -
      static voidwrite16bit​(int value, - byte[] code, - int index) -
      Writes a 16bit integer at the index.
      -
      static voidwrite32bit​(int value, - byte[] code, - int index) -
      Writes a 32bit integer at the index.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ByteArray

        -
        public ByteArray()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        readU16bit

        -
        public static int readU16bit​(byte[] code,
        -                             int index)
        -
        Reads an unsigned 16bit integer at the index.
        -
      • -
      - - - -
        -
      • -

        readS16bit

        -
        public static int readS16bit​(byte[] code,
        -                             int index)
        -
        Reads a signed 16bit integer at the index.
        -
      • -
      - - - -
        -
      • -

        write16bit

        -
        public static void write16bit​(int value,
        -                              byte[] code,
        -                              int index)
        -
        Writes a 16bit integer at the index.
        -
      • -
      - - - -
        -
      • -

        read32bit

        -
        public static int read32bit​(byte[] code,
        -                            int index)
        -
        Reads a 32bit integer at the index.
        -
      • -
      - - - -
        -
      • -

        write32bit

        -
        public static void write32bit​(int value,
        -                              byte[] code,
        -                              int index)
        -
        Writes a 32bit integer at the index.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/Bytecode.html b/html/javassist/bytecode/Bytecode.html deleted file mode 100644 index e18db8de..00000000 --- a/html/javassist/bytecode/Bytecode.html +++ /dev/null @@ -1,2720 +0,0 @@ - - - - - -Bytecode (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Bytecode

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.Bytecode
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.lang.Cloneable, Opcode
    -
    -
    -
    public class Bytecode
    -extends java.lang.Object
    -implements java.lang.Cloneable, Opcode
    -
    A utility class for producing a bytecode sequence. - -

    A Bytecode object is an unbounded array - containing bytecode. For example, - -

    - ConstPool cp = ...;    // constant pool table
    - Bytecode b = new Bytecode(cp, 1, 0);
    - b.addIconst(3);
    - b.addReturn(CtClass.intType);
    - CodeAttribute ca = b.toCodeAttribute();
    - -

    This program produces a Code attribute including a bytecode - sequence: - -

    - iconst_3
    - ireturn
    -
    -
    See Also:
    -
    ConstPool, -CodeAttribute
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        THIS

        -
        public static final CtClass THIS
        -
        Represents the CtClass file using the - constant pool table given to this Bytecode object.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Bytecode

        -
        public Bytecode​(ConstPool cp,
        -                int stacksize,
        -                int localvars)
        -
        Constructs a Bytecode object with an empty bytecode - sequence. - -

        The parameters stacksize and localvars - specify initial values - of max_stack and max_locals. - They can be changed later.

        -
        -
        Parameters:
        -
        cp - constant pool table.
        -
        stacksize - max_stack.
        -
        localvars - max_locals.
        -
        -
      • -
      - - - -
        -
      • -

        Bytecode

        -
        public Bytecode​(ConstPool cp)
        -
        Constructs a Bytecode object with an empty bytecode - sequence. The initial values of max_stack and - max_locals are zero.
        -
        -
        Parameters:
        -
        cp - constant pool table.
        -
        See Also:
        -
        setMaxStack(int), -setMaxLocals(int)
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        clone

        -
        public java.lang.Object clone()
        -
        Creates and returns a copy of this object. - The constant pool object is shared between this object - and the cloned object.
        -
      • -
      - - - -
        -
      • -

        getConstPool

        -
        public ConstPool getConstPool()
        -
        Gets a constant pool table.
        -
      • -
      - - - -
        -
      • -

        getExceptionTable

        -
        public ExceptionTable getExceptionTable()
        -
        Returns exception_table.
        -
      • -
      - - - -
        -
      • -

        toCodeAttribute

        -
        public CodeAttribute toCodeAttribute()
        -
        Converts to a CodeAttribute.
        -
      • -
      - - - -
        -
      • -

        length

        -
        public int length()
        -
        Returns the length of the bytecode sequence.
        -
      • -
      - - - -
        -
      • -

        get

        -
        public byte[] get()
        -
        Returns the produced bytecode sequence.
        -
      • -
      - - - -
        -
      • -

        getMaxStack

        -
        public int getMaxStack()
        -
        Gets max_stack.
        -
      • -
      - - - -
        -
      • -

        setMaxStack

        -
        public void setMaxStack​(int size)
        -
        Sets max_stack. - -

        This value may be automatically updated when an instruction - is appended. A Bytecode object maintains the current - stack depth whenever an instruction is added - by addOpcode(). For example, if DUP is appended, - the current stack depth is increased by one. If the new stack - depth is more than max_stack, then it is assigned - to max_stack. However, if branch instructions are - appended, the current stack depth may not be correctly maintained.

        -
        -
        See Also:
        -
        addOpcode(int)
        -
        -
      • -
      - - - -
        -
      • -

        getMaxLocals

        -
        public int getMaxLocals()
        -
        Gets max_locals.
        -
      • -
      - - - -
        -
      • -

        setMaxLocals

        -
        public void setMaxLocals​(int size)
        -
        Sets max_locals.
        -
      • -
      - - - -
        -
      • -

        setMaxLocals

        -
        public void setMaxLocals​(boolean isStatic,
        -                         CtClass[] params,
        -                         int locals)
        -
        Sets max_locals. - -

        This computes the number of local variables - used to pass method parameters and sets max_locals - to that number plus locals.

        -
        -
        Parameters:
        -
        isStatic - true if params must be - interpreted as parameters to a static method.
        -
        params - parameter types.
        -
        locals - the number of local variables excluding - ones used to pass parameters.
        -
        -
      • -
      - - - -
        -
      • -

        incMaxLocals

        -
        public void incMaxLocals​(int diff)
        -
        Increments max_locals.
        -
      • -
      - - - -
        -
      • -

        addExceptionHandler

        -
        public void addExceptionHandler​(int start,
        -                                int end,
        -                                int handler,
        -                                CtClass type)
        -
        Adds a new entry of exception_table.
        -
      • -
      - - - -
        -
      • -

        addExceptionHandler

        -
        public void addExceptionHandler​(int start,
        -                                int end,
        -                                int handler,
        -                                java.lang.String type)
        -
        Adds a new entry of exception_table.
        -
        -
        Parameters:
        -
        type - the fully-qualified name of a throwable class.
        -
        -
      • -
      - - - -
        -
      • -

        addExceptionHandler

        -
        public void addExceptionHandler​(int start,
        -                                int end,
        -                                int handler,
        -                                int type)
        -
        Adds a new entry of exception_table.
        -
      • -
      - - - -
        -
      • -

        currentPc

        -
        public int currentPc()
        -
        Returns the length of bytecode sequence - that have been added so far.
        -
      • -
      - - - -
        -
      • -

        read

        -
        public int read​(int offset)
        -
        Reads a signed 8bit value at the offset from the beginning of the - bytecode sequence.
        -
        -
        Throws:
        -
        java.lang.ArrayIndexOutOfBoundsException - if offset is invalid.
        -
        -
      • -
      - - - -
        -
      • -

        read16bit

        -
        public int read16bit​(int offset)
        -
        Reads a signed 16bit value at the offset from the beginning of the - bytecode sequence.
        -
      • -
      - - - -
        -
      • -

        read32bit

        -
        public int read32bit​(int offset)
        -
        Reads a signed 32bit value at the offset from the beginning of the - bytecode sequence.
        -
      • -
      - - - -
        -
      • -

        write

        -
        public void write​(int offset,
        -                  int value)
        -
        Writes an 8bit value at the offset from the beginning of the - bytecode sequence.
        -
        -
        Throws:
        -
        java.lang.ArrayIndexOutOfBoundsException - if offset is invalid.
        -
        -
      • -
      - - - -
        -
      • -

        write16bit

        -
        public void write16bit​(int offset,
        -                       int value)
        -
        Writes an 16bit value at the offset from the beginning of the - bytecode sequence.
        -
      • -
      - - - -
        -
      • -

        write32bit

        -
        public void write32bit​(int offset,
        -                       int value)
        -
        Writes an 32bit value at the offset from the beginning of the - bytecode sequence.
        -
      • -
      - - - -
        -
      • -

        add

        -
        public void add​(int code)
        -
        Appends an 8bit value to the end of the bytecode sequence.
        -
      • -
      - - - -
        -
      • -

        add32bit

        -
        public void add32bit​(int value)
        -
        Appends a 32bit value to the end of the bytecode sequence.
        -
      • -
      - - - -
        -
      • -

        addGap

        -
        public void addGap​(int length)
        -
        Appends the length-byte gap to the end of the bytecode sequence.
        -
        -
        Parameters:
        -
        length - the gap length in byte.
        -
        -
      • -
      - - - -
        -
      • -

        addOpcode

        -
        public void addOpcode​(int code)
        -
        Appends an 8bit opcode to the end of the bytecode sequence. - The current stack depth is updated. - max_stack is updated if the current stack depth - is the deepest so far. - -

        Note: some instructions such as INVOKEVIRTUAL does not - update the current stack depth since the increment depends - on the method signature. - growStack() must be explicitly called.

        -
      • -
      - - - -
        -
      • -

        growStack

        -
        public void growStack​(int diff)
        -
        Increases the current stack depth. - It also updates max_stack if the current stack depth - is the deepest so far.
        -
        -
        Parameters:
        -
        diff - the number added to the current stack depth.
        -
        -
      • -
      - - - -
        -
      • -

        getStackDepth

        -
        public int getStackDepth()
        -
        Returns the current stack depth.
        -
      • -
      - - - -
        -
      • -

        setStackDepth

        -
        public void setStackDepth​(int depth)
        -
        Sets the current stack depth. - It also updates max_stack if the current stack depth - is the deepest so far.
        -
        -
        Parameters:
        -
        depth - new value.
        -
        -
      • -
      - - - -
        -
      • -

        addIndex

        -
        public void addIndex​(int index)
        -
        Appends a 16bit value to the end of the bytecode sequence. - It never changes the current stack depth.
        -
      • -
      - - - -
        -
      • -

        addAload

        -
        public void addAload​(int n)
        -
        Appends ALOAD or (WIDE) ALOAD_<n>
        -
        -
        Parameters:
        -
        n - an index into the local variable array.
        -
        -
      • -
      - - - -
        -
      • -

        addAstore

        -
        public void addAstore​(int n)
        -
        Appends ASTORE or (WIDE) ASTORE_<n>
        -
        -
        Parameters:
        -
        n - an index into the local variable array.
        -
        -
      • -
      - - - -
        -
      • -

        addIconst

        -
        public void addIconst​(int n)
        -
        Appends ICONST or ICONST_<n>
        -
        -
        Parameters:
        -
        n - the pushed integer constant.
        -
        -
      • -
      - - - -
        -
      • -

        addConstZero

        -
        public void addConstZero​(CtClass type)
        -
        Appends an instruction for pushing zero or null on the stack. - If the type is void, this method does not append any instruction.
        -
        -
        Parameters:
        -
        type - the type of the zero value (or null).
        -
        -
      • -
      - - - -
        -
      • -

        addIload

        -
        public void addIload​(int n)
        -
        Appends ILOAD or (WIDE) ILOAD_<n>
        -
        -
        Parameters:
        -
        n - an index into the local variable array.
        -
        -
      • -
      - - - -
        -
      • -

        addIstore

        -
        public void addIstore​(int n)
        -
        Appends ISTORE or (WIDE) ISTORE_<n>
        -
        -
        Parameters:
        -
        n - an index into the local variable array.
        -
        -
      • -
      - - - -
        -
      • -

        addLconst

        -
        public void addLconst​(long n)
        -
        Appends LCONST or LCONST_<n>
        -
        -
        Parameters:
        -
        n - the pushed long integer constant.
        -
        -
      • -
      - - - -
        -
      • -

        addLload

        -
        public void addLload​(int n)
        -
        Appends LLOAD or (WIDE) LLOAD_<n>
        -
        -
        Parameters:
        -
        n - an index into the local variable array.
        -
        -
      • -
      - - - -
        -
      • -

        addLstore

        -
        public void addLstore​(int n)
        -
        Appends LSTORE or LSTORE_<n>
        -
        -
        Parameters:
        -
        n - an index into the local variable array.
        -
        -
      • -
      - - - -
        -
      • -

        addDconst

        -
        public void addDconst​(double d)
        -
        Appends DCONST or DCONST_<n>
        -
        -
        Parameters:
        -
        d - the pushed double constant.
        -
        -
      • -
      - - - -
        -
      • -

        addDload

        -
        public void addDload​(int n)
        -
        Appends DLOAD or (WIDE) DLOAD_<n>
        -
        -
        Parameters:
        -
        n - an index into the local variable array.
        -
        -
      • -
      - - - -
        -
      • -

        addDstore

        -
        public void addDstore​(int n)
        -
        Appends DSTORE or (WIDE) DSTORE_<n>
        -
        -
        Parameters:
        -
        n - an index into the local variable array.
        -
        -
      • -
      - - - -
        -
      • -

        addFconst

        -
        public void addFconst​(float f)
        -
        Appends FCONST or FCONST_<n>
        -
        -
        Parameters:
        -
        f - the pushed float constant.
        -
        -
      • -
      - - - -
        -
      • -

        addFload

        -
        public void addFload​(int n)
        -
        Appends FLOAD or (WIDE) FLOAD_<n>
        -
        -
        Parameters:
        -
        n - an index into the local variable array.
        -
        -
      • -
      - - - -
        -
      • -

        addFstore

        -
        public void addFstore​(int n)
        -
        Appends FSTORE or FSTORE_<n>
        -
        -
        Parameters:
        -
        n - an index into the local variable array.
        -
        -
      • -
      - - - -
        -
      • -

        addLoad

        -
        public int addLoad​(int n,
        -                   CtClass type)
        -
        Appends an instruction for loading a value from the - local variable at the index n.
        -
        -
        Parameters:
        -
        n - the index.
        -
        type - the type of the loaded value.
        -
        Returns:
        -
        the size of the value (1 or 2 word).
        -
        -
      • -
      - - - -
        -
      • -

        addStore

        -
        public int addStore​(int n,
        -                    CtClass type)
        -
        Appends an instruction for storing a value into the - local variable at the index n.
        -
        -
        Parameters:
        -
        n - the index.
        -
        type - the type of the stored value.
        -
        Returns:
        -
        2 if the type is long or double. Otherwise 1.
        -
        -
      • -
      - - - -
        -
      • -

        addLoadParameters

        -
        public int addLoadParameters​(CtClass[] params,
        -                             int offset)
        -
        Appends instructions for loading all the parameters onto the - operand stack.
        -
        -
        Parameters:
        -
        offset - the index of the first parameter. It is 0 - if the method is static. Otherwise, it is 1.
        -
        -
      • -
      - - - -
        -
      • -

        addCheckcast

        -
        public void addCheckcast​(CtClass c)
        -
        Appends CHECKCAST.
        -
        -
        Parameters:
        -
        c - the type.
        -
        -
      • -
      - - - -
        -
      • -

        addCheckcast

        -
        public void addCheckcast​(java.lang.String classname)
        -
        Appends CHECKCAST.
        -
        -
        Parameters:
        -
        classname - a fully-qualified class name.
        -
        -
      • -
      - - - -
        -
      • -

        addInstanceof

        -
        public void addInstanceof​(java.lang.String classname)
        -
        Appends INSTANCEOF.
        -
        -
        Parameters:
        -
        classname - the class name.
        -
        -
      • -
      - - - -
        -
      • -

        addGetfield

        -
        public void addGetfield​(CtClass c,
        -                        java.lang.String name,
        -                        java.lang.String type)
        -
        Appends GETFIELD.
        -
        -
        Parameters:
        -
        c - the class.
        -
        name - the field name.
        -
        type - the descriptor of the field type.
        -
        See Also:
        -
        Descriptor.of(CtClass)
        -
        -
      • -
      - - - -
        -
      • -

        addGetfield

        -
        public void addGetfield​(java.lang.String c,
        -                        java.lang.String name,
        -                        java.lang.String type)
        -
        Appends GETFIELD.
        -
        -
        Parameters:
        -
        c - the fully-qualified class name.
        -
        name - the field name.
        -
        type - the descriptor of the field type.
        -
        See Also:
        -
        Descriptor.of(CtClass)
        -
        -
      • -
      - - - -
        -
      • -

        addGetstatic

        -
        public void addGetstatic​(CtClass c,
        -                         java.lang.String name,
        -                         java.lang.String type)
        -
        Appends GETSTATIC.
        -
        -
        Parameters:
        -
        c - the class
        -
        name - the field name
        -
        type - the descriptor of the field type.
        -
        See Also:
        -
        Descriptor.of(CtClass)
        -
        -
      • -
      - - - -
        -
      • -

        addGetstatic

        -
        public void addGetstatic​(java.lang.String c,
        -                         java.lang.String name,
        -                         java.lang.String type)
        -
        Appends GETSTATIC.
        -
        -
        Parameters:
        -
        c - the fully-qualified class name
        -
        name - the field name
        -
        type - the descriptor of the field type.
        -
        See Also:
        -
        Descriptor.of(CtClass)
        -
        -
      • -
      - - - -
        -
      • -

        addInvokespecial

        -
        public void addInvokespecial​(CtClass clazz,
        -                             java.lang.String name,
        -                             CtClass returnType,
        -                             CtClass[] paramTypes)
        -
        Appends INVOKESPECIAL.
        -
        -
        Parameters:
        -
        clazz - the target class.
        -
        name - the method name.
        -
        returnType - the return type.
        -
        paramTypes - the parameter types.
        -
        -
      • -
      - - - - - - - -
        -
      • -

        addInvokespecial

        -
        public void addInvokespecial​(java.lang.String clazz,
        -                             java.lang.String name,
        -                             java.lang.String desc)
        -
        Appends INVOKESPECIAL. The invoked method must not be a default - method declared in an interface.
        -
        -
        Parameters:
        -
        clazz - the fully-qualified class name.
        -
        name - the method name
        -
        desc - the descriptor of the method signature.
        -
        See Also:
        -
        Descriptor.ofMethod(CtClass,CtClass[]), -Descriptor.ofConstructor(CtClass[])
        -
        -
      • -
      - - - -
        -
      • -

        addInvokespecial

        -
        public void addInvokespecial​(int clazz,
        -                             java.lang.String name,
        -                             java.lang.String desc)
        -
        Appends INVOKESPECIAL. The invoked method must not be a default - method declared in an interface.
        -
        -
        Parameters:
        -
        clazz - the index of CONSTANT_Class_info - structure.
        -
        name - the method name
        -
        desc - the descriptor of the method signature.
        -
        See Also:
        -
        Descriptor.ofMethod(CtClass,CtClass[]), -Descriptor.ofConstructor(CtClass[])
        -
        -
      • -
      - - - -
        -
      • -

        addInvokespecial

        -
        public void addInvokespecial​(boolean isInterface,
        -                             int clazz,
        -                             java.lang.String name,
        -                             java.lang.String desc)
        -
        Appends INVOKESPECIAL.
        -
        -
        Parameters:
        -
        isInterface - true if the invoked method is a default method - declared in an interface.
        -
        clazz - the index of CONSTANT_Class_info - structure.
        -
        name - the method name
        -
        desc - the descriptor of the method signature.
        -
        See Also:
        -
        Descriptor.ofMethod(CtClass,CtClass[]), -Descriptor.ofConstructor(CtClass[])
        -
        -
      • -
      - - - - - - - -
        -
      • -

        addInvokestatic

        -
        public void addInvokestatic​(CtClass clazz,
        -                            java.lang.String name,
        -                            CtClass returnType,
        -                            CtClass[] paramTypes)
        -
        Appends INVOKESTATIC.
        -
        -
        Parameters:
        -
        clazz - the target class.
        -
        name - the method name
        -
        returnType - the return type.
        -
        paramTypes - the parameter types.
        -
        -
      • -
      - - - -
        -
      • -

        addInvokestatic

        -
        public void addInvokestatic​(CtClass clazz,
        -                            java.lang.String name,
        -                            java.lang.String desc)
        -
        Appends INVOKESTATIC.
        -
        -
        Parameters:
        -
        clazz - the target class.
        -
        name - the method name
        -
        desc - the descriptor of the method signature.
        -
        See Also:
        -
        Descriptor.ofMethod(CtClass,CtClass[])
        -
        -
      • -
      - - - -
        -
      • -

        addInvokestatic

        -
        public void addInvokestatic​(java.lang.String classname,
        -                            java.lang.String name,
        -                            java.lang.String desc)
        -
        Appends INVOKESTATIC.
        -
        -
        Parameters:
        -
        classname - the fully-qualified class name. - It must not be an interface-type name.
        -
        name - the method name
        -
        desc - the descriptor of the method signature.
        -
        See Also:
        -
        Descriptor.ofMethod(CtClass,CtClass[])
        -
        -
      • -
      - - - -
        -
      • -

        addInvokestatic

        -
        public void addInvokestatic​(int clazz,
        -                            java.lang.String name,
        -                            java.lang.String desc)
        -
        Appends INVOKESTATIC.
        -
        -
        Parameters:
        -
        clazz - the index of CONSTANT_Class_info - structure. It must not be an interface type.
        -
        name - the method name
        -
        desc - the descriptor of the method signature.
        -
        See Also:
        -
        Descriptor.ofMethod(CtClass,CtClass[])
        -
        -
      • -
      - - - -
        -
      • -

        addInvokevirtual

        -
        public void addInvokevirtual​(CtClass clazz,
        -                             java.lang.String name,
        -                             CtClass returnType,
        -                             CtClass[] paramTypes)
        -
        Appends INVOKEVIRTUAL. - -

        The specified method must not be an inherited method. - It must be directly declared in the class specified - in clazz.

        -
        -
        Parameters:
        -
        clazz - the target class.
        -
        name - the method name
        -
        returnType - the return type.
        -
        paramTypes - the parameter types.
        -
        -
      • -
      - - - -
        -
      • -

        addInvokevirtual

        -
        public void addInvokevirtual​(CtClass clazz,
        -                             java.lang.String name,
        -                             java.lang.String desc)
        -
        Appends INVOKEVIRTUAL. - -

        The specified method must not be an inherited method. - It must be directly declared in the class specified - in clazz.

        -
        -
        Parameters:
        -
        clazz - the target class.
        -
        name - the method name
        -
        desc - the descriptor of the method signature.
        -
        See Also:
        -
        Descriptor.ofMethod(CtClass,CtClass[])
        -
        -
      • -
      - - - -
        -
      • -

        addInvokevirtual

        -
        public void addInvokevirtual​(java.lang.String classname,
        -                             java.lang.String name,
        -                             java.lang.String desc)
        -
        Appends INVOKEVIRTUAL. - -

        The specified method must not be an inherited method. - It must be directly declared in the class specified - in classname.

        -
        -
        Parameters:
        -
        classname - the fully-qualified class name.
        -
        name - the method name
        -
        desc - the descriptor of the method signature.
        -
        See Also:
        -
        Descriptor.ofMethod(CtClass,CtClass[])
        -
        -
      • -
      - - - -
        -
      • -

        addInvokevirtual

        -
        public void addInvokevirtual​(int clazz,
        -                             java.lang.String name,
        -                             java.lang.String desc)
        -
        Appends INVOKEVIRTUAL. - -

        The specified method must not be an inherited method. - It must be directly declared in the class specified - by clazz.

        -
        -
        Parameters:
        -
        clazz - the index of CONSTANT_Class_info - structure.
        -
        name - the method name
        -
        desc - the descriptor of the method signature.
        -
        See Also:
        -
        Descriptor.ofMethod(CtClass,CtClass[])
        -
        -
      • -
      - - - -
        -
      • -

        addInvokeinterface

        -
        public void addInvokeinterface​(CtClass clazz,
        -                               java.lang.String name,
        -                               CtClass returnType,
        -                               CtClass[] paramTypes,
        -                               int count)
        -
        Appends INVOKEINTERFACE.
        -
        -
        Parameters:
        -
        clazz - the target class.
        -
        name - the method name
        -
        returnType - the return type.
        -
        paramTypes - the parameter types.
        -
        count - the count operand of the instruction.
        -
        -
      • -
      - - - -
        -
      • -

        addInvokeinterface

        -
        public void addInvokeinterface​(CtClass clazz,
        -                               java.lang.String name,
        -                               java.lang.String desc,
        -                               int count)
        -
        Appends INVOKEINTERFACE.
        -
        -
        Parameters:
        -
        clazz - the target class.
        -
        name - the method name
        -
        desc - the descriptor of the method signature.
        -
        count - the count operand of the instruction.
        -
        See Also:
        -
        Descriptor.ofMethod(CtClass,CtClass[])
        -
        -
      • -
      - - - -
        -
      • -

        addInvokeinterface

        -
        public void addInvokeinterface​(java.lang.String classname,
        -                               java.lang.String name,
        -                               java.lang.String desc,
        -                               int count)
        -
        Appends INVOKEINTERFACE.
        -
        -
        Parameters:
        -
        classname - the fully-qualified class name.
        -
        name - the method name
        -
        desc - the descriptor of the method signature.
        -
        count - the count operand of the instruction.
        -
        See Also:
        -
        Descriptor.ofMethod(CtClass,CtClass[])
        -
        -
      • -
      - - - -
        -
      • -

        addInvokeinterface

        -
        public void addInvokeinterface​(int clazz,
        -                               java.lang.String name,
        -                               java.lang.String desc,
        -                               int count)
        -
        Appends INVOKEINTERFACE.
        -
        -
        Parameters:
        -
        clazz - the index of CONSTANT_Class_info - structure.
        -
        name - the method name
        -
        desc - the descriptor of the method signature.
        -
        count - the count operand of the instruction.
        -
        See Also:
        -
        Descriptor.ofMethod(CtClass,CtClass[])
        -
        -
      • -
      - - - -
        -
      • -

        addInvokedynamic

        -
        public void addInvokedynamic​(int bootstrap,
        -                             java.lang.String name,
        -                             java.lang.String desc)
        -
        Appends INVOKEDYNAMIC.
        -
        -
        Parameters:
        -
        bootstrap - an index into the bootstrap_methods array - of the bootstrap method table.
        -
        name - the method name.
        -
        desc - the method descriptor.
        -
        Since:
        -
        3.17
        -
        See Also:
        -
        Descriptor.ofMethod(CtClass,CtClass[])
        -
        -
      • -
      - - - -
        -
      • -

        addLdc

        -
        public void addLdc​(java.lang.String s)
        -
        Appends LDC or LDC_W. The pushed item is a String - object.
        -
        -
        Parameters:
        -
        s - the character string pushed by LDC or LDC_W.
        -
        -
      • -
      - - - -
        -
      • -

        addLdc

        -
        public void addLdc​(int i)
        -
        Appends LDC or LDC_W.
        -
        -
        Parameters:
        -
        i - index into the constant pool.
        -
        -
      • -
      - - - -
        -
      • -

        addLdc2w

        -
        public void addLdc2w​(long l)
        -
        Appends LDC2_W. The pushed item is a long value.
        -
      • -
      - - - -
        -
      • -

        addLdc2w

        -
        public void addLdc2w​(double d)
        -
        Appends LDC2_W. The pushed item is a double value.
        -
      • -
      - - - -
        -
      • -

        addNew

        -
        public void addNew​(CtClass clazz)
        -
        Appends NEW.
        -
        -
        Parameters:
        -
        clazz - the class of the created instance.
        -
        -
      • -
      - - - -
        -
      • -

        addNew

        -
        public void addNew​(java.lang.String classname)
        -
        Appends NEW.
        -
        -
        Parameters:
        -
        classname - the fully-qualified class name.
        -
        -
      • -
      - - - -
        -
      • -

        addAnewarray

        -
        public void addAnewarray​(java.lang.String classname)
        -
        Appends ANEWARRAY.
        -
        -
        Parameters:
        -
        classname - the qualified class name of the element type.
        -
        -
      • -
      - - - -
        -
      • -

        addAnewarray

        -
        public void addAnewarray​(CtClass clazz,
        -                         int length)
        -
        Appends ICONST and ANEWARRAY.
        -
        -
        Parameters:
        -
        clazz - the elememnt type.
        -
        length - the array length.
        -
        -
      • -
      - - - -
        -
      • -

        addNewarray

        -
        public void addNewarray​(int atype,
        -                        int length)
        -
        Appends NEWARRAY for primitive types.
        -
        -
        Parameters:
        -
        atype - T_BOOLEAN, T_CHAR, ...
        -
        See Also:
        -
        Opcode
        -
        -
      • -
      - - - -
        -
      • -

        addMultiNewarray

        -
        public int addMultiNewarray​(CtClass clazz,
        -                            int[] dimensions)
        -
        Appends MULTINEWARRAY.
        -
        -
        Parameters:
        -
        clazz - the array type.
        -
        dimensions - the sizes of all dimensions.
        -
        Returns:
        -
        the length of dimensions.
        -
        -
      • -
      - - - -
        -
      • -

        addMultiNewarray

        -
        public int addMultiNewarray​(CtClass clazz,
        -                            int dim)
        -
        Appends MULTINEWARRAY. The size of every dimension must have been - already pushed on the stack.
        -
        -
        Parameters:
        -
        clazz - the array type.
        -
        dim - the number of the dimensions.
        -
        Returns:
        -
        the value of dim.
        -
        -
      • -
      - - - -
        -
      • -

        addMultiNewarray

        -
        public int addMultiNewarray​(java.lang.String desc,
        -                            int dim)
        -
        Appends MULTINEWARRAY.
        -
        -
        Parameters:
        -
        desc - the type descriptor of the created array.
        -
        dim - dimensions.
        -
        Returns:
        -
        the value of dim.
        -
        -
      • -
      - - - -
        -
      • -

        addPutfield

        -
        public void addPutfield​(CtClass c,
        -                        java.lang.String name,
        -                        java.lang.String desc)
        -
        Appends PUTFIELD.
        -
        -
        Parameters:
        -
        c - the target class.
        -
        name - the field name.
        -
        desc - the descriptor of the field type.
        -
        -
      • -
      - - - -
        -
      • -

        addPutfield

        -
        public void addPutfield​(java.lang.String classname,
        -                        java.lang.String name,
        -                        java.lang.String desc)
        -
        Appends PUTFIELD.
        -
        -
        Parameters:
        -
        classname - the fully-qualified name of the target class.
        -
        name - the field name.
        -
        desc - the descriptor of the field type.
        -
        -
      • -
      - - - -
        -
      • -

        addPutstatic

        -
        public void addPutstatic​(CtClass c,
        -                         java.lang.String name,
        -                         java.lang.String desc)
        -
        Appends PUTSTATIC.
        -
        -
        Parameters:
        -
        c - the target class.
        -
        name - the field name.
        -
        desc - the descriptor of the field type.
        -
        -
      • -
      - - - -
        -
      • -

        addPutstatic

        -
        public void addPutstatic​(java.lang.String classname,
        -                         java.lang.String fieldName,
        -                         java.lang.String desc)
        -
        Appends PUTSTATIC.
        -
        -
        Parameters:
        -
        classname - the fully-qualified name of the target class.
        -
        fieldName - the field name.
        -
        desc - the descriptor of the field type.
        -
        -
      • -
      - - - -
        -
      • -

        addReturn

        -
        public void addReturn​(CtClass type)
        -
        Appends ARETURN, IRETURN, .., or RETURN.
        -
        -
        Parameters:
        -
        type - the return type.
        -
        -
      • -
      - - - -
        -
      • -

        addRet

        -
        public void addRet​(int var)
        -
        Appends RET.
        -
        -
        Parameters:
        -
        var - local variable
        -
        -
      • -
      - - - -
        -
      • -

        addPrintln

        -
        public void addPrintln​(java.lang.String message)
        -
        Appends instructions for executing - java.lang.System.println(message).
        -
        -
        Parameters:
        -
        message - printed message.
        -
        -
      • -
      - - - -
        -
      • -

        getSize

        -
        public final int getSize()
        -
      • -
      - - - -
        -
      • -

        copy

        -
        public final byte[] copy()
        -
      • -
      - - - -
        -
      • -

        add

        -
        public void add​(int b1,
        -                int b2)
        -
      • -
      - - - -
        -
      • -

        add

        -
        public void add​(int b1,
        -                int b2,
        -                int b3,
        -                int b4)
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/ClassFile.html b/html/javassist/bytecode/ClassFile.html deleted file mode 100644 index 95093e02..00000000 --- a/html/javassist/bytecode/ClassFile.html +++ /dev/null @@ -1,1502 +0,0 @@ - - - - - -ClassFile (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ClassFile

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.ClassFile
    • -
    -
  • -
-
-
    -
  • -
    -
    public final class ClassFile
    -extends java.lang.Object
    -
    ClassFile represents a Java .class file, which - consists of a constant pool, methods, fields, and attributes. - -

    For example,

    -
    - ClassFile cf = new ClassFile(false, "test.Foo", null);
    - cf.setInterfaces(new String[] { "java.lang.Cloneable" });
    -
    - FieldInfo f = new FieldInfo(cf.getConstPool(), "width", "I");
    - f.setAccessFlags(AccessFlag.PUBLIC);
    - cf.addField(f);
    -
    - cf.write(new DataOutputStream(new FileOutputStream("Foo.class")));
    - 
    -

    This code generates a class file Foo.class for the following class:

    -
    - package test;
    - class Foo implements Cloneable {
    -     public int width;
    - }
    - 
    -
    -
    See Also:
    -
    FieldInfo, -MethodInfo, -ClassFileWriter, -CtClass.getClassFile(), -ClassPool.makeClass(ClassFile)
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static intJAVA_1 -
      The major version number of class files - for JDK 1.1.
      -
      static intJAVA_10 -
      The major version number of class files - for JDK 10.
      -
      static intJAVA_11 -
      The major version number of class files - for JDK 11.
      -
      static intJAVA_2 -
      The major version number of class files - for JDK 1.2.
      -
      static intJAVA_3 -
      The major version number of class files - for JDK 1.3.
      -
      static intJAVA_4 -
      The major version number of class files - for JDK 1.4.
      -
      static intJAVA_5 -
      The major version number of class files - for JDK 1.5.
      -
      static intJAVA_6 -
      The major version number of class files - for JDK 1.6.
      -
      static intJAVA_7 -
      The major version number of class files - for JDK 1.7.
      -
      static intJAVA_8 -
      The major version number of class files - for JDK 1.8.
      -
      static intJAVA_9 -
      The major version number of class files - for JDK 1.9.
      -
      static intMAJOR_VERSION -
      The major version number of class files created - from scratch.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      ClassFile​(boolean isInterface, - java.lang.String classname, - java.lang.String superclass) -
      Constructs a class file including no members.
      -
      ClassFile​(java.io.DataInputStream in) -
      Constructs a class file from a byte stream.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidaddAttribute​(AttributeInfo info) -
      Appends an attribute.
      -
      voidaddField​(FieldInfo finfo) -
      Appends a field to the class.
      -
      voidaddField2​(FieldInfo finfo) -
      Just appends a field to the class.
      -
      voidaddInterface​(java.lang.String name) -
      Appends an interface to the interfaces implemented by the class.
      -
      voidaddMethod​(MethodInfo minfo) -
      Appends a method to the class.
      -
      voidaddMethod2​(MethodInfo minfo) -
      Just appends a method to the class.
      -
      voidcompact() -
      Eliminates dead constant pool items.
      -
      intgetAccessFlags() -
      Returns access flags.
      -
      AttributeInfogetAttribute​(java.lang.String name) -
      Returns the attribute with the specified name.
      -
      java.util.List<AttributeInfo>getAttributes() -
      Returns all the attributes.
      -
      ConstPoolgetConstPool() -
      Returns a constant pool table.
      -
      java.util.List<FieldInfo>getFields() -
      Returns all the fields declared in the class.
      -
      intgetInnerAccessFlags() -
      Returns access and property flags of this nested class.
      -
      java.lang.String[]getInterfaces() -
      Returns the names of the interfaces implemented by the class.
      -
      intgetMajorVersion() -
      Get the Major version.
      -
      MethodInfogetMethod​(java.lang.String name) -
      Returns the method with the specified name.
      -
      java.util.List<MethodInfo>getMethods() -
      Returns all the methods declared in the class.
      -
      intgetMinorVersion() -
      Get the minor version.
      -
      java.lang.StringgetName() -
      Returns the class name.
      -
      voidgetRefClasses​(java.util.Map<java.lang.String,​java.lang.String> classnames) -
      Internal-use only.
      -
      java.lang.StringgetSourceFile() -
      Returns the source file containing this class.
      -
      MethodInfogetStaticInitializer() -
      Returns a static initializer (class initializer), or null if it does not - exist.
      -
      java.lang.StringgetSuperclass() -
      Returns the super class name.
      -
      intgetSuperclassId() -
      Returns the index of the constant pool entry representing the super - class.
      -
      booleanisAbstract() -
      Returns true if this is an abstract class or an interface.
      -
      booleanisFinal() -
      Returns true if this is a final class or interface.
      -
      booleanisInterface() -
      Returns true if this is an interface.
      -
      voidprune() -
      Discards all attributes, associated with both the class file and the - members such as a code attribute and exceptions attribute.
      -
      AttributeInforemoveAttribute​(java.lang.String name) -
      Removes an attribute with the specified name.
      -
      voidrenameClass​(java.lang.String oldname, - java.lang.String newname) -
      Replaces all occurrences of a class name in the class file.
      -
      voidrenameClass​(java.util.Map<java.lang.String,​java.lang.String> classnames) -
      Replaces all occurrences of several class names in the class file.
      -
      voidsetAccessFlags​(int acc) -
      Changes access flags.
      -
      voidsetInterfaces​(java.lang.String[] nameList) -
      Sets the interfaces.
      -
      voidsetMajorVersion​(int major) -
      Set the major version.
      -
      voidsetMinorVersion​(int minor) -
      Set the minor version.
      -
      voidsetName​(java.lang.String name) -
      Sets the class name.
      -
      voidsetSuperclass​(java.lang.String superclass) -
      Sets the super class.
      -
      voidsetVersionToJava5() -
      Sets the major and minor version to Java 5.
      -
      voidwrite​(java.io.DataOutputStream out) -
      Writes a class file represented by this object into an output stream.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        JAVA_1

        -
        public static final int JAVA_1
        -
        The major version number of class files - for JDK 1.1.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        JAVA_2

        -
        public static final int JAVA_2
        -
        The major version number of class files - for JDK 1.2.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        JAVA_3

        -
        public static final int JAVA_3
        -
        The major version number of class files - for JDK 1.3.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        JAVA_4

        -
        public static final int JAVA_4
        -
        The major version number of class files - for JDK 1.4.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        JAVA_5

        -
        public static final int JAVA_5
        -
        The major version number of class files - for JDK 1.5.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        JAVA_6

        -
        public static final int JAVA_6
        -
        The major version number of class files - for JDK 1.6.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        JAVA_7

        -
        public static final int JAVA_7
        -
        The major version number of class files - for JDK 1.7.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        JAVA_8

        -
        public static final int JAVA_8
        -
        The major version number of class files - for JDK 1.8.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        JAVA_9

        -
        public static final int JAVA_9
        -
        The major version number of class files - for JDK 1.9.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        JAVA_10

        -
        public static final int JAVA_10
        -
        The major version number of class files - for JDK 10.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        JAVA_11

        -
        public static final int JAVA_11
        -
        The major version number of class files - for JDK 11.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        MAJOR_VERSION

        -
        public static final int MAJOR_VERSION
        -
        The major version number of class files created - from scratch. The default value is 47 (JDK 1.3). - It is 49 (JDK 1.5) - if the JVM supports java.lang.StringBuilder. - It is 50 (JDK 1.6) - if the JVM supports java.util.zip.DeflaterInputStream. - It is 51 (JDK 1.7) - if the JVM supports java.lang.invoke.CallSite. - It is 52 (JDK 1.8) - if the JVM supports java.util.function.Function. - It is 53 (JDK 1.9) - if the JVM supports java.lang.reflect.Module. - It is 54 (JDK 10) - if the JVM supports java.util.List.copyOf(Collection). - It is 55 (JDK 11) - if the JVM supports java.util.Optional.isEmpty().
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ClassFile

        -
        public ClassFile​(java.io.DataInputStream in)
        -          throws java.io.IOException
        -
        Constructs a class file from a byte stream.
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        ClassFile

        -
        public ClassFile​(boolean isInterface,
        -                 java.lang.String classname,
        -                 java.lang.String superclass)
        -
        Constructs a class file including no members.
        -
        -
        Parameters:
        -
        isInterface - true if this is an interface. false if this is a class.
        -
        classname - a fully-qualified class name
        -
        superclass - a fully-qualified super class name or null.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        compact

        -
        public void compact()
        -
        Eliminates dead constant pool items. If a method or a field is removed, - the constant pool items used by that method/field become dead items. This - method recreates a constant pool.
        -
      • -
      - - - -
        -
      • -

        prune

        -
        public void prune()
        -
        Discards all attributes, associated with both the class file and the - members such as a code attribute and exceptions attribute. The unused - constant pool entries are also discarded (a new packed constant pool is - constructed).
        -
      • -
      - - - -
        -
      • -

        getConstPool

        -
        public ConstPool getConstPool()
        -
        Returns a constant pool table.
        -
      • -
      - - - -
        -
      • -

        isInterface

        -
        public boolean isInterface()
        -
        Returns true if this is an interface.
        -
      • -
      - - - -
        -
      • -

        isFinal

        -
        public boolean isFinal()
        -
        Returns true if this is a final class or interface.
        -
      • -
      - - - -
        -
      • -

        isAbstract

        -
        public boolean isAbstract()
        -
        Returns true if this is an abstract class or an interface.
        -
      • -
      - - - -
        -
      • -

        getAccessFlags

        -
        public int getAccessFlags()
        -
        Returns access flags.
        -
        -
        See Also:
        -
        AccessFlag
        -
        -
      • -
      - - - -
        -
      • -

        setAccessFlags

        -
        public void setAccessFlags​(int acc)
        -
        Changes access flags.
        -
        -
        See Also:
        -
        AccessFlag
        -
        -
      • -
      - - - -
        -
      • -

        getInnerAccessFlags

        -
        public int getInnerAccessFlags()
        -
        Returns access and property flags of this nested class. - This method returns -1 if the class is not a nested class. - -

        The returned value is obtained from inner_class_access_flags - of the entry representing this nested class itself - in InnerClasses_attribute.

        -
      • -
      - - - -
        -
      • -

        getName

        -
        public java.lang.String getName()
        -
        Returns the class name.
        -
      • -
      - - - -
        -
      • -

        setName

        -
        public void setName​(java.lang.String name)
        -
        Sets the class name. This method substitutes the new name for all - occurrences of the old class name in the class file.
        -
      • -
      - - - -
        -
      • -

        getSuperclass

        -
        public java.lang.String getSuperclass()
        -
        Returns the super class name.
        -
      • -
      - - - -
        -
      • -

        getSuperclassId

        -
        public int getSuperclassId()
        -
        Returns the index of the constant pool entry representing the super - class.
        -
      • -
      - - - -
        -
      • -

        setSuperclass

        -
        public void setSuperclass​(java.lang.String superclass)
        -                   throws CannotCompileException
        -
        Sets the super class. - -

        - The new super class should inherit from the old super class. - This method modifies constructors so that they call constructors declared - in the new super class.

        -
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        renameClass

        -
        public final void renameClass​(java.lang.String oldname,
        -                              java.lang.String newname)
        -
        Replaces all occurrences of a class name in the class file. - -

        - If class X is substituted for class Y in the class file, X and Y must - have the same signature. If Y provides a method m(), X must provide it - even if X inherits m() from the super class. If this fact is not - guaranteed, the bytecode verifier may cause an error.

        -
        -
        Parameters:
        -
        oldname - the replaced class name
        -
        newname - the substituted class name
        -
        -
      • -
      - - - -
        -
      • -

        renameClass

        -
        public final void renameClass​(java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Replaces all occurrences of several class names in the class file.
        -
        -
        Parameters:
        -
        classnames - specifies which class name is replaced with which new name. - Class names must be described with the JVM-internal - representation like java/lang/Object.
        -
        See Also:
        -
        renameClass(String,String)
        -
        -
      • -
      - - - -
        -
      • -

        getRefClasses

        -
        public final void getRefClasses​(java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Internal-use only. - CtClass.getRefClasses() calls this method.
        -
      • -
      - - - -
        -
      • -

        getInterfaces

        -
        public java.lang.String[] getInterfaces()
        -
        Returns the names of the interfaces implemented by the class. - The returned array is read only.
        -
      • -
      - - - -
        -
      • -

        setInterfaces

        -
        public void setInterfaces​(java.lang.String[] nameList)
        -
        Sets the interfaces.
        -
        -
        Parameters:
        -
        nameList - the names of the interfaces.
        -
        -
      • -
      - - - -
        -
      • -

        addInterface

        -
        public void addInterface​(java.lang.String name)
        -
        Appends an interface to the interfaces implemented by the class.
        -
      • -
      - - - -
        -
      • -

        getFields

        -
        public java.util.List<FieldInfo> getFields()
        -
        Returns all the fields declared in the class.
        -
        -
        Returns:
        -
        a list of FieldInfo.
        -
        See Also:
        -
        FieldInfo
        -
        -
      • -
      - - - - - - - -
        -
      • -

        addField2

        -
        public final void addField2​(FieldInfo finfo)
        -
        Just appends a field to the class. - It does not check field duplication. - Use this method only when minimizing performance overheads - is seriously required.
        -
        -
        Since:
        -
        3.13
        -
        -
      • -
      - - - -
        -
      • -

        getMethods

        -
        public java.util.List<MethodInfo> getMethods()
        -
        Returns all the methods declared in the class.
        -
        -
        Returns:
        -
        a list of MethodInfo.
        -
        See Also:
        -
        MethodInfo
        -
        -
      • -
      - - - -
        -
      • -

        getMethod

        -
        public MethodInfo getMethod​(java.lang.String name)
        -
        Returns the method with the specified name. If there are multiple methods - with that name, this method returns one of them.
        -
        -
        Returns:
        -
        null if no such method is found.
        -
        -
      • -
      - - - -
        -
      • -

        getStaticInitializer

        -
        public MethodInfo getStaticInitializer()
        -
        Returns a static initializer (class initializer), or null if it does not - exist.
        -
      • -
      - - - -
        -
      • -

        addMethod

        -
        public void addMethod​(MethodInfo minfo)
        -               throws DuplicateMemberException
        -
        Appends a method to the class. - If there is a bridge method with the same name and signature, - then the bridge method is removed before a new method is added.
        -
        -
        Throws:
        -
        DuplicateMemberException - when the method is already included.
        -
        -
      • -
      - - - -
        -
      • -

        addMethod2

        -
        public final void addMethod2​(MethodInfo minfo)
        -
        Just appends a method to the class. - It does not check method duplication or remove a bridge method. - Use this method only when minimizing performance overheads - is seriously required.
        -
        -
        Since:
        -
        3.13
        -
        -
      • -
      - - - -
        -
      • -

        getAttributes

        -
        public java.util.List<AttributeInfo> getAttributes()
        -
        Returns all the attributes. The returned List object - is shared with this object. If you add a new attribute to the list, - the attribute is also added to the classs file represented by this - object. If you remove an attribute from the list, it is also removed - from the class file.
        -
        -
        Returns:
        -
        a list of AttributeInfo objects.
        -
        See Also:
        -
        AttributeInfo
        -
        -
      • -
      - - - -
        -
      • -

        getAttribute

        -
        public AttributeInfo getAttribute​(java.lang.String name)
        -
        Returns the attribute with the specified name. If there are multiple - attributes with that name, this method returns either of them. It - returns null if the specified attributed is not found. - -

        An attribute name can be obtained by, for example, - AnnotationsAttribute.visibleTag or - AnnotationsAttribute.invisibleTag. -

        -
        -
        Parameters:
        -
        name - attribute name
        -
        See Also:
        -
        getAttributes()
        -
        -
      • -
      - - - -
        -
      • -

        removeAttribute

        -
        public AttributeInfo removeAttribute​(java.lang.String name)
        -
        Removes an attribute with the specified name.
        -
        -
        Parameters:
        -
        name - attribute name.
        -
        Returns:
        -
        the removed attribute or null.
        -
        Since:
        -
        3.21
        -
        -
      • -
      - - - -
        -
      • -

        addAttribute

        -
        public void addAttribute​(AttributeInfo info)
        -
        Appends an attribute. If there is already an attribute with the same - name, the new one substitutes for it.
        -
        -
        See Also:
        -
        getAttributes()
        -
        -
      • -
      - - - -
        -
      • -

        getSourceFile

        -
        public java.lang.String getSourceFile()
        -
        Returns the source file containing this class.
        -
        -
        Returns:
        -
        null if this information is not available.
        -
        -
      • -
      - - - -
        -
      • -

        write

        -
        public void write​(java.io.DataOutputStream out)
        -           throws java.io.IOException
        -
        Writes a class file represented by this object into an output stream.
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        getMajorVersion

        -
        public int getMajorVersion()
        -
        Get the Major version.
        -
        -
        Returns:
        -
        the major version
        -
        -
      • -
      - - - -
        -
      • -

        setMajorVersion

        -
        public void setMajorVersion​(int major)
        -
        Set the major version.
        -
        -
        Parameters:
        -
        major - the major version
        -
        -
      • -
      - - - -
        -
      • -

        getMinorVersion

        -
        public int getMinorVersion()
        -
        Get the minor version.
        -
        -
        Returns:
        -
        the minor version
        -
        -
      • -
      - - - -
        -
      • -

        setMinorVersion

        -
        public void setMinorVersion​(int minor)
        -
        Set the minor version.
        -
        -
        Parameters:
        -
        minor - the minor version
        -
        -
      • -
      - - - -
        -
      • -

        setVersionToJava5

        -
        public void setVersionToJava5()
        -
        Sets the major and minor version to Java 5. - - If the major version is older than 49, Java 5 - extensions such as annotations are ignored - by the JVM.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/ClassFilePrinter.html b/html/javassist/bytecode/ClassFilePrinter.html deleted file mode 100644 index bbaab76d..00000000 --- a/html/javassist/bytecode/ClassFilePrinter.html +++ /dev/null @@ -1,332 +0,0 @@ - - - - - -ClassFilePrinter (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ClassFilePrinter

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.ClassFilePrinter
    • -
    -
  • -
-
-
    -
  • -
    -
    public class ClassFilePrinter
    -extends java.lang.Object
    -
    A utility class for priting the contents of a class file. - It prints a constant pool table, fields, and methods in a - human readable representation.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      ClassFilePrinter() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static voidprint​(ClassFile cf) -
      Prints the contents of a class file to the standard output stream.
      -
      static voidprint​(ClassFile cf, - java.io.PrintWriter out) -
      Prints the contents of a class file.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ClassFilePrinter

        -
        public ClassFilePrinter()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        print

        -
        public static void print​(ClassFile cf)
        -
        Prints the contents of a class file to the standard output stream.
        -
      • -
      - - - -
        -
      • -

        print

        -
        public static void print​(ClassFile cf,
        -                         java.io.PrintWriter out)
        -
        Prints the contents of a class file.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/ClassFileWriter.AttributeWriter.html b/html/javassist/bytecode/ClassFileWriter.AttributeWriter.html deleted file mode 100644 index e2901b50..00000000 --- a/html/javassist/bytecode/ClassFileWriter.AttributeWriter.html +++ /dev/null @@ -1,300 +0,0 @@ - - - - - -ClassFileWriter.AttributeWriter (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Interface ClassFileWriter.AttributeWriter

-
-
-
-
    -
  • -
    -
    Enclosing class:
    -
    ClassFileWriter
    -
    -
    -
    public static interface ClassFileWriter.AttributeWriter
    -
    This writes attributes. - -

    For example, the following object writes a synthetic attribute: - -

    - ConstPoolWriter cpw = ...;
    - final int tag = cpw.addUtf8Info("Synthetic");
    - AttributeWriter aw = new AttributeWriter() {
    -     public int size() {
    -         return 1;
    -     }
    -     public void write(DataOutputStream out) throws java.io.IOException {
    -         out.writeShort(tag);
    -         out.writeInt(0);
    -     }
    - };
    - 
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      intsize() -
      Returns the number of attributes that this writer will - write.
      -
      voidwrite​(java.io.DataOutputStream out) -
      Writes all the contents of the attributes.
      -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        size

        -
        int size()
        -
        Returns the number of attributes that this writer will - write.
        -
      • -
      - - - -
        -
      • -

        write

        -
        void write​(java.io.DataOutputStream out)
        -    throws java.io.IOException
        -
        Writes all the contents of the attributes. The binary representation - of the contents is an array of attribute_info.
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/ClassFileWriter.ConstPoolWriter.html b/html/javassist/bytecode/ClassFileWriter.ConstPoolWriter.html deleted file mode 100644 index b2f50022..00000000 --- a/html/javassist/bytecode/ClassFileWriter.ConstPoolWriter.html +++ /dev/null @@ -1,690 +0,0 @@ - - - - - -ClassFileWriter.ConstPoolWriter (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ClassFileWriter.ConstPoolWriter

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.ClassFileWriter.ConstPoolWriter
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    ClassFileWriter
    -
    -
    -
    public static final class ClassFileWriter.ConstPoolWriter
    -extends java.lang.Object
    -
    Constant Pool.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      intaddClassInfo​(int name) -
      Adds a new CONSTANT_Class_info structure.
      -
      intaddClassInfo​(java.lang.String jvmname) -
      Adds a new CONSTANT_Class_info structure.
      -
      int[]addClassInfo​(java.lang.String[] classNames) -
      Makes CONSTANT_Class_info objects for each class name.
      -
      intaddDoubleInfo​(double d) -
      Adds a new CONSTANT_Double_info - structure.
      -
      intaddFieldrefInfo​(int classInfo, - int nameAndTypeInfo) -
      Adds a new CONSTANT_Fieldref_info structure.
      -
      intaddFloatInfo​(float f) -
      Adds a new CONSTANT_Float_info - structure.
      -
      intaddIntegerInfo​(int i) -
      Adds a new CONSTANT_Integer_info - structure.
      -
      intaddInterfaceMethodrefInfo​(int classInfo, - int nameAndTypeInfo) -
      Adds a new CONSTANT_InterfaceMethodref_info - structure.
      -
      intaddInvokeDynamicInfo​(int bootstrap, - int nameAndTypeInfo) -
      Adds a new CONSTANT_InvokeDynamic_info - structure.
      -
      intaddLongInfo​(long l) -
      Adds a new CONSTANT_Long_info - structure.
      -
      intaddMethodHandleInfo​(int kind, - int index) -
      Adds a new CONSTANT_MethodHandle_info - structure.
      -
      intaddMethodrefInfo​(int classInfo, - int nameAndTypeInfo) -
      Adds a new CONSTANT_Methodref_info structure.
      -
      intaddMethodTypeInfo​(int desc) -
      Adds a new CONSTANT_MethodType_info - structure.
      -
      intaddNameAndTypeInfo​(int name, - int type) -
      Adds a new CONSTANT_NameAndType_info structure.
      -
      intaddNameAndTypeInfo​(java.lang.String name, - java.lang.String type) -
      Adds a new CONSTANT_NameAndType_info structure.
      -
      intaddStringInfo​(java.lang.String str) -
      Adds a new CONSTANT_String_info - structure.
      -
      intaddUtf8Info​(java.lang.String utf8) -
      Adds a new CONSTANT_Utf8_info - structure.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        addClassInfo

        -
        public int[] addClassInfo​(java.lang.String[] classNames)
        -
        Makes CONSTANT_Class_info objects for each class name.
        -
        -
        Returns:
        -
        an array of indexes indicating CONSTANT_Class_infos.
        -
        -
      • -
      - - - -
        -
      • -

        addClassInfo

        -
        public int addClassInfo​(java.lang.String jvmname)
        -
        Adds a new CONSTANT_Class_info structure. - -

        This also adds a CONSTANT_Utf8_info structure - for storing the class name.

        -
        -
        Parameters:
        -
        jvmname - the JVM-internal representation of a class name. - e.g. java/lang/Object.
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addClassInfo

        -
        public int addClassInfo​(int name)
        -
        Adds a new CONSTANT_Class_info structure.
        -
        -
        Parameters:
        -
        name - name_index
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addNameAndTypeInfo

        -
        public int addNameAndTypeInfo​(java.lang.String name,
        -                              java.lang.String type)
        -
        Adds a new CONSTANT_NameAndType_info structure.
        -
        -
        Parameters:
        -
        name - name_index
        -
        type - descriptor_index
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addNameAndTypeInfo

        -
        public int addNameAndTypeInfo​(int name,
        -                              int type)
        -
        Adds a new CONSTANT_NameAndType_info structure.
        -
        -
        Parameters:
        -
        name - name_index
        -
        type - descriptor_index
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addFieldrefInfo

        -
        public int addFieldrefInfo​(int classInfo,
        -                           int nameAndTypeInfo)
        -
        Adds a new CONSTANT_Fieldref_info structure.
        -
        -
        Parameters:
        -
        classInfo - class_index
        -
        nameAndTypeInfo - name_and_type_index.
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addMethodrefInfo

        -
        public int addMethodrefInfo​(int classInfo,
        -                            int nameAndTypeInfo)
        -
        Adds a new CONSTANT_Methodref_info structure.
        -
        -
        Parameters:
        -
        classInfo - class_index
        -
        nameAndTypeInfo - name_and_type_index.
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addInterfaceMethodrefInfo

        -
        public int addInterfaceMethodrefInfo​(int classInfo,
        -                                     int nameAndTypeInfo)
        -
        Adds a new CONSTANT_InterfaceMethodref_info - structure.
        -
        -
        Parameters:
        -
        classInfo - class_index
        -
        nameAndTypeInfo - name_and_type_index.
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addMethodHandleInfo

        -
        public int addMethodHandleInfo​(int kind,
        -                               int index)
        -
        Adds a new CONSTANT_MethodHandle_info - structure.
        -
        -
        Parameters:
        -
        kind - reference_kind - such as REF_invokeStatic.
        -
        index - reference_index.
        -
        Returns:
        -
        the index of the added entry.
        -
        Since:
        -
        3.17.1
        -
        -
      • -
      - - - -
        -
      • -

        addMethodTypeInfo

        -
        public int addMethodTypeInfo​(int desc)
        -
        Adds a new CONSTANT_MethodType_info - structure.
        -
        -
        Parameters:
        -
        desc - descriptor_index.
        -
        Returns:
        -
        the index of the added entry.
        -
        Since:
        -
        3.17.1
        -
        -
      • -
      - - - -
        -
      • -

        addInvokeDynamicInfo

        -
        public int addInvokeDynamicInfo​(int bootstrap,
        -                                int nameAndTypeInfo)
        -
        Adds a new CONSTANT_InvokeDynamic_info - structure.
        -
        -
        Parameters:
        -
        bootstrap - bootstrap_method_attr_index.
        -
        nameAndTypeInfo - name_and_type_index.
        -
        Returns:
        -
        the index of the added entry.
        -
        Since:
        -
        3.17.1
        -
        -
      • -
      - - - -
        -
      • -

        addStringInfo

        -
        public int addStringInfo​(java.lang.String str)
        -
        Adds a new CONSTANT_String_info - structure. - -

        This also adds a new CONSTANT_Utf8_info - structure.

        -
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addIntegerInfo

        -
        public int addIntegerInfo​(int i)
        -
        Adds a new CONSTANT_Integer_info - structure.
        -
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addFloatInfo

        -
        public int addFloatInfo​(float f)
        -
        Adds a new CONSTANT_Float_info - structure.
        -
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addLongInfo

        -
        public int addLongInfo​(long l)
        -
        Adds a new CONSTANT_Long_info - structure.
        -
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addDoubleInfo

        -
        public int addDoubleInfo​(double d)
        -
        Adds a new CONSTANT_Double_info - structure.
        -
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addUtf8Info

        -
        public int addUtf8Info​(java.lang.String utf8)
        -
        Adds a new CONSTANT_Utf8_info - structure.
        -
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/ClassFileWriter.FieldWriter.html b/html/javassist/bytecode/ClassFileWriter.FieldWriter.html deleted file mode 100644 index 9df24cbd..00000000 --- a/html/javassist/bytecode/ClassFileWriter.FieldWriter.html +++ /dev/null @@ -1,322 +0,0 @@ - - - - - -ClassFileWriter.FieldWriter (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ClassFileWriter.FieldWriter

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.ClassFileWriter.FieldWriter
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    ClassFileWriter
    -
    -
    -
    public static final class ClassFileWriter.FieldWriter
    -extends java.lang.Object
    -
    Field.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidadd​(int accessFlags, - int name, - int descriptor, - ClassFileWriter.AttributeWriter aw) -
      Adds a new field.
      -
      voidadd​(int accessFlags, - java.lang.String name, - java.lang.String descriptor, - ClassFileWriter.AttributeWriter aw) -
      Adds a new field.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        add

        -
        public void add​(int accessFlags,
        -                java.lang.String name,
        -                java.lang.String descriptor,
        -                ClassFileWriter.AttributeWriter aw)
        -
        Adds a new field.
        -
        -
        Parameters:
        -
        accessFlags - access flags.
        -
        name - the field name.
        -
        descriptor - the field type.
        -
        aw - the attributes of the field. may be null.
        -
        See Also:
        -
        AccessFlag
        -
        -
      • -
      - - - -
        -
      • -

        add

        -
        public void add​(int accessFlags,
        -                int name,
        -                int descriptor,
        -                ClassFileWriter.AttributeWriter aw)
        -
        Adds a new field.
        -
        -
        Parameters:
        -
        accessFlags - access flags.
        -
        name - the field name. an index indicating its CONSTANT_Utf8_info.
        -
        descriptor - the field type. an index indicating its CONSTANT_Utf8_info.
        -
        aw - the attributes of the field. may be null.
        -
        See Also:
        -
        AccessFlag
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/ClassFileWriter.MethodWriter.html b/html/javassist/bytecode/ClassFileWriter.MethodWriter.html deleted file mode 100644 index 0945f0d6..00000000 --- a/html/javassist/bytecode/ClassFileWriter.MethodWriter.html +++ /dev/null @@ -1,507 +0,0 @@ - - - - - -ClassFileWriter.MethodWriter (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ClassFileWriter.MethodWriter

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.ClassFileWriter.MethodWriter
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    ClassFileWriter
    -
    -
    -
    public static final class ClassFileWriter.MethodWriter
    -extends java.lang.Object
    -
    Method.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidadd​(int b) -
      Appends an 8bit value of bytecode.
      -
      voidadd16​(int b) -
      Appends a 16bit value of bytecode.
      -
      voidadd32​(int b) -
      Appends a 32bit value of bytecode.
      -
      voidaddCatch​(int startPc, - int endPc, - int handlerPc, - int catchType) -
      Appends an exception_table entry to the - Code_attribute.
      -
      voidaddInvoke​(int opcode, - java.lang.String targetClass, - java.lang.String methodName, - java.lang.String descriptor) -
      Appends a invokevirtual, inovkespecial, or invokestatic bytecode.
      -
      voidbegin​(int accessFlags, - int name, - int descriptor, - int[] exceptions, - ClassFileWriter.AttributeWriter aw) -
      Starts adding a new method.
      -
      voidbegin​(int accessFlags, - java.lang.String name, - java.lang.String descriptor, - java.lang.String[] exceptions, - ClassFileWriter.AttributeWriter aw) -
      Starts Adding a new method.
      -
      voidcodeEnd​(int maxStack, - int maxLocals) -
      Ends appending bytecode.
      -
      voidend​(StackMapTable.Writer smap, - ClassFileWriter.AttributeWriter aw) -
      Ends adding a new method.
      -
      intsize() -
      Returns the length of the bytecode that has been added so far.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        begin

        -
        public void begin​(int accessFlags,
        -                  java.lang.String name,
        -                  java.lang.String descriptor,
        -                  java.lang.String[] exceptions,
        -                  ClassFileWriter.AttributeWriter aw)
        -
        Starts Adding a new method.
        -
        -
        Parameters:
        -
        accessFlags - access flags.
        -
        name - the method name.
        -
        descriptor - the method signature.
        -
        exceptions - throws clause. It may be null. - The class names must be the JVM-internal - representations like java/lang/Exception.
        -
        aw - attributes to the Method_info.
        -
        -
      • -
      - - - -
        -
      • -

        begin

        -
        public void begin​(int accessFlags,
        -                  int name,
        -                  int descriptor,
        -                  int[] exceptions,
        -                  ClassFileWriter.AttributeWriter aw)
        -
        Starts adding a new method.
        -
        -
        Parameters:
        -
        accessFlags - access flags.
        -
        name - the method name. an index indicating its CONSTANT_Utf8_info.
        -
        descriptor - the field type. an index indicating its CONSTANT_Utf8_info.
        -
        exceptions - throws clause. indexes indicating CONSTANT_Class_infos. - It may be null.
        -
        aw - attributes to the Method_info.
        -
        -
      • -
      - - - -
        -
      • -

        add

        -
        public void add​(int b)
        -
        Appends an 8bit value of bytecode.
        -
        -
        See Also:
        -
        Opcode
        -
        -
      • -
      - - - -
        -
      • -

        add16

        -
        public void add16​(int b)
        -
        Appends a 16bit value of bytecode.
        -
      • -
      - - - -
        -
      • -

        add32

        -
        public void add32​(int b)
        -
        Appends a 32bit value of bytecode.
        -
      • -
      - - - -
        -
      • -

        addInvoke

        -
        public void addInvoke​(int opcode,
        -                      java.lang.String targetClass,
        -                      java.lang.String methodName,
        -                      java.lang.String descriptor)
        -
        Appends a invokevirtual, inovkespecial, or invokestatic bytecode.
        -
        -
        See Also:
        -
        Opcode
        -
        -
      • -
      - - - -
        -
      • -

        codeEnd

        -
        public void codeEnd​(int maxStack,
        -                    int maxLocals)
        -
        Ends appending bytecode.
        -
      • -
      - - - -
        -
      • -

        addCatch

        -
        public void addCatch​(int startPc,
        -                     int endPc,
        -                     int handlerPc,
        -                     int catchType)
        -
        Appends an exception_table entry to the - Code_attribute. This method is available - only after the codeEnd method is called.
        -
        -
        Parameters:
        -
        catchType - an index indicating a CONSTANT_Class_info.
        -
        -
      • -
      - - - -
        -
      • -

        end

        -
        public void end​(StackMapTable.Writer smap,
        -                ClassFileWriter.AttributeWriter aw)
        -
        Ends adding a new method. The add method must be - called before the end method is called.
        -
        -
        Parameters:
        -
        smap - a stack map table. may be null.
        -
        aw - attributes to the Code_attribute. - may be null.
        -
        -
      • -
      - - - -
        -
      • -

        size

        -
        public int size()
        -
        Returns the length of the bytecode that has been added so far.
        -
        -
        Returns:
        -
        the length in bytes.
        -
        Since:
        -
        3.19
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/ClassFileWriter.html b/html/javassist/bytecode/ClassFileWriter.html deleted file mode 100644 index a5ef9187..00000000 --- a/html/javassist/bytecode/ClassFileWriter.html +++ /dev/null @@ -1,533 +0,0 @@ - - - - - -ClassFileWriter (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ClassFileWriter

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.ClassFileWriter
    • -
    -
  • -
-
-
    -
  • -
    -
    public class ClassFileWriter
    -extends java.lang.Object
    -
    A quick class-file writer. This is useful when a generated - class file is simple and the code generation should be fast. - -

    Example: - -

    - ClassFileWriter cfw = new ClassFileWriter(ClassFile.JAVA_4, 0);
    - ConstPoolWriter cpw = cfw.getConstPool();
    -
    - FieldWriter fw = cfw.getFieldWriter();
    - fw.add(AccessFlag.PUBLIC, "value", "I", null);
    - fw.add(AccessFlag.PUBLIC, "value2", "J", null);
    -
    - int thisClass = cpw.addClassInfo("sample/Test");
    - int superClass = cpw.addClassInfo("java/lang/Object");
    -
    - MethodWriter mw = cfw.getMethodWriter();
    -
    - mw.begin(AccessFlag.PUBLIC, MethodInfo.nameInit, "()V", null, null);
    - mw.add(Opcode.ALOAD_0);
    - mw.add(Opcode.INVOKESPECIAL);
    - int signature = cpw.addNameAndTypeInfo(MethodInfo.nameInit, "()V");
    - mw.add16(cpw.addMethodrefInfo(superClass, signature));
    - mw.add(Opcode.RETURN);
    - mw.codeEnd(1, 1);
    - mw.end(null, null);
    -
    - mw.begin(AccessFlag.PUBLIC, "one", "()I", null, null);
    - mw.add(Opcode.ICONST_1);
    - mw.add(Opcode.IRETURN);
    - mw.codeEnd(1, 1);
    - mw.end(null, null);
    -
    - byte[] classfile = cfw.end(AccessFlag.PUBLIC, thisClass, superClass,
    -                            null, null);
    - 
    - -

    The code above generates the following class: - -

    - package sample;
    - public class Test {
    -     public int value;
    -     public long value2;
    -     public Test() { super(); }
    -     public one() { return 1; }
    - }
    - 
    -
    -
    Since:
    -
    3.13
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ClassFileWriter

        -
        public ClassFileWriter​(int major,
        -                       int minor)
        -
        Constructs a class file writer.
        -
        -
        Parameters:
        -
        major - the major version (ClassFile.JAVA_4, ClassFile.JAVA_5, ...).
        -
        minor - the minor version (0 for JDK 1.3 and later).
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - - - - - - - - - - - - - -
        -
      • -

        end

        -
        public byte[] end​(int accessFlags,
        -                  int thisClass,
        -                  int superClass,
        -                  int[] interfaces,
        -                  ClassFileWriter.AttributeWriter aw)
        -
        Ends writing and returns the contents of the class file.
        -
        -
        Parameters:
        -
        accessFlags - access flags.
        -
        thisClass - this class. an index indicating its CONSTANT_Class_info.
        -
        superClass - super class. an index indicating its CONSTANT_Class_info.
        -
        interfaces - implemented interfaces. - index numbers indicating their ClassInfo. - It may be null.
        -
        aw - attributes of the class file. May be null.
        -
        See Also:
        -
        AccessFlag
        -
        -
      • -
      - - - -
        -
      • -

        end

        -
        public void end​(java.io.DataOutputStream out,
        -                int accessFlags,
        -                int thisClass,
        -                int superClass,
        -                int[] interfaces,
        -                ClassFileWriter.AttributeWriter aw)
        -         throws java.io.IOException
        -
        Ends writing and writes the contents of the class file into the - given output stream.
        -
        -
        Parameters:
        -
        accessFlags - access flags.
        -
        thisClass - this class. an index indicating its CONSTANT_Class_info.
        -
        superClass - super class. an index indicating its CONSTANT_Class_info.
        -
        interfaces - implemented interfaces. - index numbers indicating their CONSTATNT_Class_info. - It may be null.
        -
        aw - attributes of the class file. May be null.
        -
        Throws:
        -
        java.io.IOException
        -
        See Also:
        -
        AccessFlag
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/CodeAttribute.RuntimeCopyException.html b/html/javassist/bytecode/CodeAttribute.RuntimeCopyException.html deleted file mode 100644 index d62c4b9c..00000000 --- a/html/javassist/bytecode/CodeAttribute.RuntimeCopyException.html +++ /dev/null @@ -1,308 +0,0 @@ - - - - - -CodeAttribute.RuntimeCopyException (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class CodeAttribute.RuntimeCopyException

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.lang.Throwable
    • -
    • -
        -
      • java.lang.Exception
      • -
      • -
          -
        • java.lang.RuntimeException
        • -
        • -
            -
          • javassist.bytecode.CodeAttribute.RuntimeCopyException
          • -
          -
        • -
        -
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    Enclosing class:
    -
    CodeAttribute
    -
    -
    -
    public static class CodeAttribute.RuntimeCopyException
    -extends java.lang.RuntimeException
    -
    An exception that may be thrown by copy() - in CodeAttribute.
    -
    -
    See Also:
    -
    Serialized Form
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      RuntimeCopyException​(java.lang.String s) -
      Constructs an exception.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        RuntimeCopyException

        -
        public RuntimeCopyException​(java.lang.String s)
        -
        Constructs an exception.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/CodeAttribute.html b/html/javassist/bytecode/CodeAttribute.html deleted file mode 100644 index 9d5e1429..00000000 --- a/html/javassist/bytecode/CodeAttribute.html +++ /dev/null @@ -1,844 +0,0 @@ - - - - - -CodeAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class CodeAttribute

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Opcode
    -
    -
    -
    public class CodeAttribute
    -extends AttributeInfo
    -implements Opcode
    -
    Code_attribute. - -

    To browse the code field of - a Code_attribute structure, - use CodeIterator.

    -
    -
    See Also:
    -
    CodeIterator, -iterator()
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        tag

        -
        public static final java.lang.String tag
        -
        The name of this attribute "Code".
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        CodeAttribute

        -
        public CodeAttribute​(ConstPool cp,
        -                     int stack,
        -                     int locals,
        -                     byte[] code,
        -                     ExceptionTable etable)
        -
        Constructs a Code_attribute.
        -
        -
        Parameters:
        -
        cp - constant pool table
        -
        stack - max_stack
        -
        locals - max_locals
        -
        code - code[]
        -
        etable - exception_table[]
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        copy

        -
        public AttributeInfo copy​(ConstPool newCp,
        -                          java.util.Map<java.lang.String,​java.lang.String> classnames)
        -                   throws CodeAttribute.RuntimeCopyException
        -
        Makes a copy. Class names are replaced according to the - given Map object.
        -
        -
        Overrides:
        -
        copy in class AttributeInfo
        -
        Parameters:
        -
        newCp - the constant pool table used by the new copy.
        -
        classnames - pairs of replaced and substituted - class names.
        -
        Returns:
        -
        CodeAttribute object.
        -
        Throws:
        -
        CodeAttribute.RuntimeCopyException - if a BadBytecode - exception is thrown, it is - converted into - RuntimeCopyException.
        -
        -
      • -
      - - - -
        -
      • -

        length

        -
        public int length()
        -
        Returns the length of this attribute_info - structure. - The returned value is attribute_length + 6.
        -
        -
        Overrides:
        -
        length in class AttributeInfo
        -
        -
      • -
      - - - -
        -
      • -

        get

        -
        public byte[] get()
        -
        This method is not available.
        -
        -
        Overrides:
        -
        get in class AttributeInfo
        -
        Throws:
        -
        java.lang.UnsupportedOperationException - always thrown.
        -
        -
      • -
      - - - -
        -
      • -

        set

        -
        public void set​(byte[] newinfo)
        -
        This method is not available.
        -
        -
        Overrides:
        -
        set in class AttributeInfo
        -
        Throws:
        -
        java.lang.UnsupportedOperationException - always thrown.
        -
        -
      • -
      - - - -
        -
      • -

        getDeclaringClass

        -
        public java.lang.String getDeclaringClass()
        -
        Returns the name of the class declaring the method including - this code attribute.
        -
      • -
      - - - -
        -
      • -

        getMaxStack

        -
        public int getMaxStack()
        -
        Returns max_stack.
        -
      • -
      - - - -
        -
      • -

        setMaxStack

        -
        public void setMaxStack​(int value)
        -
        Sets max_stack.
        -
      • -
      - - - -
        -
      • -

        computeMaxStack

        -
        public int computeMaxStack()
        -                    throws BadBytecode
        -
        Computes the maximum stack size and sets max_stack - to the computed size.
        -
        -
        Returns:
        -
        the newly computed value of max_stack
        -
        Throws:
        -
        BadBytecode - if this method fails in computing.
        -
        -
      • -
      - - - -
        -
      • -

        getMaxLocals

        -
        public int getMaxLocals()
        -
        Returns max_locals.
        -
      • -
      - - - -
        -
      • -

        setMaxLocals

        -
        public void setMaxLocals​(int value)
        -
        Sets max_locals.
        -
      • -
      - - - -
        -
      • -

        getCodeLength

        -
        public int getCodeLength()
        -
        Returns code_length.
        -
      • -
      - - - -
        -
      • -

        getCode

        -
        public byte[] getCode()
        -
        Returns code[].
        -
      • -
      - - - -
        -
      • -

        iterator

        -
        public CodeIterator iterator()
        -
        Makes a new iterator for reading this code attribute.
        -
      • -
      - - - -
        -
      • -

        getExceptionTable

        -
        public ExceptionTable getExceptionTable()
        -
        Returns exception_table[].
        -
      • -
      - - - -
        -
      • -

        getAttributes

        -
        public java.util.List<AttributeInfo> getAttributes()
        -
        Returns attributes[]. - It returns a list of AttributeInfo. - A new element can be added to the returned list - and an existing element can be removed from the list.
        -
        -
        See Also:
        -
        AttributeInfo
        -
        -
      • -
      - - - -
        -
      • -

        getAttribute

        -
        public AttributeInfo getAttribute​(java.lang.String name)
        -
        Returns the attribute with the specified name. - If it is not found, this method returns null.
        -
        -
        Parameters:
        -
        name - attribute name
        -
        Returns:
        -
        an AttributeInfo object or null.
        -
        -
      • -
      - - - -
        -
      • -

        setAttribute

        -
        public void setAttribute​(StackMapTable smt)
        -
        Adds a stack map table. If another copy of stack map table - is already contained, the old one is removed.
        -
        -
        Parameters:
        -
        smt - the stack map table added to this code attribute. - If it is null, a new stack map is not added. - Only the old stack map is removed.
        -
        -
      • -
      - - - -
        -
      • -

        setAttribute

        -
        public void setAttribute​(StackMap sm)
        -
        Adds a stack map table for J2ME (CLDC). If another copy of stack map table - is already contained, the old one is removed.
        -
        -
        Parameters:
        -
        sm - the stack map table added to this code attribute. - If it is null, a new stack map is not added. - Only the old stack map is removed.
        -
        Since:
        -
        3.12
        -
        -
      • -
      - - - - -
    • -
    -
    -
  • -
-
-
-
- - - - diff --git a/html/javassist/bytecode/CodeIterator.Gap.html b/html/javassist/bytecode/CodeIterator.Gap.html deleted file mode 100644 index 17a1bf21..00000000 --- a/html/javassist/bytecode/CodeIterator.Gap.html +++ /dev/null @@ -1,340 +0,0 @@ - - - - - -CodeIterator.Gap (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class CodeIterator.Gap

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.CodeIterator.Gap
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    CodeIterator
    -
    -
    -
    public static class CodeIterator.Gap
    -extends java.lang.Object
    -
    An inserted gap.
    -
    -
    Since:
    -
    3.11
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      intlength -
      The length of the gap.
      -
      intposition -
      The position of the gap.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Gap() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        position

        -
        public int position
        -
        The position of the gap.
        -
      • -
      - - - -
        -
      • -

        length

        -
        public int length
        -
        The length of the gap.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Gap

        -
        public Gap()
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/CodeIterator.html b/html/javassist/bytecode/CodeIterator.html deleted file mode 100644 index 567c454c..00000000 --- a/html/javassist/bytecode/CodeIterator.html +++ /dev/null @@ -1,1376 +0,0 @@ - - - - - -CodeIterator (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class CodeIterator

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.CodeIterator
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Opcode
    -
    -
    -
    public class CodeIterator
    -extends java.lang.Object
    -implements Opcode
    -
    An iterator for editing a code attribute. - -

    To directly read or edit a bytecode sequence, call byteAt(int), s16bitAt(int), - writeByte(int, int), write16bit(int, int), and other methods. - For example, if method refers to a CtMethod object, - the following code substitutes the NOP instruction for the first - instruction of the method: - -

    - CodeAttribute ca = method.getMethodInfo().getCodeAttribute();
    - CodeIterator ci = ca.iterator();
    - ci.writeByte(Opcode.NOP, 0);
    - -

    To visit every instruction, call next() on a CodeIterator. - It returns the index of the first byte of the next instruction. - -

    If there are multiple CodeIterators referring to the - same Code_attribute, then inserting a gap by one - CodeIterator will break the other - CodeIterator. - -

    This iterator does not provide remove(). - If a piece of code in a Code_attribute is unnecessary, - it should be overwritten with NOP.

    -
    -
    See Also:
    -
    CodeAttribute.iterator()
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        begin

        -
        public void begin()
        -
        Moves to the first instruction.
        -
      • -
      - - - -
        -
      • -

        move

        -
        public void move​(int index)
        -
        Moves to the given index. - -

        The index of the next instruction is set to the given index. - The successive call to next() - returns the index that has been given to move(). - -

        Note that the index is into the byte array returned by - get().getCode().

        -
        -
        See Also:
        -
        CodeAttribute.getCode()
        -
        -
      • -
      - - - -
        -
      • -

        setMark

        -
        public void setMark​(int index)
        -
        Sets a mark to the bytecode at the given index. - The mark can be used to track the position of that bytecode - when code blocks are inserted. - If a code block is inclusively inserted at the position of the - bytecode, the mark is set to the inserted code block.
        -
        -
        Since:
        -
        3.11
        -
        See Also:
        -
        getMark()
        -
        -
      • -
      - - - -
        -
      • -

        getMark

        -
        public int getMark()
        -
        Gets the index of the position of the mark set by - setMark.
        -
        -
        Returns:
        -
        the index of the position.
        -
        Since:
        -
        3.11
        -
        See Also:
        -
        setMark(int)
        -
        -
      • -
      - - - -
        -
      • -

        get

        -
        public CodeAttribute get()
        -
        Returns a Code attribute read with this iterator.
        -
      • -
      - - - -
        -
      • -

        getCodeLength

        -
        public int getCodeLength()
        -
        Returns code_length of Code_attribute.
        -
      • -
      - - - -
        -
      • -

        byteAt

        -
        public int byteAt​(int index)
        -
        Returns the unsigned 8bit value at the given index.
        -
      • -
      - - - -
        -
      • -

        signedByteAt

        -
        public int signedByteAt​(int index)
        -
        Returns the signed 8bit value at the given index.
        -
      • -
      - - - -
        -
      • -

        writeByte

        -
        public void writeByte​(int value,
        -                      int index)
        -
        Writes an 8bit value at the given index.
        -
      • -
      - - - -
        -
      • -

        u16bitAt

        -
        public int u16bitAt​(int index)
        -
        Returns the unsigned 16bit value at the given index.
        -
      • -
      - - - -
        -
      • -

        s16bitAt

        -
        public int s16bitAt​(int index)
        -
        Returns the signed 16bit value at the given index.
        -
      • -
      - - - -
        -
      • -

        write16bit

        -
        public void write16bit​(int value,
        -                       int index)
        -
        Writes a 16 bit integer at the index.
        -
      • -
      - - - -
        -
      • -

        s32bitAt

        -
        public int s32bitAt​(int index)
        -
        Returns the signed 32bit value at the given index.
        -
      • -
      - - - -
        -
      • -

        write32bit

        -
        public void write32bit​(int value,
        -                       int index)
        -
        Writes a 32bit integer at the index.
        -
      • -
      - - - -
        -
      • -

        write

        -
        public void write​(byte[] code,
        -                  int index)
        -
        Writes a byte array at the index.
        -
        -
        Parameters:
        -
        code - may be a zero-length array.
        -
        -
      • -
      - - - -
        -
      • -

        hasNext

        -
        public boolean hasNext()
        -
        Returns true if there is more instructions.
        -
      • -
      - - - -
        -
      • -

        next

        -
        public int next()
        -         throws BadBytecode
        -
        Returns the index of the next instruction - (not the operand following the current opcode). - -

        Note that the index is into the byte array returned by - get().getCode().

        -
        -
        Throws:
        -
        BadBytecode
        -
        See Also:
        -
        CodeAttribute.getCode(), -byteAt(int)
        -
        -
      • -
      - - - -
        -
      • -

        lookAhead

        -
        public int lookAhead()
        -
        Obtains the value that the next call - to next() will return. - -

        This method is side-effects free. - Successive calls to lookAhead() return the - same value until next() is called.

        -
      • -
      - - - -
        -
      • -

        skipConstructor

        -
        public int skipConstructor()
        -                    throws BadBytecode
        -
        Moves to the instruction for - either super() or this(). - -

        This method skips all the instructions for computing arguments - to super() or this(), which should be - placed at the beginning of a constructor body. - -

        This method returns the index of INVOKESPECIAL instruction - executing super() or this(). - A successive call to next() returns the - index of the next instruction following that INVOKESPECIAL. - -

        This method works only for a constructor.

        -
        -
        Returns:
        -
        the index of the INVOKESPECIAL instruction, or -1 - if a constructor invocation is not found.
        -
        Throws:
        -
        BadBytecode
        -
        -
      • -
      - - - -
        -
      • -

        skipSuperConstructor

        -
        public int skipSuperConstructor()
        -                         throws BadBytecode
        -
        Moves to the instruction for super(). - -

        This method skips all the instructions for computing arguments to - super(), which should be - placed at the beginning of a constructor body. - -

        This method returns the index of INVOKESPECIAL instruction - executing super(). - A successive call to next() returns the - index of the next instruction following that INVOKESPECIAL. - -

        This method works only for a constructor.

        -
        -
        Returns:
        -
        the index of the INVOKESPECIAL instruction, or -1 - if a super constructor invocation is not found - but this() is found.
        -
        Throws:
        -
        BadBytecode
        -
        -
      • -
      - - - -
        -
      • -

        skipThisConstructor

        -
        public int skipThisConstructor()
        -                        throws BadBytecode
        -
        Moves to the instruction for this(). - -

        This method skips all the instructions for computing arguments to - this(), which should be - placed at the beginning of a constructor body. - -

        This method returns the index of INVOKESPECIAL instruction - executing this(). - A successive call to next() returns the - index of the next instruction following that INVOKESPECIAL. - -

        This method works only for a constructor.

        -
        -
        Returns:
        -
        the index of the INVOKESPECIAL instruction, or -1 - if a explicit constructor invocation is not found - but super() is found.
        -
        Throws:
        -
        BadBytecode
        -
        -
      • -
      - - - -
        -
      • -

        insert

        -
        public int insert​(byte[] code)
        -           throws BadBytecode
        -
        Inserts the given bytecode sequence - before the next instruction that would be returned by - next() (not before the instruction returned - by the last call to next()). - Branch offsets and the exception table are also updated. - -

        If the next instruction is at the beginning of a block statement, - then the bytecode is inserted within that block. - -

        An extra gap may be inserted at the end of the inserted - bytecode sequence for adjusting alignment if the code attribute - includes LOOKUPSWITCH or TABLESWITCH.

        -
        -
        Parameters:
        -
        code - inserted bytecode sequence.
        -
        Returns:
        -
        the index indicating the first byte of the - inserted byte sequence.
        -
        Throws:
        -
        BadBytecode
        -
        -
      • -
      - - - -
        -
      • -

        insert

        -
        public void insert​(int pos,
        -                   byte[] code)
        -            throws BadBytecode
        -
        Inserts the given bytecode sequence - before the instruction at the given index pos. - Branch offsets and the exception table are also updated. - -

        If the instruction at the given index is at the beginning - of a block statement, - then the bytecode is inserted within that block. - -

        An extra gap may be inserted at the end of the inserted - bytecode sequence for adjusting alignment if the code attribute - includes LOOKUPSWITCH or TABLESWITCH. - -

        The index at which the byte sequence is actually inserted - might be different from pos since some other bytes might be - inserted at other positions (e.g. to change GOTO - to GOTO_W).

        -
        -
        Parameters:
        -
        pos - the index at which a byte sequence is inserted.
        -
        code - inserted bytecode sequence.
        -
        Throws:
        -
        BadBytecode
        -
        -
      • -
      - - - -
        -
      • -

        insertAt

        -
        public int insertAt​(int pos,
        -                    byte[] code)
        -             throws BadBytecode
        -
        Inserts the given bytecode sequence - before the instruction at the given index pos. - Branch offsets and the exception table are also updated. - -

        If the instruction at the given index is at the beginning - of a block statement, - then the bytecode is inserted within that block. - -

        An extra gap may be inserted at the end of the inserted - bytecode sequence for adjusting alignment if the code attribute - includes LOOKUPSWITCH or TABLESWITCH.

        -
        -
        Parameters:
        -
        pos - the index at which a byte sequence is inserted.
        -
        code - inserted bytecode sequence.
        -
        Returns:
        -
        the index indicating the first byte of the - inserted byte sequence, which might be - different from pos.
        -
        Throws:
        -
        BadBytecode
        -
        Since:
        -
        3.11
        -
        -
      • -
      - - - -
        -
      • -

        insertEx

        -
        public int insertEx​(byte[] code)
        -             throws BadBytecode
        -
        Inserts the given bytecode sequence exclusively - before the next instruction that would be returned by - next() (not before the instruction returned - by tha last call to next()). - Branch offsets and the exception table are also updated. - -

        If the next instruction is at the beginning of a block statement, - then the bytecode is excluded from that block. - -

        An extra gap may be inserted at the end of the inserted - bytecode sequence for adjusting alignment if the code attribute - includes LOOKUPSWITCH or TABLESWITCH.

        -
        -
        Parameters:
        -
        code - inserted bytecode sequence.
        -
        Returns:
        -
        the index indicating the first byte of the - inserted byte sequence.
        -
        Throws:
        -
        BadBytecode
        -
        -
      • -
      - - - -
        -
      • -

        insertEx

        -
        public void insertEx​(int pos,
        -                     byte[] code)
        -              throws BadBytecode
        -
        Inserts the given bytecode sequence exclusively - before the instruction at the given index pos. - Branch offsets and the exception table are also updated. - -

        If the instruction at the given index is at the beginning - of a block statement, - then the bytecode is excluded from that block. - -

        An extra gap may be inserted at the end of the inserted - bytecode sequence for adjusting alignment if the code attribute - includes LOOKUPSWITCH or TABLESWITCH. - -

        The index at which the byte sequence is actually inserted - might be different from pos since some other bytes might be - inserted at other positions (e.g. to change GOTO - to GOTO_W).

        -
        -
        Parameters:
        -
        pos - the index at which a byte sequence is inserted.
        -
        code - inserted bytecode sequence.
        -
        Throws:
        -
        BadBytecode
        -
        -
      • -
      - - - -
        -
      • -

        insertExAt

        -
        public int insertExAt​(int pos,
        -                      byte[] code)
        -               throws BadBytecode
        -
        Inserts the given bytecode sequence exclusively - before the instruction at the given index pos. - Branch offsets and the exception table are also updated. - -

        If the instruction at the given index is at the beginning - of a block statement, - then the bytecode is excluded from that block. - -

        An extra gap may be inserted at the end of the inserted - bytecode sequence for adjusting alignment if the code attribute - includes LOOKUPSWITCH or TABLESWITCH.

        -
        -
        Parameters:
        -
        pos - the index at which a byte sequence is inserted.
        -
        code - inserted bytecode sequence.
        -
        Returns:
        -
        the index indicating the first byte of the - inserted byte sequence, which might be - different from pos.
        -
        Throws:
        -
        BadBytecode
        -
        Since:
        -
        3.11
        -
        -
      • -
      - - - -
        -
      • -

        insertGap

        -
        public int insertGap​(int length)
        -              throws BadBytecode
        -
        Inserts a gap - before the next instruction that would be returned by - next() (not before the instruction returned - by the last call to next()). - Branch offsets and the exception table are also updated. - The inserted gap is filled with NOP. The gap length may be - extended to a multiple of 4. - -

        If the next instruction is at the beginning of a block statement, - then the gap is inserted within that block.

        -
        -
        Parameters:
        -
        length - gap length
        -
        Returns:
        -
        the index indicating the first byte of the inserted gap.
        -
        Throws:
        -
        BadBytecode
        -
        -
      • -
      - - - -
        -
      • -

        insertGap

        -
        public int insertGap​(int pos,
        -                     int length)
        -              throws BadBytecode
        -
        Inserts a gap in front of the instruction at the given - index pos. - Branch offsets and the exception table are also updated. - The inserted gap is filled with NOP. The gap length may be - extended to a multiple of 4. - -

        If the instruction at the given index is at the beginning - of a block statement, - then the gap is inserted within that block.

        -
        -
        Parameters:
        -
        pos - the index at which a gap is inserted.
        -
        length - gap length.
        -
        Returns:
        -
        the length of the inserted gap. - It might be bigger than length.
        -
        Throws:
        -
        BadBytecode
        -
        -
      • -
      - - - -
        -
      • -

        insertExGap

        -
        public int insertExGap​(int length)
        -                throws BadBytecode
        -
        Inserts an exclusive gap - before the next instruction that would be returned by - next() (not before the instruction returned - by the last call to next()). - Branch offsets and the exception table are also updated. - The inserted gap is filled with NOP. The gap length may be - extended to a multiple of 4. - -

        If the next instruction is at the beginning of a block statement, - then the gap is excluded from that block.

        -
        -
        Parameters:
        -
        length - gap length
        -
        Returns:
        -
        the index indicating the first byte of the inserted gap.
        -
        Throws:
        -
        BadBytecode
        -
        -
      • -
      - - - -
        -
      • -

        insertExGap

        -
        public int insertExGap​(int pos,
        -                       int length)
        -                throws BadBytecode
        -
        Inserts an exclusive gap in front of the instruction at the given - index pos. - Branch offsets and the exception table are also updated. - The inserted gap is filled with NOP. The gap length may be - extended to a multiple of 4. - -

        If the instruction at the given index is at the beginning - of a block statement, - then the gap is excluded from that block.

        -
        -
        Parameters:
        -
        pos - the index at which a gap is inserted.
        -
        length - gap length.
        -
        Returns:
        -
        the length of the inserted gap. - It might be bigger than length.
        -
        Throws:
        -
        BadBytecode
        -
        -
      • -
      - - - -
        -
      • -

        insertGapAt

        -
        public CodeIterator.Gap insertGapAt​(int pos,
        -                                    int length,
        -                                    boolean exclusive)
        -                             throws BadBytecode
        -
        Inserts an inclusive or exclusive gap in front of the instruction - at the given index pos. - Branch offsets and the exception table in the method body - are also updated. The inserted gap is filled with NOP. - The gap length may be extended to a multiple of 4. - -

        Suppose that the instruction at the given index is at the - beginning of a block statement. If the gap is inclusive, - then it is included within that block. If the gap is exclusive, - then it is excluded from that block. - -

        The index at which the gap is actually inserted - might be different from pos since some other bytes might be - inserted at other positions (e.g. to change GOTO - to GOTO_W). The index is available from the Gap - object returned by this method. - -

        Suppose that the gap is inserted at the position of - the next instruction that would be returned by - next() (not the last instruction returned - by the last call to next()). The next - instruction returned by next() after the gap is - inserted is still the same instruction. It is not NOP - at the first byte of the inserted gap.

        -
        -
        Parameters:
        -
        pos - the index at which a gap is inserted.
        -
        length - gap length.
        -
        exclusive - true if exclusive, otherwise false.
        -
        Returns:
        -
        the position and the length of the inserted gap.
        -
        Throws:
        -
        BadBytecode
        -
        Since:
        -
        3.11
        -
        -
      • -
      - - - -
        -
      • -

        insert

        -
        public void insert​(ExceptionTable et,
        -                   int offset)
        -
        Copies and inserts the entries in the given exception table - at the beginning of the exception table in the code attribute - edited by this object.
        -
        -
        Parameters:
        -
        offset - the value added to the code positions included - in the entries.
        -
        -
      • -
      - - - -
        -
      • -

        append

        -
        public int append​(byte[] code)
        -
        Appends the given bytecode sequence at the end.
        -
        -
        Parameters:
        -
        code - the bytecode appended.
        -
        Returns:
        -
        the position of the first byte of the appended bytecode.
        -
        -
      • -
      - - - -
        -
      • -

        appendGap

        -
        public void appendGap​(int gapLength)
        -
        Appends a gap at the end of the bytecode sequence.
        -
        -
        Parameters:
        -
        gapLength - gap length
        -
        -
      • -
      - - - -
        -
      • -

        append

        -
        public void append​(ExceptionTable et,
        -                   int offset)
        -
        Copies and appends the entries in the given exception table - at the end of the exception table in the code attribute - edited by this object.
        -
        -
        Parameters:
        -
        offset - the value added to the code positions included - in the entries.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/ConstPool.html b/html/javassist/bytecode/ConstPool.html deleted file mode 100644 index e7e8f610..00000000 --- a/html/javassist/bytecode/ConstPool.html +++ /dev/null @@ -1,2709 +0,0 @@ - - - - - -ConstPool (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ConstPool

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.ConstPool
    • -
    -
  • -
-
-
    -
  • -
    -
    public final class ConstPool
    -extends java.lang.Object
    -
    Constant pool table.
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      ConstPool​(java.io.DataInputStream in) -
      Constructs a constant pool table from the given byte stream.
      -
      ConstPool​(java.lang.String thisclass) -
      Constructs a constant pool table.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      intaddClassInfo​(java.lang.String qname) -
      Adds a new CONSTANT_Class_info structure.
      -
      intaddClassInfo​(CtClass c) -
      Adds a new CONSTANT_Class_info structure.
      -
      intaddDoubleInfo​(double d) -
      Adds a new CONSTANT_Double_info - structure.
      -
      intaddFieldrefInfo​(int classInfo, - int nameAndTypeInfo) -
      Adds a new CONSTANT_Fieldref_info structure.
      -
      intaddFieldrefInfo​(int classInfo, - java.lang.String name, - java.lang.String type) -
      Adds a new CONSTANT_Fieldref_info structure.
      -
      intaddFloatInfo​(float f) -
      Adds a new CONSTANT_Float_info - structure.
      -
      intaddIntegerInfo​(int i) -
      Adds a new CONSTANT_Integer_info - structure.
      -
      intaddInterfaceMethodrefInfo​(int classInfo, - int nameAndTypeInfo) -
      Adds a new CONSTANT_InterfaceMethodref_info - structure.
      -
      intaddInterfaceMethodrefInfo​(int classInfo, - java.lang.String name, - java.lang.String type) -
      Adds a new CONSTANT_InterfaceMethodref_info - structure.
      -
      intaddInvokeDynamicInfo​(int bootstrap, - int nameAndType) -
      Adds a new CONSTANT_InvokeDynamic_info - structure.
      -
      intaddLongInfo​(long l) -
      Adds a new CONSTANT_Long_info - structure.
      -
      intaddMethodHandleInfo​(int kind, - int index) -
      Adds a new CONSTANT_MethodHandle_info - structure.
      -
      intaddMethodrefInfo​(int classInfo, - int nameAndTypeInfo) -
      Adds a new CONSTANT_Methodref_info structure.
      -
      intaddMethodrefInfo​(int classInfo, - java.lang.String name, - java.lang.String type) -
      Adds a new CONSTANT_Methodref_info structure.
      -
      intaddMethodTypeInfo​(int desc) -
      Adds a new CONSTANT_MethodType_info - structure.
      -
      intaddModuleInfo​(int nameIndex) -
      Adds a new CONSTANT_Module_info
      -
      intaddNameAndTypeInfo​(int name, - int type) -
      Adds a new CONSTANT_NameAndType_info structure.
      -
      intaddNameAndTypeInfo​(java.lang.String name, - java.lang.String type) -
      Adds a new CONSTANT_NameAndType_info structure.
      -
      intaddPackageInfo​(int nameIndex) -
      Adds a new CONSTANT_Package_info
      -
      intaddStringInfo​(java.lang.String str) -
      Adds a new CONSTANT_String_info - structure.
      -
      intaddUtf8Info​(java.lang.String utf8) -
      Adds a new CONSTANT_Utf8_info - structure.
      -
      intcopy​(int n, - ConstPool dest, - java.util.Map<java.lang.String,​java.lang.String> classnames) -
      Copies the n-th item in this ConstPool object into the destination - ConstPool object.
      -
      java.lang.StringeqMember​(java.lang.String membername, - java.lang.String desc, - int index) -
      Determines whether CONSTANT_Methodref_info, - CONSTANT_Fieldref_info, or - CONSTANT_InterfaceMethodref_info structure - at the given index has the name and the descriptor - given as the arguments.
      -
      java.lang.StringgetClassInfo​(int index) -
      Reads CONSTANT_Class_info structure - at the given index.
      -
      java.lang.StringgetClassInfoByDescriptor​(int index) -
      Reads CONSTANT_Class_info structure - at the given index.
      -
      java.lang.StringgetClassName() -
      Returns the name of the class using this constant pool table.
      -
      java.util.Set<java.lang.String>getClassNames() -
      Get all the class names.
      -
      doublegetDoubleInfo​(int index) -
      Reads CONSTANT_Double_info structure - at the given index.
      -
      intgetFieldrefClass​(int index) -
      Reads the class_index field of the - CONSTANT_Fieldref_info structure - at the given index.
      -
      java.lang.StringgetFieldrefClassName​(int index) -
      Reads the class_index field of the - CONSTANT_Fieldref_info structure - at the given index.
      -
      java.lang.StringgetFieldrefName​(int index) -
      Reads the name_index field of the - CONSTANT_NameAndType_info structure - indirectly specified by the given index.
      -
      intgetFieldrefNameAndType​(int index) -
      Reads the name_and_type_index field of the - CONSTANT_Fieldref_info structure - at the given index.
      -
      java.lang.StringgetFieldrefType​(int index) -
      Reads the descriptor_index field of the - CONSTANT_NameAndType_info structure - indirectly specified by the given index.
      -
      floatgetFloatInfo​(int index) -
      Reads CONSTANT_Float_info structure - at the given index.
      -
      intgetIntegerInfo​(int index) -
      Reads CONSTANT_Integer_info structure - at the given index.
      -
      intgetInterfaceMethodrefClass​(int index) -
      Reads the class_index field of the - CONSTANT_InterfaceMethodref_info structure - at the given index.
      -
      java.lang.StringgetInterfaceMethodrefClassName​(int index) -
      Reads the class_index field of the - CONSTANT_InterfaceMethodref_info structure - at the given index.
      -
      java.lang.StringgetInterfaceMethodrefName​(int index) -
      Reads the name_index field of the - CONSTANT_NameAndType_info structure - indirectly specified by the given index.
      -
      intgetInterfaceMethodrefNameAndType​(int index) -
      Reads the name_and_type_index field of the - CONSTANT_InterfaceMethodref_info structure - at the given index.
      -
      java.lang.StringgetInterfaceMethodrefType​(int index) -
      Reads the descriptor_index field of the - CONSTANT_NameAndType_info structure - indirectly specified by the given index.
      -
      intgetInvokeDynamicBootstrap​(int index) -
      Reads the bootstrap_method_attr_index field of the - CONSTANT_InvokeDynamic_info structure - at the given index.
      -
      intgetInvokeDynamicNameAndType​(int index) -
      Reads the name_and_type_index field of the - CONSTANT_InvokeDynamic_info structure - at the given index.
      -
      java.lang.StringgetInvokeDynamicType​(int index) -
      Reads the descriptor_index field of the - CONSTANT_NameAndType_info structure - indirectly specified by the given index.
      -
      java.lang.ObjectgetLdcValue​(int index) -
      Reads CONSTANT_Integer_info, _Float_info, - _Long_info, _Double_info, or - _String_info structure.
      -
      longgetLongInfo​(int index) -
      Reads CONSTANT_Long_info structure - at the given index.
      -
      intgetMemberClass​(int index) -
      Reads the class_index field of the - CONSTANT_Fieldref_info, - CONSTANT_Methodref_info, - or CONSTANT_Interfaceref_info, - structure at the given index.
      -
      intgetMemberNameAndType​(int index) -
      Reads the name_and_type_index field of the - CONSTANT_Fieldref_info, - CONSTANT_Methodref_info, - or CONSTANT_Interfaceref_info, - structure at the given index.
      -
      intgetMethodHandleIndex​(int index) -
      Reads the reference_index field of the - CONSTANT_MethodHandle_info structure - at the given index.
      -
      intgetMethodHandleKind​(int index) -
      Reads the reference_kind field of the - CONSTANT_MethodHandle_info structure - at the given index.
      -
      intgetMethodrefClass​(int index) -
      Reads the class_index field of the - CONSTANT_Methodref_info structure - at the given index.
      -
      java.lang.StringgetMethodrefClassName​(int index) -
      Reads the class_index field of the - CONSTANT_Methodref_info structure - at the given index.
      -
      java.lang.StringgetMethodrefName​(int index) -
      Reads the name_index field of the - CONSTANT_NameAndType_info structure - indirectly specified by the given index.
      -
      intgetMethodrefNameAndType​(int index) -
      Reads the name_and_type_index field of the - CONSTANT_Methodref_info structure - at the given index.
      -
      java.lang.StringgetMethodrefType​(int index) -
      Reads the descriptor_index field of the - CONSTANT_NameAndType_info structure - indirectly specified by the given index.
      -
      intgetMethodTypeInfo​(int index) -
      Reads the descriptor_index field of the - CONSTANT_MethodType_info structure - at the given index.
      -
      java.lang.StringgetModuleInfo​(int index) -
      Reads the name_index field of the - CONSTANT_Module_info structure at the given index.
      -
      intgetNameAndTypeDescriptor​(int index) -
      Reads the descriptor_index field of the - CONSTANT_NameAndType_info structure - at the given index.
      -
      intgetNameAndTypeName​(int index) -
      Reads the name_index field of the - CONSTANT_NameAndType_info structure - at the given index.
      -
      java.lang.StringgetPackageInfo​(int index) -
      Reads the name_index field of the - CONSTANT_Package_info structure at the given index.
      -
      intgetSize() -
      Returns the number of entries in this table.
      -
      java.lang.StringgetStringInfo​(int index) -
      Reads CONSTANT_String_info structure - at the given index.
      -
      intgetTag​(int index) -
      Returns the tag field of the constant pool table - entry at the given index.
      -
      intgetThisClassInfo() -
      Returns the index of CONSTANT_Class_info structure - specifying the class using this constant pool table.
      -
      java.lang.StringgetUtf8Info​(int index) -
      Reads CONSTANT_utf8_info structure - at the given index.
      -
      intisConstructor​(java.lang.String classname, - int index) -
      Determines whether CONSTANT_Methodref_info - structure at the given index represents the constructor - of the given class.
      -
      intisMember​(java.lang.String classname, - java.lang.String membername, - int index) -
      Determines whether CONSTANT_Methodref_info, - CONSTANT_Fieldref_info, or - CONSTANT_InterfaceMethodref_info structure - at the given index represents the member with the specified - name and declaring class.
      -
      voidprint() -
      Prints the contents of the constant pool table.
      -
      voidprint​(java.io.PrintWriter out) -
      Prints the contents of the constant pool table.
      -
      voidrenameClass​(java.lang.String oldName, - java.lang.String newName) -
      Replaces all occurrences of a class name.
      -
      voidrenameClass​(java.util.Map<java.lang.String,​java.lang.String> classnames) -
      Replaces all occurrences of class names.
      -
      voidwrite​(java.io.DataOutputStream out) -
      Writes the contents of the constant pool table.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        CONST_Class

        -
        public static final int CONST_Class
        -
        CONSTANT_Class
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        CONST_Fieldref

        -
        public static final int CONST_Fieldref
        -
        CONSTANT_Fieldref
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        CONST_Methodref

        -
        public static final int CONST_Methodref
        -
        CONSTANT_Methodref
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        CONST_InterfaceMethodref

        -
        public static final int CONST_InterfaceMethodref
        -
        CONSTANT_InterfaceMethodref
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        CONST_String

        -
        public static final int CONST_String
        -
        CONSTANT_String
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        CONST_Integer

        -
        public static final int CONST_Integer
        -
        CONSTANT_Integer
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        CONST_Float

        -
        public static final int CONST_Float
        -
        CONSTANT_Float
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        CONST_Long

        -
        public static final int CONST_Long
        -
        CONSTANT_Long
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        CONST_Double

        -
        public static final int CONST_Double
        -
        CONSTANT_Double
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        CONST_NameAndType

        -
        public static final int CONST_NameAndType
        -
        CONSTANT_NameAndType
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        CONST_Utf8

        -
        public static final int CONST_Utf8
        -
        CONSTANT_Utf8
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        CONST_MethodHandle

        -
        public static final int CONST_MethodHandle
        -
        CONSTANT_MethodHandle
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        CONST_MethodType

        -
        public static final int CONST_MethodType
        -
        CONSTANT_MethodHandle
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        CONST_InvokeDynamic

        -
        public static final int CONST_InvokeDynamic
        -
        CONSTANT_MethodHandle
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        CONST_Module

        -
        public static final int CONST_Module
        -
        CONSTANT_Module
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        CONST_Package

        -
        public static final int CONST_Package
        -
        CONSTANT_Package
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        THIS

        -
        public static final CtClass THIS
        -
        Represents the class using this constant pool table.
        -
      • -
      - - - -
        -
      • -

        REF_getField

        -
        public static final int REF_getField
        -
        reference_kind of CONSTANT_MethodHandle_info.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        REF_getStatic

        -
        public static final int REF_getStatic
        -
        reference_kind of CONSTANT_MethodHandle_info.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        REF_putField

        -
        public static final int REF_putField
        -
        reference_kind of CONSTANT_MethodHandle_info.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        REF_putStatic

        -
        public static final int REF_putStatic
        -
        reference_kind of CONSTANT_MethodHandle_info.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        REF_invokeVirtual

        -
        public static final int REF_invokeVirtual
        -
        reference_kind of CONSTANT_MethodHandle_info.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        REF_invokeStatic

        -
        public static final int REF_invokeStatic
        -
        reference_kind of CONSTANT_MethodHandle_info.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        REF_invokeSpecial

        -
        public static final int REF_invokeSpecial
        -
        reference_kind of CONSTANT_MethodHandle_info.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        REF_newInvokeSpecial

        -
        public static final int REF_newInvokeSpecial
        -
        reference_kind of CONSTANT_MethodHandle_info.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        REF_invokeInterface

        -
        public static final int REF_invokeInterface
        -
        reference_kind of CONSTANT_MethodHandle_info.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ConstPool

        -
        public ConstPool​(java.lang.String thisclass)
        -
        Constructs a constant pool table.
        -
        -
        Parameters:
        -
        thisclass - the name of the class using this constant - pool table
        -
        -
      • -
      - - - -
        -
      • -

        ConstPool

        -
        public ConstPool​(java.io.DataInputStream in)
        -          throws java.io.IOException
        -
        Constructs a constant pool table from the given byte stream.
        -
        -
        Parameters:
        -
        in - byte stream.
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getSize

        -
        public int getSize()
        -
        Returns the number of entries in this table.
        -
      • -
      - - - -
        -
      • -

        getClassName

        -
        public java.lang.String getClassName()
        -
        Returns the name of the class using this constant pool table.
        -
      • -
      - - - -
        -
      • -

        getThisClassInfo

        -
        public int getThisClassInfo()
        -
        Returns the index of CONSTANT_Class_info structure - specifying the class using this constant pool table.
        -
      • -
      - - - -
        -
      • -

        getTag

        -
        public int getTag​(int index)
        -
        Returns the tag field of the constant pool table - entry at the given index.
        -
        -
        Returns:
        -
        either CONST_Class, CONST_Fieldref, - CONST_Methodref, or ...
        -
        -
      • -
      - - - -
        -
      • -

        getClassInfo

        -
        public java.lang.String getClassInfo​(int index)
        -
        Reads CONSTANT_Class_info structure - at the given index.
        -
        -
        Returns:
        -
        a fully-qualified class or interface name specified - by name_index. If the type is an array - type, this method returns an encoded name like - [Ljava.lang.Object; (note that the separators - are not slashes but dots).
        -
        See Also:
        -
        ClassPool.getCtClass(String)
        -
        -
      • -
      - - - -
        -
      • -

        getClassInfoByDescriptor

        -
        public java.lang.String getClassInfoByDescriptor​(int index)
        -
        Reads CONSTANT_Class_info structure - at the given index.
        -
        -
        Returns:
        -
        the descriptor of the type specified - by name_index.
        -
        Since:
        -
        3.15
        -
        See Also:
        -
        ClassPool.getCtClass(String)
        -
        -
      • -
      - - - -
        -
      • -

        getNameAndTypeName

        -
        public int getNameAndTypeName​(int index)
        -
        Reads the name_index field of the - CONSTANT_NameAndType_info structure - at the given index.
        -
      • -
      - - - -
        -
      • -

        getNameAndTypeDescriptor

        -
        public int getNameAndTypeDescriptor​(int index)
        -
        Reads the descriptor_index field of the - CONSTANT_NameAndType_info structure - at the given index.
        -
      • -
      - - - -
        -
      • -

        getMemberClass

        -
        public int getMemberClass​(int index)
        -
        Reads the class_index field of the - CONSTANT_Fieldref_info, - CONSTANT_Methodref_info, - or CONSTANT_Interfaceref_info, - structure at the given index.
        -
        -
        Since:
        -
        3.6
        -
        -
      • -
      - - - -
        -
      • -

        getMemberNameAndType

        -
        public int getMemberNameAndType​(int index)
        -
        Reads the name_and_type_index field of the - CONSTANT_Fieldref_info, - CONSTANT_Methodref_info, - or CONSTANT_Interfaceref_info, - structure at the given index.
        -
        -
        Since:
        -
        3.6
        -
        -
      • -
      - - - -
        -
      • -

        getFieldrefClass

        -
        public int getFieldrefClass​(int index)
        -
        Reads the class_index field of the - CONSTANT_Fieldref_info structure - at the given index.
        -
      • -
      - - - -
        -
      • -

        getFieldrefClassName

        -
        public java.lang.String getFieldrefClassName​(int index)
        -
        Reads the class_index field of the - CONSTANT_Fieldref_info structure - at the given index.
        -
        -
        Returns:
        -
        the name of the class at that class_index.
        -
        -
      • -
      - - - -
        -
      • -

        getFieldrefNameAndType

        -
        public int getFieldrefNameAndType​(int index)
        -
        Reads the name_and_type_index field of the - CONSTANT_Fieldref_info structure - at the given index.
        -
      • -
      - - - -
        -
      • -

        getFieldrefName

        -
        public java.lang.String getFieldrefName​(int index)
        -
        Reads the name_index field of the - CONSTANT_NameAndType_info structure - indirectly specified by the given index.
        -
        -
        Parameters:
        -
        index - an index to a CONSTANT_Fieldref_info.
        -
        Returns:
        -
        the name of the field.
        -
        -
      • -
      - - - -
        -
      • -

        getFieldrefType

        -
        public java.lang.String getFieldrefType​(int index)
        -
        Reads the descriptor_index field of the - CONSTANT_NameAndType_info structure - indirectly specified by the given index.
        -
        -
        Parameters:
        -
        index - an index to a CONSTANT_Fieldref_info.
        -
        Returns:
        -
        the type descriptor of the field.
        -
        -
      • -
      - - - -
        -
      • -

        getMethodrefClass

        -
        public int getMethodrefClass​(int index)
        -
        Reads the class_index field of the - CONSTANT_Methodref_info structure - at the given index.
        -
      • -
      - - - -
        -
      • -

        getMethodrefClassName

        -
        public java.lang.String getMethodrefClassName​(int index)
        -
        Reads the class_index field of the - CONSTANT_Methodref_info structure - at the given index.
        -
        -
        Returns:
        -
        the name of the class at that class_index.
        -
        -
      • -
      - - - -
        -
      • -

        getMethodrefNameAndType

        -
        public int getMethodrefNameAndType​(int index)
        -
        Reads the name_and_type_index field of the - CONSTANT_Methodref_info structure - at the given index.
        -
      • -
      - - - -
        -
      • -

        getMethodrefName

        -
        public java.lang.String getMethodrefName​(int index)
        -
        Reads the name_index field of the - CONSTANT_NameAndType_info structure - indirectly specified by the given index.
        -
        -
        Parameters:
        -
        index - an index to a CONSTANT_Methodref_info.
        -
        Returns:
        -
        the name of the method.
        -
        -
      • -
      - - - -
        -
      • -

        getMethodrefType

        -
        public java.lang.String getMethodrefType​(int index)
        -
        Reads the descriptor_index field of the - CONSTANT_NameAndType_info structure - indirectly specified by the given index.
        -
        -
        Parameters:
        -
        index - an index to a CONSTANT_Methodref_info.
        -
        Returns:
        -
        the descriptor of the method.
        -
        -
      • -
      - - - -
        -
      • -

        getInterfaceMethodrefClass

        -
        public int getInterfaceMethodrefClass​(int index)
        -
        Reads the class_index field of the - CONSTANT_InterfaceMethodref_info structure - at the given index.
        -
      • -
      - - - -
        -
      • -

        getInterfaceMethodrefClassName

        -
        public java.lang.String getInterfaceMethodrefClassName​(int index)
        -
        Reads the class_index field of the - CONSTANT_InterfaceMethodref_info structure - at the given index.
        -
        -
        Returns:
        -
        the name of the class at that class_index.
        -
        -
      • -
      - - - -
        -
      • -

        getInterfaceMethodrefNameAndType

        -
        public int getInterfaceMethodrefNameAndType​(int index)
        -
        Reads the name_and_type_index field of the - CONSTANT_InterfaceMethodref_info structure - at the given index.
        -
      • -
      - - - -
        -
      • -

        getInterfaceMethodrefName

        -
        public java.lang.String getInterfaceMethodrefName​(int index)
        -
        Reads the name_index field of the - CONSTANT_NameAndType_info structure - indirectly specified by the given index.
        -
        -
        Parameters:
        -
        index - an index to - a CONSTANT_InterfaceMethodref_info.
        -
        Returns:
        -
        the name of the method.
        -
        -
      • -
      - - - -
        -
      • -

        getInterfaceMethodrefType

        -
        public java.lang.String getInterfaceMethodrefType​(int index)
        -
        Reads the descriptor_index field of the - CONSTANT_NameAndType_info structure - indirectly specified by the given index.
        -
        -
        Parameters:
        -
        index - an index to - a CONSTANT_InterfaceMethodref_info.
        -
        Returns:
        -
        the descriptor of the method.
        -
        -
      • -
      - - - -
        -
      • -

        getLdcValue

        -
        public java.lang.Object getLdcValue​(int index)
        -
        Reads CONSTANT_Integer_info, _Float_info, - _Long_info, _Double_info, or - _String_info structure. - These are used with the LDC instruction.
        -
        -
        Returns:
        -
        a String value or a wrapped primitive-type - value.
        -
        -
      • -
      - - - -
        -
      • -

        getIntegerInfo

        -
        public int getIntegerInfo​(int index)
        -
        Reads CONSTANT_Integer_info structure - at the given index.
        -
        -
        Returns:
        -
        the value specified by this entry.
        -
        -
      • -
      - - - -
        -
      • -

        getFloatInfo

        -
        public float getFloatInfo​(int index)
        -
        Reads CONSTANT_Float_info structure - at the given index.
        -
        -
        Returns:
        -
        the value specified by this entry.
        -
        -
      • -
      - - - -
        -
      • -

        getLongInfo

        -
        public long getLongInfo​(int index)
        -
        Reads CONSTANT_Long_info structure - at the given index.
        -
        -
        Returns:
        -
        the value specified by this entry.
        -
        -
      • -
      - - - -
        -
      • -

        getDoubleInfo

        -
        public double getDoubleInfo​(int index)
        -
        Reads CONSTANT_Double_info structure - at the given index.
        -
        -
        Returns:
        -
        the value specified by this entry.
        -
        -
      • -
      - - - -
        -
      • -

        getStringInfo

        -
        public java.lang.String getStringInfo​(int index)
        -
        Reads CONSTANT_String_info structure - at the given index.
        -
        -
        Returns:
        -
        the string specified by string_index.
        -
        -
      • -
      - - - -
        -
      • -

        getUtf8Info

        -
        public java.lang.String getUtf8Info​(int index)
        -
        Reads CONSTANT_utf8_info structure - at the given index.
        -
        -
        Returns:
        -
        the string specified by this entry.
        -
        -
      • -
      - - - - - - - -
        -
      • -

        getMethodHandleIndex

        -
        public int getMethodHandleIndex​(int index)
        -
        Reads the reference_index field of the - CONSTANT_MethodHandle_info structure - at the given index.
        -
        -
        Since:
        -
        3.17
        -
        -
      • -
      - - - -
        -
      • -

        getMethodTypeInfo

        -
        public int getMethodTypeInfo​(int index)
        -
        Reads the descriptor_index field of the - CONSTANT_MethodType_info structure - at the given index.
        -
        -
        Since:
        -
        3.17
        -
        -
      • -
      - - - -
        -
      • -

        getInvokeDynamicBootstrap

        -
        public int getInvokeDynamicBootstrap​(int index)
        -
        Reads the bootstrap_method_attr_index field of the - CONSTANT_InvokeDynamic_info structure - at the given index.
        -
        -
        Since:
        -
        3.17
        -
        -
      • -
      - - - -
        -
      • -

        getInvokeDynamicNameAndType

        -
        public int getInvokeDynamicNameAndType​(int index)
        -
        Reads the name_and_type_index field of the - CONSTANT_InvokeDynamic_info structure - at the given index.
        -
        -
        Since:
        -
        3.17
        -
        -
      • -
      - - - -
        -
      • -

        getInvokeDynamicType

        -
        public java.lang.String getInvokeDynamicType​(int index)
        -
        Reads the descriptor_index field of the - CONSTANT_NameAndType_info structure - indirectly specified by the given index.
        -
        -
        Parameters:
        -
        index - an index to a CONSTANT_InvokeDynamic_info.
        -
        Returns:
        -
        the descriptor of the method.
        -
        Since:
        -
        3.17
        -
        -
      • -
      - - - -
        -
      • -

        getModuleInfo

        -
        public java.lang.String getModuleInfo​(int index)
        -
        Reads the name_index field of the - CONSTANT_Module_info structure at the given index.
        -
        -
        Returns:
        -
        the module name at name_index.
        -
        Since:
        -
        3.22
        -
        -
      • -
      - - - -
        -
      • -

        getPackageInfo

        -
        public java.lang.String getPackageInfo​(int index)
        -
        Reads the name_index field of the - CONSTANT_Package_info structure at the given index.
        -
        -
        Returns:
        -
        the package name at name_index. It is a slash- - separated name such as com/oracle/net.
        -
        Since:
        -
        3.22
        -
        -
      • -
      - - - -
        -
      • -

        isConstructor

        -
        public int isConstructor​(java.lang.String classname,
        -                         int index)
        -
        Determines whether CONSTANT_Methodref_info - structure at the given index represents the constructor - of the given class.
        -
        -
        Returns:
        -
        the descriptor_index specifying - the type descriptor of the that constructor. - If it is not that constructor, - isConstructor() returns 0.
        -
        -
      • -
      - - - -
        -
      • -

        isMember

        -
        public int isMember​(java.lang.String classname,
        -                    java.lang.String membername,
        -                    int index)
        -
        Determines whether CONSTANT_Methodref_info, - CONSTANT_Fieldref_info, or - CONSTANT_InterfaceMethodref_info structure - at the given index represents the member with the specified - name and declaring class.
        -
        -
        Parameters:
        -
        classname - the class declaring the member
        -
        membername - the member name
        -
        index - the index into the constant pool table
        -
        Returns:
        -
        the descriptor_index specifying - the type descriptor of that member. - If it is not that member, - isMember() returns 0.
        -
        -
      • -
      - - - -
        -
      • -

        eqMember

        -
        public java.lang.String eqMember​(java.lang.String membername,
        -                                 java.lang.String desc,
        -                                 int index)
        -
        Determines whether CONSTANT_Methodref_info, - CONSTANT_Fieldref_info, or - CONSTANT_InterfaceMethodref_info structure - at the given index has the name and the descriptor - given as the arguments.
        -
        -
        Parameters:
        -
        membername - the member name
        -
        desc - the descriptor of the member.
        -
        index - the index into the constant pool table
        -
        Returns:
        -
        the name of the target class specified by - the ..._info structure - at index. - Otherwise, null if that structure does not - match the given member name and descriptor.
        -
        -
      • -
      - - - -
        -
      • -

        copy

        -
        public int copy​(int n,
        -                ConstPool dest,
        -                java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Copies the n-th item in this ConstPool object into the destination - ConstPool object. - The class names that the item refers to are renamed according - to the given map.
        -
        -
        Parameters:
        -
        n - the n-th item
        -
        dest - destination constant pool table
        -
        classnames - the map or null.
        -
        Returns:
        -
        the index of the copied item into the destination ClassPool.
        -
        -
      • -
      - - - -
        -
      • -

        addClassInfo

        -
        public int addClassInfo​(CtClass c)
        -
        Adds a new CONSTANT_Class_info structure. - -

        This also adds a CONSTANT_Utf8_info structure - for storing the class name.

        -
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addClassInfo

        -
        public int addClassInfo​(java.lang.String qname)
        -
        Adds a new CONSTANT_Class_info structure. - -

        This also adds a CONSTANT_Utf8_info structure - for storing the class name.

        -
        -
        Parameters:
        -
        qname - a fully-qualified class name - (or the JVM-internal representation of that name).
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addNameAndTypeInfo

        -
        public int addNameAndTypeInfo​(java.lang.String name,
        -                              java.lang.String type)
        -
        Adds a new CONSTANT_NameAndType_info structure. - -

        This also adds CONSTANT_Utf8_info structures.

        -
        -
        Parameters:
        -
        name - name_index
        -
        type - descriptor_index
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addNameAndTypeInfo

        -
        public int addNameAndTypeInfo​(int name,
        -                              int type)
        -
        Adds a new CONSTANT_NameAndType_info structure.
        -
        -
        Parameters:
        -
        name - name_index
        -
        type - descriptor_index
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addFieldrefInfo

        -
        public int addFieldrefInfo​(int classInfo,
        -                           java.lang.String name,
        -                           java.lang.String type)
        -
        Adds a new CONSTANT_Fieldref_info structure. - -

        This also adds a new CONSTANT_NameAndType_info - structure.

        -
        -
        Parameters:
        -
        classInfo - class_index
        -
        name - name_index - of CONSTANT_NameAndType_info.
        -
        type - descriptor_index - of CONSTANT_NameAndType_info.
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addFieldrefInfo

        -
        public int addFieldrefInfo​(int classInfo,
        -                           int nameAndTypeInfo)
        -
        Adds a new CONSTANT_Fieldref_info structure.
        -
        -
        Parameters:
        -
        classInfo - class_index
        -
        nameAndTypeInfo - name_and_type_index.
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addMethodrefInfo

        -
        public int addMethodrefInfo​(int classInfo,
        -                            java.lang.String name,
        -                            java.lang.String type)
        -
        Adds a new CONSTANT_Methodref_info structure. - -

        This also adds a new CONSTANT_NameAndType_info - structure.

        -
        -
        Parameters:
        -
        classInfo - class_index
        -
        name - name_index - of CONSTANT_NameAndType_info.
        -
        type - descriptor_index - of CONSTANT_NameAndType_info.
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addMethodrefInfo

        -
        public int addMethodrefInfo​(int classInfo,
        -                            int nameAndTypeInfo)
        -
        Adds a new CONSTANT_Methodref_info structure.
        -
        -
        Parameters:
        -
        classInfo - class_index
        -
        nameAndTypeInfo - name_and_type_index.
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addInterfaceMethodrefInfo

        -
        public int addInterfaceMethodrefInfo​(int classInfo,
        -                                     java.lang.String name,
        -                                     java.lang.String type)
        -
        Adds a new CONSTANT_InterfaceMethodref_info - structure. - -

        This also adds a new CONSTANT_NameAndType_info - structure.

        -
        -
        Parameters:
        -
        classInfo - class_index
        -
        name - name_index - of CONSTANT_NameAndType_info.
        -
        type - descriptor_index - of CONSTANT_NameAndType_info.
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addInterfaceMethodrefInfo

        -
        public int addInterfaceMethodrefInfo​(int classInfo,
        -                                     int nameAndTypeInfo)
        -
        Adds a new CONSTANT_InterfaceMethodref_info - structure.
        -
        -
        Parameters:
        -
        classInfo - class_index
        -
        nameAndTypeInfo - name_and_type_index.
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addStringInfo

        -
        public int addStringInfo​(java.lang.String str)
        -
        Adds a new CONSTANT_String_info - structure. - -

        This also adds a new CONSTANT_Utf8_info - structure.

        -
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addIntegerInfo

        -
        public int addIntegerInfo​(int i)
        -
        Adds a new CONSTANT_Integer_info - structure.
        -
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addFloatInfo

        -
        public int addFloatInfo​(float f)
        -
        Adds a new CONSTANT_Float_info - structure.
        -
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addLongInfo

        -
        public int addLongInfo​(long l)
        -
        Adds a new CONSTANT_Long_info - structure.
        -
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addDoubleInfo

        -
        public int addDoubleInfo​(double d)
        -
        Adds a new CONSTANT_Double_info - structure.
        -
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addUtf8Info

        -
        public int addUtf8Info​(java.lang.String utf8)
        -
        Adds a new CONSTANT_Utf8_info - structure.
        -
        -
        Returns:
        -
        the index of the added entry.
        -
        -
      • -
      - - - -
        -
      • -

        addMethodHandleInfo

        -
        public int addMethodHandleInfo​(int kind,
        -                               int index)
        -
        Adds a new CONSTANT_MethodHandle_info - structure.
        -
        -
        Parameters:
        -
        kind - reference_kind - such as REF_invokeStatic.
        -
        index - reference_index.
        -
        Returns:
        -
        the index of the added entry.
        -
        Since:
        -
        3.17
        -
        -
      • -
      - - - -
        -
      • -

        addMethodTypeInfo

        -
        public int addMethodTypeInfo​(int desc)
        -
        Adds a new CONSTANT_MethodType_info - structure.
        -
        -
        Parameters:
        -
        desc - descriptor_index.
        -
        Returns:
        -
        the index of the added entry.
        -
        Since:
        -
        3.17
        -
        -
      • -
      - - - -
        -
      • -

        addInvokeDynamicInfo

        -
        public int addInvokeDynamicInfo​(int bootstrap,
        -                                int nameAndType)
        -
        Adds a new CONSTANT_InvokeDynamic_info - structure.
        -
        -
        Parameters:
        -
        bootstrap - bootstrap_method_attr_index.
        -
        nameAndType - name_and_type_index.
        -
        Returns:
        -
        the index of the added entry.
        -
        Since:
        -
        3.17
        -
        -
      • -
      - - - -
        -
      • -

        addModuleInfo

        -
        public int addModuleInfo​(int nameIndex)
        -
        Adds a new CONSTANT_Module_info
        -
        -
        Parameters:
        -
        nameIndex - the index of the Utf8 entry.
        -
        Returns:
        -
        the index of the added entry.
        -
        Since:
        -
        3.22
        -
        -
      • -
      - - - -
        -
      • -

        addPackageInfo

        -
        public int addPackageInfo​(int nameIndex)
        -
        Adds a new CONSTANT_Package_info
        -
        -
        Parameters:
        -
        nameIndex - the index of the Utf8 entry.
        -
        Returns:
        -
        the index of the added entry.
        -
        Since:
        -
        3.22
        -
        -
      • -
      - - - -
        -
      • -

        getClassNames

        -
        public java.util.Set<java.lang.String> getClassNames()
        -
        Get all the class names.
        -
        -
        Returns:
        -
        a set of class names (String objects).
        -
        -
      • -
      - - - -
        -
      • -

        renameClass

        -
        public void renameClass​(java.lang.String oldName,
        -                        java.lang.String newName)
        -
        Replaces all occurrences of a class name.
        -
        -
        Parameters:
        -
        oldName - the replaced name (JVM-internal representation).
        -
        newName - the substituted name (JVM-internal representation).
        -
        -
      • -
      - - - -
        -
      • -

        renameClass

        -
        public void renameClass​(java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Replaces all occurrences of class names.
        -
        -
        Parameters:
        -
        classnames - specifies pairs of replaced and substituted - name.
        -
        -
      • -
      - - - -
        -
      • -

        write

        -
        public void write​(java.io.DataOutputStream out)
        -           throws java.io.IOException
        -
        Writes the contents of the constant pool table.
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        print

        -
        public void print()
        -
        Prints the contents of the constant pool table.
        -
      • -
      - - - -
        -
      • -

        print

        -
        public void print​(java.io.PrintWriter out)
        -
        Prints the contents of the constant pool table.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/ConstantAttribute.html b/html/javassist/bytecode/ConstantAttribute.html deleted file mode 100644 index 897c8d47..00000000 --- a/html/javassist/bytecode/ConstantAttribute.html +++ /dev/null @@ -1,411 +0,0 @@ - - - - - -ConstantAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ConstantAttribute

-
-
- -
-
    -
  • -
    -
    public class ConstantAttribute
    -extends AttributeInfo
    -
    ConstantValue_attribute.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.Stringtag -
      The name of this attribute "ConstantValue".
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      ConstantAttribute​(ConstPool cp, - int index) -
      Constructs a ConstantValue attribute.
      -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        tag

        -
        public static final java.lang.String tag
        -
        The name of this attribute "ConstantValue".
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ConstantAttribute

        -
        public ConstantAttribute​(ConstPool cp,
        -                         int index)
        -
        Constructs a ConstantValue attribute.
        -
        -
        Parameters:
        -
        cp - a constant pool table.
        -
        index - constantvalue_index - of ConstantValue_attribute.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getConstantValue

        -
        public int getConstantValue()
        -
        Returns constantvalue_index.
        -
      • -
      - - - -
        -
      • -

        copy

        -
        public AttributeInfo copy​(ConstPool newCp,
        -                          java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Makes a copy. Class names are replaced according to the - given Map object.
        -
        -
        Overrides:
        -
        copy in class AttributeInfo
        -
        Parameters:
        -
        newCp - the constant pool table used by the new copy.
        -
        classnames - pairs of replaced and substituted - class names.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/DeprecatedAttribute.html b/html/javassist/bytecode/DeprecatedAttribute.html deleted file mode 100644 index 8f2f2ac4..00000000 --- a/html/javassist/bytecode/DeprecatedAttribute.html +++ /dev/null @@ -1,388 +0,0 @@ - - - - - -DeprecatedAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class DeprecatedAttribute

-
-
- -
-
    -
  • -
    -
    public class DeprecatedAttribute
    -extends AttributeInfo
    -
    Deprecated_attribute.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.Stringtag -
      The name of this attribute "Deprecated".
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      DeprecatedAttribute​(ConstPool cp) -
      Constructs a Deprecated attribute.
      -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        tag

        -
        public static final java.lang.String tag
        -
        The name of this attribute "Deprecated".
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        DeprecatedAttribute

        -
        public DeprecatedAttribute​(ConstPool cp)
        -
        Constructs a Deprecated attribute.
        -
        -
        Parameters:
        -
        cp - a constant pool table.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        copy

        -
        public AttributeInfo copy​(ConstPool newCp,
        -                          java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Makes a copy.
        -
        -
        Overrides:
        -
        copy in class AttributeInfo
        -
        Parameters:
        -
        newCp - the constant pool table used by the new copy.
        -
        classnames - should be null.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/Descriptor.Iterator.html b/html/javassist/bytecode/Descriptor.Iterator.html deleted file mode 100644 index 8bc4f496..00000000 --- a/html/javassist/bytecode/Descriptor.Iterator.html +++ /dev/null @@ -1,391 +0,0 @@ - - - - - -Descriptor.Iterator (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Descriptor.Iterator

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.Descriptor.Iterator
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    Descriptor
    -
    -
    -
    public static class Descriptor.Iterator
    -extends java.lang.Object
    -
    An Iterator over a descriptor.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Iterator​(java.lang.String s) -
      Constructs an iterator.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      charcurrentChar() -
      Returns the first character of the current element.
      -
      booleanhasNext() -
      Returns true if the iteration has more elements.
      -
      booleanis2byte() -
      Returns true if the current element is double or long type.
      -
      booleanisParameter() -
      Returns true if the current element is a parameter type.
      -
      intnext() -
      Returns the position of the next type character.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Iterator

        -
        public Iterator​(java.lang.String s)
        -
        Constructs an iterator.
        -
        -
        Parameters:
        -
        s - descriptor.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        hasNext

        -
        public boolean hasNext()
        -
        Returns true if the iteration has more elements.
        -
      • -
      - - - -
        -
      • -

        isParameter

        -
        public boolean isParameter()
        -
        Returns true if the current element is a parameter type.
        -
      • -
      - - - -
        -
      • -

        currentChar

        -
        public char currentChar()
        -
        Returns the first character of the current element.
        -
      • -
      - - - -
        -
      • -

        is2byte

        -
        public boolean is2byte()
        -
        Returns true if the current element is double or long type.
        -
      • -
      - - - -
        -
      • -

        next

        -
        public int next()
        -
        Returns the position of the next type character. - That type character becomes a new current element.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/Descriptor.html b/html/javassist/bytecode/Descriptor.html deleted file mode 100644 index d7a290f2..00000000 --- a/html/javassist/bytecode/Descriptor.html +++ /dev/null @@ -1,999 +0,0 @@ - - - - - -Descriptor (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Descriptor

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.Descriptor
    • -
    -
  • -
-
-
    -
  • -
    -
    public class Descriptor
    -extends java.lang.Object
    -
    A support class for dealing with descriptors. - -

    See chapter 4.3 in "The Java Virtual Machine Specification (2nd ed.)"

    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClassDescription
      static class Descriptor.Iterator -
      An Iterator over a descriptor.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Descriptor() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static java.lang.StringappendParameter​(java.lang.String classname, - java.lang.String desc) -
      Appends a parameter type to the parameter list represented - by the given descriptor.
      -
      static java.lang.StringappendParameter​(CtClass type, - java.lang.String descriptor) -
      Appends a parameter type to the parameter list represented - by the given descriptor.
      -
      static intarrayDimension​(java.lang.String desc) -
      Computes the dimension of the array represented by the given - descriptor.
      -
      static java.lang.StringchangeReturnType​(java.lang.String classname, - java.lang.String desc) -
      Changes the return type included in the given descriptor.
      -
      static intdataSize​(java.lang.String desc) -
      Computes the data size specified by the given descriptor.
      -
      static booleaneqParamTypes​(java.lang.String desc1, - java.lang.String desc2) -
      Returns true if the list of the parameter types of desc1 is equal to - that of desc2.
      -
      static java.lang.StringgetParamDescriptor​(java.lang.String decl) -
      Returns the signature of the given descriptor.
      -
      static CtClass[]getParameterTypes​(java.lang.String desc, - ClassPool cp) -
      Returns the CtClass objects representing the parameter - types specified by the given descriptor.
      -
      static CtClassgetReturnType​(java.lang.String desc, - ClassPool cp) -
      Returns the CtClass object representing the return - type specified by the given descriptor.
      -
      static java.lang.StringinsertParameter​(java.lang.String classname, - java.lang.String desc) -
      Inserts a parameter type at the beginning of the parameter - list represented - by the given descriptor.
      -
      static java.lang.StringinsertParameter​(CtClass type, - java.lang.String descriptor) -
      Inserts a parameter type at the beginning of the parameter - list represented - by the given descriptor.
      -
      static intnumOfParameters​(java.lang.String desc) -
      Returns the number of the prameters included in the given - descriptor.
      -
      static java.lang.Stringof​(java.lang.String classname) -
      Converts to a descriptor from a Java class name
      -
      static java.lang.Stringof​(CtClass type) -
      Returns the descriptor representing the given type.
      -
      static java.lang.StringofConstructor​(CtClass[] paramTypes) -
      Returns the descriptor representing a constructor receiving - the given parameter types.
      -
      static java.lang.StringofMethod​(CtClass returnType, - CtClass[] paramTypes) -
      Returns the descriptor representing a method that receives - the given parameter types and returns the given type.
      -
      static java.lang.StringofParameters​(CtClass[] paramTypes) -
      Returns the descriptor representing a list of parameter types.
      -
      static intparamSize​(java.lang.String desc) -
      Computes the data size of parameters.
      -
      static java.lang.Stringrename​(java.lang.String desc, - java.lang.String oldname, - java.lang.String newname) -
      Substitutes a class name - in the given descriptor string.
      -
      static java.lang.Stringrename​(java.lang.String desc, - java.util.Map<java.lang.String,​java.lang.String> map) -
      Substitutes class names in the given descriptor string - according to the given map.
      -
      static java.lang.StringtoArrayComponent​(java.lang.String desc, - int dim) -
      Returns the descriptor of the type of the array component.
      -
      static java.lang.StringtoClassName​(java.lang.String descriptor) -
      Converts to a Java class name from a descriptor.
      -
      static CtClasstoCtClass​(java.lang.String desc, - ClassPool cp) -
      Returns a CtClass object representing the type - specified by the given descriptor.
      -
      static java.lang.StringtoJavaName​(java.lang.String classname) -
      Converts a class name from the internal representation used in - the JVM to the normal one used in Java.
      -
      static java.lang.StringtoJvmName​(java.lang.String classname) -
      Converts a class name into the internal representation used in - the JVM.
      -
      static java.lang.StringtoJvmName​(CtClass clazz) -
      Returns the internal representation of the class name in the - JVM.
      -
      static java.lang.StringtoString​(java.lang.String desc) -
      Returns a human-readable representation of the - given descriptor.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Descriptor

        -
        public Descriptor()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        toJvmName

        -
        public static java.lang.String toJvmName​(java.lang.String classname)
        -
        Converts a class name into the internal representation used in - the JVM. - -

        Note that toJvmName(toJvmName(s)) is equivalent - to toJvmName(s).

        -
      • -
      - - - -
        -
      • -

        toJavaName

        -
        public static java.lang.String toJavaName​(java.lang.String classname)
        -
        Converts a class name from the internal representation used in - the JVM to the normal one used in Java. - This method does not deal with an array type name such as - "[Ljava/lang/Object;" and "[I;". For such names, use - toClassName().
        -
        -
        See Also:
        -
        toClassName(String)
        -
        -
      • -
      - - - -
        -
      • -

        toJvmName

        -
        public static java.lang.String toJvmName​(CtClass clazz)
        -
        Returns the internal representation of the class name in the - JVM.
        -
      • -
      - - - -
        -
      • -

        toClassName

        -
        public static java.lang.String toClassName​(java.lang.String descriptor)
        -
        Converts to a Java class name from a descriptor.
        -
        -
        Parameters:
        -
        descriptor - type descriptor.
        -
        -
      • -
      - - - -
        -
      • -

        of

        -
        public static java.lang.String of​(java.lang.String classname)
        -
        Converts to a descriptor from a Java class name
        -
      • -
      - - - -
        -
      • -

        rename

        -
        public static java.lang.String rename​(java.lang.String desc,
        -                                      java.lang.String oldname,
        -                                      java.lang.String newname)
        -
        Substitutes a class name - in the given descriptor string.
        -
        -
        Parameters:
        -
        desc - descriptor string
        -
        oldname - replaced JVM class name
        -
        newname - substituted JVM class name
        -
        See Also:
        -
        toJvmName(String)
        -
        -
      • -
      - - - -
        -
      • -

        rename

        -
        public static java.lang.String rename​(java.lang.String desc,
        -                                      java.util.Map<java.lang.String,​java.lang.String> map)
        -
        Substitutes class names in the given descriptor string - according to the given map.
        -
        -
        Parameters:
        -
        map - a map between replaced and substituted - JVM class names.
        -
        See Also:
        -
        toJvmName(String)
        -
        -
      • -
      - - - -
        -
      • -

        of

        -
        public static java.lang.String of​(CtClass type)
        -
        Returns the descriptor representing the given type.
        -
      • -
      - - - -
        -
      • -

        ofConstructor

        -
        public static java.lang.String ofConstructor​(CtClass[] paramTypes)
        -
        Returns the descriptor representing a constructor receiving - the given parameter types.
        -
        -
        Parameters:
        -
        paramTypes - parameter types
        -
        -
      • -
      - - - -
        -
      • -

        ofMethod

        -
        public static java.lang.String ofMethod​(CtClass returnType,
        -                                        CtClass[] paramTypes)
        -
        Returns the descriptor representing a method that receives - the given parameter types and returns the given type.
        -
        -
        Parameters:
        -
        returnType - return type
        -
        paramTypes - parameter types
        -
        -
      • -
      - - - -
        -
      • -

        ofParameters

        -
        public static java.lang.String ofParameters​(CtClass[] paramTypes)
        -
        Returns the descriptor representing a list of parameter types. - For example, if the given parameter types are two int, - then this method returns "(II)".
        -
        -
        Parameters:
        -
        paramTypes - parameter types
        -
        -
      • -
      - - - -
        -
      • -

        appendParameter

        -
        public static java.lang.String appendParameter​(java.lang.String classname,
        -                                               java.lang.String desc)
        -
        Appends a parameter type to the parameter list represented - by the given descriptor. - -

        classname must not be an array type.

        -
        -
        Parameters:
        -
        classname - parameter type (not primitive type)
        -
        desc - descriptor
        -
        -
      • -
      - - - -
        -
      • -

        insertParameter

        -
        public static java.lang.String insertParameter​(java.lang.String classname,
        -                                               java.lang.String desc)
        -
        Inserts a parameter type at the beginning of the parameter - list represented - by the given descriptor. - -

        classname must not be an array type.

        -
        -
        Parameters:
        -
        classname - parameter type (not primitive type)
        -
        desc - descriptor
        -
        -
      • -
      - - - -
        -
      • -

        appendParameter

        -
        public static java.lang.String appendParameter​(CtClass type,
        -                                               java.lang.String descriptor)
        -
        Appends a parameter type to the parameter list represented - by the given descriptor. The appended parameter becomes - the last parameter.
        -
        -
        Parameters:
        -
        type - the type of the appended parameter.
        -
        descriptor - the original descriptor.
        -
        -
      • -
      - - - -
        -
      • -

        insertParameter

        -
        public static java.lang.String insertParameter​(CtClass type,
        -                                               java.lang.String descriptor)
        -
        Inserts a parameter type at the beginning of the parameter - list represented - by the given descriptor.
        -
        -
        Parameters:
        -
        type - the type of the inserted parameter.
        -
        descriptor - the descriptor of the method.
        -
        -
      • -
      - - - -
        -
      • -

        changeReturnType

        -
        public static java.lang.String changeReturnType​(java.lang.String classname,
        -                                                java.lang.String desc)
        -
        Changes the return type included in the given descriptor. - -

        classname must not be an array type.

        -
        -
        Parameters:
        -
        classname - return type
        -
        desc - descriptor
        -
        -
      • -
      - - - -
        -
      • -

        getParameterTypes

        -
        public static CtClass[] getParameterTypes​(java.lang.String desc,
        -                                          ClassPool cp)
        -                                   throws NotFoundException
        -
        Returns the CtClass objects representing the parameter - types specified by the given descriptor.
        -
        -
        Parameters:
        -
        desc - descriptor
        -
        cp - the class pool used for obtaining - a CtClass object.
        -
        Throws:
        -
        NotFoundException
        -
        -
      • -
      - - - -
        -
      • -

        eqParamTypes

        -
        public static boolean eqParamTypes​(java.lang.String desc1,
        -                                   java.lang.String desc2)
        -
        Returns true if the list of the parameter types of desc1 is equal to - that of desc2. - For example, "(II)V" and "(II)I" are equal.
        -
      • -
      - - - -
        -
      • -

        getParamDescriptor

        -
        public static java.lang.String getParamDescriptor​(java.lang.String decl)
        -
        Returns the signature of the given descriptor. The signature does - not include the return type. For example, the signature of "(I)V" - is "(I)".
        -
      • -
      - - - -
        -
      • -

        getReturnType

        -
        public static CtClass getReturnType​(java.lang.String desc,
        -                                    ClassPool cp)
        -                             throws NotFoundException
        -
        Returns the CtClass object representing the return - type specified by the given descriptor.
        -
        -
        Parameters:
        -
        desc - descriptor
        -
        cp - the class pool used for obtaining - a CtClass object.
        -
        Throws:
        -
        NotFoundException
        -
        -
      • -
      - - - -
        -
      • -

        numOfParameters

        -
        public static int numOfParameters​(java.lang.String desc)
        -
        Returns the number of the prameters included in the given - descriptor.
        -
        -
        Parameters:
        -
        desc - descriptor
        -
        -
      • -
      - - - -
        -
      • -

        toCtClass

        -
        public static CtClass toCtClass​(java.lang.String desc,
        -                                ClassPool cp)
        -                         throws NotFoundException
        -
        Returns a CtClass object representing the type - specified by the given descriptor. - -

        This method works even if the package-class separator is - not / but . (period). For example, - it accepts Ljava.lang.Object; - as well as Ljava/lang/Object;.

        -
        -
        Parameters:
        -
        desc - descriptor.
        -
        cp - the class pool used for obtaining - a CtClass object.
        -
        Throws:
        -
        NotFoundException
        -
        -
      • -
      - - - -
        -
      • -

        arrayDimension

        -
        public static int arrayDimension​(java.lang.String desc)
        -
        Computes the dimension of the array represented by the given - descriptor. For example, if the descriptor is "[[I", - then this method returns 2.
        -
        -
        Parameters:
        -
        desc - the descriptor.
        -
        Returns:
        -
        0 if the descriptor does not represent an array type.
        -
        -
      • -
      - - - -
        -
      • -

        toArrayComponent

        -
        public static java.lang.String toArrayComponent​(java.lang.String desc,
        -                                                int dim)
        -
        Returns the descriptor of the type of the array component. - For example, if the given descriptor is - "[[Ljava/lang/String;" and the given dimension is 2, - then this method returns "Ljava/lang/String;".
        -
        -
        Parameters:
        -
        desc - the descriptor.
        -
        dim - the array dimension.
        -
        -
      • -
      - - - -
        -
      • -

        dataSize

        -
        public static int dataSize​(java.lang.String desc)
        -
        Computes the data size specified by the given descriptor. - For example, if the descriptor is "D", this method returns 2. - -

        If the descriptor represents a method type, this method returns - (the size of the returned value) - (the sum of the data sizes - of all the parameters). For example, if the descriptor is - "(I)D", then this method returns 1 (= 2 - 1).

        -
        -
        Parameters:
        -
        desc - descriptor
        -
        -
      • -
      - - - -
        -
      • -

        paramSize

        -
        public static int paramSize​(java.lang.String desc)
        -
        Computes the data size of parameters. - If one of the parameters is double type, the size of that parameter - is 2 words. For example, if the given descriptor is - "(IJ)D", then this method returns 3. The size of the - return type is not computed.
        -
        -
        Parameters:
        -
        desc - a method descriptor.
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public static java.lang.String toString​(java.lang.String desc)
        -
        Returns a human-readable representation of the - given descriptor. For example, Ljava/lang/Object; - is converted into java.lang.Object. - (I[I)V is converted into (int, int[]) - (the return type is ignored).
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/DuplicateMemberException.html b/html/javassist/bytecode/DuplicateMemberException.html deleted file mode 100644 index 0aa66239..00000000 --- a/html/javassist/bytecode/DuplicateMemberException.html +++ /dev/null @@ -1,309 +0,0 @@ - - - - - -DuplicateMemberException (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class DuplicateMemberException

-
-
-
    -
  • java.lang.Object
  • -
  • - -
  • -
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      DuplicateMemberException​(java.lang.String msg) 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        DuplicateMemberException

        -
        public DuplicateMemberException​(java.lang.String msg)
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/EnclosingMethodAttribute.html b/html/javassist/bytecode/EnclosingMethodAttribute.html deleted file mode 100644 index 894a194d..00000000 --- a/html/javassist/bytecode/EnclosingMethodAttribute.html +++ /dev/null @@ -1,510 +0,0 @@ - - - - - -EnclosingMethodAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class EnclosingMethodAttribute

-
-
- -
-
    -
  • -
    -
    public class EnclosingMethodAttribute
    -extends AttributeInfo
    -
    EnclosingMethod_attribute.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.Stringtag -
      The name of this attribute "EnclosingMethod".
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      EnclosingMethodAttribute​(ConstPool cp, - java.lang.String className) -
      Constructs an EnclosingMethod attribute.
      -
      EnclosingMethodAttribute​(ConstPool cp, - java.lang.String className, - java.lang.String methodName, - java.lang.String methodDesc) -
      Constructs an EnclosingMethod attribute.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      intclassIndex() -
      Returns the value of class_index.
      -
      java.lang.StringclassName() -
      Returns the name of the class specified by class_index.
      -
      AttributeInfocopy​(ConstPool newCp, - java.util.Map<java.lang.String,​java.lang.String> classnames) -
      Makes a copy.
      -
      java.lang.StringmethodDescriptor() -
      Returns the method descriptor specified by method_index.
      -
      intmethodIndex() -
      Returns the value of method_index.
      -
      java.lang.StringmethodName() -
      Returns the method name specified by method_index.
      -
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        tag

        -
        public static final java.lang.String tag
        -
        The name of this attribute "EnclosingMethod".
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        EnclosingMethodAttribute

        -
        public EnclosingMethodAttribute​(ConstPool cp,
        -                                java.lang.String className,
        -                                java.lang.String methodName,
        -                                java.lang.String methodDesc)
        -
        Constructs an EnclosingMethod attribute.
        -
        -
        Parameters:
        -
        cp - a constant pool table.
        -
        className - the name of the innermost enclosing class.
        -
        methodName - the name of the enclosing method.
        -
        methodDesc - the descriptor of the enclosing method.
        -
        -
      • -
      - - - -
        -
      • -

        EnclosingMethodAttribute

        -
        public EnclosingMethodAttribute​(ConstPool cp,
        -                                java.lang.String className)
        -
        Constructs an EnclosingMethod attribute. - The value of method_index is set to 0.
        -
        -
        Parameters:
        -
        cp - a constant pool table.
        -
        className - the name of the innermost enclosing class.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        classIndex

        -
        public int classIndex()
        -
        Returns the value of class_index.
        -
      • -
      - - - -
        -
      • -

        methodIndex

        -
        public int methodIndex()
        -
        Returns the value of method_index.
        -
      • -
      - - - -
        -
      • -

        className

        -
        public java.lang.String className()
        -
        Returns the name of the class specified by class_index.
        -
      • -
      - - - -
        -
      • -

        methodName

        -
        public java.lang.String methodName()
        -
        Returns the method name specified by method_index. - If the method is a class initializer (static constructor), - MethodInfo.nameClinit is returned.
        -
      • -
      - - - -
        -
      • -

        methodDescriptor

        -
        public java.lang.String methodDescriptor()
        -
        Returns the method descriptor specified by method_index.
        -
      • -
      - - - -
        -
      • -

        copy

        -
        public AttributeInfo copy​(ConstPool newCp,
        -                          java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Makes a copy. Class names are replaced according to the - given Map object.
        -
        -
        Overrides:
        -
        copy in class AttributeInfo
        -
        Parameters:
        -
        newCp - the constant pool table used by the new copy.
        -
        classnames - pairs of replaced and substituted - class names.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/ExceptionTable.html b/html/javassist/bytecode/ExceptionTable.html deleted file mode 100644 index 58842420..00000000 --- a/html/javassist/bytecode/ExceptionTable.html +++ /dev/null @@ -1,671 +0,0 @@ - - - - - -ExceptionTable (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ExceptionTable

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.ExceptionTable
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.lang.Cloneable
    -
    -
    -
    public class ExceptionTable
    -extends java.lang.Object
    -implements java.lang.Cloneable
    -
    exception_table[] of Code_attribute.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      ExceptionTable​(ConstPool cp) -
      Constructs an exception_table[].
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidadd​(int start, - int end, - int handler, - int type) -
      Appends a new entry at the end of the table.
      -
      voidadd​(int index, - int start, - int end, - int handler, - int type) -
      Adds a new entry at the specified position in the table.
      -
      voidadd​(int index, - ExceptionTable table, - int offset) -
      Copies the given exception table at the specified position - in the table.
      -
      intcatchType​(int nth) -
      Returns catchType of the n-th entry.
      -
      java.lang.Objectclone() -
      Creates and returns a copy of this object.
      -
      ExceptionTablecopy​(ConstPool newCp, - java.util.Map<java.lang.String,​java.lang.String> classnames) -
      Makes a copy of this exception_table[].
      -
      intendPc​(int nth) -
      Returns endPc of the n-th entry.
      -
      inthandlerPc​(int nth) -
      Returns handlerPc of the n-th entry.
      -
      voidremove​(int index) -
      Removes the entry at the specified position in the table.
      -
      voidsetCatchType​(int nth, - int value) -
      Sets catchType of the n-th entry.
      -
      voidsetEndPc​(int nth, - int value) -
      Sets endPc of the n-th entry.
      -
      voidsetHandlerPc​(int nth, - int value) -
      Sets handlerPc of the n-th entry.
      -
      voidsetStartPc​(int nth, - int value) -
      Sets startPc of the n-th entry.
      -
      intsize() -
      Returns exception_table_length, which is the number - of entries in the exception_table[].
      -
      intstartPc​(int nth) -
      Returns startPc of the n-th entry.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ExceptionTable

        -
        public ExceptionTable​(ConstPool cp)
        -
        Constructs an exception_table[].
        -
        -
        Parameters:
        -
        cp - constant pool table.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        clone

        -
        public java.lang.Object clone()
        -                       throws java.lang.CloneNotSupportedException
        -
        Creates and returns a copy of this object. - The constant pool object is shared between this object - and the cloned object.
        -
        -
        Throws:
        -
        java.lang.CloneNotSupportedException
        -
        -
      • -
      - - - -
        -
      • -

        size

        -
        public int size()
        -
        Returns exception_table_length, which is the number - of entries in the exception_table[].
        -
      • -
      - - - -
        -
      • -

        startPc

        -
        public int startPc​(int nth)
        -
        Returns startPc of the n-th entry.
        -
        -
        Parameters:
        -
        nth - the n-th (>= 0).
        -
        -
      • -
      - - - -
        -
      • -

        setStartPc

        -
        public void setStartPc​(int nth,
        -                       int value)
        -
        Sets startPc of the n-th entry.
        -
        -
        Parameters:
        -
        nth - the n-th (>= 0).
        -
        value - new value.
        -
        -
      • -
      - - - -
        -
      • -

        endPc

        -
        public int endPc​(int nth)
        -
        Returns endPc of the n-th entry.
        -
        -
        Parameters:
        -
        nth - the n-th (>= 0).
        -
        -
      • -
      - - - -
        -
      • -

        setEndPc

        -
        public void setEndPc​(int nth,
        -                     int value)
        -
        Sets endPc of the n-th entry.
        -
        -
        Parameters:
        -
        nth - the n-th (>= 0).
        -
        value - new value.
        -
        -
      • -
      - - - -
        -
      • -

        handlerPc

        -
        public int handlerPc​(int nth)
        -
        Returns handlerPc of the n-th entry.
        -
        -
        Parameters:
        -
        nth - the n-th (>= 0).
        -
        -
      • -
      - - - -
        -
      • -

        setHandlerPc

        -
        public void setHandlerPc​(int nth,
        -                         int value)
        -
        Sets handlerPc of the n-th entry.
        -
        -
        Parameters:
        -
        nth - the n-th (>= 0).
        -
        value - new value.
        -
        -
      • -
      - - - -
        -
      • -

        catchType

        -
        public int catchType​(int nth)
        -
        Returns catchType of the n-th entry.
        -
        -
        Parameters:
        -
        nth - the n-th (>= 0).
        -
        Returns:
        -
        an index into the constant_pool table, - or zero if this exception handler is for all exceptions.
        -
        -
      • -
      - - - -
        -
      • -

        setCatchType

        -
        public void setCatchType​(int nth,
        -                         int value)
        -
        Sets catchType of the n-th entry.
        -
        -
        Parameters:
        -
        nth - the n-th (>= 0).
        -
        value - new value.
        -
        -
      • -
      - - - -
        -
      • -

        add

        -
        public void add​(int index,
        -                ExceptionTable table,
        -                int offset)
        -
        Copies the given exception table at the specified position - in the table.
        -
        -
        Parameters:
        -
        index - index (>= 0) at which the entry is to be inserted.
        -
        offset - the offset added to the code position.
        -
        -
      • -
      - - - -
        -
      • -

        add

        -
        public void add​(int index,
        -                int start,
        -                int end,
        -                int handler,
        -                int type)
        -
        Adds a new entry at the specified position in the table.
        -
        -
        Parameters:
        -
        index - index (>= 0) at which the entry is to be inserted.
        -
        start - startPc
        -
        end - endPc
        -
        handler - handlerPc
        -
        type - catchType
        -
        -
      • -
      - - - -
        -
      • -

        add

        -
        public void add​(int start,
        -                int end,
        -                int handler,
        -                int type)
        -
        Appends a new entry at the end of the table.
        -
        -
        Parameters:
        -
        start - startPc
        -
        end - endPc
        -
        handler - handlerPc
        -
        type - catchType
        -
        -
      • -
      - - - -
        -
      • -

        remove

        -
        public void remove​(int index)
        -
        Removes the entry at the specified position in the table.
        -
        -
        Parameters:
        -
        index - the index of the removed entry.
        -
        -
      • -
      - - - -
        -
      • -

        copy

        -
        public ExceptionTable copy​(ConstPool newCp,
        -                           java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Makes a copy of this exception_table[]. - Class names are replaced according to the - given Map object.
        -
        -
        Parameters:
        -
        newCp - the constant pool table used by the new copy.
        -
        classnames - pairs of replaced and substituted - class names.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/ExceptionsAttribute.html b/html/javassist/bytecode/ExceptionsAttribute.html deleted file mode 100644 index 1aa87d23..00000000 --- a/html/javassist/bytecode/ExceptionsAttribute.html +++ /dev/null @@ -1,492 +0,0 @@ - - - - - -ExceptionsAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ExceptionsAttribute

-
-
- -
-
    -
  • -
    -
    public class ExceptionsAttribute
    -extends AttributeInfo
    -
    Exceptions_attribute.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.Stringtag -
      The name of this attribute "Exceptions".
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      ExceptionsAttribute​(ConstPool cp) -
      Constructs a new exceptions attribute.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      AttributeInfocopy​(ConstPool newCp, - java.util.Map<java.lang.String,​java.lang.String> classnames) -
      Makes a copy.
      -
      intgetException​(int nth) -
      Returns the value of exception_index_table[nth].
      -
      int[]getExceptionIndexes() -
      Returns exception_index_table[].
      -
      java.lang.String[]getExceptions() -
      Returns the names of exceptions that the method may throw.
      -
      voidsetExceptionIndexes​(int[] elist) -
      Sets exception_index_table[].
      -
      voidsetExceptions​(java.lang.String[] elist) -
      Sets the names of exceptions that the method may throw.
      -
      inttableLength() -
      Returns number_of_exceptions.
      -
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        tag

        -
        public static final java.lang.String tag
        -
        The name of this attribute "Exceptions".
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ExceptionsAttribute

        -
        public ExceptionsAttribute​(ConstPool cp)
        -
        Constructs a new exceptions attribute.
        -
        -
        Parameters:
        -
        cp - constant pool table.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        copy

        -
        public AttributeInfo copy​(ConstPool newCp,
        -                          java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Makes a copy. Class names are replaced according to the - given Map object.
        -
        -
        Overrides:
        -
        copy in class AttributeInfo
        -
        Parameters:
        -
        newCp - the constant pool table used by the new copy.
        -
        classnames - pairs of replaced and substituted - class names. It can be null.
        -
        -
      • -
      - - - -
        -
      • -

        getExceptionIndexes

        -
        public int[] getExceptionIndexes()
        -
        Returns exception_index_table[].
        -
      • -
      - - - -
        -
      • -

        getExceptions

        -
        public java.lang.String[] getExceptions()
        -
        Returns the names of exceptions that the method may throw.
        -
      • -
      - - - -
        -
      • -

        setExceptionIndexes

        -
        public void setExceptionIndexes​(int[] elist)
        -
        Sets exception_index_table[].
        -
      • -
      - - - -
        -
      • -

        setExceptions

        -
        public void setExceptions​(java.lang.String[] elist)
        -
        Sets the names of exceptions that the method may throw.
        -
      • -
      - - - -
        -
      • -

        tableLength

        -
        public int tableLength()
        -
        Returns number_of_exceptions.
        -
      • -
      - - - -
        -
      • -

        getException

        -
        public int getException​(int nth)
        -
        Returns the value of exception_index_table[nth].
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/FieldInfo.html b/html/javassist/bytecode/FieldInfo.html deleted file mode 100644 index 1d5ffa7c..00000000 --- a/html/javassist/bytecode/FieldInfo.html +++ /dev/null @@ -1,606 +0,0 @@ - - - - - -FieldInfo (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class FieldInfo

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.FieldInfo
    • -
    -
  • -
-
-
    -
  • -
    -
    public final class FieldInfo
    -extends java.lang.Object
    -
    field_info structure. - -

    The following code adds a public field width - of int type: -

    - ClassFile cf = ...
    - FieldInfo f = new FieldInfo(cf.getConstPool(), "width", "I");
    - f.setAccessFlags(AccessFlag.PUBLIC);
    - cf.addField(f);
    - 
    -
    -
    See Also:
    -
    CtField.getFieldInfo()
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      FieldInfo​(ConstPool cp, - java.lang.String fieldName, - java.lang.String desc) -
      Constructs a field_info structure.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidaddAttribute​(AttributeInfo info) -
      Appends an attribute.
      -
      intgetAccessFlags() -
      Returns the access flags.
      -
      AttributeInfogetAttribute​(java.lang.String name) -
      Returns the attribute with the specified name.
      -
      java.util.List<AttributeInfo>getAttributes() -
      Returns all the attributes.
      -
      intgetConstantValue() -
      Finds a ConstantValue attribute and returns the index into - the constant_pool table.
      -
      ConstPoolgetConstPool() -
      Returns the constant pool table used - by this field_info.
      -
      java.lang.StringgetDescriptor() -
      Returns the field descriptor.
      -
      java.lang.StringgetName() -
      Returns the field name.
      -
      AttributeInforemoveAttribute​(java.lang.String name) -
      Removes an attribute with the specified name.
      -
      voidsetAccessFlags​(int acc) -
      Sets the access flags.
      -
      voidsetDescriptor​(java.lang.String desc) -
      Sets the field descriptor.
      -
      voidsetName​(java.lang.String newName) -
      Sets the field name.
      -
      java.lang.StringtoString() -
      Returns a string representation of the object.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        FieldInfo

        -
        public FieldInfo​(ConstPool cp,
        -                 java.lang.String fieldName,
        -                 java.lang.String desc)
        -
        Constructs a field_info structure.
        -
        -
        Parameters:
        -
        cp - a constant pool table
        -
        fieldName - field name
        -
        desc - field descriptor
        -
        See Also:
        -
        Descriptor
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Returns a string representation of the object.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        getConstPool

        -
        public ConstPool getConstPool()
        -
        Returns the constant pool table used - by this field_info.
        -
      • -
      - - - -
        -
      • -

        getName

        -
        public java.lang.String getName()
        -
        Returns the field name.
        -
      • -
      - - - -
        -
      • -

        setName

        -
        public void setName​(java.lang.String newName)
        -
        Sets the field name.
        -
      • -
      - - - -
        -
      • -

        getAccessFlags

        -
        public int getAccessFlags()
        -
        Returns the access flags.
        -
        -
        See Also:
        -
        AccessFlag
        -
        -
      • -
      - - - -
        -
      • -

        setAccessFlags

        -
        public void setAccessFlags​(int acc)
        -
        Sets the access flags.
        -
        -
        See Also:
        -
        AccessFlag
        -
        -
      • -
      - - - -
        -
      • -

        getDescriptor

        -
        public java.lang.String getDescriptor()
        -
        Returns the field descriptor.
        -
        -
        See Also:
        -
        Descriptor
        -
        -
      • -
      - - - -
        -
      • -

        setDescriptor

        -
        public void setDescriptor​(java.lang.String desc)
        -
        Sets the field descriptor.
        -
        -
        See Also:
        -
        Descriptor
        -
        -
      • -
      - - - -
        -
      • -

        getConstantValue

        -
        public int getConstantValue()
        -
        Finds a ConstantValue attribute and returns the index into - the constant_pool table.
        -
        -
        Returns:
        -
        0 if a ConstantValue attribute is not found.
        -
        -
      • -
      - - - -
        -
      • -

        getAttributes

        -
        public java.util.List<AttributeInfo> getAttributes()
        -
        Returns all the attributes. The returned List object - is shared with this object. If you add a new attribute to the list, - the attribute is also added to the field represented by this - object. If you remove an attribute from the list, it is also removed - from the field.
        -
        -
        Returns:
        -
        a list of AttributeInfo objects.
        -
        See Also:
        -
        AttributeInfo
        -
        -
      • -
      - - - - - - - -
        -
      • -

        removeAttribute

        -
        public AttributeInfo removeAttribute​(java.lang.String name)
        -
        Removes an attribute with the specified name.
        -
        -
        Parameters:
        -
        name - attribute name.
        -
        Returns:
        -
        the removed attribute or null.
        -
        Since:
        -
        3.21
        -
        -
      • -
      - - - -
        -
      • -

        addAttribute

        -
        public void addAttribute​(AttributeInfo info)
        -
        Appends an attribute. If there is already an attribute with - the same name, the new one substitutes for it.
        -
        -
        See Also:
        -
        getAttributes()
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/InnerClassesAttribute.html b/html/javassist/bytecode/InnerClassesAttribute.html deleted file mode 100644 index a52c5951..00000000 --- a/html/javassist/bytecode/InnerClassesAttribute.html +++ /dev/null @@ -1,744 +0,0 @@ - - - - - -InnerClassesAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class InnerClassesAttribute

-
-
- -
-
    -
  • -
    -
    public class InnerClassesAttribute
    -extends AttributeInfo
    -
    InnerClasses_attribute.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.Stringtag -
      The name of this attribute "InnerClasses".
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      InnerClassesAttribute​(ConstPool cp) -
      Constructs an empty InnerClasses attribute.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      intaccessFlags​(int nth) -
      Returns classes[nth].inner_class_access_flags.
      -
      voidappend​(int inner, - int outer, - int name, - int flags) -
      Appends a new entry.
      -
      voidappend​(java.lang.String inner, - java.lang.String outer, - java.lang.String name, - int flags) -
      Appends a new entry.
      -
      AttributeInfocopy​(ConstPool newCp, - java.util.Map<java.lang.String,​java.lang.String> classnames) -
      Makes a copy.
      -
      intfind​(java.lang.String name) -
      Finds the entry for the given inner class.
      -
      java.lang.StringinnerClass​(int nth) -
      Returns the class name indicated - by classes[nth].inner_class_info_index.
      -
      intinnerClassIndex​(int nth) -
      Returns classes[nth].inner_class_info_index.
      -
      java.lang.StringinnerName​(int nth) -
      Returns the simple class name indicated - by classes[nth].inner_name_index.
      -
      intinnerNameIndex​(int nth) -
      Returns classes[nth].inner_name_index.
      -
      java.lang.StringouterClass​(int nth) -
      Returns the class name indicated - by classes[nth].outer_class_info_index.
      -
      intouterClassIndex​(int nth) -
      Returns classes[nth].outer_class_info_index.
      -
      intremove​(int nth) -
      Removes the nth entry.
      -
      voidsetAccessFlags​(int nth, - int flags) -
      Sets classes[nth].inner_class_access_flags to - the given index.
      -
      voidsetInnerClassIndex​(int nth, - int index) -
      Sets classes[nth].inner_class_info_index to - the given index.
      -
      voidsetInnerNameIndex​(int nth, - int index) -
      Sets classes[nth].inner_name_index to - the given index.
      -
      voidsetOuterClassIndex​(int nth, - int index) -
      Sets classes[nth].outer_class_info_index to - the given index.
      -
      inttableLength() -
      Returns number_of_classes.
      -
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        tag

        -
        public static final java.lang.String tag
        -
        The name of this attribute "InnerClasses".
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    -
    - -
    - -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        tableLength

        -
        public int tableLength()
        -
        Returns number_of_classes.
        -
      • -
      - - - -
        -
      • -

        innerClassIndex

        -
        public int innerClassIndex​(int nth)
        -
        Returns classes[nth].inner_class_info_index.
        -
      • -
      - - - -
        -
      • -

        innerClass

        -
        public java.lang.String innerClass​(int nth)
        -
        Returns the class name indicated - by classes[nth].inner_class_info_index. - The class name is fully-qualified and separated by dot.
        -
        -
        Returns:
        -
        null or the class name.
        -
        See Also:
        -
        ConstPool.getClassInfo(int)
        -
        -
      • -
      - - - -
        -
      • -

        setInnerClassIndex

        -
        public void setInnerClassIndex​(int nth,
        -                               int index)
        -
        Sets classes[nth].inner_class_info_index to - the given index.
        -
      • -
      - - - -
        -
      • -

        outerClassIndex

        -
        public int outerClassIndex​(int nth)
        -
        Returns classes[nth].outer_class_info_index.
        -
      • -
      - - - -
        -
      • -

        outerClass

        -
        public java.lang.String outerClass​(int nth)
        -
        Returns the class name indicated - by classes[nth].outer_class_info_index.
        -
        -
        Returns:
        -
        null or the class name.
        -
        -
      • -
      - - - -
        -
      • -

        setOuterClassIndex

        -
        public void setOuterClassIndex​(int nth,
        -                               int index)
        -
        Sets classes[nth].outer_class_info_index to - the given index.
        -
      • -
      - - - -
        -
      • -

        innerNameIndex

        -
        public int innerNameIndex​(int nth)
        -
        Returns classes[nth].inner_name_index.
        -
      • -
      - - - -
        -
      • -

        innerName

        -
        public java.lang.String innerName​(int nth)
        -
        Returns the simple class name indicated - by classes[nth].inner_name_index.
        -
        -
        Returns:
        -
        null or the class name.
        -
        -
      • -
      - - - -
        -
      • -

        setInnerNameIndex

        -
        public void setInnerNameIndex​(int nth,
        -                              int index)
        -
        Sets classes[nth].inner_name_index to - the given index.
        -
      • -
      - - - -
        -
      • -

        accessFlags

        -
        public int accessFlags​(int nth)
        -
        Returns classes[nth].inner_class_access_flags.
        -
      • -
      - - - -
        -
      • -

        setAccessFlags

        -
        public void setAccessFlags​(int nth,
        -                           int flags)
        -
        Sets classes[nth].inner_class_access_flags to - the given index.
        -
      • -
      - - - -
        -
      • -

        find

        -
        public int find​(java.lang.String name)
        -
        Finds the entry for the given inner class.
        -
        -
        Parameters:
        -
        name - the fully-qualified class name separated by dot and $.
        -
        Returns:
        -
        the index or -1 if not found.
        -
        Since:
        -
        3.22
        -
        -
      • -
      - - - -
        -
      • -

        append

        -
        public void append​(java.lang.String inner,
        -                   java.lang.String outer,
        -                   java.lang.String name,
        -                   int flags)
        -
        Appends a new entry.
        -
        -
        Parameters:
        -
        inner - inner_class_info_index
        -
        outer - outer_class_info_index
        -
        name - inner_name_index
        -
        flags - inner_class_access_flags
        -
        -
      • -
      - - - -
        -
      • -

        append

        -
        public void append​(int inner,
        -                   int outer,
        -                   int name,
        -                   int flags)
        -
        Appends a new entry.
        -
        -
        Parameters:
        -
        inner - inner_class_info_index
        -
        outer - outer_class_info_index
        -
        name - inner_name_index
        -
        flags - inner_class_access_flags
        -
        -
      • -
      - - - -
        -
      • -

        remove

        -
        public int remove​(int nth)
        -
        Removes the nth entry. It does not eliminate - constant pool items that the removed entry refers to. - ClassFile.compact() should be executed to remove - these unnecessary items.
        -
        -
        Parameters:
        -
        nth - 0, 1, 2, ...
        -
        Returns:
        -
        the number of items after the removal.
        -
        See Also:
        -
        ClassFile.compact()
        -
        -
      • -
      - - - -
        -
      • -

        copy

        -
        public AttributeInfo copy​(ConstPool newCp,
        -                          java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Makes a copy. Class names are replaced according to the - given Map object.
        -
        -
        Overrides:
        -
        copy in class AttributeInfo
        -
        Parameters:
        -
        newCp - the constant pool table used by the new copy.
        -
        classnames - pairs of replaced and substituted - class names.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/InstructionPrinter.html b/html/javassist/bytecode/InstructionPrinter.html deleted file mode 100644 index 0cae0acb..00000000 --- a/html/javassist/bytecode/InstructionPrinter.html +++ /dev/null @@ -1,382 +0,0 @@ - - - - - -InstructionPrinter (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class InstructionPrinter

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.InstructionPrinter
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Opcode
    -
    -
    -
    public class InstructionPrinter
    -extends java.lang.Object
    -implements Opcode
    -
    Simple utility class for printing the bytecode instructions of a method.
    -
    -
    Author:
    -
    Jason T. Greene
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        InstructionPrinter

        -
        public InstructionPrinter​(java.io.PrintStream stream)
        -
        Constructs a InstructionPrinter object.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        print

        -
        public static void print​(CtMethod method,
        -                         java.io.PrintStream stream)
        -
        Prints the bytecode instructions of a given method.
        -
      • -
      - - - -
        -
      • -

        print

        -
        public void print​(CtMethod method)
        -
        Prints the bytecode instructions of a given method.
        -
      • -
      - - - -
        -
      • -

        instructionString

        -
        public static java.lang.String instructionString​(CodeIterator iter,
        -                                                 int pos,
        -                                                 ConstPool pool)
        -
        Gets a string representation of the bytecode instruction at the specified - position.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/LineNumberAttribute.Pc.html b/html/javassist/bytecode/LineNumberAttribute.Pc.html deleted file mode 100644 index 176f0361..00000000 --- a/html/javassist/bytecode/LineNumberAttribute.Pc.html +++ /dev/null @@ -1,336 +0,0 @@ - - - - - -LineNumberAttribute.Pc (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class LineNumberAttribute.Pc

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.LineNumberAttribute.Pc
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    LineNumberAttribute
    -
    -
    -
    public static class LineNumberAttribute.Pc
    -extends java.lang.Object
    -
    Used as a return type of toNearPc().
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      intindex -
      The index into the code array.
      -
      intline -
      The line number.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Pc() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        index

        -
        public int index
        -
        The index into the code array.
        -
      • -
      - - - -
        -
      • -

        line

        -
        public int line
        -
        The line number.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Pc

        -
        public Pc()
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/LineNumberAttribute.html b/html/javassist/bytecode/LineNumberAttribute.html deleted file mode 100644 index 17959117..00000000 --- a/html/javassist/bytecode/LineNumberAttribute.html +++ /dev/null @@ -1,504 +0,0 @@ - - - - - -LineNumberAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class LineNumberAttribute

-
-
- -
-
    -
  • -
    -
    public class LineNumberAttribute
    -extends AttributeInfo
    -
    LineNumberTable_attribute.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClassDescription
      static class LineNumberAttribute.Pc -
      Used as a return type of toNearPc().
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.Stringtag -
      The name of this attribute "LineNumberTable".
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      AttributeInfocopy​(ConstPool newCp, - java.util.Map<java.lang.String,​java.lang.String> classnames) -
      Makes a copy.
      -
      intlineNumber​(int i) -
      Returns line_number_table[i].line_number.
      -
      intstartPc​(int i) -
      Returns line_number_table[i].start_pc.
      -
      inttableLength() -
      Returns line_number_table_length.
      -
      inttoLineNumber​(int pc) -
      Returns the line number corresponding to the specified bytecode.
      -
      LineNumberAttribute.PctoNearPc​(int line) -
      Returns the index into the code array at which the code for - the specified line (or the nearest line after the specified one) - begins.
      -
      inttoStartPc​(int line) -
      Returns the index into the code array at which the code for - the specified line begins.
      -
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        tag

        -
        public static final java.lang.String tag
        -
        The name of this attribute "LineNumberTable".
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        tableLength

        -
        public int tableLength()
        -
        Returns line_number_table_length. - This represents the number of entries in the table.
        -
      • -
      - - - -
        -
      • -

        startPc

        -
        public int startPc​(int i)
        -
        Returns line_number_table[i].start_pc. - This represents the index into the code array at which the code - for a new line in the original source file begins.
        -
        -
        Parameters:
        -
        i - the i-th entry.
        -
        -
      • -
      - - - -
        -
      • -

        lineNumber

        -
        public int lineNumber​(int i)
        -
        Returns line_number_table[i].line_number. - This represents the corresponding line number in the original - source file.
        -
        -
        Parameters:
        -
        i - the i-th entry.
        -
        -
      • -
      - - - -
        -
      • -

        toLineNumber

        -
        public int toLineNumber​(int pc)
        -
        Returns the line number corresponding to the specified bytecode.
        -
        -
        Parameters:
        -
        pc - the index into the code array.
        -
        -
      • -
      - - - -
        -
      • -

        toStartPc

        -
        public int toStartPc​(int line)
        -
        Returns the index into the code array at which the code for - the specified line begins.
        -
        -
        Parameters:
        -
        line - the line number.
        -
        Returns:
        -
        -1 if the specified line is not found.
        -
        -
      • -
      - - - -
        -
      • -

        toNearPc

        -
        public LineNumberAttribute.Pc toNearPc​(int line)
        -
        Returns the index into the code array at which the code for - the specified line (or the nearest line after the specified one) - begins.
        -
        -
        Parameters:
        -
        line - the line number.
        -
        Returns:
        -
        a pair of the index and the line number of the - bytecode at that index.
        -
        -
      • -
      - - - -
        -
      • -

        copy

        -
        public AttributeInfo copy​(ConstPool newCp,
        -                          java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Makes a copy.
        -
        -
        Overrides:
        -
        copy in class AttributeInfo
        -
        Parameters:
        -
        newCp - the constant pool table used by the new copy.
        -
        classnames - should be null.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/LocalVariableAttribute.html b/html/javassist/bytecode/LocalVariableAttribute.html deleted file mode 100644 index 95bf8c8d..00000000 --- a/html/javassist/bytecode/LocalVariableAttribute.html +++ /dev/null @@ -1,743 +0,0 @@ - - - - - -LocalVariableAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class LocalVariableAttribute

-
-
- -
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.Stringtag -
      The name of this attribute "LocalVariableTable".
      -
      static java.lang.StringtypeTag -
      The name of the attribute "LocalVariableTypeTable".
      -
      -
    • -
    -
    - -
    - -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidaddEntry​(int startPc, - int length, - int nameIndex, - int descriptorIndex, - int index) -
      Appends a new entry to local_variable_table.
      -
      intcodeLength​(int i) -
      Returns local_variable_table[i].length.
      -
      AttributeInfocopy​(ConstPool newCp, - java.util.Map<java.lang.String,​java.lang.String> classnames) -
      Makes a copy.
      -
      java.lang.Stringdescriptor​(int i) -
      Returns the type descriptor of the local variable - specified by local_variable_table[i].descriptor_index.
      -
      intdescriptorIndex​(int i) -
      Returns the value of - local_variable_table[i].descriptor_index.
      -
      intindex​(int i) -
      Returns local_variable_table[i].index.
      -
      intnameIndex​(int i) -
      Returns the value of local_variable_table[i].name_index.
      -
      voidshiftIndex​(int lessThan, - int delta) -
      For each local_variable_table[i].index, - this method increases index by delta.
      -
      java.lang.Stringsignature​(int i) -
      This method is equivalent to descriptor().
      -
      intsignatureIndex​(int i) -
      This method is equivalent to descriptorIndex().
      -
      intstartPc​(int i) -
      Returns local_variable_table[i].start_pc.
      -
      inttableLength() -
      Returns local_variable_table_length.
      -
      java.lang.StringvariableName​(int i) -
      Returns the name of the local variable - specified by local_variable_table[i].name_index.
      -
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        tag

        -
        public static final java.lang.String tag
        -
        The name of this attribute "LocalVariableTable".
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        typeTag

        -
        public static final java.lang.String typeTag
        -
        The name of the attribute "LocalVariableTypeTable".
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        LocalVariableAttribute

        -
        public LocalVariableAttribute​(ConstPool cp)
        -
        Constructs an empty LocalVariableTable.
        -
      • -
      - - - -
        -
      • -

        LocalVariableAttribute

        -
        @Deprecated
        -public LocalVariableAttribute​(ConstPool cp,
        -                              java.lang.String name)
        -
        Deprecated.
        -
        Constructs an empty LocalVariableTable.
        -
        -
        Parameters:
        -
        name - the attribute name. - LocalVariableAttribute.tag or - LocalVariableAttribute.typeTag.
        -
        Since:
        -
        3.1
        -
        See Also:
        -
        tag, -typeTag
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        addEntry

        -
        public void addEntry​(int startPc,
        -                     int length,
        -                     int nameIndex,
        -                     int descriptorIndex,
        -                     int index)
        -
        Appends a new entry to local_variable_table.
        -
        -
        Parameters:
        -
        startPc - start_pc
        -
        length - length
        -
        nameIndex - name_index
        -
        descriptorIndex - descriptor_index
        -
        index - index
        -
        -
      • -
      - - - -
        -
      • -

        shiftIndex

        -
        public void shiftIndex​(int lessThan,
        -                       int delta)
        -
        For each local_variable_table[i].index, - this method increases index by delta.
        -
        -
        Parameters:
        -
        lessThan - the index does not change if it - is less than this value.
        -
        -
      • -
      - - - -
        -
      • -

        tableLength

        -
        public int tableLength()
        -
        Returns local_variable_table_length. - This represents the number of entries in the table.
        -
      • -
      - - - -
        -
      • -

        startPc

        -
        public int startPc​(int i)
        -
        Returns local_variable_table[i].start_pc. - This represents the index into the code array from which the local - variable is effective.
        -
        -
        Parameters:
        -
        i - the i-th entry.
        -
        -
      • -
      - - - -
        -
      • -

        codeLength

        -
        public int codeLength​(int i)
        -
        Returns local_variable_table[i].length. - This represents the length of the code region in which the local - variable is effective.
        -
        -
        Parameters:
        -
        i - the i-th entry.
        -
        -
      • -
      - - - -
        -
      • -

        nameIndex

        -
        public int nameIndex​(int i)
        -
        Returns the value of local_variable_table[i].name_index. - This represents the name of the local variable.
        -
        -
        Parameters:
        -
        i - the i-th entry.
        -
        -
      • -
      - - - -
        -
      • -

        variableName

        -
        public java.lang.String variableName​(int i)
        -
        Returns the name of the local variable - specified by local_variable_table[i].name_index.
        -
        -
        Parameters:
        -
        i - the i-th entry.
        -
        -
      • -
      - - - -
        -
      • -

        descriptorIndex

        -
        public int descriptorIndex​(int i)
        -
        Returns the value of - local_variable_table[i].descriptor_index. - This represents the type descriptor of the local variable. -

        - If this attribute represents a LocalVariableTypeTable attribute, - this method returns the value of - local_variable_type_table[i].signature_index. - It represents the type of the local variable.

        -
        -
        Parameters:
        -
        i - the i-th entry.
        -
        -
      • -
      - - - -
        -
      • -

        signatureIndex

        -
        public int signatureIndex​(int i)
        -
        This method is equivalent to descriptorIndex(). - If this attribute represents a LocalVariableTypeTable attribute, - this method should be used instead of descriptorIndex() - since the method name is more appropriate.
        -
        -
        Parameters:
        -
        i - the i-th entry.
        -
        See Also:
        -
        descriptorIndex(int), -SignatureAttribute.toFieldSignature(String)
        -
        -
      • -
      - - - -
        -
      • -

        descriptor

        -
        public java.lang.String descriptor​(int i)
        -
        Returns the type descriptor of the local variable - specified by local_variable_table[i].descriptor_index. -

        - If this attribute represents a LocalVariableTypeTable attribute, - this method returns the type signature of the local variable - specified by local_variable_type_table[i].signature_index.

        -
        -
        Parameters:
        -
        i - the i-th entry.
        -
        -
      • -
      - - - -
        -
      • -

        signature

        -
        public java.lang.String signature​(int i)
        -
        This method is equivalent to descriptor(). - If this attribute represents a LocalVariableTypeTable attribute, - this method should be used instead of descriptor() - since the method name is more appropriate. - -

        To parse the string, call toFieldSignature(String) - in SignatureAttribute.

        -
        -
        Parameters:
        -
        i - the i-th entry.
        -
        See Also:
        -
        descriptor(int), -SignatureAttribute.toFieldSignature(String)
        -
        -
      • -
      - - - -
        -
      • -

        index

        -
        public int index​(int i)
        -
        Returns local_variable_table[i].index. - This represents the index of the local variable.
        -
        -
        Parameters:
        -
        i - the i-th entry.
        -
        -
      • -
      - - - -
        -
      • -

        copy

        -
        public AttributeInfo copy​(ConstPool newCp,
        -                          java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Makes a copy.
        -
        -
        Overrides:
        -
        copy in class AttributeInfo
        -
        Parameters:
        -
        newCp - the constant pool table used by the new copy.
        -
        classnames - should be null.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/LocalVariableTypeAttribute.html b/html/javassist/bytecode/LocalVariableTypeAttribute.html deleted file mode 100644 index cc4385f1..00000000 --- a/html/javassist/bytecode/LocalVariableTypeAttribute.html +++ /dev/null @@ -1,357 +0,0 @@ - - - - - -LocalVariableTypeAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class LocalVariableTypeAttribute

-
-
- -
-
    -
  • -
    -
    public class LocalVariableTypeAttribute
    -extends LocalVariableAttribute
    -
    LocalVariableTypeTable_attribute.
    -
    -
    Since:
    -
    3.11
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        tag

        -
        public static final java.lang.String tag
        -
        The name of the attribute "LocalVariableTypeTable".
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        LocalVariableTypeAttribute

        -
        public LocalVariableTypeAttribute​(ConstPool cp)
        -
        Constructs an empty LocalVariableTypeTable.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/MethodInfo.html b/html/javassist/bytecode/MethodInfo.html deleted file mode 100644 index 719b31b6..00000000 --- a/html/javassist/bytecode/MethodInfo.html +++ /dev/null @@ -1,1062 +0,0 @@ - - - - - -MethodInfo (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class MethodInfo

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.MethodInfo
    • -
    -
  • -
-
-
    -
  • -
    -
    public class MethodInfo
    -extends java.lang.Object
    -
    method_info structure. - -

    The bytecode sequence of the method is represented - by a CodeAttribute object. - -

    The following code adds the default constructor to a class: - of int type: -

    - ClassFile cf = ...
    - Bytecode code = new Bytecode(cf.getConstPool());
    - code.addAload(0);
    - code.addInvokespecial("java/lang/Object", MethodInfo.nameInit, "()V");
    - code.addReturn(null);
    - code.setMaxLocals(1);
    -
    - MethodInfo minfo = new MethodInfo(cf.getConstPool(), MethodInfo.nameInit, "()V");
    - minfo.setCodeAttribute(code.toCodeAttribute());
    - cf.addMethod(minfo);
    - 
    -
    -
    See Also:
    -
    getCodeAttribute(), -CodeAttribute, -Bytecode, -CtBehavior.getMethodInfo(), -CtBehavior.getMethodInfo()
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static booleandoPreverify -
      If this value is true, Javassist maintains a StackMap attribute - generated by the preverify tool of J2ME (CLDC).
      -
      static java.lang.StringnameClinit -
      The name of class initializer (static initializer): - <clinit>.
      -
      static java.lang.StringnameInit -
      The name of constructors: <init>.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      MethodInfo​(ConstPool cp, - java.lang.String methodname, - java.lang.String desc) -
      Constructs a method_info structure.
      -
      MethodInfo​(ConstPool cp, - java.lang.String methodname, - MethodInfo src, - java.util.Map<java.lang.String,​java.lang.String> classnameMap) -
      Constructs a copy of method_info structure.
      -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        doPreverify

        -
        public static boolean doPreverify
        -
        If this value is true, Javassist maintains a StackMap attribute - generated by the preverify tool of J2ME (CLDC). The initial - value of this field is false.
        -
      • -
      - - - -
        -
      • -

        nameInit

        -
        public static final java.lang.String nameInit
        -
        The name of constructors: <init>.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        nameClinit

        -
        public static final java.lang.String nameClinit
        -
        The name of class initializer (static initializer): - <clinit>.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        MethodInfo

        -
        public MethodInfo​(ConstPool cp,
        -                  java.lang.String methodname,
        -                  java.lang.String desc)
        -
        Constructs a method_info structure. The initial value of - access_flags is zero.
        -
        -
        Parameters:
        -
        cp - a constant pool table
        -
        methodname - method name
        -
        desc - method descriptor
        -
        See Also:
        -
        Descriptor
        -
        -
      • -
      - - - -
        -
      • -

        MethodInfo

        -
        public MethodInfo​(ConstPool cp,
        -                  java.lang.String methodname,
        -                  MethodInfo src,
        -                  java.util.Map<java.lang.String,​java.lang.String> classnameMap)
        -           throws BadBytecode
        -
        Constructs a copy of method_info structure. Class names - appearing in the source method_info are renamed according - to classnameMap. - -

        - Note: only Code and Exceptions attributes - are copied from the source. The other attributes are ignored.

        -
        -
        Parameters:
        -
        cp - a constant pool table
        -
        methodname - a method name
        -
        src - a source method_info
        -
        classnameMap - specifies pairs of replaced and substituted name.
        -
        Throws:
        -
        BadBytecode
        -
        See Also:
        -
        Descriptor
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Returns a string representation of the object.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        getName

        -
        public java.lang.String getName()
        -
        Returns a method name.
        -
      • -
      - - - -
        -
      • -

        setName

        -
        public void setName​(java.lang.String newName)
        -
        Sets a method name.
        -
      • -
      - - - -
        -
      • -

        isMethod

        -
        public boolean isMethod()
        -
        Returns true if this is not a constructor or a class initializer (static - initializer).
        -
      • -
      - - - -
        -
      • -

        getConstPool

        -
        public ConstPool getConstPool()
        -
        Returns a constant pool table used by this method.
        -
      • -
      - - - -
        -
      • -

        isConstructor

        -
        public boolean isConstructor()
        -
        Returns true if this is a constructor.
        -
      • -
      - - - -
        -
      • -

        isStaticInitializer

        -
        public boolean isStaticInitializer()
        -
        Returns true if this is a class initializer (static initializer).
        -
      • -
      - - - -
        -
      • -

        getAccessFlags

        -
        public int getAccessFlags()
        -
        Returns access flags.
        -
        -
        See Also:
        -
        AccessFlag
        -
        -
      • -
      - - - -
        -
      • -

        setAccessFlags

        -
        public void setAccessFlags​(int acc)
        -
        Sets access flags.
        -
        -
        See Also:
        -
        AccessFlag
        -
        -
      • -
      - - - -
        -
      • -

        getDescriptor

        -
        public java.lang.String getDescriptor()
        -
        Returns a method descriptor.
        -
        -
        See Also:
        -
        Descriptor
        -
        -
      • -
      - - - -
        -
      • -

        setDescriptor

        -
        public void setDescriptor​(java.lang.String desc)
        -
        Sets a method descriptor.
        -
        -
        See Also:
        -
        Descriptor
        -
        -
      • -
      - - - -
        -
      • -

        getAttributes

        -
        public java.util.List<AttributeInfo> getAttributes()
        -
        Returns all the attributes. The returned List object - is shared with this object. If you add a new attribute to the list, - the attribute is also added to the method represented by this - object. If you remove an attribute from the list, it is also removed - from the method.
        -
        -
        Returns:
        -
        a list of AttributeInfo objects.
        -
        See Also:
        -
        AttributeInfo
        -
        -
      • -
      - - - - - - - -
        -
      • -

        removeAttribute

        -
        public AttributeInfo removeAttribute​(java.lang.String name)
        -
        Removes an attribute with the specified name.
        -
        -
        Parameters:
        -
        name - attribute name.
        -
        Returns:
        -
        the removed attribute or null.
        -
        Since:
        -
        3.21
        -
        -
      • -
      - - - -
        -
      • -

        addAttribute

        -
        public void addAttribute​(AttributeInfo info)
        -
        Appends an attribute. If there is already an attribute with the same - name, the new one substitutes for it.
        -
        -
        See Also:
        -
        getAttributes()
        -
        -
      • -
      - - - -
        -
      • -

        getExceptionsAttribute

        -
        public ExceptionsAttribute getExceptionsAttribute()
        -
        Returns an Exceptions attribute.
        -
        -
        Returns:
        -
        an Exceptions attribute or null if it is not specified.
        -
        -
      • -
      - - - -
        -
      • -

        getCodeAttribute

        -
        public CodeAttribute getCodeAttribute()
        -
        Returns a Code attribute.
        -
        -
        Returns:
        -
        a Code attribute or null if it is not specified.
        -
        -
      • -
      - - - -
        -
      • -

        removeExceptionsAttribute

        -
        public void removeExceptionsAttribute()
        -
        Removes an Exception attribute.
        -
      • -
      - - - -
        -
      • -

        setExceptionsAttribute

        -
        public void setExceptionsAttribute​(ExceptionsAttribute cattr)
        -
        Adds an Exception attribute. - -

        - The added attribute must share the same constant pool table as this - method_info structure.

        -
      • -
      - - - -
        -
      • -

        removeCodeAttribute

        -
        public void removeCodeAttribute()
        -
        Removes a Code attribute.
        -
      • -
      - - - -
        -
      • -

        setCodeAttribute

        -
        public void setCodeAttribute​(CodeAttribute cattr)
        -
        Adds a Code attribute. - -

        - The added attribute must share the same constant pool table as this - method_info structure.

        -
      • -
      - - - -
        -
      • -

        rebuildStackMapIf6

        -
        public void rebuildStackMapIf6​(ClassPool pool,
        -                               ClassFile cf)
        -                        throws BadBytecode
        -
        Rebuilds a stack map table if the class file is for Java 6 - or later. Java 5 or older Java VMs do not recognize a stack - map table. If doPreverify is true, this method - also rebuilds a stack map for J2ME (CLDC).
        -
        -
        Parameters:
        -
        pool - used for making type hierarchy.
        -
        cf - rebuild if this class file is for Java 6 or later.
        -
        Throws:
        -
        BadBytecode
        -
        Since:
        -
        3.6
        -
        See Also:
        -
        rebuildStackMap(ClassPool), -rebuildStackMapForME(ClassPool), -doPreverify
        -
        -
      • -
      - - - -
        -
      • -

        rebuildStackMap

        -
        public void rebuildStackMap​(ClassPool pool)
        -                     throws BadBytecode
        -
        Rebuilds a stack map table. If no stack map table is included, - a new one is created. If this MethodInfo does not - include a code attribute, nothing happens.
        -
        -
        Parameters:
        -
        pool - used for making type hierarchy.
        -
        Throws:
        -
        BadBytecode
        -
        Since:
        -
        3.6
        -
        See Also:
        -
        StackMapTable
        -
        -
      • -
      - - - -
        -
      • -

        rebuildStackMapForME

        -
        public void rebuildStackMapForME​(ClassPool pool)
        -                          throws BadBytecode
        -
        Rebuilds a stack map table for J2ME (CLDC). If no stack map table is included, - a new one is created. If this MethodInfo does not - include a code attribute, nothing happens.
        -
        -
        Parameters:
        -
        pool - used for making type hierarchy.
        -
        Throws:
        -
        BadBytecode
        -
        Since:
        -
        3.12
        -
        See Also:
        -
        StackMap
        -
        -
      • -
      - - - -
        -
      • -

        getLineNumber

        -
        public int getLineNumber​(int pos)
        -
        Returns the line number of the source line corresponding to the specified - bytecode contained in this method.
        -
        -
        Parameters:
        -
        pos - the position of the bytecode (>= 0). an index into the code - array.
        -
        Returns:
        -
        -1 if this information is not available.
        -
        -
      • -
      - - - -
        -
      • -

        setSuperclass

        -
        public void setSuperclass​(java.lang.String superclass)
        -                   throws BadBytecode
        -
        Changes a super constructor called by this constructor. - -

        - This method modifies a call to super(), which should be - at the head of a constructor body, so that a constructor in a different - super class is called. This method does not change actual parameters. - Hence the new super class must have a constructor with the same signature - as the original one. - -

        - This method should be called when the super class of the class declaring - this method is changed. - -

        - This method does not perform anything unless this MethodInfo - represents a constructor.

        -
        -
        Parameters:
        -
        superclass - the new super class
        -
        Throws:
        -
        BadBytecode
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/MethodParametersAttribute.html b/html/javassist/bytecode/MethodParametersAttribute.html deleted file mode 100644 index a3090d0f..00000000 --- a/html/javassist/bytecode/MethodParametersAttribute.html +++ /dev/null @@ -1,458 +0,0 @@ - - - - - -MethodParametersAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class MethodParametersAttribute

-
-
- -
-
    -
  • -
    -
    public class MethodParametersAttribute
    -extends AttributeInfo
    -
    MethodParameters_attribute.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.Stringtag -
      The name of this attribute "MethodParameters".
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      MethodParametersAttribute​(ConstPool cp, - java.lang.String[] names, - int[] flags) -
      Constructs an attribute.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      intaccessFlags​(int i) -
      Returns the value of access_flags of the i-th element of parameters.
      -
      AttributeInfocopy​(ConstPool newCp, - java.util.Map<java.lang.String,​java.lang.String> classnames) -
      Makes a copy.
      -
      intname​(int i) -
      Returns the value of name_index of the i-th element of parameters.
      -
      intsize() -
      Returns parameters_count, which is the number of - parameters.
      -
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        tag

        -
        public static final java.lang.String tag
        -
        The name of this attribute "MethodParameters".
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        MethodParametersAttribute

        -
        public MethodParametersAttribute​(ConstPool cp,
        -                                 java.lang.String[] names,
        -                                 int[] flags)
        -
        Constructs an attribute.
        -
        -
        Parameters:
        -
        cp - a constant pool table.
        -
        names - an array of parameter names. - The i-th element is the name of the i-th parameter.
        -
        flags - an array of parameter access flags.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        size

        -
        public int size()
        -
        Returns parameters_count, which is the number of - parameters.
        -
      • -
      - - - -
        -
      • -

        name

        -
        public int name​(int i)
        -
        Returns the value of name_index of the i-th element of parameters.
        -
        -
        Parameters:
        -
        i - the position of the parameter.
        -
        -
      • -
      - - - -
        -
      • -

        accessFlags

        -
        public int accessFlags​(int i)
        -
        Returns the value of access_flags of the i-th element of parameters.
        -
        -
        Parameters:
        -
        i - the position of the parameter.
        -
        See Also:
        -
        AccessFlag
        -
        -
      • -
      - - - -
        -
      • -

        copy

        -
        public AttributeInfo copy​(ConstPool newCp,
        -                          java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Makes a copy.
        -
        -
        Overrides:
        -
        copy in class AttributeInfo
        -
        Parameters:
        -
        newCp - the constant pool table used by the new copy.
        -
        classnames - ignored.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/Mnemonic.html b/html/javassist/bytecode/Mnemonic.html deleted file mode 100644 index 2fba7c06..00000000 --- a/html/javassist/bytecode/Mnemonic.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - -Mnemonic (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Interface Mnemonic

-
-
-
-
    -
  • -
    -
    public interface Mnemonic
    -
    JVM Instruction Names. - -

    This interface has been separated from javassist.bytecode.Opcode - because typical bytecode translators do not use mnemonics. If this - interface were merged with Opcode, extra memory would be unnecessary - consumed.

    -
    -
    See Also:
    -
    Opcode
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.String[]OPCODE -
      The instruction names (mnemonics) sorted by the opcode.
      -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        OPCODE

        -
        static final java.lang.String[] OPCODE
        -
        The instruction names (mnemonics) sorted by the opcode. - The length of this array is 202 (jsr_w=201).
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/NestHostAttribute.html b/html/javassist/bytecode/NestHostAttribute.html deleted file mode 100644 index 934d6645..00000000 --- a/html/javassist/bytecode/NestHostAttribute.html +++ /dev/null @@ -1,370 +0,0 @@ - - - - - -NestHostAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class NestHostAttribute

-
-
- -
-
    -
  • -
    -
    public class NestHostAttribute
    -extends AttributeInfo
    -
    NestHost_attribute. - It was introduced by JEP-181. See JVMS 4.7.28 for the specification.
    -
    -
    Since:
    -
    3.24
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.Stringtag -
      The name of this attribute "NestHost".
      -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        tag

        -
        public static final java.lang.String tag
        -
        The name of this attribute "NestHost".
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        copy

        -
        public AttributeInfo copy​(ConstPool newCp,
        -                          java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Makes a copy. Class names are replaced according to the - given Map object.
        -
        -
        Overrides:
        -
        copy in class AttributeInfo
        -
        Parameters:
        -
        newCp - the constant pool table used by the new copy.
        -
        classnames - pairs of replaced and substituted - class names.
        -
        -
      • -
      - - - -
        -
      • -

        hostClassIndex

        -
        public int hostClassIndex()
        -
        Returns host_class_index. The constant pool entry - at this entry is a CONSTANT_Class_info structure.
        -
        -
        Returns:
        -
        the value of host_class_index.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/NestMembersAttribute.html b/html/javassist/bytecode/NestMembersAttribute.html deleted file mode 100644 index dfa69133..00000000 --- a/html/javassist/bytecode/NestMembersAttribute.html +++ /dev/null @@ -1,395 +0,0 @@ - - - - - -NestMembersAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class NestMembersAttribute

-
-
- -
-
    -
  • -
    -
    public class NestMembersAttribute
    -extends AttributeInfo
    -
    NestMembers_attribute. - It was introduced by JEP-181. See JVMS 4.7.29 for the specification.
    -
    -
    Since:
    -
    3.24
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.Stringtag -
      The name of this attribute "NestMembers".
      -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        tag

        -
        public static final java.lang.String tag
        -
        The name of this attribute "NestMembers".
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        copy

        -
        public AttributeInfo copy​(ConstPool newCp,
        -                          java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Makes a copy. Class names are replaced according to the - given Map object.
        -
        -
        Overrides:
        -
        copy in class AttributeInfo
        -
        Parameters:
        -
        newCp - the constant pool table used by the new copy.
        -
        classnames - pairs of replaced and substituted - class names.
        -
        -
      • -
      - - - -
        -
      • -

        numberOfClasses

        -
        public int numberOfClasses()
        -
        Returns number_of_classes.
        -
        -
        Returns:
        -
        the number of the classes recorded in this attribute.
        -
        -
      • -
      - - - -
        -
      • -

        memberClass

        -
        public int memberClass​(int index)
        -
        Returns classes[index].
        -
        -
        Parameters:
        -
        index - the index into classes.
        -
        Returns:
        -
        the value at the given index in the classes array. - It is an index into the constant pool. - The constant pool entry at the returned index is a - CONSTANT_Class_info structure.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/Opcode.html b/html/javassist/bytecode/Opcode.html deleted file mode 100644 index 53e4519b..00000000 --- a/html/javassist/bytecode/Opcode.html +++ /dev/null @@ -1,4037 +0,0 @@ - - - - - -Opcode (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Interface Opcode

-
-
-
- -
-
- -
-
- -
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/ParameterAnnotationsAttribute.html b/html/javassist/bytecode/ParameterAnnotationsAttribute.html deleted file mode 100644 index 98e2ff70..00000000 --- a/html/javassist/bytecode/ParameterAnnotationsAttribute.html +++ /dev/null @@ -1,558 +0,0 @@ - - - - - -ParameterAnnotationsAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ParameterAnnotationsAttribute

-
-
- -
-
    -
  • -
    -
    public class ParameterAnnotationsAttribute
    -extends AttributeInfo
    -
    A class representing RuntimeVisibleAnnotations_attribute and - RuntimeInvisibleAnnotations_attribute. - -

    To obtain an ParameterAnnotationAttribute object, invoke - getAttribute(ParameterAnnotationsAttribute.invisibleTag) - in MethodInfo. - The obtained attribute is a - runtime invisible annotations attribute. - If the parameter is - ParameterAnnotationAttribute.visibleTag, then the obtained - attribute is a runtime visible one.

    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.StringinvisibleTag -
      The name of the RuntimeInvisibleParameterAnnotations - attribute.
      -
      static java.lang.StringvisibleTag -
      The name of the RuntimeVisibleParameterAnnotations - attribute.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      ParameterAnnotationsAttribute​(ConstPool cp, - java.lang.String attrname) -
      Constructs an empty - Runtime(In)VisibleParameterAnnotations_attribute.
      -
      ParameterAnnotationsAttribute​(ConstPool cp, - java.lang.String attrname, - byte[] info) -
      Constructs - a Runtime(In)VisibleParameterAnnotations_attribute.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      AttributeInfocopy​(ConstPool newCp, - java.util.Map<java.lang.String,​java.lang.String> classnames) -
      Copies this attribute and returns a new copy.
      -
      Annotation[][]getAnnotations() -
      Parses the annotations and returns a data structure representing - that parsed annotations.
      -
      intnumParameters() -
      Returns num_parameters.
      -
      voidsetAnnotations​(Annotation[][] params) -
      Changes the annotations represented by this object according to - the given array of Annotation objects.
      -
      java.lang.StringtoString() -
      Returns a string representation of this object.
      -
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        visibleTag

        -
        public static final java.lang.String visibleTag
        -
        The name of the RuntimeVisibleParameterAnnotations - attribute.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        invisibleTag

        -
        public static final java.lang.String invisibleTag
        -
        The name of the RuntimeInvisibleParameterAnnotations - attribute.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ParameterAnnotationsAttribute

        -
        public ParameterAnnotationsAttribute​(ConstPool cp,
        -                                     java.lang.String attrname,
        -                                     byte[] info)
        -
        Constructs - a Runtime(In)VisibleParameterAnnotations_attribute.
        -
        -
        Parameters:
        -
        cp - constant pool
        -
        attrname - attribute name (visibleTag or - invisibleTag).
        -
        info - the contents of this attribute. It does not - include attribute_name_index or - attribute_length.
        -
        -
      • -
      - - - -
        -
      • -

        ParameterAnnotationsAttribute

        -
        public ParameterAnnotationsAttribute​(ConstPool cp,
        -                                     java.lang.String attrname)
        -
        Constructs an empty - Runtime(In)VisibleParameterAnnotations_attribute. - A new annotation can be later added to the created attribute - by setAnnotations().
        -
        -
        Parameters:
        -
        cp - constant pool
        -
        attrname - attribute name (visibleTag or - invisibleTag).
        -
        See Also:
        -
        setAnnotations(Annotation[][])
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        numParameters

        -
        public int numParameters()
        -
        Returns num_parameters.
        -
      • -
      - - - -
        -
      • -

        copy

        -
        public AttributeInfo copy​(ConstPool newCp,
        -                          java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Copies this attribute and returns a new copy.
        -
        -
        Overrides:
        -
        copy in class AttributeInfo
        -
        Parameters:
        -
        newCp - the constant pool table used by the new copy.
        -
        classnames - pairs of replaced and substituted - class names.
        -
        -
      • -
      - - - -
        -
      • -

        getAnnotations

        -
        public Annotation[][] getAnnotations()
        -
        Parses the annotations and returns a data structure representing - that parsed annotations. Note that changes of the node values of the - returned tree are not reflected on the annotations represented by - this object unless the tree is copied back to this object by - setAnnotations().
        -
        -
        Returns:
        -
        Each element of the returned array represents an array of - annotations that are associated with each method parameter.
        -
        See Also:
        -
        setAnnotations(Annotation[][])
        -
        -
      • -
      - - - -
        -
      • -

        setAnnotations

        -
        public void setAnnotations​(Annotation[][] params)
        -
        Changes the annotations represented by this object according to - the given array of Annotation objects.
        -
        -
        Parameters:
        -
        params - the data structure representing the - new annotations. Every element of this array - is an array of Annotation and - it represens annotations of each method parameter.
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Returns a string representation of this object.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/SignatureAttribute.ArrayType.html b/html/javassist/bytecode/SignatureAttribute.ArrayType.html deleted file mode 100644 index 4359c7c8..00000000 --- a/html/javassist/bytecode/SignatureAttribute.ArrayType.html +++ /dev/null @@ -1,387 +0,0 @@ - - - - - -SignatureAttribute.ArrayType (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class SignatureAttribute.ArrayType

-
-
- -
- -
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ArrayType

        -
        public ArrayType​(int d,
        -                 SignatureAttribute.Type comp)
        -
        Constructs an ArrayType.
        -
        -
        Parameters:
        -
        d - dimension.
        -
        comp - the component type.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getDimension

        -
        public int getDimension()
        -
        Returns the dimension of the array.
        -
      • -
      - - - - - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Returns the string representation.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/SignatureAttribute.BaseType.html b/html/javassist/bytecode/SignatureAttribute.BaseType.html deleted file mode 100644 index 453d3b11..00000000 --- a/html/javassist/bytecode/SignatureAttribute.BaseType.html +++ /dev/null @@ -1,378 +0,0 @@ - - - - - -SignatureAttribute.BaseType (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class SignatureAttribute.BaseType

-
-
- -
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      BaseType​(java.lang.String typeName) -
      Constructs a BaseType.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      CtClassgetCtlass() -
      Returns the CtClass representing this - primitive type.
      -
      chargetDescriptor() -
      Returns the descriptor representing this primitive type.
      -
      java.lang.StringtoString() -
      Returns the string representation.
      -
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        BaseType

        -
        public BaseType​(java.lang.String typeName)
        -
        Constructs a BaseType.
        -
        -
        Parameters:
        -
        typeName - void, int, ...
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getDescriptor

        -
        public char getDescriptor()
        -
        Returns the descriptor representing this primitive type.
        -
        -
        See Also:
        -
        Descriptor
        -
        -
      • -
      - - - -
        -
      • -

        getCtlass

        -
        public CtClass getCtlass()
        -
        Returns the CtClass representing this - primitive type.
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Returns the string representation.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/SignatureAttribute.ClassSignature.html b/html/javassist/bytecode/SignatureAttribute.ClassSignature.html deleted file mode 100644 index 3d878575..00000000 --- a/html/javassist/bytecode/SignatureAttribute.ClassSignature.html +++ /dev/null @@ -1,428 +0,0 @@ - - - - - -SignatureAttribute.ClassSignature (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class SignatureAttribute.ClassSignature

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.SignatureAttribute.ClassSignature
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    SignatureAttribute
    -
    -
    -
    public static class SignatureAttribute.ClassSignature
    -extends java.lang.Object
    -
    Class signature.
    -
  • -
-
-
- -
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getParameters

        -
        public SignatureAttribute.TypeParameter[] getParameters()
        -
        Returns the type parameters.
        -
        -
        Returns:
        -
        a zero-length array if the type parameters are not specified.
        -
        -
      • -
      - - - - - - - -
        -
      • -

        getInterfaces

        -
        public SignatureAttribute.ClassType[] getInterfaces()
        -
        Returns the super interfaces.
        -
        -
        Returns:
        -
        a zero-length array if the super interfaces are not specified.
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Returns the string representation.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        encode

        -
        public java.lang.String encode()
        -
        Returns the encoded string representing the method type signature.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/SignatureAttribute.ClassType.html b/html/javassist/bytecode/SignatureAttribute.ClassType.html deleted file mode 100644 index 06548201..00000000 --- a/html/javassist/bytecode/SignatureAttribute.ClassType.html +++ /dev/null @@ -1,501 +0,0 @@ - - - - - -SignatureAttribute.ClassType (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class SignatureAttribute.ClassType

-
-
- -
- -
-
- -
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ClassType

        -
        public ClassType​(java.lang.String className,
        -                 SignatureAttribute.TypeArgument[] args)
        -
        Constructs a ClassType. It represents - the name of a non-nested class.
        -
        -
        Parameters:
        -
        className - a fully qualified class name.
        -
        args - type arguments or null.
        -
        -
      • -
      - - - -
        -
      • -

        ClassType

        -
        public ClassType​(java.lang.String className)
        -
        Constructs a ClassType. It represents - the name of a non-nested class.
        -
        -
        Parameters:
        -
        className - a fully qualified class name.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getName

        -
        public java.lang.String getName()
        -
        Returns the class name.
        -
      • -
      - - - -
        -
      • -

        getTypeArguments

        -
        public SignatureAttribute.TypeArgument[] getTypeArguments()
        -
        Returns the type arguments.
        -
        -
        Returns:
        -
        null if no type arguments are given to this class.
        -
        -
      • -
      - - - -
        -
      • -

        getDeclaringClass

        -
        public SignatureAttribute.ClassType getDeclaringClass()
        -
        If this class is a member of another class, returns the - class in which this class is declared.
        -
        -
        Returns:
        -
        null if this class is not a member of another class.
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Returns the string representation.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        jvmTypeName

        -
        public java.lang.String jvmTypeName()
        -
        Returns the type name in the JVM internal style. - For example, if the type is a nested class foo.Bar.Baz, - then foo.Bar$Baz is returned.
        -
        -
        Overrides:
        -
        jvmTypeName in class SignatureAttribute.Type
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/SignatureAttribute.MethodSignature.html b/html/javassist/bytecode/SignatureAttribute.MethodSignature.html deleted file mode 100644 index 2d083b55..00000000 --- a/html/javassist/bytecode/SignatureAttribute.MethodSignature.html +++ /dev/null @@ -1,434 +0,0 @@ - - - - - -SignatureAttribute.MethodSignature (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class SignatureAttribute.MethodSignature

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.SignatureAttribute.MethodSignature
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    SignatureAttribute
    -
    -
    -
    public static class SignatureAttribute.MethodSignature
    -extends java.lang.Object
    -
    Method type signature.
    -
  • -
-
-
- -
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getTypeParameters

        -
        public SignatureAttribute.TypeParameter[] getTypeParameters()
        -
        Returns the formal type parameters.
        -
        -
        Returns:
        -
        a zero-length array if the type parameters are not specified.
        -
        -
      • -
      - - - -
        -
      • -

        getParameterTypes

        -
        public SignatureAttribute.Type[] getParameterTypes()
        -
        Returns the types of the formal parameters.
        -
        -
        Returns:
        -
        a zero-length array if no formal parameter is taken.
        -
        -
      • -
      - - - - - - - -
        -
      • -

        getExceptionTypes

        -
        public SignatureAttribute.ObjectType[] getExceptionTypes()
        -
        Returns the types of the exceptions that may be thrown.
        -
        -
        Returns:
        -
        a zero-length array if exceptions are never thrown or - the exception types are not parameterized types or type variables.
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Returns the string representation.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        encode

        -
        public java.lang.String encode()
        -
        Returns the encoded string representing the method type signature.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/SignatureAttribute.NestedClassType.html b/html/javassist/bytecode/SignatureAttribute.NestedClassType.html deleted file mode 100644 index a95789f6..00000000 --- a/html/javassist/bytecode/SignatureAttribute.NestedClassType.html +++ /dev/null @@ -1,382 +0,0 @@ - - - - - -SignatureAttribute.NestedClassType (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class SignatureAttribute.NestedClassType

-
-
- -
- -
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        NestedClassType

        -
        public NestedClassType​(SignatureAttribute.ClassType parent,
        -                       java.lang.String className,
        -                       SignatureAttribute.TypeArgument[] args)
        -
        Constructs a NestedClassType.
        -
        -
        Parameters:
        -
        parent - the class surrounding this class type.
        -
        className - a simple class name. It does not include - a package name or a parent's class name.
        -
        args - type parameters or null.
        -
        -
      • -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/SignatureAttribute.ObjectType.html b/html/javassist/bytecode/SignatureAttribute.ObjectType.html deleted file mode 100644 index 0582e31b..00000000 --- a/html/javassist/bytecode/SignatureAttribute.ObjectType.html +++ /dev/null @@ -1,332 +0,0 @@ - - - - - -SignatureAttribute.ObjectType (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class SignatureAttribute.ObjectType

-
-
- -
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      ObjectType() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.Stringencode() -
      Returns the encoded string representing the object type signature.
      -
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ObjectType

        -
        public ObjectType()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        encode

        -
        public java.lang.String encode()
        -
        Returns the encoded string representing the object type signature.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/SignatureAttribute.Type.html b/html/javassist/bytecode/SignatureAttribute.Type.html deleted file mode 100644 index 0d614449..00000000 --- a/html/javassist/bytecode/SignatureAttribute.Type.html +++ /dev/null @@ -1,321 +0,0 @@ - - - - - -SignatureAttribute.Type (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class SignatureAttribute.Type

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.SignatureAttribute.Type
    • -
    -
  • -
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Type() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.StringjvmTypeName() -
      Returns the type name in the JVM internal style.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Type

        -
        public Type()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        jvmTypeName

        -
        public java.lang.String jvmTypeName()
        -
        Returns the type name in the JVM internal style. - For example, if the type is a nested class foo.Bar.Baz, - then foo.Bar$Baz is returned.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/SignatureAttribute.TypeArgument.html b/html/javassist/bytecode/SignatureAttribute.TypeArgument.html deleted file mode 100644 index f9959a0b..00000000 --- a/html/javassist/bytecode/SignatureAttribute.TypeArgument.html +++ /dev/null @@ -1,455 +0,0 @@ - - - - - -SignatureAttribute.TypeArgument (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class SignatureAttribute.TypeArgument

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.SignatureAttribute.TypeArgument
    • -
    -
  • -
-
- -
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        TypeArgument

        -
        public TypeArgument​(SignatureAttribute.ObjectType t)
        -
        Constructs a TypeArgument. - A type argument is <String>, <int[]>, - or a type variable <T>, etc.
        -
        -
        Parameters:
        -
        t - a class type, an array type, or a type variable.
        -
        -
      • -
      - - - -
        -
      • -

        TypeArgument

        -
        public TypeArgument()
        -
        Constructs a TypeArgument representing <?>.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - - - - - - - - - -
        -
      • -

        getKind

        -
        public char getKind()
        -
        Returns the kind of this type argument.
        -
        -
        Returns:
        -
        ' ' (not-wildcard), '*' (wildcard), '+' (wildcard with - upper bound), or '-' (wildcard with lower bound).
        -
        -
      • -
      - - - -
        -
      • -

        isWildcard

        -
        public boolean isWildcard()
        -
        Returns true if this type argument is a wildcard type - such as ?, ? extends String, or ? super Integer.
        -
      • -
      - - - -
        -
      • -

        getType

        -
        public SignatureAttribute.ObjectType getType()
        -
        Returns the type represented by this argument - if the argument is not a wildcard type. Otherwise, this method - returns the upper bound (if the kind is '+'), - the lower bound (if the kind is '-'), or null (if the upper or lower - bound is not specified).
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Returns the string representation.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/SignatureAttribute.TypeParameter.html b/html/javassist/bytecode/SignatureAttribute.TypeParameter.html deleted file mode 100644 index b1628300..00000000 --- a/html/javassist/bytecode/SignatureAttribute.TypeParameter.html +++ /dev/null @@ -1,415 +0,0 @@ - - - - - -SignatureAttribute.TypeParameter (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class SignatureAttribute.TypeParameter

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.SignatureAttribute.TypeParameter
    • -
    -
  • -
-
- -
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        TypeParameter

        -
        public TypeParameter​(java.lang.String name,
        -                     SignatureAttribute.ObjectType superClass,
        -                     SignatureAttribute.ObjectType[] superInterfaces)
        -
        Constructs a TypeParameter representing a type parametre - like <T extends ... >.
        -
        -
        Parameters:
        -
        name - parameter name.
        -
        superClass - an upper bound class-type (or null).
        -
        superInterfaces - an upper bound interface-type (or null).
        -
        -
      • -
      - - - -
        -
      • -

        TypeParameter

        -
        public TypeParameter​(java.lang.String name)
        -
        Constructs a TypeParameter representing a type parameter - like <T>.
        -
        -
        Parameters:
        -
        name - parameter name.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getName

        -
        public java.lang.String getName()
        -
        Returns the name of the type parameter.
        -
      • -
      - - - - - - - -
        -
      • -

        getInterfaceBound

        -
        public SignatureAttribute.ObjectType[] getInterfaceBound()
        -
        Returns the interface bound of this parameter.
        -
        -
        Returns:
        -
        a zero-length array if the interface bound is not specified.
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Returns the string representation.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/SignatureAttribute.TypeVariable.html b/html/javassist/bytecode/SignatureAttribute.TypeVariable.html deleted file mode 100644 index fdf2a09c..00000000 --- a/html/javassist/bytecode/SignatureAttribute.TypeVariable.html +++ /dev/null @@ -1,367 +0,0 @@ - - - - - -SignatureAttribute.TypeVariable (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class SignatureAttribute.TypeVariable

-
-
- -
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      TypeVariable​(java.lang.String name) -
      Constructs a TypeVariable.
      -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        TypeVariable

        -
        public TypeVariable​(java.lang.String name)
        -
        Constructs a TypeVariable.
        -
        -
        Parameters:
        -
        name - the name of a type variable.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getName

        -
        public java.lang.String getName()
        -
        Returns the variable name.
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Returns the string representation.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/SignatureAttribute.html b/html/javassist/bytecode/SignatureAttribute.html deleted file mode 100644 index 7c821aba..00000000 --- a/html/javassist/bytecode/SignatureAttribute.html +++ /dev/null @@ -1,655 +0,0 @@ - - - - - -SignatureAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class SignatureAttribute

-
-
- -
-
    -
  • -
    -
    public class SignatureAttribute
    -extends AttributeInfo
    -
    Signature_attribute.
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        tag

        -
        public static final java.lang.String tag
        -
        The name of this attribute "Signature".
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        SignatureAttribute

        -
        public SignatureAttribute​(ConstPool cp,
        -                          java.lang.String signature)
        -
        Constructs a Signature attribute.
        -
        -
        Parameters:
        -
        cp - a constant pool table.
        -
        signature - the signature represented by this attribute.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        setSignature

        -
        public void setSignature​(java.lang.String sig)
        -
        Sets signature_index to the index of the given generic signature, - which is added to a constant pool.
        -
        -
        Parameters:
        -
        sig - new signature.
        -
        Since:
        -
        3.11
        -
        -
      • -
      - - - -
        -
      • -

        copy

        -
        public AttributeInfo copy​(ConstPool newCp,
        -                          java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Makes a copy. Class names are replaced according to the - given Map object.
        -
        -
        Overrides:
        -
        copy in class AttributeInfo
        -
        Parameters:
        -
        newCp - the constant pool table used by the new copy.
        -
        classnames - pairs of replaced and substituted - class names.
        -
        -
      • -
      - - - -
        -
      • -

        toClassSignature

        -
        public static SignatureAttribute.ClassSignature toClassSignature​(java.lang.String sig)
        -                                                          throws BadBytecode
        -
        Parses the given signature string as a class signature.
        -
        -
        Parameters:
        -
        sig - the signature obtained from the SignatureAttribute - of a ClassFile.
        -
        Returns:
        -
        a tree-like data structure representing a class signature. It provides - convenient accessor methods.
        -
        Throws:
        -
        BadBytecode - thrown when a syntactical error is found.
        -
        Since:
        -
        3.5
        -
        See Also:
        -
        getSignature()
        -
        -
      • -
      - - - -
        -
      • -

        toMethodSignature

        -
        public static SignatureAttribute.MethodSignature toMethodSignature​(java.lang.String sig)
        -                                                            throws BadBytecode
        -
        Parses the given signature string as a method type signature.
        -
        -
        Parameters:
        -
        sig - the signature obtained from the SignatureAttribute - of a MethodInfo.
        -
        Returns:
        -
        Throws:
        -
        BadBytecode - thrown when a syntactical error is found.
        -
        Since:
        -
        3.5
        -
        See Also:
        -
        getSignature()
        -
        -
      • -
      - - - -
        -
      • -

        toFieldSignature

        -
        public static SignatureAttribute.ObjectType toFieldSignature​(java.lang.String sig)
        -                                                      throws BadBytecode
        -
        Parses the given signature string as a field type signature.
        -
        -
        Parameters:
        -
        sig - the signature string obtained from the SignatureAttribute - of a FieldInfo.
        -
        Returns:
        -
        the field type signature.
        -
        Throws:
        -
        BadBytecode - thrown when a syntactical error is found.
        -
        Since:
        -
        3.5
        -
        See Also:
        -
        getSignature()
        -
        -
      • -
      - - - -
        -
      • -

        toTypeSignature

        -
        public static SignatureAttribute.Type toTypeSignature​(java.lang.String sig)
        -                                               throws BadBytecode
        -
        Parses the given signature string as a type signature. - The type signature is either the field type signature or a base type - descriptor including void type.
        -
        -
        Throws:
        -
        BadBytecode - thrown when a syntactical error is found.
        -
        Since:
        -
        3.18
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- - - - diff --git a/html/javassist/bytecode/SourceFileAttribute.html b/html/javassist/bytecode/SourceFileAttribute.html deleted file mode 100644 index c127d5ca..00000000 --- a/html/javassist/bytecode/SourceFileAttribute.html +++ /dev/null @@ -1,410 +0,0 @@ - - - - - -SourceFileAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class SourceFileAttribute

-
-
- -
-
    -
  • -
    -
    public class SourceFileAttribute
    -extends AttributeInfo
    -
    SourceFile_attribute.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.Stringtag -
      The name of this attribute "SourceFile".
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      SourceFileAttribute​(ConstPool cp, - java.lang.String filename) -
      Constructs a SourceFile attribute.
      -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        tag

        -
        public static final java.lang.String tag
        -
        The name of this attribute "SourceFile".
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        SourceFileAttribute

        -
        public SourceFileAttribute​(ConstPool cp,
        -                           java.lang.String filename)
        -
        Constructs a SourceFile attribute.
        -
        -
        Parameters:
        -
        cp - a constant pool table.
        -
        filename - the name of the source file.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getFileName

        -
        public java.lang.String getFileName()
        -
        Returns the file name indicated by sourcefile_index.
        -
      • -
      - - - -
        -
      • -

        copy

        -
        public AttributeInfo copy​(ConstPool newCp,
        -                          java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Makes a copy. Class names are replaced according to the - given Map object.
        -
        -
        Overrides:
        -
        copy in class AttributeInfo
        -
        Parameters:
        -
        newCp - the constant pool table used by the new copy.
        -
        classnames - pairs of replaced and substituted - class names.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/StackMap.Walker.html b/html/javassist/bytecode/StackMap.Walker.html deleted file mode 100644 index f8b2cd0d..00000000 --- a/html/javassist/bytecode/StackMap.Walker.html +++ /dev/null @@ -1,460 +0,0 @@ - - - - - -StackMap.Walker (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class StackMap.Walker

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.StackMap.Walker
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    StackMap
    -
    -
    -
    public static class StackMap.Walker
    -extends java.lang.Object
    -
    A code walker for a StackMap attribute.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Walker​(StackMap sm) -
      Constructs a walker.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      intlocals​(int pos, - int offset, - int num) -
      Invoked when locals of stack_map_frame - is visited.
      -
      voidobjectVariable​(int pos, - int clazz) -
      Invoked when an element of type Object_variable_info - is visited.
      -
      intstack​(int pos, - int offset, - int num) -
      Invoked when stack of stack_map_frame - is visited.
      -
      voidtypeInfo​(int pos, - byte tag) -
      Invoked when an element of verification_type_info - (except Object_variable_info and - Uninitialized_variable_info) is visited.
      -
      inttypeInfoArray​(int pos, - int offset, - int num, - boolean isLocals) -
      Invoked when an array of verification_type_info is - visited.
      -
      voiduninitialized​(int pos, - int offset) -
      Invoked when an element of type Uninitialized_variable_info - is visited.
      -
      voidvisit() -
      Visits each entry of the stack map frames.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Walker

        -
        public Walker​(StackMap sm)
        -
        Constructs a walker.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        visit

        -
        public void visit()
        -
        Visits each entry of the stack map frames.
        -
      • -
      - - - -
        -
      • -

        locals

        -
        public int locals​(int pos,
        -                  int offset,
        -                  int num)
        -
        Invoked when locals of stack_map_frame - is visited.
        -
      • -
      - - - -
        -
      • -

        stack

        -
        public int stack​(int pos,
        -                 int offset,
        -                 int num)
        -
        Invoked when stack of stack_map_frame - is visited.
        -
      • -
      - - - -
        -
      • -

        typeInfoArray

        -
        public int typeInfoArray​(int pos,
        -                         int offset,
        -                         int num,
        -                         boolean isLocals)
        -
        Invoked when an array of verification_type_info is - visited.
        -
        -
        Parameters:
        -
        num - the number of elements.
        -
        isLocals - true if this array is for locals. - false if it is for stack.
        -
        -
      • -
      - - - -
        -
      • -

        typeInfo

        -
        public void typeInfo​(int pos,
        -                     byte tag)
        -
        Invoked when an element of verification_type_info - (except Object_variable_info and - Uninitialized_variable_info) is visited.
        -
      • -
      - - - -
        -
      • -

        objectVariable

        -
        public void objectVariable​(int pos,
        -                           int clazz)
        -
        Invoked when an element of type Object_variable_info - is visited.
        -
      • -
      - - - -
        -
      • -

        uninitialized

        -
        public void uninitialized​(int pos,
        -                          int offset)
        -
        Invoked when an element of type Uninitialized_variable_info - is visited.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/StackMap.Writer.html b/html/javassist/bytecode/StackMap.Writer.html deleted file mode 100644 index 9f218116..00000000 --- a/html/javassist/bytecode/StackMap.Writer.html +++ /dev/null @@ -1,375 +0,0 @@ - - - - - -StackMap.Writer (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class StackMap.Writer

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.StackMap.Writer
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    StackMap
    -
    -
    -
    public static class StackMap.Writer
    -extends java.lang.Object
    -
    Internal use only.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Writer() -
      Constructs a writer.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      byte[]toByteArray() -
      Converts the written data into a byte array.
      -
      StackMaptoStackMap​(ConstPool cp) -
      Converts to a StackMap attribute.
      -
      voidwrite16bit​(int value) -
      Writes a 16bit value.
      -
      voidwriteVerifyTypeInfo​(int tag, - int data) -
      Writes a union verification_type_info value.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Writer

        -
        public Writer()
        -
        Constructs a writer.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        toByteArray

        -
        public byte[] toByteArray()
        -
        Converts the written data into a byte array.
        -
      • -
      - - - -
        -
      • -

        toStackMap

        -
        public StackMap toStackMap​(ConstPool cp)
        -
        Converts to a StackMap attribute.
        -
      • -
      - - - -
        -
      • -

        writeVerifyTypeInfo

        -
        public void writeVerifyTypeInfo​(int tag,
        -                                int data)
        -
        Writes a union verification_type_info value.
        -
        -
        Parameters:
        -
        data - cpool_index or offset.
        -
        -
      • -
      - - - -
        -
      • -

        write16bit

        -
        public void write16bit​(int value)
        -
        Writes a 16bit value.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/StackMap.html b/html/javassist/bytecode/StackMap.html deleted file mode 100644 index b540d970..00000000 --- a/html/javassist/bytecode/StackMap.html +++ /dev/null @@ -1,679 +0,0 @@ - - - - - -StackMap (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class StackMap

-
-
- -
-
    -
  • -
    -
    public class StackMap
    -extends AttributeInfo
    -
    Another stack_map attribute defined in CLDC 1.1 for J2ME. - -

    This is an entry in the attributes table of a Code attribute. - It was introduced by J2ME CLDC 1.1 (JSR 139) for pre-verification. - -

    According to the CLDC specification, the sizes of some fields are not 16bit - but 32bit if the code size is more than 64K or the number of the local variables - is more than 64K. However, for the J2ME CLDC technology, they are always 16bit. - The implementation of the StackMap class assumes they are 16bit.

    -
    -
    Since:
    -
    3.12
    -
    See Also:
    -
    MethodInfo.doPreverify, -StackMapTable
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClassDescription
      static class StackMap.Walker -
      A code walker for a StackMap attribute.
      -
      static class StackMap.Writer -
      Internal use only.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static intDOUBLE -
      Double_variable_info.tag.
      -
      static intFLOAT -
      Float_variable_info.tag.
      -
      static intINTEGER -
      Integer_variable_info.tag.
      -
      static intLONG -
      Long_variable_info.tag.
      -
      static intNULL -
      Null_variable_info.tag.
      -
      static intOBJECT -
      Object_variable_info.tag.
      -
      static java.lang.Stringtag -
      The name of this attribute "StackMap".
      -
      static intTHIS -
      UninitializedThis_variable_info.tag.
      -
      static intTOP -
      Top_variable_info.tag.
      -
      static intUNINIT -
      Uninitialized_variable_info.tag.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      AttributeInfocopy​(ConstPool newCp, - java.util.Map<java.lang.String,​java.lang.String> classnames) -
      Makes a copy.
      -
      voidinsertLocal​(int index, - int tag, - int classInfo) -
      Updates this stack map table when a new local variable is inserted - for a new parameter.
      -
      intnumOfEntries() -
      Returns number_of_entries.
      -
      voidprint​(java.io.PrintWriter out) -
      Prints this stack map.
      -
      voidremoveNew​(int where) -
      Undocumented method.
      -
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        numOfEntries

        -
        public int numOfEntries()
        -
        Returns number_of_entries.
        -
      • -
      - - - -
        -
      • -

        copy

        -
        public AttributeInfo copy​(ConstPool newCp,
        -                          java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Makes a copy.
        -
        -
        Overrides:
        -
        copy in class AttributeInfo
        -
        Parameters:
        -
        newCp - the constant pool table used by the new copy.
        -
        classnames - pairs of replaced and substituted - class names.
        -
        -
      • -
      - - - -
        -
      • -

        insertLocal

        -
        public void insertLocal​(int index,
        -                        int tag,
        -                        int classInfo)
        -                 throws BadBytecode
        -
        Updates this stack map table when a new local variable is inserted - for a new parameter.
        -
        -
        Parameters:
        -
        index - the index of the added local variable.
        -
        tag - the type tag of that local variable. - It is available by StackMapTable.typeTagOf(char).
        -
        classInfo - the index of the CONSTANT_Class_info structure - in a constant pool table. This should be zero unless the tag - is ITEM_Object.
        -
        Throws:
        -
        BadBytecode
        -
        See Also:
        -
        CtBehavior.addParameter(javassist.CtClass), -StackMapTable.typeTagOf(char), -ConstPool
        -
        -
      • -
      - - - -
        -
      • -

        removeNew

        -
        public void removeNew​(int where)
        -               throws CannotCompileException
        -
        Undocumented method. Do not use; internal-use only. - -

        This method is for javassist.convert.TransformNew. - It is called to update the stack map when - the NEW opcode (and the following DUP) is removed.

        -
        -
        Parameters:
        -
        where - the position of the removed NEW opcode.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        print

        -
        public void print​(java.io.PrintWriter out)
        -
        Prints this stack map.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/StackMapTable.RuntimeCopyException.html b/html/javassist/bytecode/StackMapTable.RuntimeCopyException.html deleted file mode 100644 index 07048143..00000000 --- a/html/javassist/bytecode/StackMapTable.RuntimeCopyException.html +++ /dev/null @@ -1,308 +0,0 @@ - - - - - -StackMapTable.RuntimeCopyException (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class StackMapTable.RuntimeCopyException

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.lang.Throwable
    • -
    • -
        -
      • java.lang.Exception
      • -
      • -
          -
        • java.lang.RuntimeException
        • -
        • -
            -
          • javassist.bytecode.StackMapTable.RuntimeCopyException
          • -
          -
        • -
        -
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    Enclosing class:
    -
    StackMapTable
    -
    -
    -
    public static class StackMapTable.RuntimeCopyException
    -extends java.lang.RuntimeException
    -
    An exception that may be thrown by copy() - in StackMapTable.
    -
    -
    See Also:
    -
    Serialized Form
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      RuntimeCopyException​(java.lang.String s) -
      Constructs an exception.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        RuntimeCopyException

        -
        public RuntimeCopyException​(java.lang.String s)
        -
        Constructs an exception.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/StackMapTable.Walker.html b/html/javassist/bytecode/StackMapTable.Walker.html deleted file mode 100644 index 1902537a..00000000 --- a/html/javassist/bytecode/StackMapTable.Walker.html +++ /dev/null @@ -1,570 +0,0 @@ - - - - - -StackMapTable.Walker (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class StackMapTable.Walker

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.StackMapTable.Walker
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    StackMapTable
    -
    -
    -
    public static class StackMapTable.Walker
    -extends java.lang.Object
    -
    A code walker for a StackMapTable attribute.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Walker​(byte[] data) -
      Constructs a walker.
      -
      Walker​(StackMapTable smt) -
      Constructs a walker.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidappendFrame​(int pos, - int offsetDelta, - int[] tags, - int[] data) -
      Invoked if the visited frame is a append_frame.
      -
      voidchopFrame​(int pos, - int offsetDelta, - int k) -
      Invoked if the visited frame is a chop_frame.
      -
      voidfullFrame​(int pos, - int offsetDelta, - int[] localTags, - int[] localData, - int[] stackTags, - int[] stackData) -
      Invoked if the visited frame is full_frame.
      -
      voidobjectOrUninitialized​(int tag, - int data, - int pos) -
      Invoked if Object_variable_info - or Uninitialized_variable_info is visited.
      -
      voidparse() -
      Visits each entry of the stack map frames.
      -
      voidsameFrame​(int pos, - int offsetDelta) -
      Invoked if the visited frame is a same_frame or - a same_frame_extended.
      -
      voidsameLocals​(int pos, - int offsetDelta, - int stackTag, - int stackData) -
      Invoked if the visited frame is a same_locals_1_stack_item_frame - or a same_locals_1_stack_item_frame_extended.
      -
      intsize() -
      Returns the number of the entries.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Walker

        -
        public Walker​(StackMapTable smt)
        -
        Constructs a walker.
        -
        -
        Parameters:
        -
        smt - the StackMapTable that this walker - walks around.
        -
        -
      • -
      - - - -
        -
      • -

        Walker

        -
        public Walker​(byte[] data)
        -
        Constructs a walker.
        -
        -
        Parameters:
        -
        data - the info field of the - attribute_info structure. - It can be obtained by get() - in the AttributeInfo class.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        size

        -
        public final int size()
        -
        Returns the number of the entries.
        -
      • -
      - - - -
        -
      • -

        parse

        -
        public void parse()
        -           throws BadBytecode
        -
        Visits each entry of the stack map frames.
        -
        -
        Throws:
        -
        BadBytecode
        -
        -
      • -
      - - - -
        -
      • -

        sameFrame

        -
        public void sameFrame​(int pos,
        -                      int offsetDelta)
        -               throws BadBytecode
        -
        Invoked if the visited frame is a same_frame or - a same_frame_extended.
        -
        -
        Parameters:
        -
        pos - the position of this frame in the info - field of attribute_info structure.
        -
        offsetDelta -
        -
        Throws:
        -
        BadBytecode
        -
        -
      • -
      - - - -
        -
      • -

        sameLocals

        -
        public void sameLocals​(int pos,
        -                       int offsetDelta,
        -                       int stackTag,
        -                       int stackData)
        -                throws BadBytecode
        -
        Invoked if the visited frame is a same_locals_1_stack_item_frame - or a same_locals_1_stack_item_frame_extended.
        -
        -
        Parameters:
        -
        pos - the position.
        -
        offsetDelta -
        -
        stackTag - stack[0].tag.
        -
        stackData - stack[0].cpool_index - if the tag is OBJECT, - or stack[0].offset - if the tag is UNINIT.
        -
        Throws:
        -
        BadBytecode
        -
        -
      • -
      - - - -
        -
      • -

        chopFrame

        -
        public void chopFrame​(int pos,
        -                      int offsetDelta,
        -                      int k)
        -               throws BadBytecode
        -
        Invoked if the visited frame is a chop_frame.
        -
        -
        Parameters:
        -
        pos - the position.
        -
        offsetDelta -
        -
        k - the k last locals are absent.
        -
        Throws:
        -
        BadBytecode
        -
        -
      • -
      - - - -
        -
      • -

        appendFrame

        -
        public void appendFrame​(int pos,
        -                        int offsetDelta,
        -                        int[] tags,
        -                        int[] data)
        -                 throws BadBytecode
        -
        Invoked if the visited frame is a append_frame.
        -
        -
        Parameters:
        -
        pos - the position.
        -
        offsetDelta -
        -
        tags - locals[i].tag.
        -
        data - locals[i].cpool_index - or locals[i].offset.
        -
        Throws:
        -
        BadBytecode
        -
        -
      • -
      - - - -
        -
      • -

        fullFrame

        -
        public void fullFrame​(int pos,
        -                      int offsetDelta,
        -                      int[] localTags,
        -                      int[] localData,
        -                      int[] stackTags,
        -                      int[] stackData)
        -               throws BadBytecode
        -
        Invoked if the visited frame is full_frame.
        -
        -
        Parameters:
        -
        pos - the position.
        -
        offsetDelta -
        -
        localTags - locals[i].tag
        -
        localData - locals[i].cpool_index - or locals[i].offset
        -
        stackTags - stack[i].tag
        -
        stackData - stack[i].cpool_index - or stack[i].offset
        -
        Throws:
        -
        BadBytecode
        -
        -
      • -
      - - - -
        -
      • -

        objectOrUninitialized

        -
        public void objectOrUninitialized​(int tag,
        -                                  int data,
        -                                  int pos)
        -
        Invoked if Object_variable_info - or Uninitialized_variable_info is visited.
        -
        -
        Parameters:
        -
        tag - OBJECT or UNINIT.
        -
        data - the value of cpool_index or offset.
        -
        pos - the position of cpool_index or offset.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/StackMapTable.Writer.html b/html/javassist/bytecode/StackMapTable.Writer.html deleted file mode 100644 index 111a0cae..00000000 --- a/html/javassist/bytecode/StackMapTable.Writer.html +++ /dev/null @@ -1,494 +0,0 @@ - - - - - -StackMapTable.Writer (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class StackMapTable.Writer

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.StackMapTable.Writer
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    StackMapTable
    -
    -
    -
    public static class StackMapTable.Writer
    -extends java.lang.Object
    -
    A writer of stack map tables.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Writer​(int size) -
      Constructs a writer.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidappendFrame​(int offsetDelta, - int[] tags, - int[] data) -
      Writes a append_frame.
      -
      voidchopFrame​(int offsetDelta, - int k) -
      Writes a chop_frame.
      -
      voidfullFrame​(int offsetDelta, - int[] localTags, - int[] localData, - int[] stackTags, - int[] stackData) -
      Writes a full_frame.
      -
      voidsameFrame​(int offsetDelta) -
      Writes a same_frame or a same_frame_extended.
      -
      voidsameLocals​(int offsetDelta, - int tag, - int data) -
      Writes a same_locals_1_stack_item - or a same_locals_1_stack_item_extended.
      -
      byte[]toByteArray() -
      Returns the stack map table written out.
      -
      StackMapTabletoStackMapTable​(ConstPool cp) -
      Constructs and a return a stack map table containing - the written stack map entries.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Writer

        -
        public Writer​(int size)
        -
        Constructs a writer.
        -
        -
        Parameters:
        -
        size - the initial buffer size.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        toByteArray

        -
        public byte[] toByteArray()
        -
        Returns the stack map table written out.
        -
      • -
      - - - -
        -
      • -

        toStackMapTable

        -
        public StackMapTable toStackMapTable​(ConstPool cp)
        -
        Constructs and a return a stack map table containing - the written stack map entries.
        -
        -
        Parameters:
        -
        cp - the constant pool used to write - the stack map entries.
        -
        -
      • -
      - - - -
        -
      • -

        sameFrame

        -
        public void sameFrame​(int offsetDelta)
        -
        Writes a same_frame or a same_frame_extended.
        -
      • -
      - - - -
        -
      • -

        sameLocals

        -
        public void sameLocals​(int offsetDelta,
        -                       int tag,
        -                       int data)
        -
        Writes a same_locals_1_stack_item - or a same_locals_1_stack_item_extended.
        -
        -
        Parameters:
        -
        tag - stack[0].tag.
        -
        data - stack[0].cpool_index - if the tag is OBJECT, - or stack[0].offset - if the tag is UNINIT. - Otherwise, this parameter is not used.
        -
        -
      • -
      - - - -
        -
      • -

        chopFrame

        -
        public void chopFrame​(int offsetDelta,
        -                      int k)
        -
        Writes a chop_frame.
        -
        -
        Parameters:
        -
        k - the number of absent locals. 1, 2, or 3.
        -
        -
      • -
      - - - -
        -
      • -

        appendFrame

        -
        public void appendFrame​(int offsetDelta,
        -                        int[] tags,
        -                        int[] data)
        -
        Writes a append_frame. The number of the appended - locals is specified by the length of tags.
        -
        -
        Parameters:
        -
        tags - locals[].tag. - The length of this array must be - either 1, 2, or 3.
        -
        data - locals[].cpool_index - if the tag is OBJECT, - or locals[].offset - if the tag is UNINIT. - Otherwise, this parameter is not used.
        -
        -
      • -
      - - - -
        -
      • -

        fullFrame

        -
        public void fullFrame​(int offsetDelta,
        -                      int[] localTags,
        -                      int[] localData,
        -                      int[] stackTags,
        -                      int[] stackData)
        -
        Writes a full_frame. - number_of_locals and number_of_stack_items - are specified by the the length of localTags and - stackTags.
        -
        -
        Parameters:
        -
        localTags - locals[].tag.
        -
        localData - locals[].cpool_index - if the tag is OBJECT, - or locals[].offset - if the tag is UNINIT. - Otherwise, this parameter is not used.
        -
        stackTags - stack[].tag.
        -
        stackData - stack[].cpool_index - if the tag is OBJECT, - or stack[].offset - if the tag is UNINIT. - Otherwise, this parameter is not used.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/StackMapTable.html b/html/javassist/bytecode/StackMapTable.html deleted file mode 100644 index dfe4d7d5..00000000 --- a/html/javassist/bytecode/StackMapTable.html +++ /dev/null @@ -1,718 +0,0 @@ - - - - - -StackMapTable (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class StackMapTable

-
-
- -
-
    -
  • -
    -
    public class StackMapTable
    -extends AttributeInfo
    -
    stack_map attribute. - -

    This is an entry in the attributes table of a Code attribute. - It was introduced by J2SE 6 for the verification by - typechecking.

    -
    -
    Since:
    -
    3.4
    -
    See Also:
    -
    StackMap
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static intDOUBLE -
      Double_variable_info.tag.
      -
      static intFLOAT -
      Float_variable_info.tag.
      -
      static intINTEGER -
      Integer_variable_info.tag.
      -
      static intLONG -
      Long_variable_info.tag.
      -
      static intNULL -
      Null_variable_info.tag.
      -
      static intOBJECT -
      Object_variable_info.tag.
      -
      static java.lang.Stringtag -
      The name of this attribute "StackMapTable".
      -
      static intTHIS -
      UninitializedThis_variable_info.tag.
      -
      static intTOP -
      Top_variable_info.tag.
      -
      static intUNINIT -
      Uninitialized_variable_info.tag.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      AttributeInfocopy​(ConstPool newCp, - java.util.Map<java.lang.String,​java.lang.String> classnames) -
      Makes a copy.
      -
      voidinsertLocal​(int index, - int tag, - int classInfo) -
      Updates this stack map table when a new local variable is inserted - for a new parameter.
      -
      voidprintln​(java.io.PrintStream ps) -
      Prints the stack table map.
      -
      voidprintln​(java.io.PrintWriter w) -
      Prints the stack table map.
      -
      voidremoveNew​(int where) -
      Undocumented method.
      -
      static inttypeTagOf​(char descriptor) -
      Returns the tag of the type specified by the - descriptor.
      -
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        insertLocal

        -
        public void insertLocal​(int index,
        -                        int tag,
        -                        int classInfo)
        -                 throws BadBytecode
        -
        Updates this stack map table when a new local variable is inserted - for a new parameter.
        -
        -
        Parameters:
        -
        index - the index of the added local variable.
        -
        tag - the type tag of that local variable.
        -
        classInfo - the index of the CONSTANT_Class_info structure - in a constant pool table. This should be zero unless the tag - is ITEM_Object.
        -
        Throws:
        -
        BadBytecode
        -
        See Also:
        -
        CtBehavior.addParameter(javassist.CtClass), -typeTagOf(char), -ConstPool
        -
        -
      • -
      - - - -
        -
      • -

        typeTagOf

        -
        public static int typeTagOf​(char descriptor)
        -
        Returns the tag of the type specified by the - descriptor. This method returns INTEGER - unless the descriptor is either D (double), F (float), - J (long), L (class type), or [ (array).
        -
        -
        Parameters:
        -
        descriptor - the type descriptor.
        -
        See Also:
        -
        Descriptor
        -
        -
      • -
      - - - -
        -
      • -

        println

        -
        public void println​(java.io.PrintWriter w)
        -
        Prints the stack table map.
        -
      • -
      - - - -
        -
      • -

        println

        -
        public void println​(java.io.PrintStream ps)
        -
        Prints the stack table map.
        -
        -
        Parameters:
        -
        ps - a print stream such as System.out.
        -
        -
      • -
      - - - -
        -
      • -

        removeNew

        -
        public void removeNew​(int where)
        -               throws CannotCompileException
        -
        Undocumented method. Do not use; internal-use only. - -

        This method is for javassist.convert.TransformNew. - It is called to update the stack map table when - the NEW opcode (and the following DUP) is removed.

        -
        -
        Parameters:
        -
        where - the position of the removed NEW opcode.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/SyntheticAttribute.html b/html/javassist/bytecode/SyntheticAttribute.html deleted file mode 100644 index 0452a55c..00000000 --- a/html/javassist/bytecode/SyntheticAttribute.html +++ /dev/null @@ -1,388 +0,0 @@ - - - - - -SyntheticAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class SyntheticAttribute

-
-
- -
-
    -
  • -
    -
    public class SyntheticAttribute
    -extends AttributeInfo
    -
    Synthetic_attribute.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.Stringtag -
      The name of this attribute "Synthetic".
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      SyntheticAttribute​(ConstPool cp) -
      Constructs a Synthetic attribute.
      -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        tag

        -
        public static final java.lang.String tag
        -
        The name of this attribute "Synthetic".
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        SyntheticAttribute

        -
        public SyntheticAttribute​(ConstPool cp)
        -
        Constructs a Synthetic attribute.
        -
        -
        Parameters:
        -
        cp - a constant pool table.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        copy

        -
        public AttributeInfo copy​(ConstPool newCp,
        -                          java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Makes a copy.
        -
        -
        Overrides:
        -
        copy in class AttributeInfo
        -
        Parameters:
        -
        newCp - the constant pool table used by the new copy.
        -
        classnames - should be null.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/TypeAnnotationsAttribute.html b/html/javassist/bytecode/TypeAnnotationsAttribute.html deleted file mode 100644 index 035cb1e7..00000000 --- a/html/javassist/bytecode/TypeAnnotationsAttribute.html +++ /dev/null @@ -1,442 +0,0 @@ - - - - - -TypeAnnotationsAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class TypeAnnotationsAttribute

-
-
- -
-
    -
  • -
    -
    public class TypeAnnotationsAttribute
    -extends AttributeInfo
    -
    A class representing - RuntimeVisibleTypeAnnotations attribute and - RuntimeInvisibleTypeAnnotations attribute.
    -
    -
    Since:
    -
    3.19
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static java.lang.StringinvisibleTag -
      The name of the RuntimeInvisibleTypeAnnotations attribute.
      -
      static java.lang.StringvisibleTag -
      The name of the RuntimeVisibleTypeAnnotations attribute.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      TypeAnnotationsAttribute​(ConstPool cp, - java.lang.String attrname, - byte[] info) -
      Constructs a Runtime(In)VisibleTypeAnnotations_attribute.
      -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        visibleTag

        -
        public static final java.lang.String visibleTag
        -
        The name of the RuntimeVisibleTypeAnnotations attribute.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      - - - -
        -
      • -

        invisibleTag

        -
        public static final java.lang.String invisibleTag
        -
        The name of the RuntimeInvisibleTypeAnnotations attribute.
        -
        -
        See Also:
        -
        Constant Field Values
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        TypeAnnotationsAttribute

        -
        public TypeAnnotationsAttribute​(ConstPool cp,
        -                                java.lang.String attrname,
        -                                byte[] info)
        -
        Constructs a Runtime(In)VisibleTypeAnnotations_attribute.
        -
        -
        Parameters:
        -
        cp - constant pool
        -
        attrname - attribute name (visibleTag or - invisibleTag).
        -
        info - the contents of this attribute. It does not - include attribute_name_index or - attribute_length.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        numAnnotations

        -
        public int numAnnotations()
        -
        Returns num_annotations.
        -
      • -
      - - - -
        -
      • -

        copy

        -
        public AttributeInfo copy​(ConstPool newCp,
        -                          java.util.Map<java.lang.String,​java.lang.String> classnames)
        -
        Copies this attribute and returns a new copy.
        -
        -
        Overrides:
        -
        copy in class AttributeInfo
        -
        Parameters:
        -
        newCp - the constant pool table used by the new copy.
        -
        classnames - pairs of replaced and substituted - class names.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/Analyzer.html b/html/javassist/bytecode/analysis/Analyzer.html deleted file mode 100644 index e0fc9760..00000000 --- a/html/javassist/bytecode/analysis/Analyzer.html +++ /dev/null @@ -1,441 +0,0 @@ - - - - - -Analyzer (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Analyzer

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.analysis.Analyzer
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Opcode
    -
    -
    -
    public class Analyzer
    -extends java.lang.Object
    -implements Opcode
    -
    A data-flow analyzer that determines the type state of the stack and local - variable table at every reachable instruction in a method. During analysis, - bytecode verification is performed in a similar manner to that described - in the JVM specification. - -

    Example:

    - -
    - // Method to analyze
    - public Object doSomething(int x) {
    -     Number n;
    -     if (x < 5) {
    -        n = new Double(0);
    -     } else {
    -        n = new Long(0);
    -     }
    -
    -     return n;
    - }
    -
    - // Which compiles to:
    - // 0:   iload_1
    - // 1:   iconst_5
    - // 2:   if_icmpge   17
    - // 5:   new #18; //class java/lang/Double
    - // 8:   dup
    - // 9:   dconst_0
    - // 10:  invokespecial   #44; //Method java/lang/Double."<init>":(D)V
    - // 13:  astore_2
    - // 14:  goto    26
    - // 17:  new #16; //class java/lang/Long
    - // 20:  dup
    - // 21:  lconst_1
    - // 22:  invokespecial   #47; //Method java/lang/Long."<init>":(J)V
    - // 25:  astore_2
    - // 26:  aload_2
    - // 27:  areturn
    -
    - public void analyzeIt(CtClass clazz, MethodInfo method) {
    -     Analyzer analyzer = new Analyzer();
    -     Frame[] frames = analyzer.analyze(clazz, method);
    -     frames[0].getLocal(0).getCtClass(); // returns clazz;
    -     frames[0].getLocal(1).getCtClass(); // returns java.lang.String
    -     frames[1].peek(); // returns Type.INTEGER
    -     frames[27].peek().getCtClass(); // returns java.lang.Number
    - }
    - 
    -
    -
    Author:
    -
    Jason T. Greene
    -
    See Also:
    -
    FramePrinter
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Analyzer

        -
        public Analyzer()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        analyze

        -
        public Frame[] analyze​(CtClass clazz,
        -                       MethodInfo method)
        -                throws BadBytecode
        -
        Performs data-flow analysis on a method and returns an array, indexed by - instruction position, containing the starting frame state of all reachable - instructions. Non-reachable code, and illegal code offsets are represented - as a null in the frame state array. This can be used to detect dead code. - - If the method does not contain code (it is either native or abstract), null - is returned.
        -
        -
        Parameters:
        -
        clazz - the declaring class of the method
        -
        method - the method to analyze
        -
        Returns:
        -
        an array, indexed by instruction position, of the starting frame state, - or null if this method doesn't have code
        -
        Throws:
        -
        BadBytecode - if the bytecode does not comply with the JVM specification
        -
        -
      • -
      - - - -
        -
      • -

        analyze

        -
        public Frame[] analyze​(CtMethod method)
        -                throws BadBytecode
        -
        Performs data-flow analysis on a method and returns an array, indexed by - instruction position, containing the starting frame state of all reachable - instructions. Non-reachable code, and illegal code offsets are represented - as a null in the frame state array. This can be used to detect dead code. - - If the method does not contain code (it is either native or abstract), null - is returned.
        -
        -
        Parameters:
        -
        method - the method to analyze
        -
        Returns:
        -
        an array, indexed by instruction position, of the starting frame state, - or null if this method doesn't have code
        -
        Throws:
        -
        BadBytecode - if the bytecode does not comply with the JVM specification
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/ControlFlow.Block.html b/html/javassist/bytecode/analysis/ControlFlow.Block.html deleted file mode 100644 index 223df0c0..00000000 --- a/html/javassist/bytecode/analysis/ControlFlow.Block.html +++ /dev/null @@ -1,495 +0,0 @@ - - - - - -ControlFlow.Block (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ControlFlow.Block

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.stackmap.BasicBlock
    • -
    • -
        -
      • javassist.bytecode.analysis.ControlFlow.Block
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    ControlFlow
    -
    -
    -
    public static class ControlFlow.Block
    -extends javassist.bytecode.stackmap.BasicBlock
    -
    Basic block. - It is a sequence of contiguous instructions that do not contain - jump/branch instructions except the last one. - Since Java6 or later does not allow JSR, - we deal with JSR as a non-branch instruction.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Nested Class Summary

      -
        -
      • - - -

        Nested classes/interfaces inherited from class javassist.bytecode.stackmap.BasicBlock

        -javassist.bytecode.stackmap.BasicBlock.Catch, javassist.bytecode.stackmap.BasicBlock.Maker
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      java.lang.ObjectclientData -
      A field that can be freely used for storing extra data.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      ControlFlow.Catcher[]catchers() -
      Returns catch clauses that will catch an exception thrown - in this block.
      -
      ControlFlow.Blockexit​(int n) -
      Returns the n-th block that may be executed after this - block.
      -
      intexits() -
      Return the number of the blocks that may be executed - after this block.
      -
      ControlFlow.Blockincoming​(int n) -
      Returns the block that the control may jump into this block from.
      -
      intincomings() -
      Returns the number of the control paths entering this block.
      -
      intindex() -
      Returns the position of this block in the array of - basic blocks that the basicBlocks method - returns.
      -
      intlength() -
      Returns the length of this block.
      -
      intposition() -
      Returns the position of the first instruction - in this block.
      -
      -
        -
      • - - -

        Methods inherited from class javassist.bytecode.stackmap.BasicBlock

        -find, toString
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        clientData

        -
        public java.lang.Object clientData
        -
        A field that can be freely used for storing extra data. - A client program of this control-flow analyzer can append - an additional attribute to a Block object. - The Javassist library never accesses this field.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        index

        -
        public int index()
        -
        Returns the position of this block in the array of - basic blocks that the basicBlocks method - returns.
        -
        -
        See Also:
        -
        ControlFlow.basicBlocks()
        -
        -
      • -
      - - - -
        -
      • -

        position

        -
        public int position()
        -
        Returns the position of the first instruction - in this block.
        -
      • -
      - - - -
        -
      • -

        length

        -
        public int length()
        -
        Returns the length of this block.
        -
      • -
      - - - -
        -
      • -

        incomings

        -
        public int incomings()
        -
        Returns the number of the control paths entering this block.
        -
      • -
      - - - -
        -
      • -

        incoming

        -
        public ControlFlow.Block incoming​(int n)
        -
        Returns the block that the control may jump into this block from.
        -
      • -
      - - - -
        -
      • -

        exits

        -
        public int exits()
        -
        Return the number of the blocks that may be executed - after this block.
        -
      • -
      - - - -
        -
      • -

        exit

        -
        public ControlFlow.Block exit​(int n)
        -
        Returns the n-th block that may be executed after this - block.
        -
        -
        Parameters:
        -
        n - an index in the array of exit blocks.
        -
        -
      • -
      - - - -
        -
      • -

        catchers

        -
        public ControlFlow.Catcher[] catchers()
        -
        Returns catch clauses that will catch an exception thrown - in this block.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/ControlFlow.Catcher.html b/html/javassist/bytecode/analysis/ControlFlow.Catcher.html deleted file mode 100644 index f04f9577..00000000 --- a/html/javassist/bytecode/analysis/ControlFlow.Catcher.html +++ /dev/null @@ -1,294 +0,0 @@ - - - - - -ControlFlow.Catcher (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ControlFlow.Catcher

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.analysis.ControlFlow.Catcher
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    ControlFlow
    -
    -
    -
    public static class ControlFlow.Catcher
    -extends java.lang.Object
    -
    Represents a catch clause.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      ControlFlow.Blockblock() -
      Returns the first block of the catch clause.
      -
      java.lang.Stringtype() -
      Returns the name of the exception type that - this catch clause catches.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        block

        -
        public ControlFlow.Block block()
        -
        Returns the first block of the catch clause.
        -
      • -
      - - - -
        -
      • -

        type

        -
        public java.lang.String type()
        -
        Returns the name of the exception type that - this catch clause catches.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/ControlFlow.Node.html b/html/javassist/bytecode/analysis/ControlFlow.Node.html deleted file mode 100644 index 61e24745..00000000 --- a/html/javassist/bytecode/analysis/ControlFlow.Node.html +++ /dev/null @@ -1,351 +0,0 @@ - - - - - -ControlFlow.Node (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ControlFlow.Node

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.analysis.ControlFlow.Node
    • -
    -
  • -
-
-
    -
  • -
    -
    Enclosing class:
    -
    ControlFlow
    -
    -
    -
    public static class ControlFlow.Node
    -extends java.lang.Object
    -
    A node of (post) dominator trees.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      ControlFlow.Blockblock() -
      Returns the basic block indicated by this node.
      -
      ControlFlow.Nodechild​(int n) -
      Returns the n-th child of this node.
      -
      intchildren() -
      Returns the number of the children of this node.
      -
      ControlFlow.Nodeparent() -
      Returns the parent of this node.
      -
      java.lang.StringtoString() -
      Returns a String representation.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Returns a String representation.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        block

        -
        public ControlFlow.Block block()
        -
        Returns the basic block indicated by this node.
        -
      • -
      - - - -
        -
      • -

        parent

        -
        public ControlFlow.Node parent()
        -
        Returns the parent of this node.
        -
      • -
      - - - -
        -
      • -

        children

        -
        public int children()
        -
        Returns the number of the children of this node.
        -
      • -
      - - - -
        -
      • -

        child

        -
        public ControlFlow.Node child​(int n)
        -
        Returns the n-th child of this node.
        -
        -
        Parameters:
        -
        n - an index in the array of children.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/ControlFlow.html b/html/javassist/bytecode/analysis/ControlFlow.html deleted file mode 100644 index 62b80bb7..00000000 --- a/html/javassist/bytecode/analysis/ControlFlow.html +++ /dev/null @@ -1,509 +0,0 @@ - - - - - -ControlFlow (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ControlFlow

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.analysis.ControlFlow
    • -
    -
  • -
-
-
    -
  • -
    -
    public class ControlFlow
    -extends java.lang.Object
    -
    Represents the control flow graph of a given method. - -

    To obtain the control flow graph, do the following:

    - -
    CtMethod m = ...
    - ControlFlow cf = new ControlFlow(m);
    - Block[] blocks = cf.basicBlocks();
    - 
    - -

    blocks is an array of basic blocks in - that method body.

    -
    -
    Since:
    -
    3.16
    -
    Author:
    -
    Shigeru Chiba
    -
    See Also:
    -
    CtMethod, -ControlFlow.Block, -Frame, -Analyzer
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClassDescription
      static class ControlFlow.Block -
      Basic block.
      -
      static class ControlFlow.Catcher -
      Represents a catch clause.
      -
      static class ControlFlow.Node -
      A node of (post) dominator trees.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      ControlFlow​(CtClass ctclazz, - MethodInfo minfo) -
      Constructs a control-flow analyzer.
      -
      ControlFlow​(CtMethod method) -
      Constructs a control-flow analyzer for the given method.
      -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        basicBlocks

        -
        public ControlFlow.Block[] basicBlocks()
        -
        Returns all the basic blocks in the method body.
        -
        -
        Returns:
        -
        an array of basic blocks, the array has length 0 if - the method doesn't have code.
        -
        -
      • -
      - - - -
        -
      • -

        frameAt

        -
        public Frame frameAt​(int pos)
        -              throws BadBytecode
        -
        Returns the types of the local variables and stack frame entries - available at the given position. If the byte at the position is - not the first byte of an instruction, then this method returns - null.
        -
        -
        Parameters:
        -
        pos - the position.
        -
        Throws:
        -
        BadBytecode
        -
        -
      • -
      - - - -
        -
      • -

        dominatorTree

        -
        public ControlFlow.Node[] dominatorTree()
        -
        Constructs a dominator tree. This method returns an array of - the tree nodes. The first element of the array is the root - of the tree. - -

        The order of the elements is the same as that - of the elements in the Block array returned - by the basicBlocks - method. If a Block object is at the i-th position - in the Block array, then - the Node object referring to that - Block object is at the i-th position in the - array returned by this method. - For every array element node, its index in the - array is equivalent to node.block().index().

        -
        -
        Returns:
        -
        an array of the tree nodes, or null if the method doesn't have code.
        -
        See Also:
        -
        ControlFlow.Node.block(), -ControlFlow.Block.index()
        -
        -
      • -
      - - - -
        -
      • -

        postDominatorTree

        -
        public ControlFlow.Node[] postDominatorTree()
        -
        Constructs a post dominator tree. This method returns an array of - the tree nodes. Note that the tree has multiple roots. - The parent of the root nodes is null. - -

        The order of the elements is the same as that - of the elements in the Block array returned - by the basicBlocks - method. If a Block object is at the i-th position - in the Block array, then - the Node object referring to that - Block object is at the i-th position in the - array returned by this method. - For every array element node, its index in the - array is equivalent to node.block().index().

        -
        -
        Returns:
        -
        an array of the tree nodes, or null if the method doesn't have code.
        -
        See Also:
        -
        ControlFlow.Node.block(), -ControlFlow.Block.index()
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/Executor.html b/html/javassist/bytecode/analysis/Executor.html deleted file mode 100644 index da2a4dde..00000000 --- a/html/javassist/bytecode/analysis/Executor.html +++ /dev/null @@ -1,360 +0,0 @@ - - - - - -Executor (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Executor

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.analysis.Executor
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Opcode
    -
    -
    -
    public class Executor
    -extends java.lang.Object
    -implements Opcode
    -
    Executor is responsible for modeling the effects of a JVM instruction on a frame.
    -
    -
    Author:
    -
    Jason T. Greene
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        execute

        -
        public void execute​(MethodInfo method,
        -                    int pos,
        -                    CodeIterator iter,
        -                    Frame frame,
        -                    Subroutine subroutine)
        -             throws BadBytecode
        -
        Execute the instruction, modeling the effects on the specified frame and subroutine. - If a subroutine is passed, the access flags will be modified if this instruction accesses - the local variable table.
        -
        -
        Parameters:
        -
        method - the method containing the instruction
        -
        pos - the position of the instruction in the method
        -
        iter - the code iterator used to find the instruction
        -
        frame - the frame to modify to represent the result of the instruction
        -
        subroutine - the optional subroutine this instruction belongs to.
        -
        Throws:
        -
        BadBytecode - if the bytecode violates the jvm spec
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/Frame.html b/html/javassist/bytecode/analysis/Frame.html deleted file mode 100644 index 499acddc..00000000 --- a/html/javassist/bytecode/analysis/Frame.html +++ /dev/null @@ -1,640 +0,0 @@ - - - - - -Frame (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Frame

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.analysis.Frame
    • -
    -
  • -
-
-
    -
  • -
    -
    public class Frame
    -extends java.lang.Object
    -
    Represents the stack frame and local variable table at a particular point in time.
    -
    -
    Author:
    -
    Jason T. Greene
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Frame​(int locals, - int stack) -
      Create a new frame with the specified local variable table size, and max stack size
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidclearStack() -
      Empties the stack
      -
      Framecopy() -
      Makes a shallow copy of this frame, i.e.
      -
      FramecopyStack() -
      Makes a shallow copy of the stack portion of this frame.
      -
      TypegetLocal​(int index) -
      Returns the local varaible table entry at index.
      -
      TypegetStack​(int index) -
      Returns the type on the stack at the specified index.
      -
      intgetTopIndex() -
      Gets the index of the type sitting at the top of the stack.
      -
      intlocalsLength() -
      Returns the number of local variable table entries, specified - at construction.
      -
      booleanmerge​(Frame frame) -
      Merges all types on the stack and local variable table of this frame with that of the specified - type.
      -
      booleanmergeStack​(Frame frame) -
      Merges all types on the stack of this frame instance with that of the specified frame.
      -
      Typepeek() -
      Gets the top of the stack without altering it
      -
      Typepop() -
      Alters the stack to contain one less element and return it.
      -
      voidpush​(Type type) -
      Alters the stack by placing the passed type on the top
      -
      voidsetLocal​(int index, - Type type) -
      Sets the local variable table entry at index to a type.
      -
      voidsetStack​(int index, - Type type) -
      Sets the type of the stack position
      -
      java.lang.StringtoString() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Frame

        -
        public Frame​(int locals,
        -             int stack)
        -
        Create a new frame with the specified local variable table size, and max stack size
        -
        -
        Parameters:
        -
        locals - the number of local variable table entries
        -
        stack - the maximum stack size
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getLocal

        -
        public Type getLocal​(int index)
        -
        Returns the local varaible table entry at index.
        -
        -
        Parameters:
        -
        index - the position in the table
        -
        Returns:
        -
        the type if one exists, or null if the position is empty
        -
        -
      • -
      - - - -
        -
      • -

        setLocal

        -
        public void setLocal​(int index,
        -                     Type type)
        -
        Sets the local variable table entry at index to a type.
        -
        -
        Parameters:
        -
        index - the position in the table
        -
        type - the type to set at the position
        -
        -
      • -
      - - - -
        -
      • -

        getStack

        -
        public Type getStack​(int index)
        -
        Returns the type on the stack at the specified index.
        -
        -
        Parameters:
        -
        index - the position on the stack
        -
        Returns:
        -
        the type of the stack position
        -
        -
      • -
      - - - -
        -
      • -

        setStack

        -
        public void setStack​(int index,
        -                     Type type)
        -
        Sets the type of the stack position
        -
        -
        Parameters:
        -
        index - the position on the stack
        -
        type - the type to set
        -
        -
      • -
      - - - -
        -
      • -

        clearStack

        -
        public void clearStack()
        -
        Empties the stack
        -
      • -
      - - - -
        -
      • -

        getTopIndex

        -
        public int getTopIndex()
        -
        Gets the index of the type sitting at the top of the stack. - This is not to be confused with a length operation which - would return the number of elements, not the position of - the last element.
        -
        -
        Returns:
        -
        the position of the element at the top of the stack
        -
        -
      • -
      - - - -
        -
      • -

        localsLength

        -
        public int localsLength()
        -
        Returns the number of local variable table entries, specified - at construction.
        -
        -
        Returns:
        -
        the number of local variable table entries
        -
        -
      • -
      - - - -
        -
      • -

        peek

        -
        public Type peek()
        -
        Gets the top of the stack without altering it
        -
        -
        Returns:
        -
        the top of the stack
        -
        -
      • -
      - - - -
        -
      • -

        pop

        -
        public Type pop()
        -
        Alters the stack to contain one less element and return it.
        -
        -
        Returns:
        -
        the element popped from the stack
        -
        -
      • -
      - - - -
        -
      • -

        push

        -
        public void push​(Type type)
        -
        Alters the stack by placing the passed type on the top
        -
        -
        Parameters:
        -
        type - the type to add to the top
        -
        -
      • -
      - - - -
        -
      • -

        copy

        -
        public Frame copy()
        -
        Makes a shallow copy of this frame, i.e. the type instances will - remain the same.
        -
        -
        Returns:
        -
        the shallow copy
        -
        -
      • -
      - - - -
        -
      • -

        copyStack

        -
        public Frame copyStack()
        -
        Makes a shallow copy of the stack portion of this frame. The local - variable table size will be copied, but its contents will be empty.
        -
        -
        Returns:
        -
        the shallow copy of the stack
        -
        -
      • -
      - - - -
        -
      • -

        mergeStack

        -
        public boolean mergeStack​(Frame frame)
        -
        Merges all types on the stack of this frame instance with that of the specified frame. - The local variable table is left untouched.
        -
        -
        Parameters:
        -
        frame - the frame to merge the stack from
        -
        Returns:
        -
        true if any changes where made
        -
        -
      • -
      - - - -
        -
      • -

        merge

        -
        public boolean merge​(Frame frame)
        -
        Merges all types on the stack and local variable table of this frame with that of the specified - type.
        -
        -
        Parameters:
        -
        frame - the frame to merge with
        -
        Returns:
        -
        true if any changes to this frame where made by this merge
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/FramePrinter.html b/html/javassist/bytecode/analysis/FramePrinter.html deleted file mode 100644 index 404e926e..00000000 --- a/html/javassist/bytecode/analysis/FramePrinter.html +++ /dev/null @@ -1,355 +0,0 @@ - - - - - -FramePrinter (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class FramePrinter

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.analysis.FramePrinter
    • -
    -
  • -
-
-
    -
  • -
    -
    public final class FramePrinter
    -extends java.lang.Object
    -
    A utility class for printing a merged view of the frame state and the - instructions of a method.
    -
    -
    Author:
    -
    Jason T. Greene
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      FramePrinter​(java.io.PrintStream stream) -
      Constructs a bytecode printer.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidprint​(CtClass clazz) -
      Prints all the methods declared in the given class.
      -
      static voidprint​(CtClass clazz, - java.io.PrintStream stream) -
      Prints all the methods declared in the given class.
      -
      voidprint​(CtMethod method) -
      Prints the instructions and the frame states of the given method.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        FramePrinter

        -
        public FramePrinter​(java.io.PrintStream stream)
        -
        Constructs a bytecode printer.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        print

        -
        public static void print​(CtClass clazz,
        -                         java.io.PrintStream stream)
        -
        Prints all the methods declared in the given class.
        -
      • -
      - - - -
        -
      • -

        print

        -
        public void print​(CtClass clazz)
        -
        Prints all the methods declared in the given class.
        -
      • -
      - - - -
        -
      • -

        print

        -
        public void print​(CtMethod method)
        -
        Prints the instructions and the frame states of the given method.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/MultiArrayType.html b/html/javassist/bytecode/analysis/MultiArrayType.html deleted file mode 100644 index 0d5367a3..00000000 --- a/html/javassist/bytecode/analysis/MultiArrayType.html +++ /dev/null @@ -1,572 +0,0 @@ - - - - - -MultiArrayType (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class MultiArrayType

-
-
- -
-
    -
  • -
    -
    public class MultiArrayType
    -extends Type
    -
    Represents an array of MultiType instances.
    -
    -
    Author:
    -
    Jason T. Greene
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        MultiArrayType

        -
        public MultiArrayType​(MultiType component,
        -                      int dims)
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getCtClass

        -
        public CtClass getCtClass()
        -
        Description copied from class: Type
        -
        Returns the class this type represents. If the type is special, null will be returned.
        -
        -
        Overrides:
        -
        getCtClass in class Type
        -
        Returns:
        -
        the class for this type, or null if special
        -
        -
      • -
      - - - -
        -
      • -

        getDimensions

        -
        public int getDimensions()
        -
        Description copied from class: Type
        -
        Returns the number of dimensions of this array. If the type is not an - array zero is returned.
        -
        -
        Overrides:
        -
        getDimensions in class Type
        -
        Returns:
        -
        zero if not an array, otherwise the number of array dimensions.
        -
        -
      • -
      - - - -
        -
      • -

        getComponent

        -
        public Type getComponent()
        -
        Description copied from class: Type
        -
        Returns the array component if this type is an array. If the type - is not an array null is returned.
        -
        -
        Overrides:
        -
        getComponent in class Type
        -
        Returns:
        -
        the array component if an array, otherwise null
        -
        -
      • -
      - - - -
        -
      • -

        getSize

        -
        public int getSize()
        -
        Description copied from class: Type
        -
        Gets the word size of this type. Double-word types, such as long and double - will occupy two positions on the local variable table or stack.
        -
        -
        Overrides:
        -
        getSize in class Type
        -
        Returns:
        -
        the number of words needed to hold this type
        -
        -
      • -
      - - - -
        -
      • -

        isArray

        -
        public boolean isArray()
        -
        Description copied from class: Type
        -
        Returns whether or not this type is an array.
        -
        -
        Overrides:
        -
        isArray in class Type
        -
        Returns:
        -
        true if an array, false if not
        -
        -
      • -
      - - - -
        -
      • -

        isAssignableFrom

        -
        public boolean isAssignableFrom​(Type type)
        -
        Description copied from class: Type
        -
        Determines whether this type is assignable, to the passed type. - A type is assignable to another if it is either the same type, or - a sub-type.
        -
        -
        Overrides:
        -
        isAssignableFrom in class Type
        -
        Parameters:
        -
        type - the type to test assignability to
        -
        Returns:
        -
        true if this is assignable to type, otherwise false
        -
        -
      • -
      - - - -
        -
      • -

        isReference

        -
        public boolean isReference()
        -
        Description copied from class: Type
        -
        Returns whether or not this type is a normal java reference, i.e. it is or extends java.lang.Object.
        -
        -
        Overrides:
        -
        isReference in class Type
        -
        Returns:
        -
        true if a java reference, false if a primitive or special
        -
        -
      • -
      - - - -
        -
      • -

        isAssignableTo

        -
        public boolean isAssignableTo​(Type type)
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class Type
        -
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals​(java.lang.Object o)
        -
        -
        Overrides:
        -
        equals in class Type
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class Type
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/MultiType.html b/html/javassist/bytecode/analysis/MultiType.html deleted file mode 100644 index 14a05ec4..00000000 --- a/html/javassist/bytecode/analysis/MultiType.html +++ /dev/null @@ -1,599 +0,0 @@ - - - - - -MultiType (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class MultiType

-
-
- -
-
    -
  • -
    -
    public class MultiType
    -extends Type
    -
    MultiType represents an unresolved type. Whenever two Type - instances are merged, if they share more than one super type (either an - interface or a superclass), then a MultiType is used to - represent the possible super types. The goal of a MultiType - is to reduce the set of possible types down to a single resolved type. This - is done by eliminating non-assignable types from the typeset when the - MultiType is passed as an argument to - Type.isAssignableFrom(Type), as well as removing non-intersecting - types during a merge. - - Note: Currently the MultiType instance is reused as much - as possible so that updates are visible from all frames. In addition, all - MultiType merge paths are also updated. This is somewhat - hackish, but it appears to handle most scenarios.
    -
    -
    Author:
    -
    Jason T. Greene
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        MultiType

        -
        public MultiType​(java.util.Map<java.lang.String,​CtClass> interfaces)
        -
      • -
      - - - -
        -
      • -

        MultiType

        -
        public MultiType​(java.util.Map<java.lang.String,​CtClass> interfaces,
        -                 Type potentialClass)
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getCtClass

        -
        public CtClass getCtClass()
        -
        Gets the class that corresponds with this type. If this information - is not yet known, java.lang.Object will be returned.
        -
        -
        Overrides:
        -
        getCtClass in class Type
        -
        Returns:
        -
        the class for this type, or null if special
        -
        -
      • -
      - - - -
        -
      • -

        getComponent

        -
        public Type getComponent()
        -
        Always returns null since this type is never used for an array.
        -
        -
        Overrides:
        -
        getComponent in class Type
        -
        Returns:
        -
        the array component if an array, otherwise null
        -
        -
      • -
      - - - -
        -
      • -

        getSize

        -
        public int getSize()
        -
        Always returns 1, since this type is a reference.
        -
        -
        Overrides:
        -
        getSize in class Type
        -
        Returns:
        -
        the number of words needed to hold this type
        -
        -
      • -
      - - - -
        -
      • -

        isArray

        -
        public boolean isArray()
        -
        Always reutnrs false since this type is never used for an array
        -
        -
        Overrides:
        -
        isArray in class Type
        -
        Returns:
        -
        true if an array, false if not
        -
        -
      • -
      - - - -
        -
      • -

        isAssignableFrom

        -
        public boolean isAssignableFrom​(Type type)
        -
        Description copied from class: Type
        -
        Determines whether this type is assignable, to the passed type. - A type is assignable to another if it is either the same type, or - a sub-type.
        -
        -
        Overrides:
        -
        isAssignableFrom in class Type
        -
        Parameters:
        -
        type - the type to test assignability to
        -
        Returns:
        -
        true if this is assignable to type, otherwise false
        -
        -
      • -
      - - - -
        -
      • -

        isAssignableTo

        -
        public boolean isAssignableTo​(Type type)
        -
      • -
      - - - -
        -
      • -

        isReference

        -
        public boolean isReference()
        -
        Always returns true, since this type is always a reference.
        -
        -
        Overrides:
        -
        isReference in class Type
        -
        Returns:
        -
        true
        -
        -
      • -
      - - - -
        -
      • -

        merge

        -
        public Type merge​(Type type)
        -
        Description copied from class: Type
        -
        Finds the common base type, or interface which both this and the specified - type can be assigned. If there is more than one possible answer, then a MultiType, - or a MultiArrayType is returned. Multi-types have special rules, - and successive merges and assignment tests on them will alter their internal state, - as well as other multi-types they have been merged with. This method is used by - the data-flow analyzer to merge the type state from multiple branches.
        -
        -
        Overrides:
        -
        merge in class Type
        -
        Parameters:
        -
        type - the type to merge with
        -
        Returns:
        -
        the merged type
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class Type
        -
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals​(java.lang.Object o)
        -
        -
        Overrides:
        -
        equals in class Type
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class Type
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/Subroutine.html b/html/javassist/bytecode/analysis/Subroutine.html deleted file mode 100644 index da29e766..00000000 --- a/html/javassist/bytecode/analysis/Subroutine.html +++ /dev/null @@ -1,402 +0,0 @@ - - - - - -Subroutine (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Subroutine

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.analysis.Subroutine
    • -
    -
  • -
-
-
    -
  • -
    -
    public class Subroutine
    -extends java.lang.Object
    -
    Represents a nested method subroutine (marked by JSR and RET).
    -
    -
    Author:
    -
    Jason T. Greene
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Subroutine​(int start, - int caller) 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidaccess​(int index) 
      java.util.Collection<java.lang.Integer>accessed() 
      voidaddCaller​(int caller) 
      java.util.Collection<java.lang.Integer>callers() 
      booleanisAccessed​(int index) 
      intstart() 
      java.lang.StringtoString() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Subroutine

        -
        public Subroutine​(int start,
        -                  int caller)
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        addCaller

        -
        public void addCaller​(int caller)
        -
      • -
      - - - -
        -
      • -

        start

        -
        public int start()
        -
      • -
      - - - -
        -
      • -

        access

        -
        public void access​(int index)
        -
      • -
      - - - -
        -
      • -

        isAccessed

        -
        public boolean isAccessed​(int index)
        -
      • -
      - - - -
        -
      • -

        accessed

        -
        public java.util.Collection<java.lang.Integer> accessed()
        -
      • -
      - - - -
        -
      • -

        callers

        -
        public java.util.Collection<java.lang.Integer> callers()
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/SubroutineScanner.html b/html/javassist/bytecode/analysis/SubroutineScanner.html deleted file mode 100644 index cc78e11b..00000000 --- a/html/javassist/bytecode/analysis/SubroutineScanner.html +++ /dev/null @@ -1,339 +0,0 @@ - - - - - -SubroutineScanner (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class SubroutineScanner

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.analysis.SubroutineScanner
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Opcode
    -
    -
    -
    public class SubroutineScanner
    -extends java.lang.Object
    -implements Opcode
    -
    Discovers the subroutines in a method, and tracks all callers.
    -
    -
    Author:
    -
    Jason T. Greene
    -
    -
  • -
-
-
- -
-
- -
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/Type.html b/html/javassist/bytecode/analysis/Type.html deleted file mode 100644 index 64f9923a..00000000 --- a/html/javassist/bytecode/analysis/Type.html +++ /dev/null @@ -1,885 +0,0 @@ - - - - - -Type (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Type

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.analysis.Type
    • -
    -
  • -
-
-
    -
  • -
    -
    Direct Known Subclasses:
    -
    MultiArrayType, MultiType
    -
    -
    -
    public class Type
    -extends java.lang.Object
    -
    Represents a JVM type in data-flow analysis. This abstraction is necessary since - a JVM type not only includes all normal Java types, but also a few special types - that are used by the JVM internally. See the static field types on this class for - more info on these special types. - - All primitive and special types reuse the same instance, so identity comparison can - be used when examining them. Normal java types must use equals(Object) to - compare type instances. - - In most cases, applications which consume this API, only need to call getCtClass() - to obtain the needed type information.
    -
    -
    Author:
    -
    Jason T. Greene
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static TypeBOGUS -
      Represents a non-accessible value.
      -
      static TypeBOOLEAN -
      Represents the boolean primitive type
      -
      static TypeBYTE -
      Represents the byte primitive type
      -
      static TypeCHAR -
      Represents the char primitive type
      -
      static TypeCLONEABLE -
      Represents the java.lang.Coneable reference type
      -
      static TypeDOUBLE -
      Represents the double primitive type
      -
      static TypeFLOAT -
      Represents the float primitive type
      -
      static TypeINTEGER -
      Represents the integer primitive type
      -
      static TypeLONG -
      Represents the long primitive type
      -
      static TypeOBJECT -
      Represents the java.lang.Object reference type
      -
      static TypeRETURN_ADDRESS -
      Represents an internal JVM return address, which is used by the RET - instruction to return to a JSR that invoked the subroutine.
      -
      static TypeSERIALIZABLE -
      Represents the java.io.Serializable reference type
      -
      static TypeSHORT -
      Represents the short primitive type
      -
      static TypeTHROWABLE -
      Represents the java.lang.Throwable reference type
      -
      static TypeTOP -
      A placeholder used by the analyzer for the second word position of a double-word type
      -
      static TypeUNINIT -
      Represents an unknown, or null type.
      -
      static TypeVOID -
      Represents the void primitive type
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      booleanequals​(java.lang.Object o) 
      static Typeget​(CtClass clazz) -
      Obtain the Type for a given class.
      -
      TypegetComponent() -
      Returns the array component if this type is an array.
      -
      CtClassgetCtClass() -
      Returns the class this type represents.
      -
      intgetDimensions() -
      Returns the number of dimensions of this array.
      -
      intgetSize() -
      Gets the word size of this type.
      -
      inthashCode() 
      booleanisArray() -
      Returns whether or not this type is an array.
      -
      booleanisAssignableFrom​(Type type) -
      Determines whether this type is assignable, to the passed type.
      -
      booleanisReference() -
      Returns whether or not this type is a normal java reference, i.e.
      -
      booleanisSpecial() -
      Returns whether or not the type is special.
      -
      Typemerge​(Type type) -
      Finds the common base type, or interface which both this and the specified - type can be assigned.
      -
      java.lang.StringtoString() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        DOUBLE

        -
        public static final Type DOUBLE
        -
        Represents the double primitive type
        -
      • -
      - - - -
        -
      • -

        BOOLEAN

        -
        public static final Type BOOLEAN
        -
        Represents the boolean primitive type
        -
      • -
      - - - -
        -
      • -

        LONG

        -
        public static final Type LONG
        -
        Represents the long primitive type
        -
      • -
      - - - -
        -
      • -

        CHAR

        -
        public static final Type CHAR
        -
        Represents the char primitive type
        -
      • -
      - - - -
        -
      • -

        BYTE

        -
        public static final Type BYTE
        -
        Represents the byte primitive type
        -
      • -
      - - - -
        -
      • -

        SHORT

        -
        public static final Type SHORT
        -
        Represents the short primitive type
        -
      • -
      - - - -
        -
      • -

        INTEGER

        -
        public static final Type INTEGER
        -
        Represents the integer primitive type
        -
      • -
      - - - -
        -
      • -

        FLOAT

        -
        public static final Type FLOAT
        -
        Represents the float primitive type
        -
      • -
      - - - -
        -
      • -

        VOID

        -
        public static final Type VOID
        -
        Represents the void primitive type
        -
      • -
      - - - -
        -
      • -

        UNINIT

        -
        public static final Type UNINIT
        -
        Represents an unknown, or null type. This occurs when aconst_null is used. - It is important not to treat this type as java.lang.Object, since a null can - be assigned to any reference type. The analyzer will replace these with - an actual known type if it can be determined by a merged path with known type - information. If this type is encountered on a frame then it is guaranteed to - be null, and the type information is simply not available. Any attempts to - infer the type, without further information from the compiler would be a guess.
        -
      • -
      - - - -
        -
      • -

        RETURN_ADDRESS

        -
        public static final Type RETURN_ADDRESS
        -
        Represents an internal JVM return address, which is used by the RET - instruction to return to a JSR that invoked the subroutine.
        -
      • -
      - - - -
        -
      • -

        TOP

        -
        public static final Type TOP
        -
        A placeholder used by the analyzer for the second word position of a double-word type
        -
      • -
      - - - -
        -
      • -

        BOGUS

        -
        public static final Type BOGUS
        -
        Represents a non-accessible value. Code cannot access the value this type - represents. It occurs when bytecode reuses a local variable table - position with non-mergable types. An example would be compiled code which - uses the same position for a primitive type in one branch, and a reference type - in another branch.
        -
      • -
      - - - -
        -
      • -

        OBJECT

        -
        public static final Type OBJECT
        -
        Represents the java.lang.Object reference type
        -
      • -
      - - - -
        -
      • -

        SERIALIZABLE

        -
        public static final Type SERIALIZABLE
        -
        Represents the java.io.Serializable reference type
        -
      • -
      - - - -
        -
      • -

        CLONEABLE

        -
        public static final Type CLONEABLE
        -
        Represents the java.lang.Coneable reference type
        -
      • -
      - - - -
        -
      • -

        THROWABLE

        -
        public static final Type THROWABLE
        -
        Represents the java.lang.Throwable reference type
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        get

        -
        public static Type get​(CtClass clazz)
        -
        Obtain the Type for a given class. If the class is a primitive, - the the unique type instance for the primitive will be returned. - Otherwise a new Type instance representing the class is returned.
        -
        -
        Parameters:
        -
        clazz - The java class
        -
        Returns:
        -
        a type instance for this class
        -
        -
      • -
      - - - -
        -
      • -

        getSize

        -
        public int getSize()
        -
        Gets the word size of this type. Double-word types, such as long and double - will occupy two positions on the local variable table or stack.
        -
        -
        Returns:
        -
        the number of words needed to hold this type
        -
        -
      • -
      - - - -
        -
      • -

        getCtClass

        -
        public CtClass getCtClass()
        -
        Returns the class this type represents. If the type is special, null will be returned.
        -
        -
        Returns:
        -
        the class for this type, or null if special
        -
        -
      • -
      - - - -
        -
      • -

        isReference

        -
        public boolean isReference()
        -
        Returns whether or not this type is a normal java reference, i.e. it is or extends java.lang.Object.
        -
        -
        Returns:
        -
        true if a java reference, false if a primitive or special
        -
        -
      • -
      - - - -
        -
      • -

        isSpecial

        -
        public boolean isSpecial()
        -
        Returns whether or not the type is special. A special type is one that is either used - for internal tracking, or is only used internally by the JVM.
        -
        -
        Returns:
        -
        true if special, false if not
        -
        -
      • -
      - - - -
        -
      • -

        isArray

        -
        public boolean isArray()
        -
        Returns whether or not this type is an array.
        -
        -
        Returns:
        -
        true if an array, false if not
        -
        -
      • -
      - - - -
        -
      • -

        getDimensions

        -
        public int getDimensions()
        -
        Returns the number of dimensions of this array. If the type is not an - array zero is returned.
        -
        -
        Returns:
        -
        zero if not an array, otherwise the number of array dimensions.
        -
        -
      • -
      - - - -
        -
      • -

        getComponent

        -
        public Type getComponent()
        -
        Returns the array component if this type is an array. If the type - is not an array null is returned.
        -
        -
        Returns:
        -
        the array component if an array, otherwise null
        -
        -
      • -
      - - - -
        -
      • -

        isAssignableFrom

        -
        public boolean isAssignableFrom​(Type type)
        -
        Determines whether this type is assignable, to the passed type. - A type is assignable to another if it is either the same type, or - a sub-type.
        -
        -
        Parameters:
        -
        type - the type to test assignability to
        -
        Returns:
        -
        true if this is assignable to type, otherwise false
        -
        -
      • -
      - - - -
        -
      • -

        merge

        -
        public Type merge​(Type type)
        -
        Finds the common base type, or interface which both this and the specified - type can be assigned. If there is more than one possible answer, then a MultiType, - or a MultiArrayType is returned. Multi-types have special rules, - and successive merges and assignment tests on them will alter their internal state, - as well as other multi-types they have been merged with. This method is used by - the data-flow analyzer to merge the type state from multiple branches.
        -
        -
        Parameters:
        -
        type - the type to merge with
        -
        Returns:
        -
        the merged type
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals​(java.lang.Object o)
        -
        -
        Overrides:
        -
        equals in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/Util.html b/html/javassist/bytecode/analysis/Util.html deleted file mode 100644 index 5515155e..00000000 --- a/html/javassist/bytecode/analysis/Util.html +++ /dev/null @@ -1,392 +0,0 @@ - - - - - -Util (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Util

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.analysis.Util
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Opcode
    -
    -
    -
    public class Util
    -extends java.lang.Object
    -implements Opcode
    -
    A set of common utility methods.
    -
    -
    Author:
    -
    Jason T. Greene
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Util

        -
        public Util()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getJumpTarget

        -
        public static int getJumpTarget​(int pos,
        -                                CodeIterator iter)
        -
      • -
      - - - -
        -
      • -

        isJumpInstruction

        -
        public static boolean isJumpInstruction​(int opcode)
        -
      • -
      - - - -
        -
      • -

        isGoto

        -
        public static boolean isGoto​(int opcode)
        -
      • -
      - - - -
        -
      • -

        isJsr

        -
        public static boolean isJsr​(int opcode)
        -
      • -
      - - - -
        -
      • -

        isReturn

        -
        public static boolean isReturn​(int opcode)
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/class-use/Analyzer.html b/html/javassist/bytecode/analysis/class-use/Analyzer.html deleted file mode 100644 index 6c89706b..00000000 --- a/html/javassist/bytecode/analysis/class-use/Analyzer.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.analysis.Analyzer (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.analysis.Analyzer

-
-
No usage of javassist.bytecode.analysis.Analyzer
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/class-use/ControlFlow.Block.html b/html/javassist/bytecode/analysis/class-use/ControlFlow.Block.html deleted file mode 100644 index d8d02032..00000000 --- a/html/javassist/bytecode/analysis/class-use/ControlFlow.Block.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.analysis.ControlFlow.Block (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.analysis.ControlFlow.Block

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/class-use/ControlFlow.Catcher.html b/html/javassist/bytecode/analysis/class-use/ControlFlow.Catcher.html deleted file mode 100644 index 203e4ccd..00000000 --- a/html/javassist/bytecode/analysis/class-use/ControlFlow.Catcher.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.analysis.ControlFlow.Catcher (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.analysis.ControlFlow.Catcher

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/class-use/ControlFlow.Node.html b/html/javassist/bytecode/analysis/class-use/ControlFlow.Node.html deleted file mode 100644 index 7198ebe6..00000000 --- a/html/javassist/bytecode/analysis/class-use/ControlFlow.Node.html +++ /dev/null @@ -1,218 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.analysis.ControlFlow.Node (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.analysis.ControlFlow.Node

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/class-use/ControlFlow.html b/html/javassist/bytecode/analysis/class-use/ControlFlow.html deleted file mode 100644 index e17e7c6c..00000000 --- a/html/javassist/bytecode/analysis/class-use/ControlFlow.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.analysis.ControlFlow (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.analysis.ControlFlow

-
-
No usage of javassist.bytecode.analysis.ControlFlow
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/class-use/Executor.html b/html/javassist/bytecode/analysis/class-use/Executor.html deleted file mode 100644 index 726cc905..00000000 --- a/html/javassist/bytecode/analysis/class-use/Executor.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.analysis.Executor (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.analysis.Executor

-
-
No usage of javassist.bytecode.analysis.Executor
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/class-use/Frame.html b/html/javassist/bytecode/analysis/class-use/Frame.html deleted file mode 100644 index f1f065c8..00000000 --- a/html/javassist/bytecode/analysis/class-use/Frame.html +++ /dev/null @@ -1,267 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.analysis.Frame (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.analysis.Frame

-
-
-
    -
  • - - - - - - - - - - - - -
    Packages that use Frame 
    PackageDescription
    javassist.bytecode.analysis -
    Bytecode Analysis API.
    -
    -
  • -
  • -
      -
    • -
      - - -

      Uses of Frame in javassist.bytecode.analysis

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist.bytecode.analysis that return Frame 
      Modifier and TypeMethodDescription
      Frame[]Analyzer.analyze​(CtClass clazz, - MethodInfo method) -
      Performs data-flow analysis on a method and returns an array, indexed by - instruction position, containing the starting frame state of all reachable - instructions.
      -
      Frame[]Analyzer.analyze​(CtMethod method) -
      Performs data-flow analysis on a method and returns an array, indexed by - instruction position, containing the starting frame state of all reachable - instructions.
      -
      FrameFrame.copy() -
      Makes a shallow copy of this frame, i.e.
      -
      FrameFrame.copyStack() -
      Makes a shallow copy of the stack portion of this frame.
      -
      FrameControlFlow.frameAt​(int pos) -
      Returns the types of the local variables and stack frame entries - available at the given position.
      -
      - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist.bytecode.analysis with parameters of type Frame 
      Modifier and TypeMethodDescription
      voidExecutor.execute​(MethodInfo method, - int pos, - CodeIterator iter, - Frame frame, - Subroutine subroutine) -
      Execute the instruction, modeling the effects on the specified frame and subroutine.
      -
      booleanFrame.merge​(Frame frame) -
      Merges all types on the stack and local variable table of this frame with that of the specified - type.
      -
      booleanFrame.mergeStack​(Frame frame) -
      Merges all types on the stack of this frame instance with that of the specified frame.
      -
      -
      -
    • -
    -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/class-use/FramePrinter.html b/html/javassist/bytecode/analysis/class-use/FramePrinter.html deleted file mode 100644 index ef40272a..00000000 --- a/html/javassist/bytecode/analysis/class-use/FramePrinter.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.analysis.FramePrinter (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.analysis.FramePrinter

-
-
No usage of javassist.bytecode.analysis.FramePrinter
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/class-use/MultiArrayType.html b/html/javassist/bytecode/analysis/class-use/MultiArrayType.html deleted file mode 100644 index 368b643b..00000000 --- a/html/javassist/bytecode/analysis/class-use/MultiArrayType.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.analysis.MultiArrayType (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.analysis.MultiArrayType

-
-
No usage of javassist.bytecode.analysis.MultiArrayType
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/class-use/MultiType.html b/html/javassist/bytecode/analysis/class-use/MultiType.html deleted file mode 100644 index 430b87d0..00000000 --- a/html/javassist/bytecode/analysis/class-use/MultiType.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.analysis.MultiType (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.analysis.MultiType

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/class-use/Subroutine.html b/html/javassist/bytecode/analysis/class-use/Subroutine.html deleted file mode 100644 index af98e463..00000000 --- a/html/javassist/bytecode/analysis/class-use/Subroutine.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.analysis.Subroutine (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.analysis.Subroutine

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/class-use/SubroutineScanner.html b/html/javassist/bytecode/analysis/class-use/SubroutineScanner.html deleted file mode 100644 index a106712c..00000000 --- a/html/javassist/bytecode/analysis/class-use/SubroutineScanner.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.analysis.SubroutineScanner (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.analysis.SubroutineScanner

-
-
No usage of javassist.bytecode.analysis.SubroutineScanner
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/class-use/Type.html b/html/javassist/bytecode/analysis/class-use/Type.html deleted file mode 100644 index 25245f18..00000000 --- a/html/javassist/bytecode/analysis/class-use/Type.html +++ /dev/null @@ -1,498 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.analysis.Type (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.analysis.Type

-
-
-
    -
  • - - - - - - - - - - - - -
    Packages that use Type 
    PackageDescription
    javassist.bytecode.analysis -
    Bytecode Analysis API.
    -
    -
  • -
  • -
      -
    • -
      - - -

      Uses of Type in javassist.bytecode.analysis

      - - - - - - - - - - - - - - - - - - - -
      Subclasses of Type in javassist.bytecode.analysis 
      Modifier and TypeClassDescription
      class MultiArrayType -
      Represents an array of MultiType instances.
      -
      class MultiType -
      MultiType represents an unresolved type.
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Fields in javassist.bytecode.analysis declared as Type 
      Modifier and TypeFieldDescription
      static TypeType.BOGUS -
      Represents a non-accessible value.
      -
      static TypeType.BOOLEAN -
      Represents the boolean primitive type
      -
      static TypeType.BYTE -
      Represents the byte primitive type
      -
      static TypeType.CHAR -
      Represents the char primitive type
      -
      static TypeType.CLONEABLE -
      Represents the java.lang.Coneable reference type
      -
      static TypeType.DOUBLE -
      Represents the double primitive type
      -
      static TypeType.FLOAT -
      Represents the float primitive type
      -
      static TypeType.INTEGER -
      Represents the integer primitive type
      -
      static TypeType.LONG -
      Represents the long primitive type
      -
      static TypeType.OBJECT -
      Represents the java.lang.Object reference type
      -
      static TypeType.RETURN_ADDRESS -
      Represents an internal JVM return address, which is used by the RET - instruction to return to a JSR that invoked the subroutine.
      -
      static TypeType.SERIALIZABLE -
      Represents the java.io.Serializable reference type
      -
      static TypeType.SHORT -
      Represents the short primitive type
      -
      static TypeType.THROWABLE -
      Represents the java.lang.Throwable reference type
      -
      static TypeType.TOP -
      A placeholder used by the analyzer for the second word position of a double-word type
      -
      static TypeType.UNINIT -
      Represents an unknown, or null type.
      -
      static TypeType.VOID -
      Represents the void primitive type
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist.bytecode.analysis that return Type 
      Modifier and TypeMethodDescription
      static TypeType.get​(CtClass clazz) -
      Obtain the Type for a given class.
      -
      TypeMultiArrayType.getComponent() 
      TypeMultiType.getComponent() -
      Always returns null since this type is never used for an array.
      -
      TypeType.getComponent() -
      Returns the array component if this type is an array.
      -
      TypeFrame.getLocal​(int index) -
      Returns the local varaible table entry at index.
      -
      TypeFrame.getStack​(int index) -
      Returns the type on the stack at the specified index.
      -
      TypeMultiType.merge​(Type type) 
      TypeType.merge​(Type type) -
      Finds the common base type, or interface which both this and the specified - type can be assigned.
      -
      TypeFrame.peek() -
      Gets the top of the stack without altering it
      -
      TypeFrame.pop() -
      Alters the stack to contain one less element and return it.
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist.bytecode.analysis with parameters of type Type 
      Modifier and TypeMethodDescription
      booleanMultiArrayType.isAssignableFrom​(Type type) 
      booleanMultiType.isAssignableFrom​(Type type) 
      booleanType.isAssignableFrom​(Type type) -
      Determines whether this type is assignable, to the passed type.
      -
      booleanMultiArrayType.isAssignableTo​(Type type) 
      booleanMultiType.isAssignableTo​(Type type) 
      TypeMultiType.merge​(Type type) 
      TypeType.merge​(Type type) -
      Finds the common base type, or interface which both this and the specified - type can be assigned.
      -
      voidFrame.push​(Type type) -
      Alters the stack by placing the passed type on the top
      -
      voidFrame.setLocal​(int index, - Type type) -
      Sets the local variable table entry at index to a type.
      -
      voidFrame.setStack​(int index, - Type type) -
      Sets the type of the stack position
      -
      - - - - - - - - - - - - -
      Constructors in javassist.bytecode.analysis with parameters of type Type 
      ConstructorDescription
      MultiType​(java.util.Map<java.lang.String,​CtClass> interfaces, - Type potentialClass) 
      -
      -
    • -
    -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/class-use/Util.html b/html/javassist/bytecode/analysis/class-use/Util.html deleted file mode 100644 index 0a32be08..00000000 --- a/html/javassist/bytecode/analysis/class-use/Util.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.analysis.Util (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.analysis.Util

-
-
No usage of javassist.bytecode.analysis.Util
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/package-summary.html b/html/javassist/bytecode/analysis/package-summary.html deleted file mode 100644 index 5b000af2..00000000 --- a/html/javassist/bytecode/analysis/package-summary.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - -javassist.bytecode.analysis (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Package javassist.bytecode.analysis

-
-
-
- - -
Bytecode Analysis API. - -

This package provides an API for performing data-flow analysis on a method's bytecode. -This allows the user to determine the type state of the stack and local variable table -at the start of every instruction. In addition this API can be used to validate -bytecode, find dead bytecode, and identify unnecessary checkcasts. -Look at ControlFlow class first for details. - -

The users of this package must know the specifications of -class file and Java bytecode. For more details, read this book: - -

  • Tim Lindholm and Frank Yellin, -"The Java Virtual Machine Specification 2nd Ed.", -Addison-Wesley, 1999. -
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    Analyzer -
    A data-flow analyzer that determines the type state of the stack and local - variable table at every reachable instruction in a method.
    -
    ControlFlow -
    Represents the control flow graph of a given method.
    -
    ControlFlow.Block -
    Basic block.
    -
    ControlFlow.Catcher -
    Represents a catch clause.
    -
    ControlFlow.Node -
    A node of (post) dominator trees.
    -
    Executor -
    Executor is responsible for modeling the effects of a JVM instruction on a frame.
    -
    Frame -
    Represents the stack frame and local variable table at a particular point in time.
    -
    FramePrinter -
    A utility class for printing a merged view of the frame state and the - instructions of a method.
    -
    MultiArrayType -
    Represents an array of MultiType instances.
    -
    MultiType -
    MultiType represents an unresolved type.
    -
    Subroutine -
    Represents a nested method subroutine (marked by JSR and RET).
    -
    SubroutineScanner -
    Discovers the subroutines in a method, and tracks all callers.
    -
    Type -
    Represents a JVM type in data-flow analysis.
    -
    Util -
    A set of common utility methods.
    -
    -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/package-tree.html b/html/javassist/bytecode/analysis/package-tree.html deleted file mode 100644 index 0bb2443c..00000000 --- a/html/javassist/bytecode/analysis/package-tree.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - -javassist.bytecode.analysis Class Hierarchy (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Hierarchy For Package javassist.bytecode.analysis

-Package Hierarchies: - -
-
-
-

Class Hierarchy

- -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/analysis/package-use.html b/html/javassist/bytecode/analysis/package-use.html deleted file mode 100644 index 07bfffb2..00000000 --- a/html/javassist/bytecode/analysis/package-use.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - -Uses of Package javassist.bytecode.analysis (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Package
javassist.bytecode.analysis

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/Annotation.html b/html/javassist/bytecode/annotation/Annotation.html deleted file mode 100644 index 1304e158..00000000 --- a/html/javassist/bytecode/annotation/Annotation.html +++ /dev/null @@ -1,652 +0,0 @@ - - - - - -Annotation (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Annotation

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.annotation.Annotation
    • -
    -
  • -
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Annotation​(int type, - ConstPool cp) -
      Constructs an annotation including no members.
      -
      Annotation​(java.lang.String typeName, - ConstPool cp) -
      Constructs an annotation including no members.
      -
      Annotation​(ConstPool cp, - CtClass clazz) -
      Constructs an annotation that can be accessed through the interface - represented by clazz.
      -
      -
    • -
    -
    - -
    - -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Annotation

        -
        public Annotation​(int type,
        -                  ConstPool cp)
        -
        Constructs an annotation including no members. A member can be - later added to the created annotation by addMemberValue().
        -
        -
        Parameters:
        -
        type - the index into the constant pool table. - the entry at that index must be the - CONSTANT_Utf8_Info structure - repreenting the name of the annotation interface type.
        -
        cp - the constant pool table.
        -
        See Also:
        -
        addMemberValue(String, MemberValue)
        -
        -
      • -
      - - - -
        -
      • -

        Annotation

        -
        public Annotation​(java.lang.String typeName,
        -                  ConstPool cp)
        -
        Constructs an annotation including no members. A member can be - later added to the created annotation by addMemberValue().
        -
        -
        Parameters:
        -
        typeName - the fully-qualified name of the annotation interface type.
        -
        cp - the constant pool table.
        -
        See Also:
        -
        addMemberValue(String, MemberValue)
        -
        -
      • -
      - - - -
        -
      • -

        Annotation

        -
        public Annotation​(ConstPool cp,
        -                  CtClass clazz)
        -           throws NotFoundException
        -
        Constructs an annotation that can be accessed through the interface - represented by clazz. The values of the members are - not specified.
        -
        -
        Parameters:
        -
        cp - the constant pool table.
        -
        clazz - the interface.
        -
        Throws:
        -
        NotFoundException - when the clazz is not found
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        createMemberValue

        -
        public static MemberValue createMemberValue​(ConstPool cp,
        -                                            CtClass type)
        -                                     throws NotFoundException
        -
        Makes an instance of MemberValue.
        -
        -
        Parameters:
        -
        cp - the constant pool table.
        -
        type - the type of the member.
        -
        Returns:
        -
        the member value
        -
        Throws:
        -
        NotFoundException - when the type is not found
        -
        -
      • -
      - - - -
        -
      • -

        addMemberValue

        -
        public void addMemberValue​(int nameIndex,
        -                           MemberValue value)
        -
        Adds a new member.
        -
        -
        Parameters:
        -
        nameIndex - the index into the constant pool table. - The entry at that index must be - a CONSTANT_Utf8_info structure. - structure representing the member name.
        -
        value - the member value.
        -
        -
      • -
      - - - -
        -
      • -

        addMemberValue

        -
        public void addMemberValue​(java.lang.String name,
        -                           MemberValue value)
        -
        Adds a new member.
        -
        -
        Parameters:
        -
        name - the member name.
        -
        value - the member value.
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Returns a string representation of the annotation.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        getTypeName

        -
        public java.lang.String getTypeName()
        -
        Obtains the name of the annotation type.
        -
        -
        Returns:
        -
        the type name
        -
        -
      • -
      - - - -
        -
      • -

        getMemberNames

        -
        public java.util.Set<java.lang.String> getMemberNames()
        -
        Obtains all the member names.
        -
        -
        Returns:
        -
        null if no members are defined.
        -
        -
      • -
      - - - -
        -
      • -

        getMemberValue

        -
        public MemberValue getMemberValue​(java.lang.String name)
        -
        Obtains the member value with the given name. - -

        If this annotation does not have a value for the - specified member, - this method returns null. It does not return a - MemberValue with the default value. - The default value can be obtained from the annotation type.

        -
        -
        Parameters:
        -
        name - the member name
        -
        Returns:
        -
        null if the member cannot be found or if the value is - the default value.
        -
        See Also:
        -
        AnnotationDefaultAttribute
        -
        -
      • -
      - - - -
        -
      • -

        toAnnotationType

        -
        public java.lang.Object toAnnotationType​(java.lang.ClassLoader cl,
        -                                         ClassPool cp)
        -                                  throws java.lang.ClassNotFoundException,
        -                                         NoSuchClassError
        -
        Constructs an annotation-type object representing this annotation. - For example, if this annotation represents @Author, - this method returns an Author object.
        -
        -
        Parameters:
        -
        cl - class loader for loading an annotation type.
        -
        cp - class pool for obtaining class files.
        -
        Returns:
        -
        the annotation
        -
        Throws:
        -
        java.lang.ClassNotFoundException - if the class cannot found.
        -
        NoSuchClassError - if the class linkage fails.
        -
        -
      • -
      - - - -
        -
      • -

        write

        -
        public void write​(AnnotationsWriter writer)
        -           throws java.io.IOException
        -
        Writes this annotation.
        -
        -
        Parameters:
        -
        writer - the output.
        -
        Throws:
        -
        java.io.IOException - for an error during the write
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals​(java.lang.Object obj)
        -
        Returns true if the given object represents the same annotation - as this object. The equality test checks the member values.
        -
        -
        Overrides:
        -
        equals in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/AnnotationImpl.html b/html/javassist/bytecode/annotation/AnnotationImpl.html deleted file mode 100644 index 4122a862..00000000 --- a/html/javassist/bytecode/annotation/AnnotationImpl.html +++ /dev/null @@ -1,395 +0,0 @@ - - - - - -AnnotationImpl (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class AnnotationImpl

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.annotation.AnnotationImpl
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.lang.reflect.InvocationHandler
    -
    -
    -
    public class AnnotationImpl
    -extends java.lang.Object
    -implements java.lang.reflect.InvocationHandler
    -
    Internal-use only. This is a helper class internally used for implementing - toAnnotationType() in Annotation.
    -
    -
    Author:
    -
    Shigeru Chiba, Bill Burke, Adrian Brock
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      AnnotationgetAnnotation() -
      Obtains the internal data structure representing the annotation.
      -
      java.lang.StringgetTypeName() -
      Obtains the name of the annotation type.
      -
      inthashCode() -
      Returns a hash code value for this object.
      -
      java.lang.Objectinvoke​(java.lang.Object proxy, - java.lang.reflect.Method method, - java.lang.Object[] args) -
      Executes a method invocation on a proxy instance.
      -
      static java.lang.Objectmake​(java.lang.ClassLoader cl, - java.lang.Class<?> clazz, - ClassPool cp, - Annotation anon) -
      Constructs an annotation object.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        make

        -
        public static java.lang.Object make​(java.lang.ClassLoader cl,
        -                                    java.lang.Class<?> clazz,
        -                                    ClassPool cp,
        -                                    Annotation anon)
        -                             throws java.lang.IllegalArgumentException
        -
        Constructs an annotation object.
        -
        -
        Parameters:
        -
        cl - class loader for obtaining annotation types.
        -
        clazz - the annotation type.
        -
        cp - class pool for containing an annotation - type (or null).
        -
        anon - the annotation.
        -
        Returns:
        -
        the annotation
        -
        Throws:
        -
        java.lang.IllegalArgumentException
        -
        -
      • -
      - - - -
        -
      • -

        getTypeName

        -
        public java.lang.String getTypeName()
        -
        Obtains the name of the annotation type.
        -
        -
        Returns:
        -
        the type name
        -
        -
      • -
      - - - -
        -
      • -

        getAnnotation

        -
        public Annotation getAnnotation()
        -
        Obtains the internal data structure representing the annotation.
        -
        -
        Returns:
        -
        the annotation
        -
        -
      • -
      - - - -
        -
      • -

        invoke

        -
        public java.lang.Object invoke​(java.lang.Object proxy,
        -                               java.lang.reflect.Method method,
        -                               java.lang.Object[] args)
        -                        throws java.lang.Throwable
        -
        Executes a method invocation on a proxy instance. - The implementations of toString(), equals(), - and hashCode() are directly supplied by the - AnnotationImpl. The annotationType() method - is also available on the proxy instance.
        -
        -
        Specified by:
        -
        invoke in interface java.lang.reflect.InvocationHandler
        -
        Throws:
        -
        java.lang.Throwable
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        Returns a hash code value for this object.
        -
        -
        Overrides:
        -
        hashCode in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/AnnotationMemberValue.html b/html/javassist/bytecode/annotation/AnnotationMemberValue.html deleted file mode 100644 index a8436f14..00000000 --- a/html/javassist/bytecode/annotation/AnnotationMemberValue.html +++ /dev/null @@ -1,425 +0,0 @@ - - - - - -AnnotationMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class AnnotationMemberValue

-
-
- -
-
    -
  • -
    -
    public class AnnotationMemberValue
    -extends MemberValue
    -
    Nested annotation.
    -
    -
    Author:
    -
    Bill Burke, Shigeru Chiba
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        AnnotationMemberValue

        -
        public AnnotationMemberValue​(ConstPool cp)
        -
        Constructs an annotation member. The initial value is not specified.
        -
      • -
      - - - -
        -
      • -

        AnnotationMemberValue

        -
        public AnnotationMemberValue​(Annotation a,
        -                             ConstPool cp)
        -
        Constructs an annotation member. The initial value is specified by - the first parameter.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getValue

        -
        public Annotation getValue()
        -
        Obtains the value.
        -
      • -
      - - - -
        -
      • -

        setValue

        -
        public void setValue​(Annotation newValue)
        -
        Sets the value of this member.
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Obtains the string representation of this object.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        write

        -
        public void write​(AnnotationsWriter writer)
        -           throws java.io.IOException
        -
        Writes the value.
        -
        -
        Specified by:
        -
        write in class MemberValue
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - - -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/AnnotationsWriter.html b/html/javassist/bytecode/annotation/AnnotationsWriter.html deleted file mode 100644 index c761ab3b..00000000 --- a/html/javassist/bytecode/annotation/AnnotationsWriter.html +++ /dev/null @@ -1,984 +0,0 @@ - - - - - -AnnotationsWriter (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class AnnotationsWriter

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.annotation.AnnotationsWriter
    • -
    -
  • -
-
-
    -
  • -
    -
    Direct Known Subclasses:
    -
    TypeAnnotationsWriter
    -
    -
    -
    public class AnnotationsWriter
    -extends java.lang.Object
    -
    A convenience class for constructing a - ..Annotations_attribute. - See the source code of the AnnotationsAttribute.Copier class. - -

    The following code snippet is an example of use of this class: - -

    - ConstPool pool = ...;
    - output = new ByteArrayOutputStream();
    - writer = new AnnotationsWriter(output, pool);
    -
    - writer.numAnnotations(1);
    - writer.annotation("Author", 2);
    - writer.memberValuePair("name");      // element_value_pair
    - writer.constValueIndex("chiba");
    - writer.memberValuePair("address");   // element_value_pair
    - writer.constValueIndex("tokyo");
    -
    - writer.close();
    - byte[] attribute_info = output.toByteArray();
    - AnnotationsAttribute anno
    -     = new AnnotationsAttribute(pool, AnnotationsAttribute.visibleTag,
    -                                attribute_info);
    - 
    - -

    The code snippet above generates the annotation attribute - corresponding to this annotation: - -

    -  @Author(name = "chiba", address = "tokyo")
    - 
    -
    -
    See Also:
    -
    AnnotationsAttribute, -ParameterAnnotationsAttribute
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      AnnotationsWriter​(java.io.OutputStream os, - ConstPool cp) -
      Constructs with the given output stream.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidannotation​(int typeIndex, - int numMemberValuePairs) -
      Writes annotation.
      -
      voidannotation​(java.lang.String type, - int numMemberValuePairs) -
      Writes annotation.
      -
      voidannotationValue() -
      Writes tag and annotation_value - in element_value.
      -
      voidarrayValue​(int numValues) -
      Writes tag and array_value - in element_value.
      -
      voidclassInfoIndex​(int index) -
      Writes tag and class_info_index - in element_value.
      -
      voidclassInfoIndex​(java.lang.String name) -
      Writes tag and class_info_index - in element_value.
      -
      voidclose() -
      Closes the output stream.
      -
      voidconstValueIndex​(boolean value) -
      Writes tag and const_value_index - in element_value.
      -
      voidconstValueIndex​(byte value) -
      Writes tag and const_value_index - in element_value.
      -
      voidconstValueIndex​(char value) -
      Writes tag and const_value_index - in element_value.
      -
      voidconstValueIndex​(double value) -
      Writes tag and const_value_index - in element_value.
      -
      voidconstValueIndex​(float value) -
      Writes tag and const_value_index - in element_value.
      -
      voidconstValueIndex​(int value) -
      Writes tag and const_value_index - in element_value.
      -
      voidconstValueIndex​(int tag, - int index) -
      Writes tag and const_value_index - in element_value.
      -
      voidconstValueIndex​(long value) -
      Writes tag and const_value_index - in element_value.
      -
      voidconstValueIndex​(short value) -
      Writes tag and const_value_index - in element_value.
      -
      voidconstValueIndex​(java.lang.String value) -
      Writes tag and const_value_index - in element_value.
      -
      voidenumConstValue​(int typeNameIndex, - int constNameIndex) -
      Writes tag and enum_const_value - in element_value.
      -
      voidenumConstValue​(java.lang.String typeName, - java.lang.String constName) -
      Writes tag and enum_const_value - in element_value.
      -
      ConstPoolgetConstPool() -
      Obtains the constant pool given to the constructor.
      -
      voidmemberValuePair​(int memberNameIndex) -
      Writes an element of a element_value_pairs array - in annotation.
      -
      voidmemberValuePair​(java.lang.String memberName) -
      Writes an element of a element_value_pairs array - in annotation.
      -
      voidnumAnnotations​(int num) -
      Writes num_annotations in - Runtime(In)VisibleAnnotations_attribute.
      -
      voidnumParameters​(int num) -
      Writes num_parameters in - Runtime(In)VisibleParameterAnnotations_attribute.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        AnnotationsWriter

        -
        public AnnotationsWriter​(java.io.OutputStream os,
        -                         ConstPool cp)
        -
        Constructs with the given output stream.
        -
        -
        Parameters:
        -
        os - the output stream.
        -
        cp - the constant pool.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getConstPool

        -
        public ConstPool getConstPool()
        -
        Obtains the constant pool given to the constructor.
        -
      • -
      - - - -
        -
      • -

        close

        -
        public void close()
        -           throws java.io.IOException
        -
        Closes the output stream.
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        numParameters

        -
        public void numParameters​(int num)
        -                   throws java.io.IOException
        -
        Writes num_parameters in - Runtime(In)VisibleParameterAnnotations_attribute. - This method must be followed by num calls to - numAnnotations().
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        numAnnotations

        -
        public void numAnnotations​(int num)
        -                    throws java.io.IOException
        -
        Writes num_annotations in - Runtime(In)VisibleAnnotations_attribute. - This method must be followed by num calls to - annotation().
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        annotation

        -
        public void annotation​(java.lang.String type,
        -                       int numMemberValuePairs)
        -                throws java.io.IOException
        -
        Writes annotation. - This method must be followed by numMemberValuePairs - calls to memberValuePair().
        -
        -
        Parameters:
        -
        type - the annotation interface name.
        -
        numMemberValuePairs - num_element_value_pairs - in annotation.
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        annotation

        -
        public void annotation​(int typeIndex,
        -                       int numMemberValuePairs)
        -                throws java.io.IOException
        -
        Writes annotation. - This method must be followed by numMemberValuePairs - calls to memberValuePair().
        -
        -
        Parameters:
        -
        typeIndex - type_index in annotation.
        -
        numMemberValuePairs - num_element_value_pairs - in annotation.
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        memberValuePair

        -
        public void memberValuePair​(java.lang.String memberName)
        -                     throws java.io.IOException
        -
        Writes an element of a element_value_pairs array - in annotation. - This method must be followed by a - call to constValueIndex(), enumConstValue(), - etc.
        -
        -
        Parameters:
        -
        memberName - the element name.
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        memberValuePair

        -
        public void memberValuePair​(int memberNameIndex)
        -                     throws java.io.IOException
        -
        Writes an element of a element_value_pairs array - in annotation. - This method must be followed by a - call to constValueIndex(), enumConstValue(), - etc.
        -
        -
        Parameters:
        -
        memberNameIndex - element_name_index - in element_value_pairs array.
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        constValueIndex

        -
        public void constValueIndex​(boolean value)
        -                     throws java.io.IOException
        -
        Writes tag and const_value_index - in element_value.
        -
        -
        Parameters:
        -
        value - the constant value.
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        constValueIndex

        -
        public void constValueIndex​(byte value)
        -                     throws java.io.IOException
        -
        Writes tag and const_value_index - in element_value.
        -
        -
        Parameters:
        -
        value - the constant value.
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        constValueIndex

        -
        public void constValueIndex​(char value)
        -                     throws java.io.IOException
        -
        Writes tag and const_value_index - in element_value.
        -
        -
        Parameters:
        -
        value - the constant value.
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        constValueIndex

        -
        public void constValueIndex​(short value)
        -                     throws java.io.IOException
        -
        Writes tag and const_value_index - in element_value.
        -
        -
        Parameters:
        -
        value - the constant value.
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        constValueIndex

        -
        public void constValueIndex​(int value)
        -                     throws java.io.IOException
        -
        Writes tag and const_value_index - in element_value.
        -
        -
        Parameters:
        -
        value - the constant value.
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        constValueIndex

        -
        public void constValueIndex​(long value)
        -                     throws java.io.IOException
        -
        Writes tag and const_value_index - in element_value.
        -
        -
        Parameters:
        -
        value - the constant value.
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        constValueIndex

        -
        public void constValueIndex​(float value)
        -                     throws java.io.IOException
        -
        Writes tag and const_value_index - in element_value.
        -
        -
        Parameters:
        -
        value - the constant value.
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        constValueIndex

        -
        public void constValueIndex​(double value)
        -                     throws java.io.IOException
        -
        Writes tag and const_value_index - in element_value.
        -
        -
        Parameters:
        -
        value - the constant value.
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        constValueIndex

        -
        public void constValueIndex​(java.lang.String value)
        -                     throws java.io.IOException
        -
        Writes tag and const_value_index - in element_value.
        -
        -
        Parameters:
        -
        value - the constant value.
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        constValueIndex

        -
        public void constValueIndex​(int tag,
        -                            int index)
        -                     throws java.io.IOException
        -
        Writes tag and const_value_index - in element_value.
        -
        -
        Parameters:
        -
        tag - tag in element_value.
        -
        index - const_value_index - in element_value.
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        enumConstValue

        -
        public void enumConstValue​(java.lang.String typeName,
        -                           java.lang.String constName)
        -                    throws java.io.IOException
        -
        Writes tag and enum_const_value - in element_value.
        -
        -
        Parameters:
        -
        typeName - the type name of the enum constant.
        -
        constName - the simple name of the enum constant.
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        enumConstValue

        -
        public void enumConstValue​(int typeNameIndex,
        -                           int constNameIndex)
        -                    throws java.io.IOException
        -
        Writes tag and enum_const_value - in element_value.
        -
        -
        Parameters:
        -
        typeNameIndex - type_name_index - in element_value.
        -
        constNameIndex - const_name_index - in element_value.
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        classInfoIndex

        -
        public void classInfoIndex​(java.lang.String name)
        -                    throws java.io.IOException
        -
        Writes tag and class_info_index - in element_value.
        -
        -
        Parameters:
        -
        name - the class name.
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        classInfoIndex

        -
        public void classInfoIndex​(int index)
        -                    throws java.io.IOException
        -
        Writes tag and class_info_index - in element_value.
        -
        -
        Parameters:
        -
        index - class_info_index
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        annotationValue

        -
        public void annotationValue()
        -                     throws java.io.IOException
        -
        Writes tag and annotation_value - in element_value. - This method must be followed by a call to annotation().
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        arrayValue

        -
        public void arrayValue​(int numValues)
        -                throws java.io.IOException
        -
        Writes tag and array_value - in element_value. - This method must be followed by numValues calls - to constValueIndex(), enumConstValue(), - etc.
        -
        -
        Parameters:
        -
        numValues - num_values - in array_value.
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/ArrayMemberValue.html b/html/javassist/bytecode/annotation/ArrayMemberValue.html deleted file mode 100644 index 91f8ce31..00000000 --- a/html/javassist/bytecode/annotation/ArrayMemberValue.html +++ /dev/null @@ -1,449 +0,0 @@ - - - - - -ArrayMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ArrayMemberValue

-
-
- -
-
    -
  • -
    -
    public class ArrayMemberValue
    -extends MemberValue
    -
    Array member.
    -
    -
    Author:
    -
    Bill Burke, Shigeru Chiba
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ArrayMemberValue

        -
        public ArrayMemberValue​(ConstPool cp)
        -
        Constructs an array. The initial value or type are not specified.
        -
      • -
      - - - -
        -
      • -

        ArrayMemberValue

        -
        public ArrayMemberValue​(MemberValue t,
        -                        ConstPool cp)
        -
        Constructs an array. The initial value is not specified.
        -
        -
        Parameters:
        -
        t - the type of the array elements.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getType

        -
        public MemberValue getType()
        -
        Obtains the type of the elements.
        -
        -
        Returns:
        -
        null if the type is not specified.
        -
        -
      • -
      - - - -
        -
      • -

        getValue

        -
        public MemberValue[] getValue()
        -
        Obtains the elements of the array.
        -
      • -
      - - - -
        -
      • -

        setValue

        -
        public void setValue​(MemberValue[] elements)
        -
        Sets the elements of the array.
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Obtains the string representation of this object.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        write

        -
        public void write​(AnnotationsWriter writer)
        -           throws java.io.IOException
        -
        Writes the value.
        -
        -
        Specified by:
        -
        write in class MemberValue
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - - -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/BooleanMemberValue.html b/html/javassist/bytecode/annotation/BooleanMemberValue.html deleted file mode 100644 index 1b51d4b0..00000000 --- a/html/javassist/bytecode/annotation/BooleanMemberValue.html +++ /dev/null @@ -1,451 +0,0 @@ - - - - - -BooleanMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class BooleanMemberValue

-
-
- -
-
    -
  • -
    -
    public class BooleanMemberValue
    -extends MemberValue
    -
    Boolean constant value.
    -
    -
    Author:
    -
    Bill Burke, Shigeru Chiba
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidaccept​(MemberValueVisitor visitor) -
      Accepts a visitor.
      -
      booleangetValue() -
      Obtains the value of the member.
      -
      voidsetValue​(boolean newValue) -
      Sets the value of the member.
      -
      java.lang.StringtoString() -
      Obtains the string representation of this object.
      -
      voidwrite​(AnnotationsWriter writer) -
      Writes the value.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        BooleanMemberValue

        -
        public BooleanMemberValue​(int index,
        -                          ConstPool cp)
        -
        Constructs a boolean constant value. The initial value is specified - by the constant pool entry at the given index.
        -
        -
        Parameters:
        -
        index - the index of a CONSTANT_Integer_info structure.
        -
        -
      • -
      - - - -
        -
      • -

        BooleanMemberValue

        -
        public BooleanMemberValue​(boolean b,
        -                          ConstPool cp)
        -
        Constructs a boolean constant value.
        -
        -
        Parameters:
        -
        b - the initial value.
        -
        -
      • -
      - - - -
        -
      • -

        BooleanMemberValue

        -
        public BooleanMemberValue​(ConstPool cp)
        -
        Constructs a boolean constant value. The initial value is false.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getValue

        -
        public boolean getValue()
        -
        Obtains the value of the member.
        -
      • -
      - - - -
        -
      • -

        setValue

        -
        public void setValue​(boolean newValue)
        -
        Sets the value of the member.
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Obtains the string representation of this object.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        write

        -
        public void write​(AnnotationsWriter writer)
        -           throws java.io.IOException
        -
        Writes the value.
        -
        -
        Specified by:
        -
        write in class MemberValue
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - - -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/ByteMemberValue.html b/html/javassist/bytecode/annotation/ByteMemberValue.html deleted file mode 100644 index b633fce2..00000000 --- a/html/javassist/bytecode/annotation/ByteMemberValue.html +++ /dev/null @@ -1,451 +0,0 @@ - - - - - -ByteMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ByteMemberValue

-
-
- -
-
    -
  • -
    -
    public class ByteMemberValue
    -extends MemberValue
    -
    Byte constant value.
    -
    -
    Author:
    -
    Bill Burke, Shigeru Chiba
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidaccept​(MemberValueVisitor visitor) -
      Accepts a visitor.
      -
      bytegetValue() -
      Obtains the value of the member.
      -
      voidsetValue​(byte newValue) -
      Sets the value of the member.
      -
      java.lang.StringtoString() -
      Obtains the string representation of this object.
      -
      voidwrite​(AnnotationsWriter writer) -
      Writes the value.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ByteMemberValue

        -
        public ByteMemberValue​(int index,
        -                       ConstPool cp)
        -
        Constructs a byte constant value. The initial value is specified - by the constant pool entry at the given index.
        -
        -
        Parameters:
        -
        index - the index of a CONSTANT_Integer_info structure.
        -
        -
      • -
      - - - -
        -
      • -

        ByteMemberValue

        -
        public ByteMemberValue​(byte b,
        -                       ConstPool cp)
        -
        Constructs a byte constant value.
        -
        -
        Parameters:
        -
        b - the initial value.
        -
        -
      • -
      - - - -
        -
      • -

        ByteMemberValue

        -
        public ByteMemberValue​(ConstPool cp)
        -
        Constructs a byte constant value. The initial value is 0.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getValue

        -
        public byte getValue()
        -
        Obtains the value of the member.
        -
      • -
      - - - -
        -
      • -

        setValue

        -
        public void setValue​(byte newValue)
        -
        Sets the value of the member.
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Obtains the string representation of this object.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        write

        -
        public void write​(AnnotationsWriter writer)
        -           throws java.io.IOException
        -
        Writes the value.
        -
        -
        Specified by:
        -
        write in class MemberValue
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - - -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/CharMemberValue.html b/html/javassist/bytecode/annotation/CharMemberValue.html deleted file mode 100644 index 361140f4..00000000 --- a/html/javassist/bytecode/annotation/CharMemberValue.html +++ /dev/null @@ -1,451 +0,0 @@ - - - - - -CharMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class CharMemberValue

-
-
- -
-
    -
  • -
    -
    public class CharMemberValue
    -extends MemberValue
    -
    Char constant value.
    -
    -
    Author:
    -
    Bill Burke, Shigeru Chiba
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidaccept​(MemberValueVisitor visitor) -
      Accepts a visitor.
      -
      chargetValue() -
      Obtains the value of the member.
      -
      voidsetValue​(char newValue) -
      Sets the value of the member.
      -
      java.lang.StringtoString() -
      Obtains the string representation of this object.
      -
      voidwrite​(AnnotationsWriter writer) -
      Writes the value.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        CharMemberValue

        -
        public CharMemberValue​(int index,
        -                       ConstPool cp)
        -
        Constructs a char constant value. The initial value is specified - by the constant pool entry at the given index.
        -
        -
        Parameters:
        -
        index - the index of a CONSTANT_Integer_info structure.
        -
        -
      • -
      - - - -
        -
      • -

        CharMemberValue

        -
        public CharMemberValue​(char c,
        -                       ConstPool cp)
        -
        Constructs a char constant value.
        -
        -
        Parameters:
        -
        c - the initial value.
        -
        -
      • -
      - - - -
        -
      • -

        CharMemberValue

        -
        public CharMemberValue​(ConstPool cp)
        -
        Constructs a char constant value. The initial value is '\0'.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getValue

        -
        public char getValue()
        -
        Obtains the value of the member.
        -
      • -
      - - - -
        -
      • -

        setValue

        -
        public void setValue​(char newValue)
        -
        Sets the value of the member.
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Obtains the string representation of this object.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        write

        -
        public void write​(AnnotationsWriter writer)
        -           throws java.io.IOException
        -
        Writes the value.
        -
        -
        Specified by:
        -
        write in class MemberValue
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - - -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/ClassMemberValue.html b/html/javassist/bytecode/annotation/ClassMemberValue.html deleted file mode 100644 index 50747e81..00000000 --- a/html/javassist/bytecode/annotation/ClassMemberValue.html +++ /dev/null @@ -1,460 +0,0 @@ - - - - - -ClassMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ClassMemberValue

-
-
- -
-
    -
  • -
    -
    public class ClassMemberValue
    -extends MemberValue
    -
    Class value.
    -
    -
    Author:
    -
    Bill Burke, Shigeru Chiba
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidaccept​(MemberValueVisitor visitor) -
      Accepts a visitor.
      -
      java.lang.StringgetValue() -
      Obtains the value of the member.
      -
      voidsetValue​(java.lang.String newClassName) -
      Sets the value of the member.
      -
      java.lang.StringtoString() -
      Obtains the string representation of this object.
      -
      voidwrite​(AnnotationsWriter writer) -
      Writes the value.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ClassMemberValue

        -
        public ClassMemberValue​(int index,
        -                        ConstPool cp)
        -
        Constructs a class value. The initial value is specified - by the constant pool entry at the given index.
        -
        -
        Parameters:
        -
        index - the index of a CONSTANT_Utf8_info structure.
        -
        -
      • -
      - - - -
        -
      • -

        ClassMemberValue

        -
        public ClassMemberValue​(java.lang.String className,
        -                        ConstPool cp)
        -
        Constructs a class value.
        -
        -
        Parameters:
        -
        className - the initial value.
        -
        -
      • -
      - - - -
        -
      • -

        ClassMemberValue

        -
        public ClassMemberValue​(ConstPool cp)
        -
        Constructs a class value. - The initial value is java.lang.Class.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getValue

        -
        public java.lang.String getValue()
        -
        Obtains the value of the member.
        -
        -
        Returns:
        -
        fully-qualified class name.
        -
        -
      • -
      - - - -
        -
      • -

        setValue

        -
        public void setValue​(java.lang.String newClassName)
        -
        Sets the value of the member.
        -
        -
        Parameters:
        -
        newClassName - fully-qualified class name.
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Obtains the string representation of this object.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        write

        -
        public void write​(AnnotationsWriter writer)
        -           throws java.io.IOException
        -
        Writes the value.
        -
        -
        Specified by:
        -
        write in class MemberValue
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - - -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/DoubleMemberValue.html b/html/javassist/bytecode/annotation/DoubleMemberValue.html deleted file mode 100644 index f8b4500b..00000000 --- a/html/javassist/bytecode/annotation/DoubleMemberValue.html +++ /dev/null @@ -1,453 +0,0 @@ - - - - - -DoubleMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class DoubleMemberValue

-
-
- -
-
    -
  • -
    -
    public class DoubleMemberValue
    -extends MemberValue
    -
    Double floating-point number constant value.
    -
    -
    Version:
    -
    $Revision: 1.7 $
    -
    Author:
    -
    Bill Burke, Shigeru Chiba
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidaccept​(MemberValueVisitor visitor) -
      Accepts a visitor.
      -
      doublegetValue() -
      Obtains the value of the member.
      -
      voidsetValue​(double newValue) -
      Sets the value of the member.
      -
      java.lang.StringtoString() -
      Obtains the string representation of this object.
      -
      voidwrite​(AnnotationsWriter writer) -
      Writes the value.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        DoubleMemberValue

        -
        public DoubleMemberValue​(int index,
        -                         ConstPool cp)
        -
        Constructs a double constant value. The initial value is specified - by the constant pool entry at the given index.
        -
        -
        Parameters:
        -
        index - the index of a CONSTANT_Double_info structure.
        -
        -
      • -
      - - - -
        -
      • -

        DoubleMemberValue

        -
        public DoubleMemberValue​(double d,
        -                         ConstPool cp)
        -
        Constructs a double constant value.
        -
        -
        Parameters:
        -
        d - the initial value.
        -
        -
      • -
      - - - -
        -
      • -

        DoubleMemberValue

        -
        public DoubleMemberValue​(ConstPool cp)
        -
        Constructs a double constant value. The initial value is 0.0.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getValue

        -
        public double getValue()
        -
        Obtains the value of the member.
        -
      • -
      - - - -
        -
      • -

        setValue

        -
        public void setValue​(double newValue)
        -
        Sets the value of the member.
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Obtains the string representation of this object.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        write

        -
        public void write​(AnnotationsWriter writer)
        -           throws java.io.IOException
        -
        Writes the value.
        -
        -
        Specified by:
        -
        write in class MemberValue
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - - -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/EnumMemberValue.html b/html/javassist/bytecode/annotation/EnumMemberValue.html deleted file mode 100644 index e450dc06..00000000 --- a/html/javassist/bytecode/annotation/EnumMemberValue.html +++ /dev/null @@ -1,474 +0,0 @@ - - - - - -EnumMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class EnumMemberValue

-
-
- -
-
    -
  • -
    -
    public class EnumMemberValue
    -extends MemberValue
    -
    Enum constant value.
    -
    -
    Author:
    -
    Bill Burke, Shigeru Chiba
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      EnumMemberValue​(int type, - int value, - ConstPool cp) -
      Constructs an enum constant value.
      -
      EnumMemberValue​(ConstPool cp) -
      Constructs an enum constant value.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidaccept​(MemberValueVisitor visitor) -
      Accepts a visitor.
      -
      java.lang.StringgetType() -
      Obtains the enum type name.
      -
      java.lang.StringgetValue() -
      Obtains the name of the enum constant value.
      -
      voidsetType​(java.lang.String typename) -
      Changes the enum type name.
      -
      voidsetValue​(java.lang.String name) -
      Changes the name of the enum constant value.
      -
      java.lang.StringtoString() 
      voidwrite​(AnnotationsWriter writer) -
      Writes the value.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        EnumMemberValue

        -
        public EnumMemberValue​(int type,
        -                       int value,
        -                       ConstPool cp)
        -
        Constructs an enum constant value. The initial value is specified - by the constant pool entries at the given indexes.
        -
        -
        Parameters:
        -
        type - the index of a CONSTANT_Utf8_info structure - representing the enum type.
        -
        value - the index of a CONSTANT_Utf8_info structure. - representing the enum value.
        -
        -
      • -
      - - - -
        -
      • -

        EnumMemberValue

        -
        public EnumMemberValue​(ConstPool cp)
        -
        Constructs an enum constant value. - The initial value is not specified.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getType

        -
        public java.lang.String getType()
        -
        Obtains the enum type name.
        -
        -
        Returns:
        -
        a fully-qualified type name.
        -
        -
      • -
      - - - -
        -
      • -

        setType

        -
        public void setType​(java.lang.String typename)
        -
        Changes the enum type name.
        -
        -
        Parameters:
        -
        typename - a fully-qualified type name.
        -
        -
      • -
      - - - -
        -
      • -

        getValue

        -
        public java.lang.String getValue()
        -
        Obtains the name of the enum constant value.
        -
      • -
      - - - -
        -
      • -

        setValue

        -
        public void setValue​(java.lang.String name)
        -
        Changes the name of the enum constant value.
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        write

        -
        public void write​(AnnotationsWriter writer)
        -           throws java.io.IOException
        -
        Writes the value.
        -
        -
        Specified by:
        -
        write in class MemberValue
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - - -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/FloatMemberValue.html b/html/javassist/bytecode/annotation/FloatMemberValue.html deleted file mode 100644 index 2c02655e..00000000 --- a/html/javassist/bytecode/annotation/FloatMemberValue.html +++ /dev/null @@ -1,453 +0,0 @@ - - - - - -FloatMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class FloatMemberValue

-
-
- -
-
    -
  • -
    -
    public class FloatMemberValue
    -extends MemberValue
    -
    Floating-point number constant value.
    -
    -
    Version:
    -
    $Revision: 1.7 $
    -
    Author:
    -
    Bill Burke, Shigeru Chiba
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidaccept​(MemberValueVisitor visitor) -
      Accepts a visitor.
      -
      floatgetValue() -
      Obtains the value of the member.
      -
      voidsetValue​(float newValue) -
      Sets the value of the member.
      -
      java.lang.StringtoString() -
      Obtains the string representation of this object.
      -
      voidwrite​(AnnotationsWriter writer) -
      Writes the value.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        FloatMemberValue

        -
        public FloatMemberValue​(int index,
        -                        ConstPool cp)
        -
        Constructs a float constant value. The initial value is specified - by the constant pool entry at the given index.
        -
        -
        Parameters:
        -
        index - the index of a CONSTANT_Float_info structure.
        -
        -
      • -
      - - - -
        -
      • -

        FloatMemberValue

        -
        public FloatMemberValue​(float f,
        -                        ConstPool cp)
        -
        Constructs a float constant value.
        -
        -
        Parameters:
        -
        f - the initial value.
        -
        -
      • -
      - - - -
        -
      • -

        FloatMemberValue

        -
        public FloatMemberValue​(ConstPool cp)
        -
        Constructs a float constant value. The initial value is 0.0.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getValue

        -
        public float getValue()
        -
        Obtains the value of the member.
        -
      • -
      - - - -
        -
      • -

        setValue

        -
        public void setValue​(float newValue)
        -
        Sets the value of the member.
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Obtains the string representation of this object.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        write

        -
        public void write​(AnnotationsWriter writer)
        -           throws java.io.IOException
        -
        Writes the value.
        -
        -
        Specified by:
        -
        write in class MemberValue
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - - -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/IntegerMemberValue.html b/html/javassist/bytecode/annotation/IntegerMemberValue.html deleted file mode 100644 index 26369da4..00000000 --- a/html/javassist/bytecode/annotation/IntegerMemberValue.html +++ /dev/null @@ -1,457 +0,0 @@ - - - - - -IntegerMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class IntegerMemberValue

-
-
- -
-
    -
  • -
    -
    public class IntegerMemberValue
    -extends MemberValue
    -
    Integer constant value.
    -
    -
    Author:
    -
    Bill Burke, Shigeru Chiba
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidaccept​(MemberValueVisitor visitor) -
      Accepts a visitor.
      -
      intgetValue() -
      Obtains the value of the member.
      -
      voidsetValue​(int newValue) -
      Sets the value of the member.
      -
      java.lang.StringtoString() -
      Obtains the string representation of this object.
      -
      voidwrite​(AnnotationsWriter writer) -
      Writes the value.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        IntegerMemberValue

        -
        public IntegerMemberValue​(int index,
        -                          ConstPool cp)
        -
        Constructs an int constant value. The initial value is specified - by the constant pool entry at the given index.
        -
        -
        Parameters:
        -
        index - the index of a CONSTANT_Integer_info structure.
        -
        -
      • -
      - - - -
        -
      • -

        IntegerMemberValue

        -
        public IntegerMemberValue​(ConstPool cp,
        -                          int value)
        -
        Constructs an int constant value. - Note that this constructor receives the initial value - as the second parameter - unlike the corresponding constructors in the sibling classes. - This is for making a difference from the constructor that receives - an index into the constant pool table as the first parameter. - Note that the index is also int type.
        -
        -
        Parameters:
        -
        value - the initial value.
        -
        -
      • -
      - - - -
        -
      • -

        IntegerMemberValue

        -
        public IntegerMemberValue​(ConstPool cp)
        -
        Constructs an int constant value. The initial value is 0.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getValue

        -
        public int getValue()
        -
        Obtains the value of the member.
        -
      • -
      - - - -
        -
      • -

        setValue

        -
        public void setValue​(int newValue)
        -
        Sets the value of the member.
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Obtains the string representation of this object.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        write

        -
        public void write​(AnnotationsWriter writer)
        -           throws java.io.IOException
        -
        Writes the value.
        -
        -
        Specified by:
        -
        write in class MemberValue
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - - -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/LongMemberValue.html b/html/javassist/bytecode/annotation/LongMemberValue.html deleted file mode 100644 index 951278b5..00000000 --- a/html/javassist/bytecode/annotation/LongMemberValue.html +++ /dev/null @@ -1,451 +0,0 @@ - - - - - -LongMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class LongMemberValue

-
-
- -
-
    -
  • -
    -
    public class LongMemberValue
    -extends MemberValue
    -
    Long integer constant value.
    -
    -
    Author:
    -
    Bill Burke, Shigeru Chiba
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidaccept​(MemberValueVisitor visitor) -
      Accepts a visitor.
      -
      longgetValue() -
      Obtains the value of the member.
      -
      voidsetValue​(long newValue) -
      Sets the value of the member.
      -
      java.lang.StringtoString() -
      Obtains the string representation of this object.
      -
      voidwrite​(AnnotationsWriter writer) -
      Writes the value.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        LongMemberValue

        -
        public LongMemberValue​(int index,
        -                       ConstPool cp)
        -
        Constructs a long constant value. The initial value is specified - by the constant pool entry at the given index.
        -
        -
        Parameters:
        -
        index - the index of a CONSTANT_Long_info structure.
        -
        -
      • -
      - - - -
        -
      • -

        LongMemberValue

        -
        public LongMemberValue​(long j,
        -                       ConstPool cp)
        -
        Constructs a long constant value.
        -
        -
        Parameters:
        -
        j - the initial value.
        -
        -
      • -
      - - - -
        -
      • -

        LongMemberValue

        -
        public LongMemberValue​(ConstPool cp)
        -
        Constructs a long constant value. The initial value is 0.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getValue

        -
        public long getValue()
        -
        Obtains the value of the member.
        -
      • -
      - - - -
        -
      • -

        setValue

        -
        public void setValue​(long newValue)
        -
        Sets the value of the member.
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Obtains the string representation of this object.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        write

        -
        public void write​(AnnotationsWriter writer)
        -           throws java.io.IOException
        -
        Writes the value.
        -
        -
        Specified by:
        -
        write in class MemberValue
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - - -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/MemberValue.html b/html/javassist/bytecode/annotation/MemberValue.html deleted file mode 100644 index 1e2c5469..00000000 --- a/html/javassist/bytecode/annotation/MemberValue.html +++ /dev/null @@ -1,303 +0,0 @@ - - - - - -MemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class MemberValue

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.bytecode.annotation.MemberValue
    • -
    -
  • -
-
- -
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        accept

        -
        public abstract void accept​(MemberValueVisitor visitor)
        -
        Accepts a visitor.
        -
      • -
      - - - -
        -
      • -

        write

        -
        public abstract void write​(AnnotationsWriter w)
        -                    throws java.io.IOException
        -
        Writes the value.
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/MemberValueVisitor.html b/html/javassist/bytecode/annotation/MemberValueVisitor.html deleted file mode 100644 index d14d7997..00000000 --- a/html/javassist/bytecode/annotation/MemberValueVisitor.html +++ /dev/null @@ -1,426 +0,0 @@ - - - - - -MemberValueVisitor (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Interface MemberValueVisitor

-
-
-
- -
-
- -
-
- -
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/NoSuchClassError.html b/html/javassist/bytecode/annotation/NoSuchClassError.html deleted file mode 100644 index a2e89996..00000000 --- a/html/javassist/bytecode/annotation/NoSuchClassError.html +++ /dev/null @@ -1,342 +0,0 @@ - - - - - -NoSuchClassError (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class NoSuchClassError

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.lang.Throwable
    • -
    • -
        -
      • java.lang.Error
      • -
      • -
          -
        • javassist.bytecode.annotation.NoSuchClassError
        • -
        -
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    public class NoSuchClassError
    -extends java.lang.Error
    -
    Thrown if the linkage fails. - It keeps the name of the class that caused this error.
    -
    -
    See Also:
    -
    Serialized Form
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      NoSuchClassError​(java.lang.String className, - java.lang.Error cause) -
      Constructs an exception.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.StringgetClassName() -
      Returns the name of the class not found.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        NoSuchClassError

        -
        public NoSuchClassError​(java.lang.String className,
        -                        java.lang.Error cause)
        -
        Constructs an exception.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getClassName

        -
        public java.lang.String getClassName()
        -
        Returns the name of the class not found.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/ShortMemberValue.html b/html/javassist/bytecode/annotation/ShortMemberValue.html deleted file mode 100644 index dd827eb5..00000000 --- a/html/javassist/bytecode/annotation/ShortMemberValue.html +++ /dev/null @@ -1,451 +0,0 @@ - - - - - -ShortMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ShortMemberValue

-
-
- -
-
    -
  • -
    -
    public class ShortMemberValue
    -extends MemberValue
    -
    Short integer constant value.
    -
    -
    Author:
    -
    Bill Burke, Shigeru Chiba
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidaccept​(MemberValueVisitor visitor) -
      Accepts a visitor.
      -
      shortgetValue() -
      Obtains the value of the member.
      -
      voidsetValue​(short newValue) -
      Sets the value of the member.
      -
      java.lang.StringtoString() -
      Obtains the string representation of this object.
      -
      voidwrite​(AnnotationsWriter writer) -
      Writes the value.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ShortMemberValue

        -
        public ShortMemberValue​(int index,
        -                        ConstPool cp)
        -
        Constructs a short constant value. The initial value is specified - by the constant pool entry at the given index.
        -
        -
        Parameters:
        -
        index - the index of a CONSTANT_Integer_info structure.
        -
        -
      • -
      - - - -
        -
      • -

        ShortMemberValue

        -
        public ShortMemberValue​(short s,
        -                        ConstPool cp)
        -
        Constructs a short constant value.
        -
        -
        Parameters:
        -
        s - the initial value.
        -
        -
      • -
      - - - -
        -
      • -

        ShortMemberValue

        -
        public ShortMemberValue​(ConstPool cp)
        -
        Constructs a short constant value. The initial value is 0.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getValue

        -
        public short getValue()
        -
        Obtains the value of the member.
        -
      • -
      - - - -
        -
      • -

        setValue

        -
        public void setValue​(short newValue)
        -
        Sets the value of the member.
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Obtains the string representation of this object.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        write

        -
        public void write​(AnnotationsWriter writer)
        -           throws java.io.IOException
        -
        Writes the value.
        -
        -
        Specified by:
        -
        write in class MemberValue
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - - -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/StringMemberValue.html b/html/javassist/bytecode/annotation/StringMemberValue.html deleted file mode 100644 index b1302d15..00000000 --- a/html/javassist/bytecode/annotation/StringMemberValue.html +++ /dev/null @@ -1,451 +0,0 @@ - - - - - -StringMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class StringMemberValue

-
-
- -
-
    -
  • -
    -
    public class StringMemberValue
    -extends MemberValue
    -
    String constant value.
    -
    -
    Author:
    -
    Bill Burke, Shigeru Chiba
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidaccept​(MemberValueVisitor visitor) -
      Accepts a visitor.
      -
      java.lang.StringgetValue() -
      Obtains the value of the member.
      -
      voidsetValue​(java.lang.String newValue) -
      Sets the value of the member.
      -
      java.lang.StringtoString() -
      Obtains the string representation of this object.
      -
      voidwrite​(AnnotationsWriter writer) -
      Writes the value.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        StringMemberValue

        -
        public StringMemberValue​(int index,
        -                         ConstPool cp)
        -
        Constructs a string constant value. The initial value is specified - by the constant pool entry at the given index.
        -
        -
        Parameters:
        -
        index - the index of a CONSTANT_Utf8_info structure.
        -
        -
      • -
      - - - -
        -
      • -

        StringMemberValue

        -
        public StringMemberValue​(java.lang.String str,
        -                         ConstPool cp)
        -
        Constructs a string constant value.
        -
        -
        Parameters:
        -
        str - the initial value.
        -
        -
      • -
      - - - -
        -
      • -

        StringMemberValue

        -
        public StringMemberValue​(ConstPool cp)
        -
        Constructs a string constant value. The initial value is "".
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getValue

        -
        public java.lang.String getValue()
        -
        Obtains the value of the member.
        -
      • -
      - - - -
        -
      • -

        setValue

        -
        public void setValue​(java.lang.String newValue)
        -
        Sets the value of the member.
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Obtains the string representation of this object.
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        write

        -
        public void write​(AnnotationsWriter writer)
        -           throws java.io.IOException
        -
        Writes the value.
        -
        -
        Specified by:
        -
        write in class MemberValue
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - - -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/TypeAnnotationsWriter.html b/html/javassist/bytecode/annotation/TypeAnnotationsWriter.html deleted file mode 100644 index 76c57dae..00000000 --- a/html/javassist/bytecode/annotation/TypeAnnotationsWriter.html +++ /dev/null @@ -1,679 +0,0 @@ - - - - - -TypeAnnotationsWriter (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class TypeAnnotationsWriter

-
-
- -
-
    -
  • -
    -
    public class TypeAnnotationsWriter
    -extends AnnotationsWriter
    -
    A convenience class for constructing a - ..TypeAnnotations_attribute. - See the source code of the TypeAnnotationsAttribute class.
    -
    -
    Since:
    -
    3.19
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        TypeAnnotationsWriter

        -
        public TypeAnnotationsWriter​(java.io.OutputStream os,
        -                             ConstPool cp)
        -
        Constructs with the given output stream.
        -
        -
        Parameters:
        -
        os - the output stream.
        -
        cp - the constant pool.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        numAnnotations

        -
        public void numAnnotations​(int num)
        -                    throws java.io.IOException
        -
        Writes num_annotations in - Runtime(In)VisibleTypeAnnotations_attribute. - It must be followed by num instances of type_annotation.
        -
        -
        Overrides:
        -
        numAnnotations in class AnnotationsWriter
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        typeParameterTarget

        -
        public void typeParameterTarget​(int targetType,
        -                                int typeParameterIndex)
        -                         throws java.io.IOException
        -
        Writes target_type and type_parameter_target - of target_info union.
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        supertypeTarget

        -
        public void supertypeTarget​(int supertypeIndex)
        -                     throws java.io.IOException
        -
        Writes target_type and supertype_target - of target_info union.
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        typeParameterBoundTarget

        -
        public void typeParameterBoundTarget​(int targetType,
        -                                     int typeParameterIndex,
        -                                     int boundIndex)
        -                              throws java.io.IOException
        -
        Writes target_type and type_parameter_bound_target - of target_info union.
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        emptyTarget

        -
        public void emptyTarget​(int targetType)
        -                 throws java.io.IOException
        -
        Writes target_type and empty_target - of target_info union.
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        formalParameterTarget

        -
        public void formalParameterTarget​(int formalParameterIndex)
        -                           throws java.io.IOException
        -
        Writes target_type and type_parameter_target - of target_info union.
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        throwsTarget

        -
        public void throwsTarget​(int throwsTypeIndex)
        -                  throws java.io.IOException
        -
        Writes target_type and throws_target - of target_info union.
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        localVarTarget

        -
        public void localVarTarget​(int targetType,
        -                           int tableLength)
        -                    throws java.io.IOException
        -
        Writes target_type and localvar_target - of target_info union. - It must be followed by tableLength calls - to localVarTargetTable.
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        localVarTargetTable

        -
        public void localVarTargetTable​(int startPc,
        -                                int length,
        -                                int index)
        -                         throws java.io.IOException
        -
        Writes an element of table[] of localvar_target - of target_info union.
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        catchTarget

        -
        public void catchTarget​(int exceptionTableIndex)
        -                 throws java.io.IOException
        -
        Writes target_type and catch_target - of target_info union.
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        offsetTarget

        -
        public void offsetTarget​(int targetType,
        -                         int offset)
        -                  throws java.io.IOException
        -
        Writes target_type and offset_target - of target_info union.
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        typeArgumentTarget

        -
        public void typeArgumentTarget​(int targetType,
        -                               int offset,
        -                               int type_argument_index)
        -                        throws java.io.IOException
        -
        Writes target_type and type_argument_target - of target_info union.
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        typePath

        -
        public void typePath​(int pathLength)
        -              throws java.io.IOException
        -
        Writes path_length of type_path.
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        typePathPath

        -
        public void typePathPath​(int typePathKind,
        -                         int typeArgumentIndex)
        -                  throws java.io.IOException
        -
        Writes an element of path[] of type_path.
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/class-use/Annotation.html b/html/javassist/bytecode/annotation/class-use/Annotation.html deleted file mode 100644 index abedb920..00000000 --- a/html/javassist/bytecode/annotation/class-use/Annotation.html +++ /dev/null @@ -1,334 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.annotation.Annotation (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.annotation.Annotation

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/class-use/AnnotationImpl.html b/html/javassist/bytecode/annotation/class-use/AnnotationImpl.html deleted file mode 100644 index 3fa50700..00000000 --- a/html/javassist/bytecode/annotation/class-use/AnnotationImpl.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.annotation.AnnotationImpl (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.annotation.AnnotationImpl

-
-
No usage of javassist.bytecode.annotation.AnnotationImpl
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/class-use/AnnotationMemberValue.html b/html/javassist/bytecode/annotation/class-use/AnnotationMemberValue.html deleted file mode 100644 index e434548b..00000000 --- a/html/javassist/bytecode/annotation/class-use/AnnotationMemberValue.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.annotation.AnnotationMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.annotation.AnnotationMemberValue

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/class-use/AnnotationsWriter.html b/html/javassist/bytecode/annotation/class-use/AnnotationsWriter.html deleted file mode 100644 index c1316de7..00000000 --- a/html/javassist/bytecode/annotation/class-use/AnnotationsWriter.html +++ /dev/null @@ -1,313 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.annotation.AnnotationsWriter (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.annotation.AnnotationsWriter

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/class-use/ArrayMemberValue.html b/html/javassist/bytecode/annotation/class-use/ArrayMemberValue.html deleted file mode 100644 index b3f87aa9..00000000 --- a/html/javassist/bytecode/annotation/class-use/ArrayMemberValue.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.annotation.ArrayMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.annotation.ArrayMemberValue

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/class-use/BooleanMemberValue.html b/html/javassist/bytecode/annotation/class-use/BooleanMemberValue.html deleted file mode 100644 index 506b0972..00000000 --- a/html/javassist/bytecode/annotation/class-use/BooleanMemberValue.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.annotation.BooleanMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.annotation.BooleanMemberValue

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/class-use/ByteMemberValue.html b/html/javassist/bytecode/annotation/class-use/ByteMemberValue.html deleted file mode 100644 index ec2f4311..00000000 --- a/html/javassist/bytecode/annotation/class-use/ByteMemberValue.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.annotation.ByteMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.annotation.ByteMemberValue

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/class-use/CharMemberValue.html b/html/javassist/bytecode/annotation/class-use/CharMemberValue.html deleted file mode 100644 index cc4fb97f..00000000 --- a/html/javassist/bytecode/annotation/class-use/CharMemberValue.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.annotation.CharMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.annotation.CharMemberValue

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/class-use/ClassMemberValue.html b/html/javassist/bytecode/annotation/class-use/ClassMemberValue.html deleted file mode 100644 index a55522ee..00000000 --- a/html/javassist/bytecode/annotation/class-use/ClassMemberValue.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.annotation.ClassMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.annotation.ClassMemberValue

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/class-use/DoubleMemberValue.html b/html/javassist/bytecode/annotation/class-use/DoubleMemberValue.html deleted file mode 100644 index 0f8c7e57..00000000 --- a/html/javassist/bytecode/annotation/class-use/DoubleMemberValue.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.annotation.DoubleMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.annotation.DoubleMemberValue

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/class-use/EnumMemberValue.html b/html/javassist/bytecode/annotation/class-use/EnumMemberValue.html deleted file mode 100644 index edb40948..00000000 --- a/html/javassist/bytecode/annotation/class-use/EnumMemberValue.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.annotation.EnumMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.annotation.EnumMemberValue

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/class-use/FloatMemberValue.html b/html/javassist/bytecode/annotation/class-use/FloatMemberValue.html deleted file mode 100644 index 6e8c6555..00000000 --- a/html/javassist/bytecode/annotation/class-use/FloatMemberValue.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.annotation.FloatMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.annotation.FloatMemberValue

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/class-use/IntegerMemberValue.html b/html/javassist/bytecode/annotation/class-use/IntegerMemberValue.html deleted file mode 100644 index 37395857..00000000 --- a/html/javassist/bytecode/annotation/class-use/IntegerMemberValue.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.annotation.IntegerMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.annotation.IntegerMemberValue

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/class-use/LongMemberValue.html b/html/javassist/bytecode/annotation/class-use/LongMemberValue.html deleted file mode 100644 index eb24e447..00000000 --- a/html/javassist/bytecode/annotation/class-use/LongMemberValue.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.annotation.LongMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.annotation.LongMemberValue

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/class-use/MemberValue.html b/html/javassist/bytecode/annotation/class-use/MemberValue.html deleted file mode 100644 index 420ef140..00000000 --- a/html/javassist/bytecode/annotation/class-use/MemberValue.html +++ /dev/null @@ -1,416 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.annotation.MemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.annotation.MemberValue

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/class-use/MemberValueVisitor.html b/html/javassist/bytecode/annotation/class-use/MemberValueVisitor.html deleted file mode 100644 index 4a2972a1..00000000 --- a/html/javassist/bytecode/annotation/class-use/MemberValueVisitor.html +++ /dev/null @@ -1,288 +0,0 @@ - - - - - -Uses of Interface javassist.bytecode.annotation.MemberValueVisitor (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Interface
javassist.bytecode.annotation.MemberValueVisitor

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/class-use/NoSuchClassError.html b/html/javassist/bytecode/annotation/class-use/NoSuchClassError.html deleted file mode 100644 index dc7ef6df..00000000 --- a/html/javassist/bytecode/annotation/class-use/NoSuchClassError.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.annotation.NoSuchClassError (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.annotation.NoSuchClassError

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/class-use/ShortMemberValue.html b/html/javassist/bytecode/annotation/class-use/ShortMemberValue.html deleted file mode 100644 index f29df3fb..00000000 --- a/html/javassist/bytecode/annotation/class-use/ShortMemberValue.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.annotation.ShortMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.annotation.ShortMemberValue

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/class-use/StringMemberValue.html b/html/javassist/bytecode/annotation/class-use/StringMemberValue.html deleted file mode 100644 index ea906c5b..00000000 --- a/html/javassist/bytecode/annotation/class-use/StringMemberValue.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.annotation.StringMemberValue (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.annotation.StringMemberValue

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/class-use/TypeAnnotationsWriter.html b/html/javassist/bytecode/annotation/class-use/TypeAnnotationsWriter.html deleted file mode 100644 index ff4bc33b..00000000 --- a/html/javassist/bytecode/annotation/class-use/TypeAnnotationsWriter.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.annotation.TypeAnnotationsWriter (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.annotation.TypeAnnotationsWriter

-
-
No usage of javassist.bytecode.annotation.TypeAnnotationsWriter
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/package-summary.html b/html/javassist/bytecode/annotation/package-summary.html deleted file mode 100644 index 0f5d2f1f..00000000 --- a/html/javassist/bytecode/annotation/package-summary.html +++ /dev/null @@ -1,314 +0,0 @@ - - - - - -javassist.bytecode.annotation (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Package javassist.bytecode.annotation

-
-
-
- - -
Bytecode-level Annotations API. - -

This package provides low-level API for editing annotations attributes.

-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/package-tree.html b/html/javassist/bytecode/annotation/package-tree.html deleted file mode 100644 index 95090dcb..00000000 --- a/html/javassist/bytecode/annotation/package-tree.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - -javassist.bytecode.annotation Class Hierarchy (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Hierarchy For Package javassist.bytecode.annotation

-Package Hierarchies: - -
-
-
-

Class Hierarchy

- -
-
-

Interface Hierarchy

- -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/annotation/package-use.html b/html/javassist/bytecode/annotation/package-use.html deleted file mode 100644 index fc92b91b..00000000 --- a/html/javassist/bytecode/annotation/package-use.html +++ /dev/null @@ -1,322 +0,0 @@ - - - - - -Uses of Package javassist.bytecode.annotation (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Package
javassist.bytecode.annotation

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/AccessFlag.html b/html/javassist/bytecode/class-use/AccessFlag.html deleted file mode 100644 index 1cab8b15..00000000 --- a/html/javassist/bytecode/class-use/AccessFlag.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.AccessFlag (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.AccessFlag

-
-
No usage of javassist.bytecode.AccessFlag
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/AnnotationDefaultAttribute.html b/html/javassist/bytecode/class-use/AnnotationDefaultAttribute.html deleted file mode 100644 index 9836f5d2..00000000 --- a/html/javassist/bytecode/class-use/AnnotationDefaultAttribute.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.AnnotationDefaultAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.AnnotationDefaultAttribute

-
-
No usage of javassist.bytecode.AnnotationDefaultAttribute
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/AnnotationsAttribute.html b/html/javassist/bytecode/class-use/AnnotationsAttribute.html deleted file mode 100644 index 77871146..00000000 --- a/html/javassist/bytecode/class-use/AnnotationsAttribute.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.AnnotationsAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.AnnotationsAttribute

-
-
No usage of javassist.bytecode.AnnotationsAttribute
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/AttributeInfo.html b/html/javassist/bytecode/class-use/AttributeInfo.html deleted file mode 100644 index 22873dce..00000000 --- a/html/javassist/bytecode/class-use/AttributeInfo.html +++ /dev/null @@ -1,651 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.AttributeInfo (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.AttributeInfo

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/BadBytecode.html b/html/javassist/bytecode/class-use/BadBytecode.html deleted file mode 100644 index 581e9650..00000000 --- a/html/javassist/bytecode/class-use/BadBytecode.html +++ /dev/null @@ -1,611 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.BadBytecode (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.BadBytecode

-
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - -
    Packages that use BadBytecode 
    PackageDescription
    javassist.bytecode -
    Bytecode-level API.
    -
    javassist.bytecode.analysis -
    Bytecode Analysis API.
    -
    javassist.tools.reflect -
    Runtime Behavioral Reflection.
    -
    -
  • -
  • -
      -
    • -
      - - -

      Uses of BadBytecode in javassist.bytecode

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist.bytecode that throw BadBytecode 
      Modifier and TypeMethodDescription
      voidStackMapTable.Walker.appendFrame​(int pos, - int offsetDelta, - int[] tags, - int[] data) -
      Invoked if the visited frame is a append_frame.
      -
      voidStackMapTable.Walker.chopFrame​(int pos, - int offsetDelta, - int k) -
      Invoked if the visited frame is a chop_frame.
      -
      intCodeAttribute.computeMaxStack() -
      Computes the maximum stack size and sets max_stack - to the computed size.
      -
      voidStackMapTable.Walker.fullFrame​(int pos, - int offsetDelta, - int[] localTags, - int[] localData, - int[] stackTags, - int[] stackData) -
      Invoked if the visited frame is full_frame.
      -
      intCodeIterator.insert​(byte[] code) -
      Inserts the given bytecode sequence - before the next instruction that would be returned by - next() (not before the instruction returned - by the last call to next()).
      -
      voidCodeIterator.insert​(int pos, - byte[] code) -
      Inserts the given bytecode sequence - before the instruction at the given index pos.
      -
      intCodeIterator.insertAt​(int pos, - byte[] code) -
      Inserts the given bytecode sequence - before the instruction at the given index pos.
      -
      intCodeIterator.insertEx​(byte[] code) -
      Inserts the given bytecode sequence exclusively - before the next instruction that would be returned by - next() (not before the instruction returned - by tha last call to next()).
      -
      voidCodeIterator.insertEx​(int pos, - byte[] code) -
      Inserts the given bytecode sequence exclusively - before the instruction at the given index pos.
      -
      intCodeIterator.insertExAt​(int pos, - byte[] code) -
      Inserts the given bytecode sequence exclusively - before the instruction at the given index pos.
      -
      intCodeIterator.insertExGap​(int length) -
      Inserts an exclusive gap - before the next instruction that would be returned by - next() (not before the instruction returned - by the last call to next()).
      -
      intCodeIterator.insertExGap​(int pos, - int length) -
      Inserts an exclusive gap in front of the instruction at the given - index pos.
      -
      intCodeIterator.insertGap​(int length) -
      Inserts a gap - before the next instruction that would be returned by - next() (not before the instruction returned - by the last call to next()).
      -
      intCodeIterator.insertGap​(int pos, - int length) -
      Inserts a gap in front of the instruction at the given - index pos.
      -
      CodeIterator.GapCodeIterator.insertGapAt​(int pos, - int length, - boolean exclusive) -
      Inserts an inclusive or exclusive gap in front of the instruction - at the given index pos.
      -
      voidStackMap.insertLocal​(int index, - int tag, - int classInfo) -
      Updates this stack map table when a new local variable is inserted - for a new parameter.
      -
      voidStackMapTable.insertLocal​(int index, - int tag, - int classInfo) -
      Updates this stack map table when a new local variable is inserted - for a new parameter.
      -
      voidCodeAttribute.insertLocalVar​(int where, - int size) -
      Changes the index numbers of the local variables - to append a new parameter.
      -
      intCodeIterator.next() -
      Returns the index of the next instruction - (not the operand following the current opcode).
      -
      voidStackMapTable.Walker.parse() -
      Visits each entry of the stack map frames.
      -
      voidMethodInfo.rebuildStackMap​(ClassPool pool) -
      Rebuilds a stack map table.
      -
      voidMethodInfo.rebuildStackMapForME​(ClassPool pool) -
      Rebuilds a stack map table for J2ME (CLDC).
      -
      voidMethodInfo.rebuildStackMapIf6​(ClassPool pool, - ClassFile cf) -
      Rebuilds a stack map table if the class file is for Java 6 - or later.
      -
      voidStackMapTable.Walker.sameFrame​(int pos, - int offsetDelta) -
      Invoked if the visited frame is a same_frame or - a same_frame_extended.
      -
      voidStackMapTable.Walker.sameLocals​(int pos, - int offsetDelta, - int stackTag, - int stackData) -
      Invoked if the visited frame is a same_locals_1_stack_item_frame - or a same_locals_1_stack_item_frame_extended.
      -
      voidMethodInfo.setSuperclass​(java.lang.String superclass) -
      Changes a super constructor called by this constructor.
      -
      intCodeIterator.skipConstructor() -
      Moves to the instruction for - either super() or this().
      -
      intCodeIterator.skipSuperConstructor() -
      Moves to the instruction for super().
      -
      intCodeIterator.skipThisConstructor() -
      Moves to the instruction for this().
      -
      static SignatureAttribute.ClassSignatureSignatureAttribute.toClassSignature​(java.lang.String sig) -
      Parses the given signature string as a class signature.
      -
      static SignatureAttribute.ObjectTypeSignatureAttribute.toFieldSignature​(java.lang.String sig) -
      Parses the given signature string as a field type signature.
      -
      static SignatureAttribute.MethodSignatureSignatureAttribute.toMethodSignature​(java.lang.String sig) -
      Parses the given signature string as a method type signature.
      -
      static SignatureAttribute.TypeSignatureAttribute.toTypeSignature​(java.lang.String sig) -
      Parses the given signature string as a type signature.
      -
      - - - - - - - - - - - - -
      Constructors in javassist.bytecode that throw BadBytecode 
      ConstructorDescription
      MethodInfo​(ConstPool cp, - java.lang.String methodname, - MethodInfo src, - java.util.Map<java.lang.String,​java.lang.String> classnameMap) -
      Constructs a copy of method_info structure.
      -
      -
      -
    • -
    • -
      - - -

      Uses of BadBytecode in javassist.bytecode.analysis

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist.bytecode.analysis that throw BadBytecode 
      Modifier and TypeMethodDescription
      Frame[]Analyzer.analyze​(CtClass clazz, - MethodInfo method) -
      Performs data-flow analysis on a method and returns an array, indexed by - instruction position, containing the starting frame state of all reachable - instructions.
      -
      Frame[]Analyzer.analyze​(CtMethod method) -
      Performs data-flow analysis on a method and returns an array, indexed by - instruction position, containing the starting frame state of all reachable - instructions.
      -
      voidExecutor.execute​(MethodInfo method, - int pos, - CodeIterator iter, - Frame frame, - Subroutine subroutine) -
      Execute the instruction, modeling the effects on the specified frame and subroutine.
      -
      FrameControlFlow.frameAt​(int pos) -
      Returns the types of the local variables and stack frame entries - available at the given position.
      -
      Subroutine[]SubroutineScanner.scan​(MethodInfo method) 
      - - - - - - - - - - - - - - - - -
      Constructors in javassist.bytecode.analysis that throw BadBytecode 
      ConstructorDescription
      ControlFlow​(CtClass ctclazz, - MethodInfo minfo) -
      Constructs a control-flow analyzer.
      -
      ControlFlow​(CtMethod method) -
      Constructs a control-flow analyzer for the given method.
      -
      -
      -
    • -
    • -
      - - -

      Uses of BadBytecode in javassist.tools.reflect

      - - - - - - - - - - - - - - -
      Methods in javassist.tools.reflect that throw BadBytecode 
      Modifier and TypeMethodDescription
      voidReflection.rebuildClassFile​(ClassFile cf) 
      -
      -
    • -
    -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/BootstrapMethodsAttribute.BootstrapMethod.html b/html/javassist/bytecode/class-use/BootstrapMethodsAttribute.BootstrapMethod.html deleted file mode 100644 index b01d7d48..00000000 --- a/html/javassist/bytecode/class-use/BootstrapMethodsAttribute.BootstrapMethod.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.BootstrapMethodsAttribute.BootstrapMethod (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.BootstrapMethodsAttribute.BootstrapMethod

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/BootstrapMethodsAttribute.html b/html/javassist/bytecode/class-use/BootstrapMethodsAttribute.html deleted file mode 100644 index 3a52d4fa..00000000 --- a/html/javassist/bytecode/class-use/BootstrapMethodsAttribute.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.BootstrapMethodsAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.BootstrapMethodsAttribute

-
-
No usage of javassist.bytecode.BootstrapMethodsAttribute
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/ByteArray.html b/html/javassist/bytecode/class-use/ByteArray.html deleted file mode 100644 index d3d3ca8f..00000000 --- a/html/javassist/bytecode/class-use/ByteArray.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.ByteArray (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.ByteArray

-
-
No usage of javassist.bytecode.ByteArray
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/Bytecode.html b/html/javassist/bytecode/class-use/Bytecode.html deleted file mode 100644 index 3c334327..00000000 --- a/html/javassist/bytecode/class-use/Bytecode.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.Bytecode (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.Bytecode

-
-
No usage of javassist.bytecode.Bytecode
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/ClassFile.html b/html/javassist/bytecode/class-use/ClassFile.html deleted file mode 100644 index d812863c..00000000 --- a/html/javassist/bytecode/class-use/ClassFile.html +++ /dev/null @@ -1,370 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.ClassFile (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.ClassFile

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/ClassFilePrinter.html b/html/javassist/bytecode/class-use/ClassFilePrinter.html deleted file mode 100644 index b66e9502..00000000 --- a/html/javassist/bytecode/class-use/ClassFilePrinter.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.ClassFilePrinter (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.ClassFilePrinter

-
-
No usage of javassist.bytecode.ClassFilePrinter
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/ClassFileWriter.AttributeWriter.html b/html/javassist/bytecode/class-use/ClassFileWriter.AttributeWriter.html deleted file mode 100644 index 8486b58d..00000000 --- a/html/javassist/bytecode/class-use/ClassFileWriter.AttributeWriter.html +++ /dev/null @@ -1,264 +0,0 @@ - - - - - -Uses of Interface javassist.bytecode.ClassFileWriter.AttributeWriter (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Interface
javassist.bytecode.ClassFileWriter.AttributeWriter

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/ClassFileWriter.ConstPoolWriter.html b/html/javassist/bytecode/class-use/ClassFileWriter.ConstPoolWriter.html deleted file mode 100644 index a63ee87f..00000000 --- a/html/javassist/bytecode/class-use/ClassFileWriter.ConstPoolWriter.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.ClassFileWriter.ConstPoolWriter (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.ClassFileWriter.ConstPoolWriter

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/ClassFileWriter.FieldWriter.html b/html/javassist/bytecode/class-use/ClassFileWriter.FieldWriter.html deleted file mode 100644 index a870ea6e..00000000 --- a/html/javassist/bytecode/class-use/ClassFileWriter.FieldWriter.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.ClassFileWriter.FieldWriter (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.ClassFileWriter.FieldWriter

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/ClassFileWriter.MethodWriter.html b/html/javassist/bytecode/class-use/ClassFileWriter.MethodWriter.html deleted file mode 100644 index 648e9e93..00000000 --- a/html/javassist/bytecode/class-use/ClassFileWriter.MethodWriter.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.ClassFileWriter.MethodWriter (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.ClassFileWriter.MethodWriter

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/ClassFileWriter.html b/html/javassist/bytecode/class-use/ClassFileWriter.html deleted file mode 100644 index 0493136a..00000000 --- a/html/javassist/bytecode/class-use/ClassFileWriter.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.ClassFileWriter (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.ClassFileWriter

-
-
No usage of javassist.bytecode.ClassFileWriter
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/CodeAttribute.RuntimeCopyException.html b/html/javassist/bytecode/class-use/CodeAttribute.RuntimeCopyException.html deleted file mode 100644 index 341d899f..00000000 --- a/html/javassist/bytecode/class-use/CodeAttribute.RuntimeCopyException.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.CodeAttribute.RuntimeCopyException (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.CodeAttribute.RuntimeCopyException

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/CodeAttribute.html b/html/javassist/bytecode/class-use/CodeAttribute.html deleted file mode 100644 index 8511f2d3..00000000 --- a/html/javassist/bytecode/class-use/CodeAttribute.html +++ /dev/null @@ -1,228 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.CodeAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.CodeAttribute

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/CodeIterator.Gap.html b/html/javassist/bytecode/class-use/CodeIterator.Gap.html deleted file mode 100644 index 42c8c5f6..00000000 --- a/html/javassist/bytecode/class-use/CodeIterator.Gap.html +++ /dev/null @@ -1,200 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.CodeIterator.Gap (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.CodeIterator.Gap

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/CodeIterator.html b/html/javassist/bytecode/class-use/CodeIterator.html deleted file mode 100644 index 41f75b33..00000000 --- a/html/javassist/bytecode/class-use/CodeIterator.html +++ /dev/null @@ -1,257 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.CodeIterator (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.CodeIterator

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/ConstPool.html b/html/javassist/bytecode/class-use/ConstPool.html deleted file mode 100644 index e6b5659a..00000000 --- a/html/javassist/bytecode/class-use/ConstPool.html +++ /dev/null @@ -1,1038 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.ConstPool (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.ConstPool

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/ConstantAttribute.html b/html/javassist/bytecode/class-use/ConstantAttribute.html deleted file mode 100644 index eb2b2905..00000000 --- a/html/javassist/bytecode/class-use/ConstantAttribute.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.ConstantAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.ConstantAttribute

-
-
No usage of javassist.bytecode.ConstantAttribute
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/DeprecatedAttribute.html b/html/javassist/bytecode/class-use/DeprecatedAttribute.html deleted file mode 100644 index 16f70f80..00000000 --- a/html/javassist/bytecode/class-use/DeprecatedAttribute.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.DeprecatedAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.DeprecatedAttribute

-
-
No usage of javassist.bytecode.DeprecatedAttribute
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/Descriptor.Iterator.html b/html/javassist/bytecode/class-use/Descriptor.Iterator.html deleted file mode 100644 index 66254ec6..00000000 --- a/html/javassist/bytecode/class-use/Descriptor.Iterator.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.Descriptor.Iterator (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.Descriptor.Iterator

-
-
No usage of javassist.bytecode.Descriptor.Iterator
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/Descriptor.html b/html/javassist/bytecode/class-use/Descriptor.html deleted file mode 100644 index 50b289e2..00000000 --- a/html/javassist/bytecode/class-use/Descriptor.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.Descriptor (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.Descriptor

-
-
No usage of javassist.bytecode.Descriptor
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/DuplicateMemberException.html b/html/javassist/bytecode/class-use/DuplicateMemberException.html deleted file mode 100644 index 708cc052..00000000 --- a/html/javassist/bytecode/class-use/DuplicateMemberException.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.DuplicateMemberException (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.DuplicateMemberException

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/EnclosingMethodAttribute.html b/html/javassist/bytecode/class-use/EnclosingMethodAttribute.html deleted file mode 100644 index 7f7f6d16..00000000 --- a/html/javassist/bytecode/class-use/EnclosingMethodAttribute.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.EnclosingMethodAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.EnclosingMethodAttribute

-
-
No usage of javassist.bytecode.EnclosingMethodAttribute
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/ExceptionTable.html b/html/javassist/bytecode/class-use/ExceptionTable.html deleted file mode 100644 index d5f1e3df..00000000 --- a/html/javassist/bytecode/class-use/ExceptionTable.html +++ /dev/null @@ -1,271 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.ExceptionTable (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.ExceptionTable

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/ExceptionsAttribute.html b/html/javassist/bytecode/class-use/ExceptionsAttribute.html deleted file mode 100644 index 0c8c15c3..00000000 --- a/html/javassist/bytecode/class-use/ExceptionsAttribute.html +++ /dev/null @@ -1,214 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.ExceptionsAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.ExceptionsAttribute

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/FieldInfo.html b/html/javassist/bytecode/class-use/FieldInfo.html deleted file mode 100644 index c9551098..00000000 --- a/html/javassist/bytecode/class-use/FieldInfo.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.FieldInfo (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.FieldInfo

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/InnerClassesAttribute.html b/html/javassist/bytecode/class-use/InnerClassesAttribute.html deleted file mode 100644 index 53c70bb5..00000000 --- a/html/javassist/bytecode/class-use/InnerClassesAttribute.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.InnerClassesAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.InnerClassesAttribute

-
-
No usage of javassist.bytecode.InnerClassesAttribute
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/InstructionPrinter.html b/html/javassist/bytecode/class-use/InstructionPrinter.html deleted file mode 100644 index 4f3aec5a..00000000 --- a/html/javassist/bytecode/class-use/InstructionPrinter.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.InstructionPrinter (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.InstructionPrinter

-
-
No usage of javassist.bytecode.InstructionPrinter
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/LineNumberAttribute.Pc.html b/html/javassist/bytecode/class-use/LineNumberAttribute.Pc.html deleted file mode 100644 index 3597c1d3..00000000 --- a/html/javassist/bytecode/class-use/LineNumberAttribute.Pc.html +++ /dev/null @@ -1,199 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.LineNumberAttribute.Pc (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.LineNumberAttribute.Pc

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/LineNumberAttribute.html b/html/javassist/bytecode/class-use/LineNumberAttribute.html deleted file mode 100644 index 1f0cf049..00000000 --- a/html/javassist/bytecode/class-use/LineNumberAttribute.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.LineNumberAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.LineNumberAttribute

-
-
No usage of javassist.bytecode.LineNumberAttribute
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/LocalVariableAttribute.html b/html/javassist/bytecode/class-use/LocalVariableAttribute.html deleted file mode 100644 index 0e50a789..00000000 --- a/html/javassist/bytecode/class-use/LocalVariableAttribute.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.LocalVariableAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.LocalVariableAttribute

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/LocalVariableTypeAttribute.html b/html/javassist/bytecode/class-use/LocalVariableTypeAttribute.html deleted file mode 100644 index 90da0843..00000000 --- a/html/javassist/bytecode/class-use/LocalVariableTypeAttribute.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.LocalVariableTypeAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.LocalVariableTypeAttribute

-
-
No usage of javassist.bytecode.LocalVariableTypeAttribute
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/MethodInfo.html b/html/javassist/bytecode/class-use/MethodInfo.html deleted file mode 100644 index 386a43f3..00000000 --- a/html/javassist/bytecode/class-use/MethodInfo.html +++ /dev/null @@ -1,422 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.MethodInfo (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.MethodInfo

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/MethodParametersAttribute.html b/html/javassist/bytecode/class-use/MethodParametersAttribute.html deleted file mode 100644 index ac486e54..00000000 --- a/html/javassist/bytecode/class-use/MethodParametersAttribute.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.MethodParametersAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.MethodParametersAttribute

-
-
No usage of javassist.bytecode.MethodParametersAttribute
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/Mnemonic.html b/html/javassist/bytecode/class-use/Mnemonic.html deleted file mode 100644 index e797a9b3..00000000 --- a/html/javassist/bytecode/class-use/Mnemonic.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Interface javassist.bytecode.Mnemonic (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Interface
javassist.bytecode.Mnemonic

-
-
No usage of javassist.bytecode.Mnemonic
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/NestHostAttribute.html b/html/javassist/bytecode/class-use/NestHostAttribute.html deleted file mode 100644 index 3b318391..00000000 --- a/html/javassist/bytecode/class-use/NestHostAttribute.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.NestHostAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.NestHostAttribute

-
-
No usage of javassist.bytecode.NestHostAttribute
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/NestMembersAttribute.html b/html/javassist/bytecode/class-use/NestMembersAttribute.html deleted file mode 100644 index 8878004a..00000000 --- a/html/javassist/bytecode/class-use/NestMembersAttribute.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.NestMembersAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.NestMembersAttribute

-
-
No usage of javassist.bytecode.NestMembersAttribute
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/Opcode.html b/html/javassist/bytecode/class-use/Opcode.html deleted file mode 100644 index 1c980cca..00000000 --- a/html/javassist/bytecode/class-use/Opcode.html +++ /dev/null @@ -1,357 +0,0 @@ - - - - - -Uses of Interface javassist.bytecode.Opcode (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Interface
javassist.bytecode.Opcode

-
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - -
    Packages that use Opcode 
    PackageDescription
    javassist.bytecode -
    Bytecode-level API.
    -
    javassist.bytecode.analysis -
    Bytecode Analysis API.
    -
    javassist.expr -
    This package contains the classes for modifying a method body.
    -
    -
  • -
  • -
      -
    • -
      - - -

      Uses of Opcode in javassist.bytecode

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Classes in javassist.bytecode that implement Opcode 
      Modifier and TypeClassDescription
      class Bytecode -
      A utility class for producing a bytecode sequence.
      -
      class CodeAttribute -
      Code_attribute.
      -
      class CodeIterator -
      An iterator for editing a code attribute.
      -
      class InstructionPrinter -
      Simple utility class for printing the bytecode instructions of a method.
      -
      -
      -
    • -
    • -
      - - -

      Uses of Opcode in javassist.bytecode.analysis

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Classes in javassist.bytecode.analysis that implement Opcode 
      Modifier and TypeClassDescription
      class Analyzer -
      A data-flow analyzer that determines the type state of the stack and local - variable table at every reachable instruction in a method.
      -
      class Executor -
      Executor is responsible for modeling the effects of a JVM instruction on a frame.
      -
      class SubroutineScanner -
      Discovers the subroutines in a method, and tracks all callers.
      -
      class Util -
      A set of common utility methods.
      -
      -
      -
    • -
    • -
      - - -

      Uses of Opcode in javassist.expr

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Classes in javassist.expr that implement Opcode 
      Modifier and TypeClassDescription
      class Cast -
      Explicit type cast.
      -
      class ConstructorCall -
      Constructor call such as this() and super() - within a constructor body.
      -
      class Expr -
      Expression.
      -
      class FieldAccess -
      Expression for accessing a field.
      -
      class Handler -
      A catch clause or a finally block.
      -
      class Instanceof -
      Instanceof operator.
      -
      class MethodCall -
      Method invocation (caller-side expression).
      -
      class NewArray -
      Array creation.
      -
      class NewExpr -
      Object creation (new expression).
      -
      -
      -
    • -
    -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/ParameterAnnotationsAttribute.html b/html/javassist/bytecode/class-use/ParameterAnnotationsAttribute.html deleted file mode 100644 index e29921a2..00000000 --- a/html/javassist/bytecode/class-use/ParameterAnnotationsAttribute.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.ParameterAnnotationsAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.ParameterAnnotationsAttribute

-
-
No usage of javassist.bytecode.ParameterAnnotationsAttribute
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/SignatureAttribute.ArrayType.html b/html/javassist/bytecode/class-use/SignatureAttribute.ArrayType.html deleted file mode 100644 index e69981d3..00000000 --- a/html/javassist/bytecode/class-use/SignatureAttribute.ArrayType.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.SignatureAttribute.ArrayType (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.SignatureAttribute.ArrayType

-
-
No usage of javassist.bytecode.SignatureAttribute.ArrayType
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/SignatureAttribute.BaseType.html b/html/javassist/bytecode/class-use/SignatureAttribute.BaseType.html deleted file mode 100644 index cbbd3b30..00000000 --- a/html/javassist/bytecode/class-use/SignatureAttribute.BaseType.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.SignatureAttribute.BaseType (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.SignatureAttribute.BaseType

-
-
No usage of javassist.bytecode.SignatureAttribute.BaseType
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/SignatureAttribute.ClassSignature.html b/html/javassist/bytecode/class-use/SignatureAttribute.ClassSignature.html deleted file mode 100644 index 866dcf10..00000000 --- a/html/javassist/bytecode/class-use/SignatureAttribute.ClassSignature.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.SignatureAttribute.ClassSignature (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.SignatureAttribute.ClassSignature

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/SignatureAttribute.ClassType.html b/html/javassist/bytecode/class-use/SignatureAttribute.ClassType.html deleted file mode 100644 index be90761f..00000000 --- a/html/javassist/bytecode/class-use/SignatureAttribute.ClassType.html +++ /dev/null @@ -1,278 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.SignatureAttribute.ClassType (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.SignatureAttribute.ClassType

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/SignatureAttribute.MethodSignature.html b/html/javassist/bytecode/class-use/SignatureAttribute.MethodSignature.html deleted file mode 100644 index 2e012625..00000000 --- a/html/javassist/bytecode/class-use/SignatureAttribute.MethodSignature.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.SignatureAttribute.MethodSignature (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.SignatureAttribute.MethodSignature

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/SignatureAttribute.NestedClassType.html b/html/javassist/bytecode/class-use/SignatureAttribute.NestedClassType.html deleted file mode 100644 index 0fec5e03..00000000 --- a/html/javassist/bytecode/class-use/SignatureAttribute.NestedClassType.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.SignatureAttribute.NestedClassType (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.SignatureAttribute.NestedClassType

-
-
No usage of javassist.bytecode.SignatureAttribute.NestedClassType
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/SignatureAttribute.ObjectType.html b/html/javassist/bytecode/class-use/SignatureAttribute.ObjectType.html deleted file mode 100644 index b477b20a..00000000 --- a/html/javassist/bytecode/class-use/SignatureAttribute.ObjectType.html +++ /dev/null @@ -1,321 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.SignatureAttribute.ObjectType (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.SignatureAttribute.ObjectType

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/SignatureAttribute.Type.html b/html/javassist/bytecode/class-use/SignatureAttribute.Type.html deleted file mode 100644 index 536005d0..00000000 --- a/html/javassist/bytecode/class-use/SignatureAttribute.Type.html +++ /dev/null @@ -1,295 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.SignatureAttribute.Type (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.SignatureAttribute.Type

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/SignatureAttribute.TypeArgument.html b/html/javassist/bytecode/class-use/SignatureAttribute.TypeArgument.html deleted file mode 100644 index 19ceefec..00000000 --- a/html/javassist/bytecode/class-use/SignatureAttribute.TypeArgument.html +++ /dev/null @@ -1,235 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.SignatureAttribute.TypeArgument (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.SignatureAttribute.TypeArgument

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/SignatureAttribute.TypeParameter.html b/html/javassist/bytecode/class-use/SignatureAttribute.TypeParameter.html deleted file mode 100644 index d2ddfe5e..00000000 --- a/html/javassist/bytecode/class-use/SignatureAttribute.TypeParameter.html +++ /dev/null @@ -1,236 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.SignatureAttribute.TypeParameter (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.SignatureAttribute.TypeParameter

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/SignatureAttribute.TypeVariable.html b/html/javassist/bytecode/class-use/SignatureAttribute.TypeVariable.html deleted file mode 100644 index 7e92ab02..00000000 --- a/html/javassist/bytecode/class-use/SignatureAttribute.TypeVariable.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.SignatureAttribute.TypeVariable (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.SignatureAttribute.TypeVariable

-
-
No usage of javassist.bytecode.SignatureAttribute.TypeVariable
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/SignatureAttribute.html b/html/javassist/bytecode/class-use/SignatureAttribute.html deleted file mode 100644 index 957f06be..00000000 --- a/html/javassist/bytecode/class-use/SignatureAttribute.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.SignatureAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.SignatureAttribute

-
-
No usage of javassist.bytecode.SignatureAttribute
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/SourceFileAttribute.html b/html/javassist/bytecode/class-use/SourceFileAttribute.html deleted file mode 100644 index 9d8802a0..00000000 --- a/html/javassist/bytecode/class-use/SourceFileAttribute.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.SourceFileAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.SourceFileAttribute

-
-
No usage of javassist.bytecode.SourceFileAttribute
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/StackMap.Walker.html b/html/javassist/bytecode/class-use/StackMap.Walker.html deleted file mode 100644 index 326dbadf..00000000 --- a/html/javassist/bytecode/class-use/StackMap.Walker.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.StackMap.Walker (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.StackMap.Walker

-
-
No usage of javassist.bytecode.StackMap.Walker
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/StackMap.Writer.html b/html/javassist/bytecode/class-use/StackMap.Writer.html deleted file mode 100644 index 11c15c30..00000000 --- a/html/javassist/bytecode/class-use/StackMap.Writer.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.StackMap.Writer (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.StackMap.Writer

-
-
No usage of javassist.bytecode.StackMap.Writer
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/StackMap.html b/html/javassist/bytecode/class-use/StackMap.html deleted file mode 100644 index d44d726f..00000000 --- a/html/javassist/bytecode/class-use/StackMap.html +++ /dev/null @@ -1,229 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.StackMap (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.StackMap

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/StackMapTable.RuntimeCopyException.html b/html/javassist/bytecode/class-use/StackMapTable.RuntimeCopyException.html deleted file mode 100644 index cfee773a..00000000 --- a/html/javassist/bytecode/class-use/StackMapTable.RuntimeCopyException.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.StackMapTable.RuntimeCopyException (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.StackMapTable.RuntimeCopyException

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/StackMapTable.Walker.html b/html/javassist/bytecode/class-use/StackMapTable.Walker.html deleted file mode 100644 index 585f49d3..00000000 --- a/html/javassist/bytecode/class-use/StackMapTable.Walker.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.StackMapTable.Walker (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.StackMapTable.Walker

-
-
No usage of javassist.bytecode.StackMapTable.Walker
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/StackMapTable.Writer.html b/html/javassist/bytecode/class-use/StackMapTable.Writer.html deleted file mode 100644 index 7f4aff46..00000000 --- a/html/javassist/bytecode/class-use/StackMapTable.Writer.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.StackMapTable.Writer (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.StackMapTable.Writer

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/StackMapTable.html b/html/javassist/bytecode/class-use/StackMapTable.html deleted file mode 100644 index 097913a2..00000000 --- a/html/javassist/bytecode/class-use/StackMapTable.html +++ /dev/null @@ -1,230 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.StackMapTable (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.StackMapTable

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/SyntheticAttribute.html b/html/javassist/bytecode/class-use/SyntheticAttribute.html deleted file mode 100644 index 6dc44d32..00000000 --- a/html/javassist/bytecode/class-use/SyntheticAttribute.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.SyntheticAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.SyntheticAttribute

-
-
No usage of javassist.bytecode.SyntheticAttribute
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/class-use/TypeAnnotationsAttribute.html b/html/javassist/bytecode/class-use/TypeAnnotationsAttribute.html deleted file mode 100644 index 72885fc6..00000000 --- a/html/javassist/bytecode/class-use/TypeAnnotationsAttribute.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.bytecode.TypeAnnotationsAttribute (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.bytecode.TypeAnnotationsAttribute

-
-
No usage of javassist.bytecode.TypeAnnotationsAttribute
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/package-summary.html b/html/javassist/bytecode/package-summary.html deleted file mode 100644 index 0c43bde4..00000000 --- a/html/javassist/bytecode/package-summary.html +++ /dev/null @@ -1,599 +0,0 @@ - - - - - -javassist.bytecode (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Package javassist.bytecode

-
-
-
- - -
Bytecode-level API. - -

This package provides low-level API for editing a raw class file. -It allows the users to read and modify a constant pool entry, a single -bytecode instruction, and so on. - -

The users of this package must know the specifications of -class file and Java bytecode. For more details, read this book: - -

  • Tim Lindholm and Frank Yellin, -"The Java Virtual Machine Specification 2nd Ed.", -Addison-Wesley, 1999. -
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/package-tree.html b/html/javassist/bytecode/package-tree.html deleted file mode 100644 index d892cfc4..00000000 --- a/html/javassist/bytecode/package-tree.html +++ /dev/null @@ -1,264 +0,0 @@ - - - - - -javassist.bytecode Class Hierarchy (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Hierarchy For Package javassist.bytecode

-Package Hierarchies: - -
-
-
-

Class Hierarchy

- -
-
-

Interface Hierarchy

- -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/bytecode/package-use.html b/html/javassist/bytecode/package-use.html deleted file mode 100644 index b7089bcd..00000000 --- a/html/javassist/bytecode/package-use.html +++ /dev/null @@ -1,578 +0,0 @@ - - - - - -Uses of Package javassist.bytecode (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Package
javassist.bytecode

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/ByteArrayClassPath.html b/html/javassist/class-use/ByteArrayClassPath.html deleted file mode 100644 index fd8031fb..00000000 --- a/html/javassist/class-use/ByteArrayClassPath.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.ByteArrayClassPath (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.ByteArrayClassPath

-
-
No usage of javassist.ByteArrayClassPath
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/CannotCompileException.html b/html/javassist/class-use/CannotCompileException.html deleted file mode 100644 index 26c0d814..00000000 --- a/html/javassist/class-use/CannotCompileException.html +++ /dev/null @@ -1,1510 +0,0 @@ - - - - - -Uses of Class javassist.CannotCompileException (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.CannotCompileException

-
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Packages that use CannotCompileException 
    PackageDescription
    javassist -
    The Javassist Core API.
    -
    javassist.bytecode -
    Bytecode-level API.
    -
    javassist.expr -
    This package contains the classes for modifying a method body.
    -
    javassist.tools -
    Covenient tools.
    -
    javassist.tools.reflect -
    Runtime Behavioral Reflection.
    -
    javassist.tools.rmi -
    Sample implementation of remote method invocation.
    -
    javassist.tools.web -
    Simple web server for running sample code.
    -
    javassist.util -
    Utility classes.
    -
    javassist.util.proxy -
    Dynamic proxy (similar to Enhancer of cglib).
    -
    -
  • -
  • -
      -
    • -
      - - -

      Uses of CannotCompileException in javassist

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist that throw CannotCompileException 
      Modifier and TypeMethodDescription
      voidCtBehavior.addCatch​(java.lang.String src, - CtClass exceptionType) -
      Adds a catch clause that handles an exception thrown in the - body.
      -
      voidCtBehavior.addCatch​(java.lang.String src, - CtClass exceptionType, - java.lang.String exceptionName) -
      Adds a catch clause that handles an exception thrown in the - body.
      -
      voidCtClass.addConstructor​(CtConstructor c) -
      Adds a constructor.
      -
      voidCtClass.addField​(CtField f) -
      Adds a field.
      -
      voidCtClass.addField​(CtField f, - java.lang.String init) -
      Adds a field with an initial value.
      -
      voidCtClass.addField​(CtField f, - CtField.Initializer init) -
      Adds a field with an initial value.
      -
      voidCtBehavior.addLocalVariable​(java.lang.String name, - CtClass type) -
      Declares a new local variable.
      -
      voidCtClass.addMethod​(CtMethod m) -
      Adds a method.
      -
      voidCtBehavior.addParameter​(CtClass type) -
      Appends a new parameter, which becomes the last parameter.
      -
      voidLoader.addTranslator​(ClassPool cp, - Translator t) -
      Adds a translator, which is called whenever a class is loaded.
      -
      static longSerialVersionUID.calculateDefault​(CtClass clazz) -
      Calculate default value.
      -
      booleanCtConstructor.callsSuper() -
      Returns true if this constructor calls a constructor - of the super class.
      -
      static CtConstructorCtNewConstructor.copy​(CtConstructor c, - CtClass declaring, - ClassMap map) -
      Creates a copy of a constructor.
      -
      static CtMethodCtNewMethod.copy​(CtMethod src, - java.lang.String name, - CtClass declaring, - ClassMap map) -
      Creates a copy of a method with a new name.
      -
      static CtMethodCtNewMethod.copy​(CtMethod src, - CtClass declaring, - ClassMap map) -
      Creates a copy of a method.
      -
      static CtConstructorCtNewConstructor.defaultConstructor​(CtClass declaring) -
      Creates a default (public) constructor.
      -
      static CtMethodCtNewMethod.delegator​(CtMethod delegate, - CtClass declaring) -
      Creates a method forwarding to a delegate in - a super class.
      -
      static CtMethodCtNewMethod.getter​(java.lang.String methodName, - CtField field) -
      Creates a public getter method.
      -
      voidCtBehavior.insertAfter​(java.lang.String src) -
      Inserts bytecode at the end of the body.
      -
      voidCtBehavior.insertAfter​(java.lang.String src, - boolean asFinally) -
      Inserts bytecode at the end of the body.
      -
      voidCodeConverter.insertAfterMethod​(CtMethod origMethod, - CtMethod afterMethod) -
      Inserts a call to another method after an existing method call.
      -
      intCtBehavior.insertAt​(int lineNum, - boolean modify, - java.lang.String src) -
      Inserts bytecode at the specified line in the body.
      -
      intCtBehavior.insertAt​(int lineNum, - java.lang.String src) -
      Inserts bytecode at the specified line in the body.
      -
      voidCtBehavior.insertBefore​(java.lang.String src) -
      Inserts bytecode at the beginning of the body.
      -
      voidCtConstructor.insertBeforeBody​(java.lang.String src) -
      Inserts bytecode just after another constructor in the super class - or this class is called.
      -
      voidCodeConverter.insertBeforeMethod​(CtMethod origMethod, - CtMethod beforeMethod) -
      Insert a call to another method before an existing method call.
      -
      voidCtBehavior.insertParameter​(CtClass type) -
      Inserts a new parameter, which becomes the first parameter.
      -
      voidCtBehavior.instrument​(CodeConverter converter) -
      Modifies the method/constructor body.
      -
      voidCtBehavior.instrument​(ExprEditor editor) -
      Modifies the method/constructor body.
      -
      voidCtClass.instrument​(CodeConverter converter) -
      Applies the given converter to all methods and constructors - declared in the class.
      -
      voidCtClass.instrument​(ExprEditor editor) -
      Modifies the bodies of all methods and constructors - declared in the class.
      -
      java.lang.Class<?>Loader.Simple.invokeDefineClass​(CtClass cc) -
      Invokes the protected defineClass() in ClassLoader.
      -
      static CtFieldCtField.make​(java.lang.String src, - CtClass declaring) -
      Compiles the given source code and creates a field.
      -
      static CtMethodCtMethod.make​(java.lang.String src, - CtClass declaring) -
      Compiles the given source code and creates a method.
      -
      static CtMethodCtMethod.make​(MethodInfo minfo, - CtClass declaring) -
      Creates a method from a MethodInfo object.
      -
      static CtConstructorCtNewConstructor.make​(java.lang.String src, - CtClass declaring) -
      Compiles the given source code and creates a constructor.
      -
      static CtConstructorCtNewConstructor.make​(CtClass[] parameters, - CtClass[] exceptions, - int howto, - CtMethod body, - CtMethod.ConstParameter cparam, - CtClass declaring) -
      Creates a public constructor.
      -
      static CtConstructorCtNewConstructor.make​(CtClass[] parameters, - CtClass[] exceptions, - java.lang.String body, - CtClass declaring) -
      Creates a public constructor.
      -
      static CtConstructorCtNewConstructor.make​(CtClass[] parameters, - CtClass[] exceptions, - CtClass declaring) -
      Creates a public constructor that only calls a constructor - in the super class.
      -
      static CtMethodCtNewMethod.make​(int modifiers, - CtClass returnType, - java.lang.String mname, - CtClass[] parameters, - CtClass[] exceptions, - java.lang.String body, - CtClass declaring) -
      Creates a method.
      -
      static CtMethodCtNewMethod.make​(java.lang.String src, - CtClass declaring) -
      Compiles the given source code and creates a method.
      -
      static CtMethodCtNewMethod.make​(java.lang.String src, - CtClass declaring, - java.lang.String delegateObj, - java.lang.String delegateMethod) -
      Compiles the given source code and creates a method.
      -
      static CtMethodCtNewMethod.make​(CtClass returnType, - java.lang.String mname, - CtClass[] parameters, - CtClass[] exceptions, - java.lang.String body, - CtClass declaring) -
      Creates a public (non-static) method.
      -
      CtConstructorCtClass.makeClassInitializer() -
      Makes an empty class initializer (static constructor).
      -
      voidClassPool.makePackage​(java.lang.ClassLoader loader, - java.lang.String name) -
      Deprecated. 
      -
      voidTranslator.onLoad​(ClassPool pool, - java.lang.String classname) -
      Is invoked by a Loader for notifying that - a class is loaded.
      -
      voidCodeConverter.redirectMethodCall​(java.lang.String oldMethodName, - CtMethod newMethod) -
      Correct invocations to a method that has been renamed.
      -
      voidCodeConverter.redirectMethodCall​(CtMethod origMethod, - CtMethod substMethod) -
      Modify method invocations in a method body so that a different - method will be invoked.
      -
      voidCtBehavior.setBody​(java.lang.String src) -
      Sets a method/constructor body.
      -
      voidCtBehavior.setBody​(java.lang.String src, - java.lang.String delegateObj, - java.lang.String delegateMethod) -
      Sets a method/constructor body.
      -
      voidCtConstructor.setBody​(java.lang.String src) -
      Sets a constructor body.
      -
      voidCtConstructor.setBody​(CtConstructor src, - ClassMap map) -
      Copies a constructor body from another constructor.
      -
      voidCtMethod.setBody​(CtMethod src, - ClassMap map) -
      Copies a method body from another method.
      -
      static voidSerialVersionUID.setSerialVersionUID​(CtClass clazz) -
      Adds serialVersionUID if one does not already exist.
      -
      voidCtClass.setSuperclass​(CtClass clazz) -
      Changes a super class unless this object represents an interface.
      -
      static CtMethodCtNewMethod.setter​(java.lang.String methodName, - CtField field) -
      Creates a public setter method.
      -
      voidCtMethod.setWrappedBody​(CtMethod mbody, - CtMethod.ConstParameter constParam) -
      Replace a method body with a new method body wrapping the - given method.
      -
      static CtConstructorCtNewConstructor.skeleton​(CtClass[] parameters, - CtClass[] exceptions, - CtClass declaring) -
      Creates a public constructor that only calls a constructor - in the super class.
      -
      voidTranslator.start​(ClassPool pool) -
      Is invoked by a Loader for initialization - when the object is attached to the Loader object.
      -
      byte[]CtClass.toBytecode() -
      Converts this class to a class file.
      -
      voidCtClass.toBytecode​(java.io.DataOutputStream out) -
      Converts this class to a class file.
      -
      java.lang.ClassClassPool.toClass​(CtClass clazz) -
      Converts the given class to a java.lang.Class object.
      -
      java.lang.Class<?>ClassPool.toClass​(CtClass ct, - java.lang.Class<?> neighbor) -
      Converts the class to a java.lang.Class object.
      -
      java.lang.ClassClassPool.toClass​(CtClass ct, - java.lang.Class<?> neighbor, - java.lang.ClassLoader loader, - java.security.ProtectionDomain domain) -
      Converts the class to a java.lang.Class object.
      -
      java.lang.ClassClassPool.toClass​(CtClass ct, - java.lang.ClassLoader loader) - -
      java.lang.ClassClassPool.toClass​(CtClass ct, - java.lang.ClassLoader loader, - java.security.ProtectionDomain domain) - -
      java.lang.Class<?>ClassPool.toClass​(CtClass ct, - java.lang.invoke.MethodHandles.Lookup lookup) -
      Converts the class to a java.lang.Class object.
      -
      java.lang.Class<?>CtClass.toClass() -
      Converts this class to a java.lang.Class object.
      -
      java.lang.Class<?>CtClass.toClass​(java.lang.Class<?> neighbor) -
      Converts this class to a java.lang.Class object.
      -
      java.lang.Class<?>CtClass.toClass​(java.lang.ClassLoader loader) - -
      java.lang.Class<?>CtClass.toClass​(java.lang.ClassLoader loader, - java.security.ProtectionDomain domain) -
      Converts this class to a java.lang.Class object.
      -
      java.lang.Class<?>CtClass.toClass​(java.lang.invoke.MethodHandles.Lookup lookup) -
      Converts this class to a java.lang.Class object.
      -
      CtMethodCtConstructor.toMethod​(java.lang.String name, - CtClass declaring) -
      Makes a copy of this constructor and converts it into a method.
      -
      CtMethodCtConstructor.toMethod​(java.lang.String name, - CtClass declaring, - ClassMap map) -
      Makes a copy of this constructor and converts it into a method.
      -
      voidCtBehavior.useCflow​(java.lang.String name) -
      Declares to use $cflow for this method/constructor.
      -
      static CtMethodCtNewMethod.wrapped​(CtClass returnType, - java.lang.String mname, - CtClass[] parameterTypes, - CtClass[] exceptionTypes, - CtMethod body, - CtMethod.ConstParameter constParam, - CtClass declaring) -
      Creates a wrapped method.
      -
      voidCtClass.writeFile() -
      Writes a class file represented by this CtClass - object in the current directory.
      -
      voidCtClass.writeFile​(java.lang.String directoryName) -
      Writes a class file represented by this CtClass - object on a local disk.
      -
      - - - - - - - - - - - - - - - - - - - - - - - - -
      Constructors in javassist that throw CannotCompileException 
      ConstructorDescription
      CtConstructor​(CtConstructor src, - CtClass declaring, - ClassMap map) -
      Creates a copy of a CtConstructor object.
      -
      CtField​(CtClass type, - java.lang.String name, - CtClass declaring) -
      Creates a CtField object.
      -
      CtField​(CtField src, - CtClass declaring) -
      Creates a copy of the given field.
      -
      CtMethod​(CtMethod src, - CtClass declaring, - ClassMap map) -
      Creates a copy of a CtMethod object.
      -
      -
      -
    • -
    • -
      - - -

      Uses of CannotCompileException in javassist.bytecode

      - - - - - - - - - - - - - - -
      Subclasses of CannotCompileException in javassist.bytecode 
      Modifier and TypeClassDescription
      class DuplicateMemberException -
      An exception thrown when adding a duplicate member is requested.
      -
      - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist.bytecode that throw CannotCompileException 
      Modifier and TypeMethodDescription
      voidStackMap.removeNew​(int where) -
      Undocumented method.
      -
      voidStackMapTable.removeNew​(int where) -
      Undocumented method.
      -
      voidClassFile.setSuperclass​(java.lang.String superclass) -
      Sets the super class.
      -
      -
      -
    • -
    • -
      - - -

      Uses of CannotCompileException in javassist.expr

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist.expr that throw CannotCompileException 
      Modifier and TypeMethodDescription
      booleanExprEditor.doit​(CtClass clazz, - MethodInfo minfo) -
      Undocumented method.
      -
      voidExprEditor.edit​(Cast c) -
      Edits an expression for explicit type casting (overridable).
      -
      voidExprEditor.edit​(ConstructorCall c) -
      Edits a constructor call (overridable).
      -
      voidExprEditor.edit​(FieldAccess f) -
      Edits a field-access expression (overridable).
      -
      voidExprEditor.edit​(Handler h) -
      Edits a catch clause (overridable).
      -
      voidExprEditor.edit​(Instanceof i) -
      Edits an instanceof expression (overridable).
      -
      voidExprEditor.edit​(MethodCall m) -
      Edits a method call (overridable).
      -
      voidExprEditor.edit​(NewArray a) -
      Edits an expression for array creation (overridable).
      -
      voidExprEditor.edit​(NewExpr e) -
      Edits a new expression (overridable).
      -
      voidHandler.insertBefore​(java.lang.String src) -
      Inserts bytecode at the beginning of the catch clause.
      -
      voidCast.replace​(java.lang.String statement) -
      Replaces the explicit cast operator with the bytecode derived from - the given source text.
      -
      abstract voidExpr.replace​(java.lang.String statement) -
      Replaces this expression with the bytecode derived from - the given source text.
      -
      voidExpr.replace​(java.lang.String statement, - ExprEditor recursive) -
      Replaces this expression with the bytecode derived from - the given source text and ExprEditor.
      -
      voidFieldAccess.replace​(java.lang.String statement) -
      Replaces the method call with the bytecode derived from - the given source text.
      -
      voidHandler.replace​(java.lang.String statement) -
      This method has not been implemented yet.
      -
      voidInstanceof.replace​(java.lang.String statement) -
      Replaces the instanceof operator with the bytecode derived from - the given source text.
      -
      voidMethodCall.replace​(java.lang.String statement) -
      Replaces the method call with the bytecode derived from - the given source text.
      -
      voidNewArray.replace​(java.lang.String statement) -
      Replaces the array creation with the bytecode derived from - the given source text.
      -
      voidNewExpr.replace​(java.lang.String statement) -
      Replaces the new expression with the bytecode derived from - the given source text.
      -
      -
      -
    • -
    • -
      - - -

      Uses of CannotCompileException in javassist.tools

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist.tools that throw CannotCompileException 
      Modifier and TypeMethodDescription
      static voidCallback.insertAfter​(CtBehavior behavior, - Callback callback) -
      Utility method to inserts callback at the end of the body.
      -
      static voidCallback.insertAfter​(CtBehavior behavior, - Callback callback, - boolean asFinally) -
      Utility method to inserts callback at the end of the body.
      -
      static intCallback.insertAt​(CtBehavior behavior, - Callback callback, - int lineNum) -
      Utility method to inserts callback at the specified line in the body.
      -
      static voidCallback.insertBefore​(CtBehavior behavior, - Callback callback) -
      Utility method to insert callback at the beginning of the body.
      -
      -
      -
    • -
    • -
      - - -

      Uses of CannotCompileException in javassist.tools.reflect

      - - - - - - - - - - - - - - -
      Subclasses of CannotCompileException in javassist.tools.reflect 
      Modifier and TypeClassDescription
      class CannotReflectException -
      Thrown by makeReflective() in Reflection - when there is an attempt to reflect - a class that is either an interface or a subclass of - either ClassMetaobject or Metaobject.
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist.tools.reflect that throw CannotCompileException 
      Modifier and TypeMethodDescription
      booleanLoader.makeReflective​(java.lang.String clazz, - java.lang.String metaobject, - java.lang.String metaclass) -
      Produces a reflective class.
      -
      booleanReflection.makeReflective​(java.lang.Class<?> clazz, - java.lang.Class<?> metaobject, - java.lang.Class<?> metaclass) -
      Produces a reflective class.
      -
      booleanReflection.makeReflective​(java.lang.String classname, - java.lang.String metaobject, - java.lang.String metaclass) -
      Produces a reflective class.
      -
      booleanReflection.makeReflective​(CtClass clazz, - CtClass metaobject, - CtClass metaclass) -
      Produces a reflective class.
      -
      voidReflection.onLoad​(ClassPool pool, - java.lang.String classname) -
      Inserts hooks for intercepting accesses to the fields declared - in reflective classes.
      -
      - - - - - - - - - - - - -
      Constructors in javassist.tools.reflect that throw CannotCompileException 
      ConstructorDescription
      Loader() -
      Constructs a new class loader.
      -
      -
      -
    • -
    • -
      - - -

      Uses of CannotCompileException in javassist.tools.rmi

      - - - - - - - - - - - - - - - - - - - -
      Methods in javassist.tools.rmi that throw CannotCompileException 
      Modifier and TypeMethodDescription
      intAppletServer.exportObject​(java.lang.String name, - java.lang.Object obj) -
      Exports an object.
      -
      booleanStubGenerator.makeProxyClass​(java.lang.Class<?> clazz) -
      Makes a proxy class.
      -
      - - - - - - - - - - - - - - - - - - - - -
      Constructors in javassist.tools.rmi that throw CannotCompileException 
      ConstructorDescription
      AppletServer​(int port) -
      Constructs a web server.
      -
      AppletServer​(int port, - ClassPool src) -
      Constructs a web server.
      -
      AppletServer​(java.lang.String port) -
      Constructs a web server.
      -
      -
      -
    • -
    • -
      - - -

      Uses of CannotCompileException in javassist.tools.web

      - - - - - - - - - - - - - - -
      Methods in javassist.tools.web that throw CannotCompileException 
      Modifier and TypeMethodDescription
      voidWebserver.addTranslator​(ClassPool cp, - Translator t) -
      Adds a translator, which is called whenever a client requests - a class file.
      -
      -
      -
    • -
    • -
      - - -

      Uses of CannotCompileException in javassist.util

      - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist.util that throw CannotCompileException 
      Modifier and TypeMethodDescription
      static java.io.FileHotSwapAgent.createAgentJarFile​(java.lang.String fileName) -
      Creates an agent file for using HotSwapAgent.
      -
      static voidHotSwapAgent.redefine​(java.lang.Class<?>[] oldClasses, - CtClass[] newClasses) -
      Redefines classes.
      -
      static voidHotSwapAgent.redefine​(java.lang.Class<?> oldClass, - CtClass newClass) -
      Redefines a class.
      -
      -
      -
    • -
    • -
      - - -

      Uses of CannotCompileException in javassist.util.proxy

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist.util.proxy that throw CannotCompileException 
      Modifier and TypeMethodDescription
      static voidDefinePackageHelper.definePackage​(java.lang.String className, - java.lang.ClassLoader loader) -
      Defines a new package.
      -
      static java.lang.Class<?>DefineClassHelper.toClass​(java.lang.Class<?> neighbor, - byte[] bcode) -
      Loads a class file by java.lang.invoke.MethodHandles.Lookup.
      -
      static java.lang.Class<?>DefineClassHelper.toClass​(java.lang.invoke.MethodHandles.Lookup lookup, - byte[] bcode) -
      Loads a class file by java.lang.invoke.MethodHandles.Lookup.
      -
      static java.lang.Class<?>DefineClassHelper.toClass​(java.lang.String className, - java.lang.Class<?> neighbor, - java.lang.ClassLoader loader, - java.security.ProtectionDomain domain, - byte[] bcode) -
      Loads a class file by a given class loader.
      -
      static java.lang.Class<?>FactoryHelper.toClass​(ClassFile cf, - java.lang.Class<?> neighbor, - java.lang.ClassLoader loader, - java.security.ProtectionDomain domain) -
      Loads a class file by a given class loader.
      -
      static java.lang.Class<?>FactoryHelper.toClass​(ClassFile cf, - java.lang.ClassLoader loader) -
      Deprecated. 
      -
      static java.lang.Class<?>FactoryHelper.toClass​(ClassFile cf, - java.lang.ClassLoader loader, - java.security.ProtectionDomain domain) -
      Deprecated. 
      -
      static java.lang.Class<?>FactoryHelper.toClass​(ClassFile cf, - java.lang.invoke.MethodHandles.Lookup lookup) -
      Loads a class file by a given lookup.
      -
      static voidFactoryHelper.writeFile​(ClassFile cf, - java.lang.String directoryName) -
      Writes a class file.
      -
      -
      -
    • -
    -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/ClassClassPath.html b/html/javassist/class-use/ClassClassPath.html deleted file mode 100644 index 0a4d5206..00000000 --- a/html/javassist/class-use/ClassClassPath.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.ClassClassPath (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.ClassClassPath

-
-
No usage of javassist.ClassClassPath
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/ClassMap.html b/html/javassist/class-use/ClassMap.html deleted file mode 100644 index f8ac7e4c..00000000 --- a/html/javassist/class-use/ClassMap.html +++ /dev/null @@ -1,276 +0,0 @@ - - - - - -Uses of Class javassist.ClassMap (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.ClassMap

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/ClassPath.html b/html/javassist/class-use/ClassPath.html deleted file mode 100644 index 2a1fabc3..00000000 --- a/html/javassist/class-use/ClassPath.html +++ /dev/null @@ -1,303 +0,0 @@ - - - - - -Uses of Interface javassist.ClassPath (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Interface
javassist.ClassPath

-
-
-
    -
  • - - - - - - - - - - - - -
    Packages that use ClassPath 
    PackageDescription
    javassist -
    The Javassist Core API.
    -
    -
  • -
  • - -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/ClassPool.html b/html/javassist/class-use/ClassPool.html deleted file mode 100644 index c85d7c17..00000000 --- a/html/javassist/class-use/ClassPool.html +++ /dev/null @@ -1,549 +0,0 @@ - - - - - -Uses of Class javassist.ClassPool (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.ClassPool

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/CodeConverter.ArrayAccessReplacementMethodNames.html b/html/javassist/class-use/CodeConverter.ArrayAccessReplacementMethodNames.html deleted file mode 100644 index 02105b73..00000000 --- a/html/javassist/class-use/CodeConverter.ArrayAccessReplacementMethodNames.html +++ /dev/null @@ -1,218 +0,0 @@ - - - - - -Uses of Interface javassist.CodeConverter.ArrayAccessReplacementMethodNames (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Interface
javassist.CodeConverter.ArrayAccessReplacementMethodNames

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/CodeConverter.DefaultArrayAccessReplacementMethodNames.html b/html/javassist/class-use/CodeConverter.DefaultArrayAccessReplacementMethodNames.html deleted file mode 100644 index 0734de2e..00000000 --- a/html/javassist/class-use/CodeConverter.DefaultArrayAccessReplacementMethodNames.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames

-
-
No usage of javassist.CodeConverter.DefaultArrayAccessReplacementMethodNames
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/CodeConverter.html b/html/javassist/class-use/CodeConverter.html deleted file mode 100644 index 81ab50da..00000000 --- a/html/javassist/class-use/CodeConverter.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - - -Uses of Class javassist.CodeConverter (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.CodeConverter

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/CtBehavior.html b/html/javassist/class-use/CtBehavior.html deleted file mode 100644 index 7ccc48bd..00000000 --- a/html/javassist/class-use/CtBehavior.html +++ /dev/null @@ -1,370 +0,0 @@ - - - - - -Uses of Class javassist.CtBehavior (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.CtBehavior

-
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - -
    Packages that use CtBehavior 
    PackageDescription
    javassist -
    The Javassist Core API.
    -
    javassist.expr -
    This package contains the classes for modifying a method body.
    -
    javassist.tools -
    Covenient tools.
    -
    -
  • -
  • -
      -
    • -
      - - -

      Uses of CtBehavior in javassist

      - - - - - - - - - - - - - - - - - - - -
      Subclasses of CtBehavior in javassist 
      Modifier and TypeClassDescription
      class CtConstructor -
      An instance of CtConstructor represents a constructor.
      -
      class CtMethod -
      An instance of CtMethod represents a method.
      -
      - - - - - - - - - - - - - - - - - - - -
      Methods in javassist that return CtBehavior 
      Modifier and TypeMethodDescription
      CtBehavior[]CtClass.getDeclaredBehaviors() -
      Gets all the constructors and methods declared in the class.
      -
      CtBehaviorCtClass.getEnclosingBehavior() -
      Returns the immediately enclosing method of this class.
      -
      -
      -
    • -
    • -
      - - -

      Uses of CtBehavior in javassist.expr

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist.expr that return CtBehavior 
      Modifier and TypeMethodDescription
      CtBehaviorCast.where() -
      Returns the method or constructor containing the type cast - expression represented by this object.
      -
      CtBehaviorExpr.where() -
      Returns the constructor or method containing the expression.
      -
      CtBehaviorFieldAccess.where() -
      Returns the method or constructor containing the field-access - expression represented by this object.
      -
      CtBehaviorHandler.where() -
      Returns the method or constructor containing the catch clause.
      -
      CtBehaviorInstanceof.where() -
      Returns the method or constructor containing the instanceof - expression represented by this object.
      -
      CtBehaviorMethodCall.where() -
      Returns the method or constructor containing the method-call - expression represented by this object.
      -
      CtBehaviorNewArray.where() -
      Returns the method or constructor containing the array creation - represented by this object.
      -
      CtBehaviorNewExpr.where() -
      Returns the method or constructor containing the new - expression represented by this object.
      -
      -
      -
    • -
    • -
      - - -

      Uses of CtBehavior in javassist.tools

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist.tools with parameters of type CtBehavior 
      Modifier and TypeMethodDescription
      static voidCallback.insertAfter​(CtBehavior behavior, - Callback callback) -
      Utility method to inserts callback at the end of the body.
      -
      static voidCallback.insertAfter​(CtBehavior behavior, - Callback callback, - boolean asFinally) -
      Utility method to inserts callback at the end of the body.
      -
      static intCallback.insertAt​(CtBehavior behavior, - Callback callback, - int lineNum) -
      Utility method to inserts callback at the specified line in the body.
      -
      static voidCallback.insertBefore​(CtBehavior behavior, - Callback callback) -
      Utility method to insert callback at the beginning of the body.
      -
      -
      -
    • -
    -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/CtClass.html b/html/javassist/class-use/CtClass.html deleted file mode 100644 index dfdf1813..00000000 --- a/html/javassist/class-use/CtClass.html +++ /dev/null @@ -1,1874 +0,0 @@ - - - - - -Uses of Class javassist.CtClass (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.CtClass

-
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Packages that use CtClass 
    PackageDescription
    javassist -
    The Javassist Core API.
    -
    javassist.bytecode -
    Bytecode-level API.
    -
    javassist.bytecode.analysis -
    Bytecode Analysis API.
    -
    javassist.bytecode.annotation -
    Bytecode-level Annotations API.
    -
    javassist.expr -
    This package contains the classes for modifying a method body.
    -
    javassist.tools.reflect -
    Runtime Behavioral Reflection.
    -
    javassist.util -
    Utility classes.
    -
    -
  • -
  • -
      -
    • -
      - - -

      Uses of CtClass in javassist

      - - - - - - - - - - - - - - -
      Subclasses of CtClass in javassist 
      Modifier and TypeClassDescription
      class CtPrimitiveType -
      An instance of CtPrimitiveType represents a primitive type.
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Fields in javassist declared as CtClass 
      Modifier and TypeFieldDescription
      static CtClassCtClass.booleanType -
      The CtClass object representing - the boolean type.
      -
      static CtClassCtClass.byteType -
      The CtClass object representing - the byte type.
      -
      static CtClassCtClass.charType -
      The CtClass object representing - the char type.
      -
      static CtClassCtClass.doubleType -
      The CtClass object representing - the double type.
      -
      static CtClassCtClass.floatType -
      The CtClass object representing - the float type.
      -
      static CtClassCtClass.intType -
      The CtClass object representing - the int type.
      -
      static CtClassCtClass.longType -
      The CtClass object representing - the long type.
      -
      static CtClassCtClass.shortType -
      The CtClass object representing - the short type.
      -
      static CtClassCtClass.voidType -
      The CtClass object representing - the void type.
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist that return CtClass 
      Modifier and TypeMethodDescription
      CtClassClassPool.get​(java.lang.String classname) -
      Reads a class file from the source and returns a reference - to the CtClass - object representing that class file.
      -
      CtClass[]ClassPool.get​(java.lang.String[] classnames) -
      Reads class files from the source and returns an array of - CtClass - objects representing those class files.
      -
      CtClassClassPool.getAndRename​(java.lang.String orgName, - java.lang.String newName) -
      Reads a class file and constructs a CtClass - object with a new name.
      -
      CtClassCtClass.getComponentType() -
      If this object represents an array, this method returns the component - type of the array.
      -
      CtClassClassPool.getCtClass​(java.lang.String classname) -
      Returns a CtClass object with the given name.
      -
      CtClass[]CtClass.getDeclaredClasses() -
      Returns an array of nested classes declared in the class.
      -
      CtClassCtClass.getDeclaringClass() -
      If this class is a member class or interface of another class, - then the class enclosing this class is returned.
      -
      CtClassCtField.getDeclaringClass() -
      Returns the class declaring the field.
      -
      CtClassCtMember.getDeclaringClass() -
      Returns the class that declares this member.
      -
      CtClass[]CtBehavior.getExceptionTypes() -
      Obtains exceptions that this method/constructor may throw.
      -
      CtClass[]CtClass.getInterfaces() -
      Obtains the class objects representing the interfaces implemented - by the class or, if this object represents an interface, the interfaces - extended by that interface.
      -
      CtClass[]CtClass.getNestedClasses() -
      Returns an array of nested classes declared in the class.
      -
      CtClassClassPool.getOrNull​(java.lang.String classname) -
      Reads a class file from the source and returns a reference - to the CtClass - object representing that class file.
      -
      CtClass[]CtBehavior.getParameterTypes() -
      Obtains parameter types of this method/constructor.
      -
      CtClassCtMethod.getReturnType() -
      Obtains the type of the returned value.
      -
      CtClassCtClass.getSuperclass() -
      Obtains the class object representing the superclass of the - class.
      -
      CtClassCtField.getType() -
      Returns the type of the field.
      -
      CtClassClassPool.makeAnnotation​(java.lang.String name) -
      Creates a new annotation.
      -
      CtClassClassPool.makeClass​(java.io.InputStream classfile) -
      Creates a new class (or interface) from the given class file.
      -
      CtClassClassPool.makeClass​(java.io.InputStream classfile, - boolean ifNotFrozen) -
      Creates a new class (or interface) from the given class file.
      -
      CtClassClassPool.makeClass​(java.lang.String classname) -
      Creates a new public class.
      -
      CtClassClassPool.makeClass​(java.lang.String classname, - CtClass superclass) -
      Creates a new public class.
      -
      CtClassClassPool.makeClass​(ClassFile classfile) -
      Creates a new class (or interface) from the given class file.
      -
      CtClassClassPool.makeClass​(ClassFile classfile, - boolean ifNotFrozen) -
      Creates a new class (or interface) from the given class file.
      -
      CtClassClassPool.makeClassIfNew​(java.io.InputStream classfile) -
      Creates a new class (or interface) from the given class file.
      -
      CtClassClassPool.makeInterface​(java.lang.String name) -
      Creates a new public interface.
      -
      CtClassClassPool.makeInterface​(java.lang.String name, - CtClass superclass) -
      Creates a new public interface.
      -
      CtClassCtClass.makeNestedClass​(java.lang.String name, - boolean isStatic) -
      Makes a new public nested class.
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist with parameters of type CtClass 
      Modifier and TypeMethodDescription
      static CtMethodCtNewMethod.abstractMethod​(CtClass returnType, - java.lang.String mname, - CtClass[] parameters, - CtClass[] exceptions, - CtClass declaring) -
      Creates a public abstract method.
      -
      voidCtBehavior.addCatch​(java.lang.String src, - CtClass exceptionType) -
      Adds a catch clause that handles an exception thrown in the - body.
      -
      voidCtBehavior.addCatch​(java.lang.String src, - CtClass exceptionType, - java.lang.String exceptionName) -
      Adds a catch clause that handles an exception thrown in the - body.
      -
      voidCtClass.addInterface​(CtClass anInterface) -
      Adds an interface.
      -
      voidCtBehavior.addLocalVariable​(java.lang.String name, - CtClass type) -
      Declares a new local variable.
      -
      voidCtBehavior.addParameter​(CtClass type) -
      Appends a new parameter, which becomes the last parameter.
      -
      static CtField.InitializerCtField.Initializer.byCall​(CtClass methodClass, - java.lang.String methodName) -
      Makes an initializer calling a static method.
      -
      static CtField.InitializerCtField.Initializer.byCall​(CtClass methodClass, - java.lang.String methodName, - java.lang.String[] stringParams) -
      Makes an initializer calling a static method.
      -
      static CtField.InitializerCtField.Initializer.byCallWithParams​(CtClass methodClass, - java.lang.String methodName) -
      Makes an initializer calling a static method.
      -
      static CtField.InitializerCtField.Initializer.byCallWithParams​(CtClass methodClass, - java.lang.String methodName, - java.lang.String[] stringParams) -
      Makes an initializer calling a static method.
      -
      static CtField.InitializerCtField.Initializer.byNew​(CtClass objectType) -
      Makes an initializer creating a new object.
      -
      static CtField.InitializerCtField.Initializer.byNew​(CtClass objectType, - java.lang.String[] stringParams) -
      Makes an initializer creating a new object.
      -
      static CtField.InitializerCtField.Initializer.byNewArray​(CtClass type, - int size) -
      Makes an initializer creating a new array.
      -
      static CtField.InitializerCtField.Initializer.byNewArray​(CtClass type, - int[] sizes) -
      Makes an initializer creating a new multi-dimensional array.
      -
      static CtField.InitializerCtField.Initializer.byNewWithParams​(CtClass objectType) -
      Makes an initializer creating a new object.
      -
      static CtField.InitializerCtField.Initializer.byNewWithParams​(CtClass objectType, - java.lang.String[] stringParams) -
      Makes an initializer creating a new object.
      -
      static longSerialVersionUID.calculateDefault​(CtClass clazz) -
      Calculate default value.
      -
      static CtConstructorCtNewConstructor.copy​(CtConstructor c, - CtClass declaring, - ClassMap map) -
      Creates a copy of a constructor.
      -
      static CtMethodCtNewMethod.copy​(CtMethod src, - java.lang.String name, - CtClass declaring, - ClassMap map) -
      Creates a copy of a method with a new name.
      -
      static CtMethodCtNewMethod.copy​(CtMethod src, - CtClass declaring, - ClassMap map) -
      Creates a copy of a method.
      -
      static CtConstructorCtNewConstructor.defaultConstructor​(CtClass declaring) -
      Creates a default (public) constructor.
      -
      static CtMethodCtNewMethod.delegator​(CtMethod delegate, - CtClass declaring) -
      Creates a method forwarding to a delegate in - a super class.
      -
      voidClassMap.fix​(CtClass clazz) -
      Prevents a mapping from the specified class name to another name.
      -
      CtConstructorCtClass.getDeclaredConstructor​(CtClass[] params) -
      Returns a constructor receiving the specified parameters.
      -
      CtMethodCtClass.getDeclaredMethod​(java.lang.String name, - CtClass[] params) -
      Retrieves the method with the specified name and parameter types - among the methods declared in the class.
      -
      voidCtBehavior.insertParameter​(CtClass type) -
      Inserts a new parameter, which becomes the first parameter.
      -
      java.lang.Class<?>Loader.Simple.invokeDefineClass​(CtClass cc) -
      Invokes the protected defineClass() in ClassLoader.
      -
      static CtFieldCtField.make​(java.lang.String src, - CtClass declaring) -
      Compiles the given source code and creates a field.
      -
      static CtMethodCtMethod.make​(java.lang.String src, - CtClass declaring) -
      Compiles the given source code and creates a method.
      -
      static CtMethodCtMethod.make​(MethodInfo minfo, - CtClass declaring) -
      Creates a method from a MethodInfo object.
      -
      static CtConstructorCtNewConstructor.make​(java.lang.String src, - CtClass declaring) -
      Compiles the given source code and creates a constructor.
      -
      static CtConstructorCtNewConstructor.make​(CtClass[] parameters, - CtClass[] exceptions, - int howto, - CtMethod body, - CtMethod.ConstParameter cparam, - CtClass declaring) -
      Creates a public constructor.
      -
      static CtConstructorCtNewConstructor.make​(CtClass[] parameters, - CtClass[] exceptions, - java.lang.String body, - CtClass declaring) -
      Creates a public constructor.
      -
      static CtConstructorCtNewConstructor.make​(CtClass[] parameters, - CtClass[] exceptions, - CtClass declaring) -
      Creates a public constructor that only calls a constructor - in the super class.
      -
      static CtMethodCtNewMethod.make​(int modifiers, - CtClass returnType, - java.lang.String mname, - CtClass[] parameters, - CtClass[] exceptions, - java.lang.String body, - CtClass declaring) -
      Creates a method.
      -
      static CtMethodCtNewMethod.make​(java.lang.String src, - CtClass declaring) -
      Compiles the given source code and creates a method.
      -
      static CtMethodCtNewMethod.make​(java.lang.String src, - CtClass declaring, - java.lang.String delegateObj, - java.lang.String delegateMethod) -
      Compiles the given source code and creates a method.
      -
      static CtMethodCtNewMethod.make​(CtClass returnType, - java.lang.String mname, - CtClass[] parameters, - CtClass[] exceptions, - java.lang.String body, - CtClass declaring) -
      Creates a public (non-static) method.
      -
      CtClassClassPool.makeClass​(java.lang.String classname, - CtClass superclass) -
      Creates a new public class.
      -
      CtClassClassPool.makeInterface​(java.lang.String name, - CtClass superclass) -
      Creates a new public interface.
      -
      voidClassMap.put​(CtClass oldname, - CtClass newname) -
      Maps a class name to another name in this hashtable.
      -
      voidCodeConverter.redirectFieldAccess​(CtField field, - CtClass newClass, - java.lang.String newFieldname) -
      Modify a method body so that field read/write expressions access - a different field from the original one.
      -
      voidCodeConverter.replaceArrayAccess​(CtClass calledClass, - CodeConverter.ArrayAccessReplacementMethodNames names) -
      Modify a method body, so that ALL accesses to an array are replaced with - calls to static methods within another class.
      -
      voidCodeConverter.replaceFieldRead​(CtField field, - CtClass calledClass, - java.lang.String calledMethod) -
      Modify a method body so that an expression reading the specified - field is replaced with a call to the specified static method.
      -
      voidCodeConverter.replaceFieldWrite​(CtField field, - CtClass calledClass, - java.lang.String calledMethod) -
      Modify a method body so that an expression writing the specified - field is replaced with a call to the specified static method.
      -
      voidCodeConverter.replaceNew​(CtClass oldClass, - CtClass newClass) -
      Modify a method body so that instantiation of the class - specified by oldClass - is replaced with instantiation of another class newClass.
      -
      voidCodeConverter.replaceNew​(CtClass newClass, - CtClass calledClass, - java.lang.String calledMethod) -
      Modify a method body so that instantiation of the specified class - is replaced with a call to the specified static method.
      -
      voidCtBehavior.setExceptionTypes​(CtClass[] types) -
      Sets exceptions that this method/constructor may throw.
      -
      voidCtClass.setInterfaces​(CtClass[] list) -
      Sets implemented interfaces.
      -
      static voidSerialVersionUID.setSerialVersionUID​(CtClass clazz) -
      Adds serialVersionUID if one does not already exist.
      -
      voidCtClass.setSuperclass​(CtClass clazz) -
      Changes a super class unless this object represents an interface.
      -
      voidCtField.setType​(CtClass clazz) -
      Sets the type of the field.
      -
      static CtConstructorCtNewConstructor.skeleton​(CtClass[] parameters, - CtClass[] exceptions, - CtClass declaring) -
      Creates a public constructor that only calls a constructor - in the super class.
      -
      booleanCtClass.subclassOf​(CtClass superclass) -
      Determines whether the class directly or indirectly extends - the given class.
      -
      booleanCtClass.subtypeOf​(CtClass clazz) -
      Returns true if this class extends or implements - clazz.
      -
      java.lang.ClassClassPool.toClass​(CtClass clazz) -
      Converts the given class to a java.lang.Class object.
      -
      java.lang.Class<?>ClassPool.toClass​(CtClass ct, - java.lang.Class<?> neighbor) -
      Converts the class to a java.lang.Class object.
      -
      java.lang.ClassClassPool.toClass​(CtClass ct, - java.lang.Class<?> neighbor, - java.lang.ClassLoader loader, - java.security.ProtectionDomain domain) -
      Converts the class to a java.lang.Class object.
      -
      java.lang.ClassClassPool.toClass​(CtClass ct, - java.lang.ClassLoader loader) - -
      java.lang.ClassClassPool.toClass​(CtClass ct, - java.lang.ClassLoader loader, - java.security.ProtectionDomain domain) - -
      java.lang.Class<?>ClassPool.toClass​(CtClass ct, - java.lang.invoke.MethodHandles.Lookup lookup) -
      Converts the class to a java.lang.Class object.
      -
      CtMethodCtConstructor.toMethod​(java.lang.String name, - CtClass declaring) -
      Makes a copy of this constructor and converts it into a method.
      -
      CtMethodCtConstructor.toMethod​(java.lang.String name, - CtClass declaring, - ClassMap map) -
      Makes a copy of this constructor and converts it into a method.
      -
      booleanCtMember.visibleFrom​(CtClass clazz) -
      Returns true if this member is accessible from the given class.
      -
      static CtMethodCtNewMethod.wrapped​(CtClass returnType, - java.lang.String mname, - CtClass[] parameterTypes, - CtClass[] exceptionTypes, - CtMethod body, - CtMethod.ConstParameter constParam, - CtClass declaring) -
      Creates a wrapped method.
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Constructors in javassist with parameters of type CtClass 
      ConstructorDescription
      CtConstructor​(CtClass[] parameters, - CtClass declaring) -
      Creates a constructor with no constructor body.
      -
      CtConstructor​(CtConstructor src, - CtClass declaring, - ClassMap map) -
      Creates a copy of a CtConstructor object.
      -
      CtField​(CtClass type, - java.lang.String name, - CtClass declaring) -
      Creates a CtField object.
      -
      CtField​(CtField src, - CtClass declaring) -
      Creates a copy of the given field.
      -
      CtMethod​(CtClass returnType, - java.lang.String mname, - CtClass[] parameters, - CtClass declaring) -
      Creates a public abstract method.
      -
      CtMethod​(CtMethod src, - CtClass declaring, - ClassMap map) -
      Creates a copy of a CtMethod object.
      -
      -
      -
    • -
    • -
      - - -

      Uses of CtClass in javassist.bytecode

      - - - - - - - - - - - - - - - - - - - -
      Fields in javassist.bytecode declared as CtClass 
      Modifier and TypeFieldDescription
      static CtClassBytecode.THIS -
      Represents the CtClass file using the - constant pool table given to this Bytecode object.
      -
      static CtClassConstPool.THIS -
      Represents the class using this constant pool table.
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist.bytecode that return CtClass 
      Modifier and TypeMethodDescription
      CtClassSignatureAttribute.BaseType.getCtlass() -
      Returns the CtClass representing this - primitive type.
      -
      static CtClass[]Descriptor.getParameterTypes​(java.lang.String desc, - ClassPool cp) -
      Returns the CtClass objects representing the parameter - types specified by the given descriptor.
      -
      static CtClassDescriptor.getReturnType​(java.lang.String desc, - ClassPool cp) -
      Returns the CtClass object representing the return - type specified by the given descriptor.
      -
      static CtClassDescriptor.toCtClass​(java.lang.String desc, - ClassPool cp) -
      Returns a CtClass object representing the type - specified by the given descriptor.
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist.bytecode with parameters of type CtClass 
      Modifier and TypeMethodDescription
      voidBytecode.addAnewarray​(CtClass clazz, - int length) -
      Appends ICONST and ANEWARRAY.
      -
      voidBytecode.addCheckcast​(CtClass c) -
      Appends CHECKCAST.
      -
      intConstPool.addClassInfo​(CtClass c) -
      Adds a new CONSTANT_Class_info structure.
      -
      voidBytecode.addConstZero​(CtClass type) -
      Appends an instruction for pushing zero or null on the stack.
      -
      voidBytecode.addExceptionHandler​(int start, - int end, - int handler, - CtClass type) -
      Adds a new entry of exception_table.
      -
      voidBytecode.addGetfield​(CtClass c, - java.lang.String name, - java.lang.String type) -
      Appends GETFIELD.
      -
      voidBytecode.addGetstatic​(CtClass c, - java.lang.String name, - java.lang.String type) -
      Appends GETSTATIC.
      -
      voidBytecode.addInvokeinterface​(CtClass clazz, - java.lang.String name, - java.lang.String desc, - int count) -
      Appends INVOKEINTERFACE.
      -
      voidBytecode.addInvokeinterface​(CtClass clazz, - java.lang.String name, - CtClass returnType, - CtClass[] paramTypes, - int count) -
      Appends INVOKEINTERFACE.
      -
      voidBytecode.addInvokespecial​(CtClass clazz, - java.lang.String name, - java.lang.String desc) -
      Appends INVOKESPECIAL.
      -
      voidBytecode.addInvokespecial​(CtClass clazz, - java.lang.String name, - CtClass returnType, - CtClass[] paramTypes) -
      Appends INVOKESPECIAL.
      -
      voidBytecode.addInvokestatic​(CtClass clazz, - java.lang.String name, - java.lang.String desc) -
      Appends INVOKESTATIC.
      -
      voidBytecode.addInvokestatic​(CtClass clazz, - java.lang.String name, - CtClass returnType, - CtClass[] paramTypes) -
      Appends INVOKESTATIC.
      -
      voidBytecode.addInvokevirtual​(CtClass clazz, - java.lang.String name, - java.lang.String desc) -
      Appends INVOKEVIRTUAL.
      -
      voidBytecode.addInvokevirtual​(CtClass clazz, - java.lang.String name, - CtClass returnType, - CtClass[] paramTypes) -
      Appends INVOKEVIRTUAL.
      -
      intBytecode.addLoad​(int n, - CtClass type) -
      Appends an instruction for loading a value from the - local variable at the index n.
      -
      intBytecode.addLoadParameters​(CtClass[] params, - int offset) -
      Appends instructions for loading all the parameters onto the - operand stack.
      -
      intBytecode.addMultiNewarray​(CtClass clazz, - int dim) -
      Appends MULTINEWARRAY.
      -
      intBytecode.addMultiNewarray​(CtClass clazz, - int[] dimensions) -
      Appends MULTINEWARRAY.
      -
      voidBytecode.addNew​(CtClass clazz) -
      Appends NEW.
      -
      voidBytecode.addPutfield​(CtClass c, - java.lang.String name, - java.lang.String desc) -
      Appends PUTFIELD.
      -
      voidBytecode.addPutstatic​(CtClass c, - java.lang.String name, - java.lang.String desc) -
      Appends PUTSTATIC.
      -
      voidBytecode.addReturn​(CtClass type) -
      Appends ARETURN, IRETURN, .., or RETURN.
      -
      intBytecode.addStore​(int n, - CtClass type) -
      Appends an instruction for storing a value into the - local variable at the index n.
      -
      static java.lang.StringDescriptor.appendParameter​(CtClass type, - java.lang.String descriptor) -
      Appends a parameter type to the parameter list represented - by the given descriptor.
      -
      static java.lang.StringDescriptor.insertParameter​(CtClass type, - java.lang.String descriptor) -
      Inserts a parameter type at the beginning of the parameter - list represented - by the given descriptor.
      -
      static java.lang.StringDescriptor.of​(CtClass type) -
      Returns the descriptor representing the given type.
      -
      static java.lang.StringDescriptor.ofConstructor​(CtClass[] paramTypes) -
      Returns the descriptor representing a constructor receiving - the given parameter types.
      -
      static java.lang.StringDescriptor.ofMethod​(CtClass returnType, - CtClass[] paramTypes) -
      Returns the descriptor representing a method that receives - the given parameter types and returns the given type.
      -
      static java.lang.StringDescriptor.ofParameters​(CtClass[] paramTypes) -
      Returns the descriptor representing a list of parameter types.
      -
      voidBytecode.setMaxLocals​(boolean isStatic, - CtClass[] params, - int locals) -
      Sets max_locals.
      -
      static java.lang.StringDescriptor.toJvmName​(CtClass clazz) -
      Returns the internal representation of the class name in the - JVM.
      -
      -
      -
    • -
    • -
      - - -

      Uses of CtClass in javassist.bytecode.analysis

      - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist.bytecode.analysis that return CtClass 
      Modifier and TypeMethodDescription
      CtClassMultiArrayType.getCtClass() 
      CtClassMultiType.getCtClass() -
      Gets the class that corresponds with this type.
      -
      CtClassType.getCtClass() -
      Returns the class this type represents.
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist.bytecode.analysis with parameters of type CtClass 
      Modifier and TypeMethodDescription
      Frame[]Analyzer.analyze​(CtClass clazz, - MethodInfo method) -
      Performs data-flow analysis on a method and returns an array, indexed by - instruction position, containing the starting frame state of all reachable - instructions.
      -
      static TypeType.get​(CtClass clazz) -
      Obtain the Type for a given class.
      -
      voidFramePrinter.print​(CtClass clazz) -
      Prints all the methods declared in the given class.
      -
      static voidFramePrinter.print​(CtClass clazz, - java.io.PrintStream stream) -
      Prints all the methods declared in the given class.
      -
      - - - - - - - - - - - - -
      Constructors in javassist.bytecode.analysis with parameters of type CtClass 
      ConstructorDescription
      ControlFlow​(CtClass ctclazz, - MethodInfo minfo) -
      Constructs a control-flow analyzer.
      -
      - - - - - - - - - - - - - - - - -
      Constructor parameters in javassist.bytecode.analysis with type arguments of type CtClass 
      ConstructorDescription
      MultiType​(java.util.Map<java.lang.String,​CtClass> interfaces) 
      MultiType​(java.util.Map<java.lang.String,​CtClass> interfaces, - Type potentialClass) 
      -
      -
    • -
    • -
      - - -

      Uses of CtClass in javassist.bytecode.annotation

      - - - - - - - - - - - - - - -
      Methods in javassist.bytecode.annotation with parameters of type CtClass 
      Modifier and TypeMethodDescription
      static MemberValueAnnotation.createMemberValue​(ConstPool cp, - CtClass type) -
      Makes an instance of MemberValue.
      -
      - - - - - - - - - - - - -
      Constructors in javassist.bytecode.annotation with parameters of type CtClass 
      ConstructorDescription
      Annotation​(ConstPool cp, - CtClass clazz) -
      Constructs an annotation that can be accessed through the interface - represented by clazz.
      -
      -
      -
    • -
    • -
      - - -

      Uses of CtClass in javassist.expr

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist.expr that return CtClass 
      Modifier and TypeMethodDescription
      CtClassNewArray.getComponentType() -
      Returns the type of array components.
      -
      CtClassExpr.getEnclosingClass() -
      Returns the class that declares the method enclosing - this expression.
      -
      CtClassCast.getType() -
      Returns the CtClass object representing - the type specified by the cast.
      -
      CtClassHandler.getType() -
      Returns the type handled by the catch clause.
      -
      CtClassInstanceof.getType() -
      Returns the CtClass object representing - the type name on the right hand side - of the instanceof operator.
      -
      CtClass[]Cast.mayThrow() -
      Returns the list of exceptions that the expression may throw.
      -
      CtClass[]Expr.mayThrow() -
      Returns the list of exceptions that the expression may throw.
      -
      CtClass[]FieldAccess.mayThrow() -
      Returns the list of exceptions that the expression may throw.
      -
      CtClass[]Handler.mayThrow() -
      Returns the list of exceptions that the catch clause may throw.
      -
      CtClass[]Instanceof.mayThrow() -
      Returns the list of exceptions that the expression may throw.
      -
      CtClass[]MethodCall.mayThrow() -
      Returns the list of exceptions that the expression may throw.
      -
      CtClass[]NewArray.mayThrow() -
      Returns the list of exceptions that the expression may throw.
      -
      CtClass[]NewExpr.mayThrow() -
      Returns the list of exceptions that the expression may throw.
      -
      - - - - - - - - - - - - - - -
      Methods in javassist.expr with parameters of type CtClass 
      Modifier and TypeMethodDescription
      booleanExprEditor.doit​(CtClass clazz, - MethodInfo minfo) -
      Undocumented method.
      -
      -
      -
    • -
    • -
      - - -

      Uses of CtClass in javassist.tools.reflect

      - - - - - - - - - - - - - - -
      Methods in javassist.tools.reflect with parameters of type CtClass 
      Modifier and TypeMethodDescription
      booleanReflection.makeReflective​(CtClass clazz, - CtClass metaobject, - CtClass metaclass) -
      Produces a reflective class.
      -
      -
      -
    • -
    • -
      - - -

      Uses of CtClass in javassist.util

      - - - - - - - - - - - - - - - - - - - -
      Methods in javassist.util with parameters of type CtClass 
      Modifier and TypeMethodDescription
      static voidHotSwapAgent.redefine​(java.lang.Class<?>[] oldClasses, - CtClass[] newClasses) -
      Redefines classes.
      -
      static voidHotSwapAgent.redefine​(java.lang.Class<?> oldClass, - CtClass newClass) -
      Redefines a class.
      -
      -
      -
    • -
    -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/CtConstructor.html b/html/javassist/class-use/CtConstructor.html deleted file mode 100644 index 7d29f845..00000000 --- a/html/javassist/class-use/CtConstructor.html +++ /dev/null @@ -1,397 +0,0 @@ - - - - - -Uses of Class javassist.CtConstructor (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.CtConstructor

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/CtField.Initializer.html b/html/javassist/class-use/CtField.Initializer.html deleted file mode 100644 index 57e75952..00000000 --- a/html/javassist/class-use/CtField.Initializer.html +++ /dev/null @@ -1,344 +0,0 @@ - - - - - -Uses of Class javassist.CtField.Initializer (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.CtField.Initializer

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/CtField.html b/html/javassist/class-use/CtField.html deleted file mode 100644 index 8a38d76a..00000000 --- a/html/javassist/class-use/CtField.html +++ /dev/null @@ -1,377 +0,0 @@ - - - - - -Uses of Class javassist.CtField (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.CtField

-
-
-
    -
  • - - - - - - - - - - - - - - - - -
    Packages that use CtField 
    PackageDescription
    javassist -
    The Javassist Core API.
    -
    javassist.expr -
    This package contains the classes for modifying a method body.
    -
    -
  • -
  • -
      -
    • -
      - - -

      Uses of CtField in javassist

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist that return CtField 
      Modifier and TypeMethodDescription
      CtFieldCtClass.getDeclaredField​(java.lang.String name) -
      Retrieves the field with the specified name among the fields - declared in the class.
      -
      CtFieldCtClass.getDeclaredField​(java.lang.String name, - java.lang.String desc) -
      Retrieves the field with the specified name and type among the fields - declared in the class.
      -
      CtField[]CtClass.getDeclaredFields() -
      Gets all the fields declared in the class.
      -
      CtFieldCtClass.getField​(java.lang.String name) -
      Returns the field with the specified name.
      -
      CtFieldCtClass.getField​(java.lang.String name, - java.lang.String desc) -
      Returns the field with the specified name and type.
      -
      CtField[]CtClass.getFields() -
      Returns an array containing CtField objects - representing all the non-private fields of the class.
      -
      static CtFieldCtField.make​(java.lang.String src, - CtClass declaring) -
      Compiles the given source code and creates a field.
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods in javassist with parameters of type CtField 
      Modifier and TypeMethodDescription
      voidCtClass.addField​(CtField f) -
      Adds a field.
      -
      voidCtClass.addField​(CtField f, - java.lang.String init) -
      Adds a field with an initial value.
      -
      voidCtClass.addField​(CtField f, - CtField.Initializer init) -
      Adds a field with an initial value.
      -
      static CtMethodCtNewMethod.getter​(java.lang.String methodName, - CtField field) -
      Creates a public getter method.
      -
      voidCodeConverter.redirectFieldAccess​(CtField field, - CtClass newClass, - java.lang.String newFieldname) -
      Modify a method body so that field read/write expressions access - a different field from the original one.
      -
      voidCtClass.removeField​(CtField f) -
      Removes a field declared in this class.
      -
      voidCodeConverter.replaceFieldRead​(CtField field, - CtClass calledClass, - java.lang.String calledMethod) -
      Modify a method body so that an expression reading the specified - field is replaced with a call to the specified static method.
      -
      voidCodeConverter.replaceFieldWrite​(CtField field, - CtClass calledClass, - java.lang.String calledMethod) -
      Modify a method body so that an expression writing the specified - field is replaced with a call to the specified static method.
      -
      static CtMethodCtNewMethod.setter​(java.lang.String methodName, - CtField field) -
      Creates a public setter method.
      -
      - - - - - - - - - - - - -
      Constructors in javassist with parameters of type CtField 
      ConstructorDescription
      CtField​(CtField src, - CtClass declaring) -
      Creates a copy of the given field.
      -
      -
      -
    • -
    • -
      - - -

      Uses of CtField in javassist.expr

      - - - - - - - - - - - - - - -
      Methods in javassist.expr that return CtField 
      Modifier and TypeMethodDescription
      CtFieldFieldAccess.getField() -
      Returns the field accessed by this expression.
      -
      -
      -
    • -
    -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/CtMember.html b/html/javassist/class-use/CtMember.html deleted file mode 100644 index ab8a4863..00000000 --- a/html/javassist/class-use/CtMember.html +++ /dev/null @@ -1,219 +0,0 @@ - - - - - -Uses of Class javassist.CtMember (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.CtMember

-
-
-
    -
  • - - - - - - - - - - - - -
    Packages that use CtMember 
    PackageDescription
    javassist -
    The Javassist Core API.
    -
    -
  • -
  • -
      -
    • -
      - - -

      Uses of CtMember in javassist

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Subclasses of CtMember in javassist 
      Modifier and TypeClassDescription
      class CtBehavior -
      CtBehavior represents a method, a constructor, - or a static constructor (class initializer).
      -
      class CtConstructor -
      An instance of CtConstructor represents a constructor.
      -
      class CtField -
      An instance of CtField represents a field.
      -
      class CtMethod -
      An instance of CtMethod represents a method.
      -
      -
      -
    • -
    -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/CtMethod.ConstParameter.html b/html/javassist/class-use/CtMethod.ConstParameter.html deleted file mode 100644 index 4c100c75..00000000 --- a/html/javassist/class-use/CtMethod.ConstParameter.html +++ /dev/null @@ -1,255 +0,0 @@ - - - - - -Uses of Class javassist.CtMethod.ConstParameter (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.CtMethod.ConstParameter

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/CtMethod.html b/html/javassist/class-use/CtMethod.html deleted file mode 100644 index 6880f8bc..00000000 --- a/html/javassist/class-use/CtMethod.html +++ /dev/null @@ -1,681 +0,0 @@ - - - - - -Uses of Class javassist.CtMethod (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.CtMethod

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/CtNewConstructor.html b/html/javassist/class-use/CtNewConstructor.html deleted file mode 100644 index f6aaa48f..00000000 --- a/html/javassist/class-use/CtNewConstructor.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.CtNewConstructor (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.CtNewConstructor

-
-
No usage of javassist.CtNewConstructor
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/CtNewMethod.html b/html/javassist/class-use/CtNewMethod.html deleted file mode 100644 index d302a1c6..00000000 --- a/html/javassist/class-use/CtNewMethod.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.CtNewMethod (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.CtNewMethod

-
-
No usage of javassist.CtNewMethod
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/CtPrimitiveType.html b/html/javassist/class-use/CtPrimitiveType.html deleted file mode 100644 index 5f0203a7..00000000 --- a/html/javassist/class-use/CtPrimitiveType.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.CtPrimitiveType (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.CtPrimitiveType

-
-
No usage of javassist.CtPrimitiveType
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/Loader.Simple.html b/html/javassist/class-use/Loader.Simple.html deleted file mode 100644 index e59f95d5..00000000 --- a/html/javassist/class-use/Loader.Simple.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.Loader.Simple (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.Loader.Simple

-
-
No usage of javassist.Loader.Simple
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/Loader.html b/html/javassist/class-use/Loader.html deleted file mode 100644 index 68cb85e0..00000000 --- a/html/javassist/class-use/Loader.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - -Uses of Class javassist.Loader (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.Loader

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/LoaderClassPath.html b/html/javassist/class-use/LoaderClassPath.html deleted file mode 100644 index df8de5ed..00000000 --- a/html/javassist/class-use/LoaderClassPath.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.LoaderClassPath (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.LoaderClassPath

-
-
No usage of javassist.LoaderClassPath
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/Modifier.html b/html/javassist/class-use/Modifier.html deleted file mode 100644 index 12218121..00000000 --- a/html/javassist/class-use/Modifier.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.Modifier (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.Modifier

-
-
No usage of javassist.Modifier
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/NotFoundException.html b/html/javassist/class-use/NotFoundException.html deleted file mode 100644 index b64844c3..00000000 --- a/html/javassist/class-use/NotFoundException.html +++ /dev/null @@ -1,995 +0,0 @@ - - - - - -Uses of Class javassist.NotFoundException (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.NotFoundException

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/SerialVersionUID.html b/html/javassist/class-use/SerialVersionUID.html deleted file mode 100644 index f44c634d..00000000 --- a/html/javassist/class-use/SerialVersionUID.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.SerialVersionUID (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.SerialVersionUID

-
-
No usage of javassist.SerialVersionUID
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/Translator.html b/html/javassist/class-use/Translator.html deleted file mode 100644 index de2065d1..00000000 --- a/html/javassist/class-use/Translator.html +++ /dev/null @@ -1,290 +0,0 @@ - - - - - -Uses of Interface javassist.Translator (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Interface
javassist.Translator

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/class-use/URLClassPath.html b/html/javassist/class-use/URLClassPath.html deleted file mode 100644 index de712c8d..00000000 --- a/html/javassist/class-use/URLClassPath.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.URLClassPath (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.URLClassPath

-
-
No usage of javassist.URLClassPath
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/expr/Cast.html b/html/javassist/expr/Cast.html deleted file mode 100644 index bbe2038d..00000000 --- a/html/javassist/expr/Cast.html +++ /dev/null @@ -1,436 +0,0 @@ - - - - - -Cast (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Cast

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Opcode
    -
    -
    -
    public class Cast
    -extends Expr
    -
    Explicit type cast.
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        where

        -
        public CtBehavior where()
        -
        Returns the method or constructor containing the type cast - expression represented by this object.
        -
        -
        Overrides:
        -
        where in class Expr
        -
        -
      • -
      - - - -
        -
      • -

        getLineNumber

        -
        public int getLineNumber()
        -
        Returns the line number of the source line containing the - type-cast expression.
        -
        -
        Overrides:
        -
        getLineNumber in class Expr
        -
        Returns:
        -
        -1 if this information is not available.
        -
        -
      • -
      - - - -
        -
      • -

        getFileName

        -
        public java.lang.String getFileName()
        -
        Returns the source file containing the type-cast expression.
        -
        -
        Overrides:
        -
        getFileName in class Expr
        -
        Returns:
        -
        null if this information is not available.
        -
        -
      • -
      - - - - - - - -
        -
      • -

        mayThrow

        -
        public CtClass[] mayThrow()
        -
        Returns the list of exceptions that the expression may throw. - This list includes both the exceptions that the try-catch statements - including the expression can catch and the exceptions that - the throws declaration allows the method to throw.
        -
        -
        Overrides:
        -
        mayThrow in class Expr
        -
        -
      • -
      - - - -
        -
      • -

        replace

        -
        public void replace​(java.lang.String statement)
        -             throws CannotCompileException
        -
        Replaces the explicit cast operator with the bytecode derived from - the given source text. - -

        $0 is available but the value is null.

        -
        -
        Specified by:
        -
        replace in class Expr
        -
        Parameters:
        -
        statement - a Java statement except try-catch.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/expr/ConstructorCall.html b/html/javassist/expr/ConstructorCall.html deleted file mode 100644 index 03a43af2..00000000 --- a/html/javassist/expr/ConstructorCall.html +++ /dev/null @@ -1,396 +0,0 @@ - - - - - -ConstructorCall (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ConstructorCall

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Opcode
    -
    -
    -
    public class ConstructorCall
    -extends MethodCall
    -
    Constructor call such as this() and super() - within a constructor body.
    -
    -
    See Also:
    -
    NewExpr
    -
    -
  • -
-
-
- -
-
- -
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/expr/Expr.html b/html/javassist/expr/Expr.html deleted file mode 100644 index 4336df67..00000000 --- a/html/javassist/expr/Expr.html +++ /dev/null @@ -1,460 +0,0 @@ - - - - - -Expr (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Expr

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.expr.Expr
    • -
    -
  • -
-
- -
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getEnclosingClass

        -
        public CtClass getEnclosingClass()
        -
        Returns the class that declares the method enclosing - this expression.
        -
        -
        Since:
        -
        3.7
        -
        -
      • -
      - - - -
        -
      • -

        where

        -
        public CtBehavior where()
        -
        Returns the constructor or method containing the expression.
        -
      • -
      - - - -
        -
      • -

        mayThrow

        -
        public CtClass[] mayThrow()
        -
        Returns the list of exceptions that the expression may throw. This list - includes both the exceptions that the try-catch statements including the - expression can catch and the exceptions that the throws declaration - allows the method to throw.
        -
      • -
      - - - -
        -
      • -

        indexOfBytecode

        -
        public int indexOfBytecode()
        -
        Returns the index of the bytecode corresponding to the expression. It is - the index into the byte array containing the Java bytecode that - implements the method.
        -
      • -
      - - - -
        -
      • -

        getLineNumber

        -
        public int getLineNumber()
        -
        Returns the line number of the source line containing the expression.
        -
        -
        Returns:
        -
        -1 if this information is not available.
        -
        -
      • -
      - - - -
        -
      • -

        getFileName

        -
        public java.lang.String getFileName()
        -
        Returns the source file containing the expression.
        -
        -
        Returns:
        -
        null if this information is not available.
        -
        -
      • -
      - - - -
        -
      • -

        replace

        -
        public abstract void replace​(java.lang.String statement)
        -                      throws CannotCompileException
        -
        Replaces this expression with the bytecode derived from - the given source text.
        -
        -
        Parameters:
        -
        statement - a Java statement except try-catch.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        replace

        -
        public void replace​(java.lang.String statement,
        -                    ExprEditor recursive)
        -             throws CannotCompileException
        -
        Replaces this expression with the bytecode derived from - the given source text and ExprEditor.
        -
        -
        Parameters:
        -
        statement - a Java statement except try-catch.
        -
        recursive - if not null, the substituted bytecode - is recursively processed by the given - ExprEditor.
        -
        Throws:
        -
        CannotCompileException
        -
        Since:
        -
        3.1
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/expr/ExprEditor.html b/html/javassist/expr/ExprEditor.html deleted file mode 100644 index 7585cadc..00000000 --- a/html/javassist/expr/ExprEditor.html +++ /dev/null @@ -1,562 +0,0 @@ - - - - - -ExprEditor (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ExprEditor

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.expr.ExprEditor
    • -
    -
  • -
-
-
    -
  • -
    -
    public class ExprEditor
    -extends java.lang.Object
    -
    A translator of method bodies. - -

    The users can define a subclass of this class to customize how to - modify a method body. The overall architecture is similar to the - strategy pattern. - -

    If instrument() is called in - CtMethod, the method body is scanned from the beginning - to the end. - Whenever an expression, such as a method call and a new - expression (object creation), - is found, edit() is called in ExprEdit. - edit() can inspect and modify the given expression. - The modification is reflected on the original method body. If - edit() does nothing, the original method body is not - changed. - -

    The following code is an example: - -

    - CtMethod cm = ...;
    - cm.instrument(new ExprEditor() {
    -     public void edit(MethodCall m) throws CannotCompileException {
    -         if (m.getClassName().equals("Point")) {
    -             System.out.println(m.getMethodName() + " line: "
    -                                + m.getLineNumber());
    -     }
    - });
    - 
    - -

    This code inspects all method calls appearing in the method represented - by cm and it prints the names and the line numbers of the - methods declared in class Point. This code does not modify - the body of the method represented by cm. If the method - body must be modified, call replace() - in MethodCall.

    -
    -
    See Also:
    -
    CtClass.instrument(ExprEditor), -CtBehavior.instrument(ExprEditor), -CtBehavior.instrument(ExprEditor), -MethodCall, -NewExpr, -FieldAccess, -CodeConverter
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      ExprEditor() -
      Default constructor.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      booleandoit​(CtClass clazz, - MethodInfo minfo) -
      Undocumented method.
      -
      voidedit​(Cast c) -
      Edits an expression for explicit type casting (overridable).
      -
      voidedit​(ConstructorCall c) -
      Edits a constructor call (overridable).
      -
      voidedit​(FieldAccess f) -
      Edits a field-access expression (overridable).
      -
      voidedit​(Handler h) -
      Edits a catch clause (overridable).
      -
      voidedit​(Instanceof i) -
      Edits an instanceof expression (overridable).
      -
      voidedit​(MethodCall m) -
      Edits a method call (overridable).
      -
      voidedit​(NewArray a) -
      Edits an expression for array creation (overridable).
      -
      voidedit​(NewExpr e) -
      Edits a new expression (overridable).
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
- -
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/expr/FieldAccess.html b/html/javassist/expr/FieldAccess.html deleted file mode 100644 index 140dcd31..00000000 --- a/html/javassist/expr/FieldAccess.html +++ /dev/null @@ -1,546 +0,0 @@ - - - - - -FieldAccess (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class FieldAccess

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Opcode
    -
    -
    -
    public class FieldAccess
    -extends Expr
    -
    Expression for accessing a field.
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        where

        -
        public CtBehavior where()
        -
        Returns the method or constructor containing the field-access - expression represented by this object.
        -
        -
        Overrides:
        -
        where in class Expr
        -
        -
      • -
      - - - -
        -
      • -

        getLineNumber

        -
        public int getLineNumber()
        -
        Returns the line number of the source line containing the - field access.
        -
        -
        Overrides:
        -
        getLineNumber in class Expr
        -
        Returns:
        -
        -1 if this information is not available.
        -
        -
      • -
      - - - -
        -
      • -

        getFileName

        -
        public java.lang.String getFileName()
        -
        Returns the source file containing the field access.
        -
        -
        Overrides:
        -
        getFileName in class Expr
        -
        Returns:
        -
        null if this information is not available.
        -
        -
      • -
      - - - -
        -
      • -

        isStatic

        -
        public boolean isStatic()
        -
        Returns true if the field is static.
        -
      • -
      - - - -
        -
      • -

        isReader

        -
        public boolean isReader()
        -
        Returns true if the field is read.
        -
      • -
      - - - -
        -
      • -

        isWriter

        -
        public boolean isWriter()
        -
        Returns true if the field is written in.
        -
      • -
      - - - -
        -
      • -

        getClassName

        -
        public java.lang.String getClassName()
        -
        Returns the name of the class in which the field is declared.
        -
      • -
      - - - -
        -
      • -

        getFieldName

        -
        public java.lang.String getFieldName()
        -
        Returns the name of the field.
        -
      • -
      - - - - - - - -
        -
      • -

        mayThrow

        -
        public CtClass[] mayThrow()
        -
        Returns the list of exceptions that the expression may throw. - This list includes both the exceptions that the try-catch statements - including the expression can catch and the exceptions that - the throws declaration allows the method to throw.
        -
        -
        Overrides:
        -
        mayThrow in class Expr
        -
        -
      • -
      - - - -
        -
      • -

        getSignature

        -
        public java.lang.String getSignature()
        -
        Returns the signature of the field type. - The signature is represented by a character string - called field descriptor, which is defined in the JVM specification.
        -
        -
        Since:
        -
        3.1
        -
        See Also:
        -
        Descriptor.toCtClass(String, ClassPool)
        -
        -
      • -
      - - - -
        -
      • -

        replace

        -
        public void replace​(java.lang.String statement)
        -             throws CannotCompileException
        -
        Replaces the method call with the bytecode derived from - the given source text. - -

        $0 is available even if the called method is static. - If the field access is writing, $_ is available but the value - of $_ is ignored.

        -
        -
        Specified by:
        -
        replace in class Expr
        -
        Parameters:
        -
        statement - a Java statement except try-catch.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/expr/Handler.html b/html/javassist/expr/Handler.html deleted file mode 100644 index 79697592..00000000 --- a/html/javassist/expr/Handler.html +++ /dev/null @@ -1,467 +0,0 @@ - - - - - -Handler (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Handler

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Opcode
    -
    -
    -
    public class Handler
    -extends Expr
    -
    A catch clause or a finally block.
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        where

        -
        public CtBehavior where()
        -
        Returns the method or constructor containing the catch clause.
        -
        -
        Overrides:
        -
        where in class Expr
        -
        -
      • -
      - - - -
        -
      • -

        getLineNumber

        -
        public int getLineNumber()
        -
        Returns the source line number of the catch clause.
        -
        -
        Overrides:
        -
        getLineNumber in class Expr
        -
        Returns:
        -
        -1 if this information is not available.
        -
        -
      • -
      - - - -
        -
      • -

        getFileName

        -
        public java.lang.String getFileName()
        -
        Returns the source file containing the catch clause.
        -
        -
        Overrides:
        -
        getFileName in class Expr
        -
        Returns:
        -
        null if this information is not available.
        -
        -
      • -
      - - - -
        -
      • -

        mayThrow

        -
        public CtClass[] mayThrow()
        -
        Returns the list of exceptions that the catch clause may throw.
        -
        -
        Overrides:
        -
        mayThrow in class Expr
        -
        -
      • -
      - - - - - - - -
        -
      • -

        isFinally

        -
        public boolean isFinally()
        -
        Returns true if this is a finally block.
        -
      • -
      - - - -
        -
      • -

        replace

        -
        public void replace​(java.lang.String statement)
        -             throws CannotCompileException
        -
        This method has not been implemented yet.
        -
        -
        Specified by:
        -
        replace in class Expr
        -
        Parameters:
        -
        statement - a Java statement except try-catch.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      - - - -
        -
      • -

        insertBefore

        -
        public void insertBefore​(java.lang.String src)
        -                  throws CannotCompileException
        -
        Inserts bytecode at the beginning of the catch clause. - The caught exception is stored in $1.
        -
        -
        Parameters:
        -
        src - the source code representing the inserted bytecode. - It must be a single statement or block.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/expr/Instanceof.html b/html/javassist/expr/Instanceof.html deleted file mode 100644 index 402674a2..00000000 --- a/html/javassist/expr/Instanceof.html +++ /dev/null @@ -1,440 +0,0 @@ - - - - - -Instanceof (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Instanceof

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Opcode
    -
    -
    -
    public class Instanceof
    -extends Expr
    -
    Instanceof operator.
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        where

        -
        public CtBehavior where()
        -
        Returns the method or constructor containing the instanceof - expression represented by this object.
        -
        -
        Overrides:
        -
        where in class Expr
        -
        -
      • -
      - - - -
        -
      • -

        getLineNumber

        -
        public int getLineNumber()
        -
        Returns the line number of the source line containing the - instanceof expression.
        -
        -
        Overrides:
        -
        getLineNumber in class Expr
        -
        Returns:
        -
        -1 if this information is not available.
        -
        -
      • -
      - - - -
        -
      • -

        getFileName

        -
        public java.lang.String getFileName()
        -
        Returns the source file containing the - instanceof expression.
        -
        -
        Overrides:
        -
        getFileName in class Expr
        -
        Returns:
        -
        null if this information is not available.
        -
        -
      • -
      - - - -
        -
      • -

        getType

        -
        public CtClass getType()
        -                throws NotFoundException
        -
        Returns the CtClass object representing - the type name on the right hand side - of the instanceof operator.
        -
        -
        Throws:
        -
        NotFoundException
        -
        -
      • -
      - - - -
        -
      • -

        mayThrow

        -
        public CtClass[] mayThrow()
        -
        Returns the list of exceptions that the expression may throw. - This list includes both the exceptions that the try-catch statements - including the expression can catch and the exceptions that - the throws declaration allows the method to throw.
        -
        -
        Overrides:
        -
        mayThrow in class Expr
        -
        -
      • -
      - - - -
        -
      • -

        replace

        -
        public void replace​(java.lang.String statement)
        -             throws CannotCompileException
        -
        Replaces the instanceof operator with the bytecode derived from - the given source text. - -

        $0 is available but the value is null.

        -
        -
        Specified by:
        -
        replace in class Expr
        -
        Parameters:
        -
        statement - a Java statement except try-catch.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/expr/MethodCall.html b/html/javassist/expr/MethodCall.html deleted file mode 100644 index e1af521a..00000000 --- a/html/javassist/expr/MethodCall.html +++ /dev/null @@ -1,521 +0,0 @@ - - - - - -MethodCall (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class MethodCall

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Opcode
    -
    -
    -
    Direct Known Subclasses:
    -
    ConstructorCall
    -
    -
    -
    public class MethodCall
    -extends Expr
    -
    Method invocation (caller-side expression).
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        where

        -
        public CtBehavior where()
        -
        Returns the method or constructor containing the method-call - expression represented by this object.
        -
        -
        Overrides:
        -
        where in class Expr
        -
        -
      • -
      - - - -
        -
      • -

        getLineNumber

        -
        public int getLineNumber()
        -
        Returns the line number of the source line containing the - method call.
        -
        -
        Overrides:
        -
        getLineNumber in class Expr
        -
        Returns:
        -
        -1 if this information is not available.
        -
        -
      • -
      - - - -
        -
      • -

        getFileName

        -
        public java.lang.String getFileName()
        -
        Returns the source file containing the method call.
        -
        -
        Overrides:
        -
        getFileName in class Expr
        -
        Returns:
        -
        null if this information is not available.
        -
        -
      • -
      - - - -
        -
      • -

        getClassName

        -
        public java.lang.String getClassName()
        -
        Returns the class name of the target object, - which the method is called on.
        -
      • -
      - - - -
        -
      • -

        getMethodName

        -
        public java.lang.String getMethodName()
        -
        Returns the name of the called method.
        -
      • -
      - - - - - - - -
        -
      • -

        getSignature

        -
        public java.lang.String getSignature()
        -
        Returns the method signature (the parameter types - and the return type). - The method signature is represented by a character string - called method descriptor, which is defined in the JVM specification.
        -
        -
        Since:
        -
        3.1
        -
        See Also:
        -
        CtBehavior.getSignature(), -Descriptor
        -
        -
      • -
      - - - -
        -
      • -

        mayThrow

        -
        public CtClass[] mayThrow()
        -
        Returns the list of exceptions that the expression may throw. - This list includes both the exceptions that the try-catch statements - including the expression can catch and the exceptions that - the throws declaration allows the method to throw.
        -
        -
        Overrides:
        -
        mayThrow in class Expr
        -
        -
      • -
      - - - -
        -
      • -

        isSuper

        -
        public boolean isSuper()
        -
        Returns true if the called method is of a superclass of the current - class.
        -
      • -
      - - - -
        -
      • -

        replace

        -
        public void replace​(java.lang.String statement)
        -             throws CannotCompileException
        -
        Replaces the method call with the bytecode derived from - the given source text. - -

        $0 is available even if the called method is static.

        -
        -
        Specified by:
        -
        replace in class Expr
        -
        Parameters:
        -
        statement - a Java statement except try-catch.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/expr/NewArray.html b/html/javassist/expr/NewArray.html deleted file mode 100644 index 96ead0e9..00000000 --- a/html/javassist/expr/NewArray.html +++ /dev/null @@ -1,478 +0,0 @@ - - - - - -NewArray (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class NewArray

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Opcode
    -
    -
    -
    public class NewArray
    -extends Expr
    -
    Array creation. - -

    This class does not provide methods for obtaining the initial - values of array elements.

    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        where

        -
        public CtBehavior where()
        -
        Returns the method or constructor containing the array creation - represented by this object.
        -
        -
        Overrides:
        -
        where in class Expr
        -
        -
      • -
      - - - -
        -
      • -

        getLineNumber

        -
        public int getLineNumber()
        -
        Returns the line number of the source line containing the - array creation.
        -
        -
        Overrides:
        -
        getLineNumber in class Expr
        -
        Returns:
        -
        -1 if this information is not available.
        -
        -
      • -
      - - - -
        -
      • -

        getFileName

        -
        public java.lang.String getFileName()
        -
        Returns the source file containing the array creation.
        -
        -
        Overrides:
        -
        getFileName in class Expr
        -
        Returns:
        -
        null if this information is not available.
        -
        -
      • -
      - - - -
        -
      • -

        mayThrow

        -
        public CtClass[] mayThrow()
        -
        Returns the list of exceptions that the expression may throw. - This list includes both the exceptions that the try-catch statements - including the expression can catch and the exceptions that - the throws declaration allows the method to throw.
        -
        -
        Overrides:
        -
        mayThrow in class Expr
        -
        -
      • -
      - - - -
        -
      • -

        getComponentType

        -
        public CtClass getComponentType()
        -                         throws NotFoundException
        -
        Returns the type of array components. If the created array is - a two-dimensional array of int, - the type returned by this method is - not int[] but int.
        -
        -
        Throws:
        -
        NotFoundException
        -
        -
      • -
      - - - -
        -
      • -

        getDimension

        -
        public int getDimension()
        -
        Returns the dimension of the created array.
        -
      • -
      - - - -
        -
      • -

        getCreatedDimensions

        -
        public int getCreatedDimensions()
        -
        Returns the number of dimensions of arrays to be created. - If the opcode is multianewarray, this method returns the second - operand. Otherwise, it returns 1.
        -
      • -
      - - - -
        -
      • -

        replace

        -
        public void replace​(java.lang.String statement)
        -             throws CannotCompileException
        -
        Replaces the array creation with the bytecode derived from - the given source text. - -

        $0 is available even if the called method is static. - If the field access is writing, $_ is available but the value - of $_ is ignored.

        -
        -
        Specified by:
        -
        replace in class Expr
        -
        Parameters:
        -
        statement - a Java statement except try-catch.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/expr/NewExpr.html b/html/javassist/expr/NewExpr.html deleted file mode 100644 index 4f8804c7..00000000 --- a/html/javassist/expr/NewExpr.html +++ /dev/null @@ -1,481 +0,0 @@ - - - - - -NewExpr (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class NewExpr

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Opcode
    -
    -
    -
    public class NewExpr
    -extends Expr
    -
    Object creation (new expression).
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        where

        -
        public CtBehavior where()
        -
        Returns the method or constructor containing the new - expression represented by this object.
        -
        -
        Overrides:
        -
        where in class Expr
        -
        -
      • -
      - - - -
        -
      • -

        getLineNumber

        -
        public int getLineNumber()
        -
        Returns the line number of the source line containing the - new expression.
        -
        -
        Overrides:
        -
        getLineNumber in class Expr
        -
        Returns:
        -
        -1 if this information is not available.
        -
        -
      • -
      - - - -
        -
      • -

        getFileName

        -
        public java.lang.String getFileName()
        -
        Returns the source file containing the new expression.
        -
        -
        Overrides:
        -
        getFileName in class Expr
        -
        Returns:
        -
        null if this information is not available.
        -
        -
      • -
      - - - -
        -
      • -

        getClassName

        -
        public java.lang.String getClassName()
        -
        Returns the class name of the created object.
        -
      • -
      - - - -
        -
      • -

        getSignature

        -
        public java.lang.String getSignature()
        -
        Get the signature of the constructor - - The signature is represented by a character string - called method descriptor, which is defined in the JVM specification.
        -
        -
        Returns:
        -
        the signature
        -
        See Also:
        -
        CtBehavior.getSignature(), -Descriptor
        -
        -
      • -
      - - - - - - - -
        -
      • -

        mayThrow

        -
        public CtClass[] mayThrow()
        -
        Returns the list of exceptions that the expression may throw. - This list includes both the exceptions that the try-catch statements - including the expression can catch and the exceptions that - the throws declaration allows the method to throw.
        -
        -
        Overrides:
        -
        mayThrow in class Expr
        -
        -
      • -
      - - - -
        -
      • -

        replace

        -
        public void replace​(java.lang.String statement)
        -             throws CannotCompileException
        -
        Replaces the new expression with the bytecode derived from - the given source text. - -

        $0 is available but the value is null.

        -
        -
        Specified by:
        -
        replace in class Expr
        -
        Parameters:
        -
        statement - a Java statement except try-catch.
        -
        Throws:
        -
        CannotCompileException
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/expr/class-use/Cast.html b/html/javassist/expr/class-use/Cast.html deleted file mode 100644 index c15636c2..00000000 --- a/html/javassist/expr/class-use/Cast.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - -Uses of Class javassist.expr.Cast (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.expr.Cast

-
-
-
    -
  • - - - - - - - - - - - - -
    Packages that use Cast 
    PackageDescription
    javassist.expr -
    This package contains the classes for modifying a method body.
    -
    -
  • -
  • -
      -
    • -
      - - -

      Uses of Cast in javassist.expr

      - - - - - - - - - - - - - - -
      Methods in javassist.expr with parameters of type Cast 
      Modifier and TypeMethodDescription
      voidExprEditor.edit​(Cast c) -
      Edits an expression for explicit type casting (overridable).
      -
      -
      -
    • -
    -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/expr/class-use/ConstructorCall.html b/html/javassist/expr/class-use/ConstructorCall.html deleted file mode 100644 index f3313564..00000000 --- a/html/javassist/expr/class-use/ConstructorCall.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - -Uses of Class javassist.expr.ConstructorCall (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.expr.ConstructorCall

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/expr/class-use/Expr.html b/html/javassist/expr/class-use/Expr.html deleted file mode 100644 index e0bc1b2e..00000000 --- a/html/javassist/expr/class-use/Expr.html +++ /dev/null @@ -1,247 +0,0 @@ - - - - - -Uses of Class javassist.expr.Expr (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.expr.Expr

-
-
-
    -
  • - - - - - - - - - - - - -
    Packages that use Expr 
    PackageDescription
    javassist.expr -
    This package contains the classes for modifying a method body.
    -
    -
  • -
  • -
      -
    • -
      - - -

      Uses of Expr in javassist.expr

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Subclasses of Expr in javassist.expr 
      Modifier and TypeClassDescription
      class Cast -
      Explicit type cast.
      -
      class ConstructorCall -
      Constructor call such as this() and super() - within a constructor body.
      -
      class FieldAccess -
      Expression for accessing a field.
      -
      class Handler -
      A catch clause or a finally block.
      -
      class Instanceof -
      Instanceof operator.
      -
      class MethodCall -
      Method invocation (caller-side expression).
      -
      class NewArray -
      Array creation.
      -
      class NewExpr -
      Object creation (new expression).
      -
      -
      -
    • -
    -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/expr/class-use/ExprEditor.html b/html/javassist/expr/class-use/ExprEditor.html deleted file mode 100644 index 0227e5d9..00000000 --- a/html/javassist/expr/class-use/ExprEditor.html +++ /dev/null @@ -1,237 +0,0 @@ - - - - - -Uses of Class javassist.expr.ExprEditor (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.expr.ExprEditor

-
-
-
    -
  • - - - - - - - - - - - - - - - - -
    Packages that use ExprEditor 
    PackageDescription
    javassist -
    The Javassist Core API.
    -
    javassist.expr -
    This package contains the classes for modifying a method body.
    -
    -
  • -
  • - -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/expr/class-use/FieldAccess.html b/html/javassist/expr/class-use/FieldAccess.html deleted file mode 100644 index 42b9aa98..00000000 --- a/html/javassist/expr/class-use/FieldAccess.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - -Uses of Class javassist.expr.FieldAccess (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.expr.FieldAccess

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/expr/class-use/Handler.html b/html/javassist/expr/class-use/Handler.html deleted file mode 100644 index f936e02e..00000000 --- a/html/javassist/expr/class-use/Handler.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - -Uses of Class javassist.expr.Handler (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.expr.Handler

-
-
-
    -
  • - - - - - - - - - - - - -
    Packages that use Handler 
    PackageDescription
    javassist.expr -
    This package contains the classes for modifying a method body.
    -
    -
  • -
  • - -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/expr/class-use/Instanceof.html b/html/javassist/expr/class-use/Instanceof.html deleted file mode 100644 index 20462c9b..00000000 --- a/html/javassist/expr/class-use/Instanceof.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - -Uses of Class javassist.expr.Instanceof (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.expr.Instanceof

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/expr/class-use/MethodCall.html b/html/javassist/expr/class-use/MethodCall.html deleted file mode 100644 index 75c5bf6d..00000000 --- a/html/javassist/expr/class-use/MethodCall.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - - -Uses of Class javassist.expr.MethodCall (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.expr.MethodCall

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/expr/class-use/NewArray.html b/html/javassist/expr/class-use/NewArray.html deleted file mode 100644 index 4fc9e176..00000000 --- a/html/javassist/expr/class-use/NewArray.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - -Uses of Class javassist.expr.NewArray (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.expr.NewArray

-
-
-
    -
  • - - - - - - - - - - - - -
    Packages that use NewArray 
    PackageDescription
    javassist.expr -
    This package contains the classes for modifying a method body.
    -
    -
  • -
  • - -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/expr/class-use/NewExpr.html b/html/javassist/expr/class-use/NewExpr.html deleted file mode 100644 index f4ff0d52..00000000 --- a/html/javassist/expr/class-use/NewExpr.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - -Uses of Class javassist.expr.NewExpr (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.expr.NewExpr

-
-
-
    -
  • - - - - - - - - - - - - -
    Packages that use NewExpr 
    PackageDescription
    javassist.expr -
    This package contains the classes for modifying a method body.
    -
    -
  • -
  • - -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/expr/package-summary.html b/html/javassist/expr/package-summary.html deleted file mode 100644 index 31df2714..00000000 --- a/html/javassist/expr/package-summary.html +++ /dev/null @@ -1,230 +0,0 @@ - - - - - -javassist.expr (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Package javassist.expr

-
-
-
- - -

This package contains the classes for modifying a method body. -See ExprEditor (expression editor) for more details.

-
-
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    Cast -
    Explicit type cast.
    -
    ConstructorCall -
    Constructor call such as this() and super() - within a constructor body.
    -
    Expr -
    Expression.
    -
    ExprEditor -
    A translator of method bodies.
    -
    FieldAccess -
    Expression for accessing a field.
    -
    Handler -
    A catch clause or a finally block.
    -
    Instanceof -
    Instanceof operator.
    -
    MethodCall -
    Method invocation (caller-side expression).
    -
    NewArray -
    Array creation.
    -
    NewExpr -
    Object creation (new expression).
    -
    -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/expr/package-tree.html b/html/javassist/expr/package-tree.html deleted file mode 100644 index ebece0c0..00000000 --- a/html/javassist/expr/package-tree.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - -javassist.expr Class Hierarchy (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Hierarchy For Package javassist.expr

-Package Hierarchies: - -
-
-
-

Class Hierarchy

- -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/expr/package-use.html b/html/javassist/expr/package-use.html deleted file mode 100644 index 3eb15306..00000000 --- a/html/javassist/expr/package-use.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - -Uses of Package javassist.expr (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Package
javassist.expr

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/package-summary.html b/html/javassist/package-summary.html deleted file mode 100644 index fc14b295..00000000 --- a/html/javassist/package-summary.html +++ /dev/null @@ -1,384 +0,0 @@ - - - - - -javassist (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Package javassist

-
-
-
- - -
The Javassist Core API. - -

Javassist (Java programming assistant) makes bytecode -engineering simple. It is a class library for editing -bytecode in Java; it enables Java programs to define a new class at -runtime and to modify a given class file when the JVM loads it. - -

The most significant class of this package is CtClass. -See the description of this class first. - -

To know the version number of this package, type the following command: - -

-java -jar javassist.jar
-
- -

It prints the version number on the console.

-
-
    -
  • - - - - - - - - - - - - - - - - - - - - -
    Interface Summary 
    InterfaceDescription
    ClassPath -
    ClassPath is an interface implemented by objects - representing a class search path.
    -
    CodeConverter.ArrayAccessReplacementMethodNames -
    Interface containing the method names to be used - as array access replacements.
    -
    Translator -
    An observer of Loader.
    -
    -
  • -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    ByteArrayClassPath -
    A ByteArrayClassPath contains bytes that is served as - a class file to a ClassPool.
    -
    ClassClassPath -
    A search-path for obtaining a class file - by getResourceAsStream() in java.lang.Class.
    -
    ClassMap -
    A hash table associating class names with different names.
    -
    ClassPool -
    A container of CtClass objects.
    -
    CodeConverter -
    Simple translator of method bodies - (also see the javassist.expr package).
    -
    CodeConverter.DefaultArrayAccessReplacementMethodNames -
    Default implementation of the ArrayAccessReplacementMethodNames - interface giving default values for method names to be used for replacing - accesses to array elements.
    -
    CtBehavior -
    CtBehavior represents a method, a constructor, - or a static constructor (class initializer).
    -
    CtClass -
    An instance of CtClass represents a class.
    -
    CtConstructor -
    An instance of CtConstructor represents a constructor.
    -
    CtField -
    An instance of CtField represents a field.
    -
    CtField.Initializer -
    Instances of this class specify how to initialize a field.
    -
    CtMember -
    An instance of CtMember represents a field, a constructor, - or a method.
    -
    CtMethod -
    An instance of CtMethod represents a method.
    -
    CtMethod.ConstParameter -
    Instances of this class represent a constant parameter.
    -
    CtNewConstructor -
    A collection of static methods for creating a CtConstructor.
    -
    CtNewMethod -
    A collection of static methods for creating a CtMethod.
    -
    CtPrimitiveType -
    An instance of CtPrimitiveType represents a primitive type.
    -
    Loader -
    The class loader for Javassist.
    -
    Loader.Simple -
    A simpler class loader.
    -
    LoaderClassPath -
    A class search-path representing a class loader.
    -
    Modifier -
    The Modifier class provides static methods and constants to decode - class and member access modifiers.
    -
    SerialVersionUID -
    Utility for calculating serialVersionUIDs for Serializable classes.
    -
    URLClassPath -
    A class search-path specified with URL (http).
    -
    -
  • -
  • - - - - - - - - - - - - - - - - -
    Exception Summary 
    ExceptionDescription
    CannotCompileException -
    Thrown when bytecode transformation has failed.
    -
    NotFoundException -
    Signals that something could not be found.
    -
    -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/package-tree.html b/html/javassist/package-tree.html deleted file mode 100644 index 6e1fc351..00000000 --- a/html/javassist/package-tree.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - -javassist Class Hierarchy (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Hierarchy For Package javassist

-Package Hierarchies: - -
-
-
-

Class Hierarchy

- -
-
-

Interface Hierarchy

- -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/package-use.html b/html/javassist/package-use.html deleted file mode 100644 index e094261b..00000000 --- a/html/javassist/package-use.html +++ /dev/null @@ -1,703 +0,0 @@ - - - - - -Uses of Package javassist (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Package
javassist

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/runtime/Cflow.html b/html/javassist/runtime/Cflow.html deleted file mode 100644 index 0d1662e9..00000000 --- a/html/javassist/runtime/Cflow.html +++ /dev/null @@ -1,363 +0,0 @@ - - - - - -Cflow (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Cflow

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.lang.ThreadLocal<javassist.runtime.Cflow.Depth>
    • -
    • -
        -
      • javassist.runtime.Cflow
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    public class Cflow
    -extends java.lang.ThreadLocal<javassist.runtime.Cflow.Depth>
    -
    A support class for implementing $cflow. - This support class is required at runtime - only if $cflow is used.
    -
    -
    See Also:
    -
    CtBehavior.useCflow(String)
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Cflow() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidenter() -
      Increments the counter.
      -
      voidexit() -
      Decrements the counter.
      -
      intvalue() -
      Returns the value of the counter.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.ThreadLocal

        -get, remove, set, withInitial
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Cflow

        -
        public Cflow()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        enter

        -
        public void enter()
        -
        Increments the counter.
        -
      • -
      - - - -
        -
      • -

        exit

        -
        public void exit()
        -
        Decrements the counter.
        -
      • -
      - - - -
        -
      • -

        value

        -
        public int value()
        -
        Returns the value of the counter.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/runtime/Desc.html b/html/javassist/runtime/Desc.html deleted file mode 100644 index 96c89408..00000000 --- a/html/javassist/runtime/Desc.html +++ /dev/null @@ -1,451 +0,0 @@ - - - - - -Desc (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Desc

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.runtime.Desc
    • -
    -
  • -
-
-
    -
  • -
    -
    public class Desc
    -extends java.lang.Object
    -
    A support class for implementing $sig and - $type. - This support class is required at runtime - only if $sig or $type is used.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static booleanuseContextClassLoader -
      Specifies how a java.lang.Class object is loaded.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Desc() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static java.lang.Class<?>getClazz​(java.lang.String name) -
      Interprets the given class name.
      -
      static java.lang.Class<?>[]getParams​(java.lang.String desc) -
      Interprets the given type descriptor representing a method - signature.
      -
      static java.lang.Class<?>getType​(java.lang.String desc) -
      Interprets the given type descriptor.
      -
      static voidresetUseContextClassLoaderLocally() -
      Changes so that the current thread will not use the context class loader - when a class is loaded.
      -
      static voidsetUseContextClassLoaderLocally() -
      Changes so that the current thread will use the context class loader - when a class is loaded.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        useContextClassLoader

        -
        public static boolean useContextClassLoader
        -
        Specifies how a java.lang.Class object is loaded. - -

        If true, it is loaded by: -

        Thread.currentThread().getContextClassLoader().loadClass()
        -

        If false, it is loaded by Class.forName(). - The default value is false.

        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Desc

        -
        public Desc()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setUseContextClassLoaderLocally

        -
        public static void setUseContextClassLoaderLocally()
        -
        Changes so that the current thread will use the context class loader - when a class is loaded. - This method changes the behavior per thread unlike useContextClassLoader.
        -
        -
        Since:
        -
        3.25
        -
        -
      • -
      - - - -
        -
      • -

        resetUseContextClassLoaderLocally

        -
        public static void resetUseContextClassLoaderLocally()
        -
        Changes so that the current thread will not use the context class loader - when a class is loaded. - Call this method before releasing the current thread for reuse. - It invokes ThreadLocal.remvoe().
        -
        -
        Since:
        -
        3.25
        -
        -
      • -
      - - - -
        -
      • -

        getClazz

        -
        public static java.lang.Class<?> getClazz​(java.lang.String name)
        -
        Interprets the given class name. - It is used for implementing $class.
        -
      • -
      - - - -
        -
      • -

        getParams

        -
        public static java.lang.Class<?>[] getParams​(java.lang.String desc)
        -
        Interprets the given type descriptor representing a method - signature. It is used for implementing $sig.
        -
      • -
      - - - -
        -
      • -

        getType

        -
        public static java.lang.Class<?> getType​(java.lang.String desc)
        -
        Interprets the given type descriptor. - It is used for implementing $type.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/runtime/DotClass.html b/html/javassist/runtime/DotClass.html deleted file mode 100644 index c324a6b8..00000000 --- a/html/javassist/runtime/DotClass.html +++ /dev/null @@ -1,311 +0,0 @@ - - - - - -DotClass (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class DotClass

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.runtime.DotClass
    • -
    -
  • -
-
-
    -
  • -
    -
    public class DotClass
    -extends java.lang.Object
    -
    A support class for implementing .class notation. - This is required at runtime - only if .class notation is used in source code given - to the Javassist compiler.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      DotClass() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static java.lang.NoClassDefFoundErrorfail​(java.lang.ClassNotFoundException e) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        DotClass

        -
        public DotClass()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        fail

        -
        public static java.lang.NoClassDefFoundError fail​(java.lang.ClassNotFoundException e)
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/runtime/Inner.html b/html/javassist/runtime/Inner.html deleted file mode 100644 index 7094cdec..00000000 --- a/html/javassist/runtime/Inner.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - -Inner (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Inner

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.runtime.Inner
    • -
    -
  • -
-
-
    -
  • -
    -
    public class Inner
    -extends java.lang.Object
    -
    A support class for compiling a method declared in an inner class. - This support class is required at runtime - only if the method calls a private constructor in the enclosing class.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Inner() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Inner

        -
        public Inner()
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/runtime/class-use/Cflow.html b/html/javassist/runtime/class-use/Cflow.html deleted file mode 100644 index 881f36a8..00000000 --- a/html/javassist/runtime/class-use/Cflow.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.runtime.Cflow (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.runtime.Cflow

-
-
No usage of javassist.runtime.Cflow
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/runtime/class-use/Desc.html b/html/javassist/runtime/class-use/Desc.html deleted file mode 100644 index b72a3ba9..00000000 --- a/html/javassist/runtime/class-use/Desc.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.runtime.Desc (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.runtime.Desc

-
-
No usage of javassist.runtime.Desc
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/runtime/class-use/DotClass.html b/html/javassist/runtime/class-use/DotClass.html deleted file mode 100644 index b696c792..00000000 --- a/html/javassist/runtime/class-use/DotClass.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.runtime.DotClass (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.runtime.DotClass

-
-
No usage of javassist.runtime.DotClass
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/runtime/class-use/Inner.html b/html/javassist/runtime/class-use/Inner.html deleted file mode 100644 index c852e808..00000000 --- a/html/javassist/runtime/class-use/Inner.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.runtime.Inner (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.runtime.Inner

-
-
No usage of javassist.runtime.Inner
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/runtime/package-summary.html b/html/javassist/runtime/package-summary.html deleted file mode 100644 index e2ed84ce..00000000 --- a/html/javassist/runtime/package-summary.html +++ /dev/null @@ -1,199 +0,0 @@ - - - - - -javassist.runtime (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Package javassist.runtime

-
-
-
- - -
Runtime support classes required by modified bytecode. - -

This package includes support classes that may be required by -classes modified with Javassist. Note that most of the modified -classes do not require these support classes. See the documentation -of every support class to know which kind of modification needs -a support class.

-
-
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    Cflow -
    A support class for implementing $cflow.
    -
    Desc -
    A support class for implementing $sig and - $type.
    -
    DotClass -
    A support class for implementing .class notation.
    -
    Inner -
    A support class for compiling a method declared in an inner class.
    -
    -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/runtime/package-tree.html b/html/javassist/runtime/package-tree.html deleted file mode 100644 index fbb68cd5..00000000 --- a/html/javassist/runtime/package-tree.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - -javassist.runtime Class Hierarchy (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Hierarchy For Package javassist.runtime

-Package Hierarchies: - -
-
-
-

Class Hierarchy

-
    -
  • java.lang.Object -
      -
    • javassist.runtime.Desc
    • -
    • javassist.runtime.DotClass
    • -
    • javassist.runtime.Inner
    • -
    • java.lang.ThreadLocal<T> -
        -
      • javassist.runtime.Cflow
      • -
      -
    • -
    -
  • -
-
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/runtime/package-use.html b/html/javassist/runtime/package-use.html deleted file mode 100644 index e9cc6143..00000000 --- a/html/javassist/runtime/package-use.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Package javassist.runtime (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Package
javassist.runtime

-
-
No usage of javassist.runtime
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/Callback.html b/html/javassist/tools/Callback.html deleted file mode 100644 index 2a93b770..00000000 --- a/html/javassist/tools/Callback.html +++ /dev/null @@ -1,554 +0,0 @@ - - - - - -Callback (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Callback

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.tools.Callback
    • -
    -
  • -
-
-
    -
  • -
    -
    public abstract class Callback
    -extends java.lang.Object
    -
    Creates bytecode that when executed calls back to the instance's result method. - -

    Example of how to create and insert a callback:

    -
    - ctMethod.insertAfter(new Callback("Thread.currentThread()") {
    -     public void result(Object[] objects) {
    -         Thread thread = (Thread) objects[0];
    -         // do something with thread...
    -     }
    - }.sourceCode());
    - 
    -

    Contains utility methods for inserts callbacks in CtBehaviour, example:

    -
    - insertAfter(ctBehaviour, new Callback("Thread.currentThread(), dummyString") {
    -     public void result(Object[] objects) {
    -         Thread thread = (Thread) objects[0];
    -         // do something with thread...
    -     }
    - });
    - 
    -
    -
    Author:
    -
    Marten Hedborg, Shigeru Chiba
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static java.util.Map<java.lang.String,​Callback>callbacks 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Callback​(java.lang.String src) -
      Constructs a new Callback object.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static voidinsertAfter​(CtBehavior behavior, - Callback callback) -
      Utility method to inserts callback at the end of the body.
      -
      static voidinsertAfter​(CtBehavior behavior, - Callback callback, - boolean asFinally) -
      Utility method to inserts callback at the end of the body.
      -
      static intinsertAt​(CtBehavior behavior, - Callback callback, - int lineNum) -
      Utility method to inserts callback at the specified line in the body.
      -
      static voidinsertBefore​(CtBehavior behavior, - Callback callback) -
      Utility method to insert callback at the beginning of the body.
      -
      abstract voidresult​(java.lang.Object[] objects) -
      Gets called when bytecode is executed
      -
      java.lang.StringsourceCode() 
      java.lang.StringtoString() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        callbacks

        -
        public static java.util.Map<java.lang.String,​Callback> callbacks
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Callback

        -
        public Callback​(java.lang.String src)
        -
        Constructs a new Callback object.
        -
        -
        Parameters:
        -
        src - The source code representing the inserted callback bytecode. - Can be one or many single statements each returning one object. - If many single statements are used they must be comma separated.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        result

        -
        public abstract void result​(java.lang.Object[] objects)
        -
        Gets called when bytecode is executed
        -
        -
        Parameters:
        -
        objects - Objects that the bytecode in callback returns
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        sourceCode

        -
        public java.lang.String sourceCode()
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        insertAfter

        -
        public static void insertAfter​(CtBehavior behavior,
        -                               Callback callback,
        -                               boolean asFinally)
        -                        throws CannotCompileException
        -
        Utility method to inserts callback at the end of the body. - The callback is inserted just before every return instruction. - It is not executed when an exception is thrown.
        -
        -
        Parameters:
        -
        behavior - The behaviour to insert callback in
        -
        callback - The callback representing the inserted.
        -
        asFinally - True if the inserted is executed - Not only when the control normally returns - but also when an exception is thrown. - If this parameter is true, the inserted code cannot - access local variables.
        -
        Throws:
        -
        CannotCompileException
        -
        See Also:
        -
        CtBehavior.insertAfter(String, boolean)
        -
        -
      • -
      - - - -
        -
      • -

        insertAt

        -
        public static int insertAt​(CtBehavior behavior,
        -                           Callback callback,
        -                           int lineNum)
        -                    throws CannotCompileException
        -
        Utility method to inserts callback at the specified line in the body.
        -
        -
        Parameters:
        -
        behavior - The behaviour to insert callback in
        -
        callback - The callback representing.
        -
        lineNum - The line number. The callback is inserted at the - beginning of the code at the line specified by this - line number.
        -
        Returns:
        -
        The line number at which the callback has been inserted.
        -
        Throws:
        -
        CannotCompileException
        -
        See Also:
        -
        CtBehavior.insertAt(int, String)
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/Dump.html b/html/javassist/tools/Dump.html deleted file mode 100644 index 3d656d3f..00000000 --- a/html/javassist/tools/Dump.html +++ /dev/null @@ -1,286 +0,0 @@ - - - - - -Dump (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Dump

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.tools.Dump
    • -
    -
  • -
-
-
    -
  • -
    -
    public class Dump
    -extends java.lang.Object
    -
    Dump is a tool for viewing the class definition in the given - class file. Unlike the JDK javap tool, Dump works even if - the class file is broken. - -

    For example, -

    % java javassist.tools.Dump foo.class
    - -

    prints the contents of the constant pool and the list of methods - and fields.

    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static voidmain​(java.lang.String[] args) -
      Main method.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        main

        -
        public static void main​(java.lang.String[] args)
        -                 throws java.lang.Exception
        -
        Main method.
        -
        -
        Parameters:
        -
        args - args[0] is the class file name.
        -
        Throws:
        -
        java.lang.Exception
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/class-use/Callback.html b/html/javassist/tools/class-use/Callback.html deleted file mode 100644 index 9f4adf5b..00000000 --- a/html/javassist/tools/class-use/Callback.html +++ /dev/null @@ -1,239 +0,0 @@ - - - - - -Uses of Class javassist.tools.Callback (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.tools.Callback

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/class-use/Dump.html b/html/javassist/tools/class-use/Dump.html deleted file mode 100644 index 1b3b55c6..00000000 --- a/html/javassist/tools/class-use/Dump.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.tools.Dump (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.tools.Dump

-
-
No usage of javassist.tools.Dump
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/class-use/framedump.html b/html/javassist/tools/class-use/framedump.html deleted file mode 100644 index c7470f00..00000000 --- a/html/javassist/tools/class-use/framedump.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.tools.framedump (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.tools.framedump

-
-
No usage of javassist.tools.framedump
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/framedump.html b/html/javassist/tools/framedump.html deleted file mode 100644 index 426c7fd2..00000000 --- a/html/javassist/tools/framedump.html +++ /dev/null @@ -1,282 +0,0 @@ - - - - - -framedump (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class framedump

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.tools.framedump
    • -
    -
  • -
-
-
    -
  • -
    -
    public class framedump
    -extends java.lang.Object
    -
    framedump is a tool for viewing a merged combination of the instructions and frame state - of all methods in a class. - -

    For example, -

    % java javassist.tools.framedump foo.class
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static voidmain​(java.lang.String[] args) -
      Main method.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        main

        -
        public static void main​(java.lang.String[] args)
        -                 throws java.lang.Exception
        -
        Main method.
        -
        -
        Parameters:
        -
        args - args[0] is the class file name.
        -
        Throws:
        -
        java.lang.Exception
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/package-summary.html b/html/javassist/tools/package-summary.html deleted file mode 100644 index d75af051..00000000 --- a/html/javassist/tools/package-summary.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - -javassist.tools (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Package javassist.tools

-
-
-
- - -
Covenient tools.
-
-
    -
  • - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    Callback -
    Creates bytecode that when executed calls back to the instance's result method.
    -
    Dump -
    Dump is a tool for viewing the class definition in the given - class file.
    -
    framedump -
    framedump is a tool for viewing a merged combination of the instructions and frame state - of all methods in a class.
    -
    -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/package-tree.html b/html/javassist/tools/package-tree.html deleted file mode 100644 index 6304cb5e..00000000 --- a/html/javassist/tools/package-tree.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - -javassist.tools Class Hierarchy (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Hierarchy For Package javassist.tools

-Package Hierarchies: - -
-
-
-

Class Hierarchy

- -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/package-use.html b/html/javassist/tools/package-use.html deleted file mode 100644 index 2927572b..00000000 --- a/html/javassist/tools/package-use.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - -Uses of Package javassist.tools (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Package
javassist.tools

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/reflect/CannotCreateException.html b/html/javassist/tools/reflect/CannotCreateException.html deleted file mode 100644 index 7f29443e..00000000 --- a/html/javassist/tools/reflect/CannotCreateException.html +++ /dev/null @@ -1,308 +0,0 @@ - - - - - -CannotCreateException (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class CannotCreateException

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.lang.Throwable
    • -
    • -
        -
      • java.lang.Exception
      • -
      • -
          -
        • javassist.tools.reflect.CannotCreateException
        • -
        -
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    public class CannotCreateException
    -extends java.lang.Exception
    -
    Signals that ClassMetaobject.newInstance() fails.
    -
    -
    See Also:
    -
    Serialized Form
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        CannotCreateException

        -
        public CannotCreateException​(java.lang.String s)
        -
      • -
      - - - -
        -
      • -

        CannotCreateException

        -
        public CannotCreateException​(java.lang.Exception e)
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/reflect/CannotInvokeException.html b/html/javassist/tools/reflect/CannotInvokeException.html deleted file mode 100644 index 61423e74..00000000 --- a/html/javassist/tools/reflect/CannotInvokeException.html +++ /dev/null @@ -1,396 +0,0 @@ - - - - - -CannotInvokeException (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class CannotInvokeException

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.lang.Throwable
    • -
    • -
        -
      • java.lang.Exception
      • -
      • -
          -
        • java.lang.RuntimeException
        • -
        • -
            -
          • javassist.tools.reflect.CannotInvokeException
          • -
          -
        • -
        -
      • -
      -
    • -
    -
  • -
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      CannotInvokeException​(java.lang.ClassNotFoundException e) -
      Constructs a CannotInvokeException with an ClassNotFoundException.
      -
      CannotInvokeException​(java.lang.IllegalAccessException e) -
      Constructs a CannotInvokeException with an IllegalAccessException.
      -
      CannotInvokeException​(java.lang.reflect.InvocationTargetException e) -
      Constructs a CannotInvokeException with an InvocationTargetException.
      -
      CannotInvokeException​(java.lang.String reason) -
      Constructs a CannotInvokeException with an error message.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.ThrowablegetReason() -
      Returns the cause of this exception.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        CannotInvokeException

        -
        public CannotInvokeException​(java.lang.String reason)
        -
        Constructs a CannotInvokeException with an error message.
        -
      • -
      - - - -
        -
      • -

        CannotInvokeException

        -
        public CannotInvokeException​(java.lang.reflect.InvocationTargetException e)
        -
        Constructs a CannotInvokeException with an InvocationTargetException.
        -
      • -
      - - - -
        -
      • -

        CannotInvokeException

        -
        public CannotInvokeException​(java.lang.IllegalAccessException e)
        -
        Constructs a CannotInvokeException with an IllegalAccessException.
        -
      • -
      - - - -
        -
      • -

        CannotInvokeException

        -
        public CannotInvokeException​(java.lang.ClassNotFoundException e)
        -
        Constructs a CannotInvokeException with an ClassNotFoundException.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getReason

        -
        public java.lang.Throwable getReason()
        -
        Returns the cause of this exception. It may return null.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/reflect/CannotReflectException.html b/html/javassist/tools/reflect/CannotReflectException.html deleted file mode 100644 index 6ab48a89..00000000 --- a/html/javassist/tools/reflect/CannotReflectException.html +++ /dev/null @@ -1,314 +0,0 @@ - - - - - -CannotReflectException (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class CannotReflectException

-
-
-
    -
  • java.lang.Object
  • -
  • - -
  • -
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      CannotReflectException​(java.lang.String msg) 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        CannotReflectException

        -
        public CannotReflectException​(java.lang.String msg)
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/reflect/ClassMetaobject.html b/html/javassist/tools/reflect/ClassMetaobject.html deleted file mode 100644 index 40b11dad..00000000 --- a/html/javassist/tools/reflect/ClassMetaobject.html +++ /dev/null @@ -1,701 +0,0 @@ - - - - - -ClassMetaobject (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ClassMetaobject

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.tools.reflect.ClassMetaobject
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    public class ClassMetaobject
    -extends java.lang.Object
    -implements java.io.Serializable
    -
    A runtime class metaobject. - -

    A ClassMetaobject is created for every - class of reflective objects. It can be used to hold values - shared among the reflective objects of the same class. - -

    To obtain a class metaobject, calls _getClass() - on a reflective object. For example, - -

    ClassMetaobject cm = ((Metalevel)reflectiveObject)._getClass();
    - 
    -
    -
    See Also:
    -
    Metaobject, -Metalevel, -Serialized Form
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static booleanuseContextClassLoader -
      Specifies how a java.lang.Class object is loaded.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      ClassMetaobject​(java.lang.String[] params) -
      Constructs a ClassMetaobject.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.Class<?>getJavaClass() -
      Obtains the java.lang.Class representing this class.
      -
      java.lang.reflect.MethodgetMethod​(int identifier) -
      Returns the java.lang.reflect.Method object representing - the method specified by identifier.
      -
      intgetMethodIndex​(java.lang.String originalName, - java.lang.Class<?>[] argTypes) -
      Returns the identifier index of the method, as identified by its - original name.
      -
      java.lang.StringgetMethodName​(int identifier) -
      Returns the name of the method specified - by identifier.
      -
      java.lang.StringgetName() -
      Obtains the name of this class.
      -
      java.lang.Class<?>[]getParameterTypes​(int identifier) -
      Returns an array of Class objects representing the - formal parameter types of the method specified - by identifier.
      -
      java.lang.reflect.Method[]getReflectiveMethods() -
      Returns an array of the methods defined on the given reflective - object.
      -
      java.lang.Class<?>getReturnType​(int identifier) -
      Returns a Class objects representing the - return type of the method specified by identifier.
      -
      static java.lang.Objectinvoke​(java.lang.Object target, - int identifier, - java.lang.Object[] args) -
      Invokes a method whose name begins with - methodPrefix "_m_" and the identifier.
      -
      booleanisInstance​(java.lang.Object obj) -
      Returns true if obj is an instance of this class.
      -
      java.lang.ObjectnewInstance​(java.lang.Object[] args) -
      Creates a new instance of the class.
      -
      java.lang.ObjecttrapFieldRead​(java.lang.String name) -
      Is invoked when static fields of the base-level - class are read and the runtime system intercepts it.
      -
      voidtrapFieldWrite​(java.lang.String name, - java.lang.Object value) -
      Is invoked when static fields of the base-level - class are modified and the runtime system intercepts it.
      -
      java.lang.ObjecttrapMethodcall​(int identifier, - java.lang.Object[] args) -
      Is invoked when static methods of the base-level - class are called and the runtime system intercepts it.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        useContextClassLoader

        -
        public static boolean useContextClassLoader
        -
        Specifies how a java.lang.Class object is loaded. - -

        If true, it is loaded by: -

        Thread.currentThread().getContextClassLoader().loadClass()
        -

        If false, it is loaded by Class.forName(). - The default value is false.

        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ClassMetaobject

        -
        public ClassMetaobject​(java.lang.String[] params)
        -
        Constructs a ClassMetaobject.
        -
        -
        Parameters:
        -
        params - params[0] is the name of the class - of the reflective objects.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getJavaClass

        -
        public final java.lang.Class<?> getJavaClass()
        -
        Obtains the java.lang.Class representing this class.
        -
      • -
      - - - -
        -
      • -

        getName

        -
        public final java.lang.String getName()
        -
        Obtains the name of this class.
        -
      • -
      - - - -
        -
      • -

        isInstance

        -
        public final boolean isInstance​(java.lang.Object obj)
        -
        Returns true if obj is an instance of this class.
        -
      • -
      - - - -
        -
      • -

        newInstance

        -
        public final java.lang.Object newInstance​(java.lang.Object[] args)
        -                                   throws CannotCreateException
        -
        Creates a new instance of the class.
        -
        -
        Parameters:
        -
        args - the arguments passed to the constructor.
        -
        Throws:
        -
        CannotCreateException
        -
        -
      • -
      - - - -
        -
      • -

        trapFieldRead

        -
        public java.lang.Object trapFieldRead​(java.lang.String name)
        -
        Is invoked when static fields of the base-level - class are read and the runtime system intercepts it. - This method simply returns the value of the field. - -

        Every subclass of this class should redefine this method.

        -
      • -
      - - - -
        -
      • -

        trapFieldWrite

        -
        public void trapFieldWrite​(java.lang.String name,
        -                           java.lang.Object value)
        -
        Is invoked when static fields of the base-level - class are modified and the runtime system intercepts it. - This method simply sets the field to the given value. - -

        Every subclass of this class should redefine this method.

        -
      • -
      - - - -
        -
      • -

        invoke

        -
        public static java.lang.Object invoke​(java.lang.Object target,
        -                                      int identifier,
        -                                      java.lang.Object[] args)
        -                               throws java.lang.Throwable
        -
        Invokes a method whose name begins with - methodPrefix "_m_" and the identifier.
        -
        -
        Throws:
        -
        CannotInvokeException - if the invocation fails.
        -
        java.lang.Throwable
        -
        -
      • -
      - - - -
        -
      • -

        trapMethodcall

        -
        public java.lang.Object trapMethodcall​(int identifier,
        -                                       java.lang.Object[] args)
        -                                throws java.lang.Throwable
        -
        Is invoked when static methods of the base-level - class are called and the runtime system intercepts it. - This method simply executes the intercepted method invocation - with the original parameters and returns the resulting value. - -

        Every subclass of this class should redefine this method.

        -
        -
        Throws:
        -
        java.lang.Throwable
        -
        -
      • -
      - - - -
        -
      • -

        getReflectiveMethods

        -
        public final java.lang.reflect.Method[] getReflectiveMethods()
        -
        Returns an array of the methods defined on the given reflective - object. This method is for the internal use only.
        -
      • -
      - - - -
        -
      • -

        getMethod

        -
        public final java.lang.reflect.Method getMethod​(int identifier)
        -
        Returns the java.lang.reflect.Method object representing - the method specified by identifier. - -

        Note that the actual method returned will be have an altered, - reflective name i.e. _m_2_...

        -
        -
        Parameters:
        -
        identifier - the identifier index - given to trapMethodcall() etc.
        -
        See Also:
        -
        Metaobject.trapMethodcall(int,Object[]), -trapMethodcall(int,Object[])
        -
        -
      • -
      - - - -
        -
      • -

        getMethodName

        -
        public final java.lang.String getMethodName​(int identifier)
        -
        Returns the name of the method specified - by identifier.
        -
      • -
      - - - -
        -
      • -

        getParameterTypes

        -
        public final java.lang.Class<?>[] getParameterTypes​(int identifier)
        -
        Returns an array of Class objects representing the - formal parameter types of the method specified - by identifier.
        -
      • -
      - - - -
        -
      • -

        getReturnType

        -
        public final java.lang.Class<?> getReturnType​(int identifier)
        -
        Returns a Class objects representing the - return type of the method specified by identifier.
        -
      • -
      - - - -
        -
      • -

        getMethodIndex

        -
        public final int getMethodIndex​(java.lang.String originalName,
        -                                java.lang.Class<?>[] argTypes)
        -                         throws java.lang.NoSuchMethodException
        -
        Returns the identifier index of the method, as identified by its - original name. - -

        This method is useful, in conjuction with - getMethod(int), to obtain a quick reference - to the original method in the reflected class (i.e. not the proxy - method), using the original name of the method. - -

        Written by Brett Randall and Shigeru Chiba.

        -
        -
        Parameters:
        -
        originalName - The original name of the reflected method
        -
        argTypes - array of Class specifying the method signature
        -
        Returns:
        -
        the identifier index of the original method
        -
        Throws:
        -
        java.lang.NoSuchMethodException - if the method does not exist
        -
        See Also:
        -
        getMethod(int)
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/reflect/Compiler.html b/html/javassist/tools/reflect/Compiler.html deleted file mode 100644 index bfbe2e1b..00000000 --- a/html/javassist/tools/reflect/Compiler.html +++ /dev/null @@ -1,354 +0,0 @@ - - - - - -Compiler (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Compiler

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.tools.reflect.Compiler
    • -
    -
  • -
-
-
    -
  • -
    -
    public class Compiler
    -extends java.lang.Object
    -
    A bytecode translator for reflection. - -

    This translator directly modifies class files on a local disk so that - the classes represented by those class files are reflective. - After the modification, the class files can be run with the standard JVM - without javassist.tools.reflect.Loader - or any other user-defined class loader. - -

    The modified class files are given as the command-line parameters, - which are a sequence of fully-qualified class names followed by options: - -

    -m classname : specifies the class of the - metaobjects associated with instances of the class followed by - this option. The default is javassit.reflect.Metaobject. - -

    -c classname : specifies the class of the - class metaobjects associated with instances of the class followed by - this option. The default is javassit.reflect.ClassMetaobject. - -

    If a class name is not followed by any options, the class indicated - by that class name is not reflective. - -

    For example, -

    % java Compiler Dog -m MetaDog -c CMetaDog Cat -m MetaCat Cow
    - 
    - -

    modifies class files Dog.class, Cat.class, - and Cow.class. - The metaobject of a Dog object is a MetaDog object and the class - metaobject is a CMetaDog object. - The metaobject of a Cat object is a MetaCat object but - the class metaobject is a default one. - Cow objects are not reflective. - -

    Note that if the super class is also made reflective, it must be done - before the sub class.

    -
    -
    See Also:
    -
    Metaobject, -ClassMetaobject, -Reflection
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Compiler() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static voidmain​(java.lang.String[] args) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Compiler

        -
        public Compiler()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        main

        -
        public static void main​(java.lang.String[] args)
        -                 throws java.lang.Exception
        -
        -
        Throws:
        -
        java.lang.Exception
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/reflect/Loader.html b/html/javassist/tools/reflect/Loader.html deleted file mode 100644 index 66ff1b30..00000000 --- a/html/javassist/tools/reflect/Loader.html +++ /dev/null @@ -1,520 +0,0 @@ - - - - - -Loader (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Loader

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.lang.ClassLoader
    • -
    • - -
    • -
    -
  • -
-
-
    -
  • -
    -
    public class Loader
    -extends Loader
    -
    A class loader for reflection. - -

    To run a program, say MyApp, - including a reflective class, - you must write a start-up program as follows: - -

    - public class Main {
    -   public static void main(String[] args) throws Throwable {
    -     javassist.tools.reflect.Loader cl
    -         = (javassist.tools.reflect.Loader)Main.class.getClassLoader();
    -     cl.makeReflective("Person", "MyMetaobject",
    -                       "javassist.tools.reflect.ClassMetaobject");
    -     cl.run("MyApp", args);
    -   }
    - }
    - 
    - -

    Then run this program as follows: - -

    % java javassist.tools.reflect.Loader Main arg1, ...
    - -

    This command runs Main.main() with arg1, ... - and Main.main() runs MyApp.main() with - arg1, ... - The Person class is modified - to be a reflective class. Method calls on a Person - object are intercepted by an instance of MyMetaobject. - -

    Also, you can run MyApp in a slightly different way: - -

    - public class Main2 {
    -   public static void main(String[] args) throws Throwable {
    -     javassist.tools.reflect.Loader cl = new javassist.tools.reflect.Loader();
    -     cl.makeReflective("Person", "MyMetaobject",
    -                       "javassist.tools.reflect.ClassMetaobject");
    -     cl.run("MyApp", args);
    -   }
    - }
    - 
    - -

    This program is run as follows: - -

    % java Main2 arg1, ...
    - -

    The difference from the former one is that the class Main - is loaded by javassist.tools.reflect.Loader whereas the class - Main2 is not. Thus, Main belongs - to the same name space (security domain) as MyApp - whereas Main2 does not; Main2 belongs - to the same name space as javassist.tools.reflect.Loader. - For more details, - see the notes in the manual page of javassist.Loader. - -

    The class Main2 is equivalent to this class: - -

    - public class Main3 {
    -   public static void main(String[] args) throws Throwable {
    -     Reflection reflection = new Reflection();
    -     javassist.Loader cl
    -         = new javassist.Loader(ClassPool.getDefault(reflection));
    -     reflection.makeReflective("Person", "MyMetaobject",
    -                               "javassist.tools.reflect.ClassMetaobject");
    -     cl.run("MyApp", args);
    -   }
    - }
    - 
    - -

    Note: - -

    javassist.tools.reflect.Loader does not make a class reflective - if that class is in a java.* or - javax.* pacakge because of the specifications - on the class loading algorithm of Java. The JVM does not allow to - load such a system class with a user class loader. - -

    To avoid this limitation, those classes should be statically - modified with javassist.tools.reflect.Compiler and the original - class files should be replaced.

    -
    -
    See Also:
    -
    Reflection, -Compiler, -Loader
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    - -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Loader() -
      Constructs a new class loader.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static voidmain​(java.lang.String[] args) -
      Loads a class with an instance of Loader - and calls main() in that class.
      -
      booleanmakeReflective​(java.lang.String clazz, - java.lang.String metaobject, - java.lang.String metaclass) -
      Produces a reflective class.
      -
      - -
        -
      • - - -

        Methods inherited from class java.lang.ClassLoader

        -clearAssertionStatus, getDefinedPackage, getDefinedPackages, getName, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        main

        -
        public static void main​(java.lang.String[] args)
        -                 throws java.lang.Throwable
        -
        Loads a class with an instance of Loader - and calls main() in that class.
        -
        -
        Parameters:
        -
        args - command line parameters. -
          args[0] is the class name to be loaded. -
          args[1..n] are parameters passed - to the target main().
        -
        Throws:
        -
        java.lang.Throwable
        -
        -
      • -
      - - - -
        -
      • -

        makeReflective

        -
        public boolean makeReflective​(java.lang.String clazz,
        -                              java.lang.String metaobject,
        -                              java.lang.String metaclass)
        -                       throws CannotCompileException,
        -                              NotFoundException
        -
        Produces a reflective class. - If the super class is also made reflective, it must be done - before the sub class.
        -
        -
        Parameters:
        -
        clazz - the reflective class.
        -
        metaobject - the class of metaobjects. - It must be a subclass of - Metaobject.
        -
        metaclass - the class of the class metaobject. - It must be a subclass of - ClassMetaobject.
        -
        Returns:
        -
        false if the class is already reflective.
        -
        Throws:
        -
        CannotCompileException
        -
        NotFoundException
        -
        See Also:
        -
        Metaobject, -ClassMetaobject
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/reflect/Metalevel.html b/html/javassist/tools/reflect/Metalevel.html deleted file mode 100644 index 3fcbcee8..00000000 --- a/html/javassist/tools/reflect/Metalevel.html +++ /dev/null @@ -1,291 +0,0 @@ - - - - - -Metalevel (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Interface Metalevel

-
-
-
-
    -
  • -
    -
    public interface Metalevel
    -
    An interface to access a metaobject and a class metaobject. - This interface is implicitly implemented by the reflective - class.
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        _getClass

        -
        ClassMetaobject _getClass()
        -
        Obtains the class metaobject associated with this object.
        -
      • -
      - - - -
        -
      • -

        _getMetaobject

        -
        Metaobject _getMetaobject()
        -
        Obtains the metaobject associated with this object.
        -
      • -
      - - - -
        -
      • -

        _setMetaobject

        -
        void _setMetaobject​(Metaobject m)
        -
        Changes the metaobject associated with this object.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/reflect/Metaobject.html b/html/javassist/tools/reflect/Metaobject.html deleted file mode 100644 index 675160a5..00000000 --- a/html/javassist/tools/reflect/Metaobject.html +++ /dev/null @@ -1,552 +0,0 @@ - - - - - -Metaobject (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Metaobject

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.tools.reflect.Metaobject
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    public class Metaobject
    -extends java.lang.Object
    -implements java.io.Serializable
    -
    A runtime metaobject. - -

    A Metaobject is created for - every object at the base level. A different reflective object is - associated with a different metaobject. - -

    The metaobject intercepts method calls - on the reflective object at the base-level. To change the behavior - of the method calls, a subclass of Metaobject - should be defined. - -

    To obtain a metaobject, calls _getMetaobject() - on a reflective object. For example, - -

    - Metaobject m = ((Metalevel)reflectiveObject)._getMetaobject();
    - 
    -
    -
    See Also:
    -
    ClassMetaobject, -Metalevel, -Serialized Form
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Metaobject​(java.lang.Object self, - java.lang.Object[] args) -
      Constructs a Metaobject.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      ClassMetaobjectgetClassMetaobject() -
      Obtains the class metaobject associated with this metaobject.
      -
      java.lang.StringgetMethodName​(int identifier) -
      Returns the name of the method specified - by identifier.
      -
      java.lang.ObjectgetObject() -
      Obtains the object controlled by this metaobject.
      -
      java.lang.Class<?>[]getParameterTypes​(int identifier) -
      Returns an array of Class objects representing the - formal parameter types of the method specified - by identifier.
      -
      java.lang.Class<?>getReturnType​(int identifier) -
      Returns a Class objects representing the - return type of the method specified by identifier.
      -
      voidsetObject​(java.lang.Object self) -
      Changes the object controlled by this metaobject.
      -
      java.lang.ObjecttrapFieldRead​(java.lang.String name) -
      Is invoked when public fields of the base-level - class are read and the runtime system intercepts it.
      -
      voidtrapFieldWrite​(java.lang.String name, - java.lang.Object value) -
      Is invoked when public fields of the base-level - class are modified and the runtime system intercepts it.
      -
      java.lang.ObjecttrapMethodcall​(int identifier, - java.lang.Object[] args) -
      Is invoked when base-level method invocation is intercepted.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Metaobject

        -
        public Metaobject​(java.lang.Object self,
        -                  java.lang.Object[] args)
        -
        Constructs a Metaobject. The metaobject is - constructed before the constructor is called on the base-level - object.
        -
        -
        Parameters:
        -
        self - the object that this metaobject is associated with.
        -
        args - the parameters passed to the constructor of - self.
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getClassMetaobject

        -
        public final ClassMetaobject getClassMetaobject()
        -
        Obtains the class metaobject associated with this metaobject.
        -
        -
        See Also:
        -
        ClassMetaobject
        -
        -
      • -
      - - - -
        -
      • -

        getObject

        -
        public final java.lang.Object getObject()
        -
        Obtains the object controlled by this metaobject.
        -
      • -
      - - - -
        -
      • -

        setObject

        -
        public final void setObject​(java.lang.Object self)
        -
        Changes the object controlled by this metaobject.
        -
        -
        Parameters:
        -
        self - the object
        -
        -
      • -
      - - - -
        -
      • -

        getMethodName

        -
        public final java.lang.String getMethodName​(int identifier)
        -
        Returns the name of the method specified - by identifier.
        -
      • -
      - - - -
        -
      • -

        getParameterTypes

        -
        public final java.lang.Class<?>[] getParameterTypes​(int identifier)
        -
        Returns an array of Class objects representing the - formal parameter types of the method specified - by identifier.
        -
      • -
      - - - -
        -
      • -

        getReturnType

        -
        public final java.lang.Class<?> getReturnType​(int identifier)
        -
        Returns a Class objects representing the - return type of the method specified by identifier.
        -
      • -
      - - - -
        -
      • -

        trapFieldRead

        -
        public java.lang.Object trapFieldRead​(java.lang.String name)
        -
        Is invoked when public fields of the base-level - class are read and the runtime system intercepts it. - This method simply returns the value of the field. - -

        Every subclass of this class should redefine this method.

        -
      • -
      - - - -
        -
      • -

        trapFieldWrite

        -
        public void trapFieldWrite​(java.lang.String name,
        -                           java.lang.Object value)
        -
        Is invoked when public fields of the base-level - class are modified and the runtime system intercepts it. - This method simply sets the field to the given value. - -

        Every subclass of this class should redefine this method.

        -
      • -
      - - - -
        -
      • -

        trapMethodcall

        -
        public java.lang.Object trapMethodcall​(int identifier,
        -                                       java.lang.Object[] args)
        -                                throws java.lang.Throwable
        -
        Is invoked when base-level method invocation is intercepted. - This method simply executes the intercepted method invocation - with the original parameters and returns the resulting value. - -

        Every subclass of this class should redefine this method. - -

        Note: this method is not invoked if the base-level method - is invoked by a constructor in the super class. For example, - -

        - abstract class A {
        -   abstract void initialize();
        -   A() {
        -       initialize();    // not intercepted
        -   }
        - }
        -
        - class B extends A {
        -   void initialize() { System.out.println("initialize()"); }
        -   B() {
        -       super();
        -       initialize();    // intercepted
        -   }
        - }
        - -

        if an instance of B is created, - the invocation of initialize() in B is intercepted only once. - The first invocation by the constructor in A is not intercepted. - This is because the link between a base-level object and a - metaobject is not created until the execution of a - constructor of the super class finishes.

        -
        -
        Throws:
        -
        java.lang.Throwable
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/reflect/Reflection.html b/html/javassist/tools/reflect/Reflection.html deleted file mode 100644 index 458d2dea..00000000 --- a/html/javassist/tools/reflect/Reflection.html +++ /dev/null @@ -1,555 +0,0 @@ - - - - - -Reflection (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Reflection

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.tools.reflect.Reflection
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Translator
    -
    -
    -
    public class Reflection
    -extends java.lang.Object
    -implements Translator
    -
    The class implementing the behavioral reflection mechanism. - -

    If a class is reflective, - then all the method invocations on every - instance of that class are intercepted by the runtime - metaobject controlling that instance. The methods inherited from the - super classes are also intercepted except final methods. To intercept - a final method in a super class, that super class must be also reflective. - -

    To do this, the original class file representing a reflective class: - -

    - class Person {
    -   public int f(int i) { return i + 1; }
    -   public int value;
    - }
    - 
    - -

    is modified so that it represents a class: - -

    - class Person implements Metalevel {
    -   public int _original_f(int i) { return i + 1; }
    -   public int f(int i) { delegate to the metaobject }
    -
    -   public int value;
    -   public int _r_value() { read "value" }
    -   public void _w_value(int v) { write "value" }
    -
    -   public ClassMetaobject _getClass() { return a class metaobject }
    -   public Metaobject _getMetaobject() { return a metaobject }
    -   public void _setMetaobject(Metaobject m) { change a metaobject }
    - }
    - 
    -
    -
    See Also:
    -
    ClassMetaobject, -Metaobject, -Loader, -Compiler
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Reflection() -
      Constructs a new Reflection object.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      booleanmakeReflective​(java.lang.Class<?> clazz, - java.lang.Class<?> metaobject, - java.lang.Class<?> metaclass) -
      Produces a reflective class.
      -
      booleanmakeReflective​(java.lang.String classname, - java.lang.String metaobject, - java.lang.String metaclass) -
      Produces a reflective class.
      -
      booleanmakeReflective​(CtClass clazz, - CtClass metaobject, - CtClass metaclass) -
      Produces a reflective class.
      -
      voidonLoad​(ClassPool pool, - java.lang.String classname) -
      Inserts hooks for intercepting accesses to the fields declared - in reflective classes.
      -
      voidrebuildClassFile​(ClassFile cf) 
      voidstart​(ClassPool pool) -
      Initializes the object.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Reflection

        -
        public Reflection()
        -
        Constructs a new Reflection object.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        onLoad

        -
        public void onLoad​(ClassPool pool,
        -                   java.lang.String classname)
        -            throws CannotCompileException,
        -                   NotFoundException
        -
        Inserts hooks for intercepting accesses to the fields declared - in reflective classes.
        -
        -
        Specified by:
        -
        onLoad in interface Translator
        -
        Parameters:
        -
        pool - the ClassPool that this translator - should use.
        -
        classname - the name of the class being loaded.
        -
        Throws:
        -
        CannotCompileException - if the code transformation - by this method fails.
        -
        NotFoundException - if a CtClass cannot be found.
        -
        See Also:
        -
        Loader
        -
        -
      • -
      - - - -
        -
      • -

        makeReflective

        -
        public boolean makeReflective​(java.lang.String classname,
        -                              java.lang.String metaobject,
        -                              java.lang.String metaclass)
        -                       throws CannotCompileException,
        -                              NotFoundException
        -
        Produces a reflective class. - If the super class is also made reflective, it must be done - before the sub class.
        -
        -
        Parameters:
        -
        classname - the name of the reflective class
        -
        metaobject - the class name of metaobjects.
        -
        metaclass - the class name of the class metaobject.
        -
        Returns:
        -
        false if the class is already reflective.
        -
        Throws:
        -
        CannotCompileException
        -
        NotFoundException
        -
        See Also:
        -
        Metaobject, -ClassMetaobject
        -
        -
      • -
      - - - -
        -
      • -

        makeReflective

        -
        public boolean makeReflective​(java.lang.Class<?> clazz,
        -                              java.lang.Class<?> metaobject,
        -                              java.lang.Class<?> metaclass)
        -                       throws CannotCompileException,
        -                              NotFoundException
        -
        Produces a reflective class. - If the super class is also made reflective, it must be done - before the sub class.
        -
        -
        Parameters:
        -
        clazz - the reflective class.
        -
        metaobject - the class of metaobjects. - It must be a subclass of - Metaobject.
        -
        metaclass - the class of the class metaobject. - It must be a subclass of - ClassMetaobject.
        -
        Returns:
        -
        false if the class is already reflective.
        -
        Throws:
        -
        CannotCompileException
        -
        NotFoundException
        -
        See Also:
        -
        Metaobject, -ClassMetaobject
        -
        -
      • -
      - - - - - - - - -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/reflect/Sample.html b/html/javassist/tools/reflect/Sample.html deleted file mode 100644 index 628b9856..00000000 --- a/html/javassist/tools/reflect/Sample.html +++ /dev/null @@ -1,368 +0,0 @@ - - - - - -Sample (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Sample

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.tools.reflect.Sample
    • -
    -
  • -
-
-
    -
  • -
    -
    public class Sample
    -extends java.lang.Object
    -
    A template used for defining a reflective class.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Sample() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.Objecttrap​(java.lang.Object[] args, - int identifier) 
      static java.lang.ObjecttrapRead​(java.lang.Object[] args, - java.lang.String name) 
      static java.lang.ObjecttrapStatic​(java.lang.Object[] args, - int identifier) 
      static java.lang.ObjecttrapWrite​(java.lang.Object[] args, - java.lang.String name) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Sample

        -
        public Sample()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        trap

        -
        public java.lang.Object trap​(java.lang.Object[] args,
        -                             int identifier)
        -                      throws java.lang.Throwable
        -
        -
        Throws:
        -
        java.lang.Throwable
        -
        -
      • -
      - - - -
        -
      • -

        trapStatic

        -
        public static java.lang.Object trapStatic​(java.lang.Object[] args,
        -                                          int identifier)
        -                                   throws java.lang.Throwable
        -
        -
        Throws:
        -
        java.lang.Throwable
        -
        -
      • -
      - - - -
        -
      • -

        trapRead

        -
        public static java.lang.Object trapRead​(java.lang.Object[] args,
        -                                        java.lang.String name)
        -
      • -
      - - - -
        -
      • -

        trapWrite

        -
        public static java.lang.Object trapWrite​(java.lang.Object[] args,
        -                                         java.lang.String name)
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/reflect/class-use/CannotCreateException.html b/html/javassist/tools/reflect/class-use/CannotCreateException.html deleted file mode 100644 index a0450dc7..00000000 --- a/html/javassist/tools/reflect/class-use/CannotCreateException.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - -Uses of Class javassist.tools.reflect.CannotCreateException (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.tools.reflect.CannotCreateException

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/reflect/class-use/CannotInvokeException.html b/html/javassist/tools/reflect/class-use/CannotInvokeException.html deleted file mode 100644 index 5aff31c7..00000000 --- a/html/javassist/tools/reflect/class-use/CannotInvokeException.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.tools.reflect.CannotInvokeException (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.tools.reflect.CannotInvokeException

-
-
No usage of javassist.tools.reflect.CannotInvokeException
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/reflect/class-use/CannotReflectException.html b/html/javassist/tools/reflect/class-use/CannotReflectException.html deleted file mode 100644 index d808f7ae..00000000 --- a/html/javassist/tools/reflect/class-use/CannotReflectException.html +++ /dev/null @@ -1,199 +0,0 @@ - - - - - -Uses of Class javassist.tools.reflect.CannotReflectException (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.tools.reflect.CannotReflectException

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/reflect/class-use/ClassMetaobject.html b/html/javassist/tools/reflect/class-use/ClassMetaobject.html deleted file mode 100644 index 62281147..00000000 --- a/html/javassist/tools/reflect/class-use/ClassMetaobject.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - - -Uses of Class javassist.tools.reflect.ClassMetaobject (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.tools.reflect.ClassMetaobject

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/reflect/class-use/Compiler.html b/html/javassist/tools/reflect/class-use/Compiler.html deleted file mode 100644 index 1aa122f8..00000000 --- a/html/javassist/tools/reflect/class-use/Compiler.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.tools.reflect.Compiler (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.tools.reflect.Compiler

-
-
No usage of javassist.tools.reflect.Compiler
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/reflect/class-use/Loader.html b/html/javassist/tools/reflect/class-use/Loader.html deleted file mode 100644 index cb6582a1..00000000 --- a/html/javassist/tools/reflect/class-use/Loader.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.tools.reflect.Loader (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.tools.reflect.Loader

-
-
No usage of javassist.tools.reflect.Loader
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/reflect/class-use/Metalevel.html b/html/javassist/tools/reflect/class-use/Metalevel.html deleted file mode 100644 index 806e609e..00000000 --- a/html/javassist/tools/reflect/class-use/Metalevel.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Interface javassist.tools.reflect.Metalevel (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Interface
javassist.tools.reflect.Metalevel

-
-
No usage of javassist.tools.reflect.Metalevel
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/reflect/class-use/Metaobject.html b/html/javassist/tools/reflect/class-use/Metaobject.html deleted file mode 100644 index 122a36ca..00000000 --- a/html/javassist/tools/reflect/class-use/Metaobject.html +++ /dev/null @@ -1,214 +0,0 @@ - - - - - -Uses of Class javassist.tools.reflect.Metaobject (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.tools.reflect.Metaobject

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/reflect/class-use/Reflection.html b/html/javassist/tools/reflect/class-use/Reflection.html deleted file mode 100644 index c867d5ac..00000000 --- a/html/javassist/tools/reflect/class-use/Reflection.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.tools.reflect.Reflection (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.tools.reflect.Reflection

-
-
No usage of javassist.tools.reflect.Reflection
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/reflect/class-use/Sample.html b/html/javassist/tools/reflect/class-use/Sample.html deleted file mode 100644 index 91075dfc..00000000 --- a/html/javassist/tools/reflect/class-use/Sample.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.tools.reflect.Sample (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.tools.reflect.Sample

-
-
No usage of javassist.tools.reflect.Sample
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/reflect/package-summary.html b/html/javassist/tools/reflect/package-summary.html deleted file mode 100644 index ce717057..00000000 --- a/html/javassist/tools/reflect/package-summary.html +++ /dev/null @@ -1,283 +0,0 @@ - - - - - -javassist.tools.reflect (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Package javassist.tools.reflect

-
-
-
- - -
Runtime Behavioral Reflection. - -

(also recently known as interceptors or AOP?) - -

This package enables a metaobject to trap method calls and field -accesses on a regular Java object. It provides a class -Reflection, which is a main module for implementing -runtime behavioral reflection. -It also provides -a class Loader and Compiler -as utilities for dynamically or statically -translating a regular class into a reflective class. - -

An instance of the reflective class is associated with -a runtime metaobject and a runtime class metaobject, which control -the behavior of that instance. -The runtime -metaobject is created for every (base-level) instance but the -runtime class metaobject is created for every (base-level) class. -Metaobject is the root class of the runtime -metaobject and ClassMetaobject is the root class -of the runtime class metaobject. - -

This package is provided as a sample implementation of the -reflection mechanism with Javassist. All the programs in this package -uses only the regular Javassist API; they never call any hidden -methods. - -

The most significant class in this package is Reflection. -See the description of this class first.

-
-
    -
  • - - - - - - - - - - - - -
    Interface Summary 
    InterfaceDescription
    Metalevel -
    An interface to access a metaobject and a class metaobject.
    -
    -
  • -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    ClassMetaobject -
    A runtime class metaobject.
    -
    Compiler -
    A bytecode translator for reflection.
    -
    Loader -
    A class loader for reflection.
    -
    Metaobject -
    A runtime metaobject.
    -
    Reflection -
    The class implementing the behavioral reflection mechanism.
    -
    Sample -
    A template used for defining a reflective class.
    -
    -
  • -
  • - - - - - - - - - - - - - - - - - - - - -
    Exception Summary 
    ExceptionDescription
    CannotCreateException -
    Signals that ClassMetaobject.newInstance() fails.
    -
    CannotInvokeException -
    Thrown when method invocation using the reflection API has thrown - an exception.
    -
    CannotReflectException -
    Thrown by makeReflective() in Reflection - when there is an attempt to reflect - a class that is either an interface or a subclass of - either ClassMetaobject or Metaobject.
    -
    -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/reflect/package-tree.html b/html/javassist/tools/reflect/package-tree.html deleted file mode 100644 index 45ffcdad..00000000 --- a/html/javassist/tools/reflect/package-tree.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - -javassist.tools.reflect Class Hierarchy (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Hierarchy For Package javassist.tools.reflect

-Package Hierarchies: - -
-
-
-

Class Hierarchy

- -
-
-

Interface Hierarchy

- -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/reflect/package-use.html b/html/javassist/tools/reflect/package-use.html deleted file mode 100644 index 2fdf9f5b..00000000 --- a/html/javassist/tools/reflect/package-use.html +++ /dev/null @@ -1,209 +0,0 @@ - - - - - -Uses of Package javassist.tools.reflect (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Package
javassist.tools.reflect

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/rmi/AppletServer.html b/html/javassist/tools/rmi/AppletServer.html deleted file mode 100644 index 061e913c..00000000 --- a/html/javassist/tools/rmi/AppletServer.html +++ /dev/null @@ -1,489 +0,0 @@ - - - - - -AppletServer (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class AppletServer

-
-
- -
-
    -
  • -
    -
    public class AppletServer
    -extends Webserver
    -
    An AppletServer object is a web server that an ObjectImporter - communicates with. It makes the objects specified by - exportObject() remotely accessible from applets. - If the classes of the exported objects are requested by the client-side - JVM, this web server sends proxy classes for the requested classes.
    -
    -
    See Also:
    -
    ObjectImporter
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      AppletServer​(int port) -
      Constructs a web server.
      -
      AppletServer​(int port, - ClassPool src) -
      Constructs a web server.
      -
      AppletServer​(java.lang.String port) -
      Constructs a web server.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voiddoReply​(java.io.InputStream in, - java.io.OutputStream out, - java.lang.String cmd) -
      Processes a request from a web browser (an ObjectImporter).
      -
      intexportObject​(java.lang.String name, - java.lang.Object obj) -
      Exports an object.
      -
      voidrun() -
      Begins the HTTP service.
      -
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
- -
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/rmi/ObjectImporter.html b/html/javassist/tools/rmi/ObjectImporter.html deleted file mode 100644 index 3ad9a4fb..00000000 --- a/html/javassist/tools/rmi/ObjectImporter.html +++ /dev/null @@ -1,492 +0,0 @@ - - - - - -ObjectImporter (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ObjectImporter

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.tools.rmi.ObjectImporter
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    public class ObjectImporter
    -extends java.lang.Object
    -implements java.io.Serializable
    -
    The object importer enables applets to call a method on a remote - object running on the Webserver (the main class of this - package). - -

    To access the remote - object, the applet first calls lookupObject() and - obtains a proxy object, which is a reference to that object. - The class name of the proxy object is identical to that of - the remote object. - The proxy object provides the same set of methods as the remote object. - If one of the methods is invoked on the proxy object, - the invocation is delegated to the remote object. - From the viewpoint of the applet, therefore, the two objects are - identical. The applet can access the object on the server - with the regular Java syntax without concern about the actual - location. - -

    The methods remotely called by the applet must be public. - This is true even if the applet's class and the remote object's classs - belong to the same package. - -

    If class X is a class of remote objects, a subclass of X must be - also a class of remote objects. On the other hand, this restriction - is not applied to the superclass of X. The class X does not have to - contain a constructor taking no arguments. - -

    The parameters to a remote method is passed in the call-by-value - manner. Thus all the parameter classes must implement - java.io.Serializable. However, if the parameter is the - proxy object, the reference to the remote object instead of a copy of - the object is passed to the method. - -

    Because of the limitations of the current implementation, -

      -
    • The parameter objects cannot contain the proxy - object as a field value. -
    • If class C is of the remote object, then - the applet cannot instantiate C locally or remotely. -
    - -

    All the exceptions thrown by the remote object are converted - into RemoteException. Since this exception is a subclass - of RuntimeException, the caller method does not need - to catch the exception. However, good programs should catch - the RuntimeException.

    -
    -
    See Also:
    -
    AppletServer, -RemoteException, -Viewer, -Serialized Form
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      ObjectImporter​(java.applet.Applet applet) -
      Constructs an object importer.
      -
      ObjectImporter​(java.lang.String servername, - int port) -
      Constructs an object importer.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.Objectcall​(int objectid, - int methodid, - java.lang.Object[] args) -
      Calls a method on a remote object.
      -
      java.lang.ObjectgetObject​(java.lang.String name) -
      Finds the object exported by a server with the specified name.
      -
      java.lang.ObjectlookupObject​(java.lang.String name) -
      Finds the object exported by the server with the specified name.
      -
      voidsetHttpProxy​(java.lang.String host, - int port) -
      Sets an http proxy server.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ObjectImporter

        -
        public ObjectImporter​(java.applet.Applet applet)
        -
        Constructs an object importer. - -

        Remote objects are imported from the web server that the given - applet has been loaded from.

        -
        -
        Parameters:
        -
        applet - the applet loaded from the Webserver.
        -
        -
      • -
      - - - -
        -
      • -

        ObjectImporter

        -
        public ObjectImporter​(java.lang.String servername,
        -                      int port)
        -
        Constructs an object importer. - -

        If you run a program with javassist.tools.web.Viewer, - you can construct an object importer as follows: - -

        - Viewer v = (Viewer)this.getClass().getClassLoader();
        - ObjectImporter oi = new ObjectImporter(v.getServer(), v.getPort());
        - 
        -
        -
        See Also:
        -
        Viewer
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getObject

        -
        public java.lang.Object getObject​(java.lang.String name)
        -
        Finds the object exported by a server with the specified name. - If the object is not found, this method returns null.
        -
        -
        Parameters:
        -
        name - the name of the exported object.
        -
        Returns:
        -
        the proxy object or null.
        -
        -
      • -
      - - - -
        -
      • -

        setHttpProxy

        -
        public void setHttpProxy​(java.lang.String host,
        -                         int port)
        -
        Sets an http proxy server. After this method is called, the object - importer connects a server through the http proxy server.
        -
      • -
      - - - -
        -
      • -

        lookupObject

        -
        public java.lang.Object lookupObject​(java.lang.String name)
        -                              throws ObjectNotFoundException
        -
        Finds the object exported by the server with the specified name. - It sends a POST request to the server (via an http proxy server - if needed).
        -
        -
        Parameters:
        -
        name - the name of the exported object.
        -
        Returns:
        -
        the proxy object.
        -
        Throws:
        -
        ObjectNotFoundException
        -
        -
      • -
      - - - -
        -
      • -

        call

        -
        public java.lang.Object call​(int objectid,
        -                             int methodid,
        -                             java.lang.Object[] args)
        -                      throws RemoteException
        -
        Calls a method on a remote object. - It sends a POST request to the server (via an http proxy server - if needed). - -

        This method is called by only proxy objects.

        -
        -
        Throws:
        -
        RemoteException
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/rmi/ObjectNotFoundException.html b/html/javassist/tools/rmi/ObjectNotFoundException.html deleted file mode 100644 index 15062469..00000000 --- a/html/javassist/tools/rmi/ObjectNotFoundException.html +++ /dev/null @@ -1,309 +0,0 @@ - - - - - -ObjectNotFoundException (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ObjectNotFoundException

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.lang.Throwable
    • -
    • -
        -
      • java.lang.Exception
      • -
      • -
          -
        • javassist.tools.rmi.ObjectNotFoundException
        • -
        -
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    public class ObjectNotFoundException
    -extends java.lang.Exception
    -
    -
    See Also:
    -
    Serialized Form
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ObjectNotFoundException

        -
        public ObjectNotFoundException​(java.lang.String name)
        -
      • -
      - - - -
        -
      • -

        ObjectNotFoundException

        -
        public ObjectNotFoundException​(java.lang.String name,
        -                               java.lang.Exception e)
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/rmi/Proxy.html b/html/javassist/tools/rmi/Proxy.html deleted file mode 100644 index 37b8e684..00000000 --- a/html/javassist/tools/rmi/Proxy.html +++ /dev/null @@ -1,256 +0,0 @@ - - - - - -Proxy (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Interface Proxy

-
-
-
-
    -
  • -
    -
    public interface Proxy
    -
    An interface implemented by proxy classes.
    -
    -
    See Also:
    -
    StubGenerator
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        _getObjectId

        -
        int _getObjectId()
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/rmi/RemoteException.html b/html/javassist/tools/rmi/RemoteException.html deleted file mode 100644 index 11da6dc8..00000000 --- a/html/javassist/tools/rmi/RemoteException.html +++ /dev/null @@ -1,314 +0,0 @@ - - - - - -RemoteException (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class RemoteException

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.lang.Throwable
    • -
    • -
        -
      • java.lang.Exception
      • -
      • -
          -
        • java.lang.RuntimeException
        • -
        • -
            -
          • javassist.tools.rmi.RemoteException
          • -
          -
        • -
        -
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    public class RemoteException
    -extends java.lang.RuntimeException
    -
    RemoteException represents any exception thrown - during remote method invocation.
    -
    -
    See Also:
    -
    Serialized Form
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      RemoteException​(java.lang.Exception e) 
      RemoteException​(java.lang.String msg) 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        RemoteException

        -
        public RemoteException​(java.lang.String msg)
        -
      • -
      - - - -
        -
      • -

        RemoteException

        -
        public RemoteException​(java.lang.Exception e)
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/rmi/RemoteRef.html b/html/javassist/tools/rmi/RemoteRef.html deleted file mode 100644 index 059793c6..00000000 --- a/html/javassist/tools/rmi/RemoteRef.html +++ /dev/null @@ -1,351 +0,0 @@ - - - - - -RemoteRef (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class RemoteRef

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.tools.rmi.RemoteRef
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    public class RemoteRef
    -extends java.lang.Object
    -implements java.io.Serializable
    -
    Remote reference. This class is internally used for sending a remote - reference through a network stream.
    -
    -
    See Also:
    -
    Serialized Form
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      java.lang.Stringclassname 
      intoid 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      RemoteRef​(int i) 
      RemoteRef​(int i, - java.lang.String name) 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        oid

        -
        public int oid
        -
      • -
      - - - -
        -
      • -

        classname

        -
        public java.lang.String classname
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        RemoteRef

        -
        public RemoteRef​(int i)
        -
      • -
      - - - -
        -
      • -

        RemoteRef

        -
        public RemoteRef​(int i,
        -                 java.lang.String name)
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/rmi/Sample.html b/html/javassist/tools/rmi/Sample.html deleted file mode 100644 index 693b026f..00000000 --- a/html/javassist/tools/rmi/Sample.html +++ /dev/null @@ -1,333 +0,0 @@ - - - - - -Sample (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Sample

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.tools.rmi.Sample
    • -
    -
  • -
-
-
    -
  • -
    -
    public class Sample
    -extends java.lang.Object
    -
    A template used for defining a proxy class. - The class file of this class is read by the StubGenerator - class.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Sample() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.Objectforward​(java.lang.Object[] args, - int identifier) 
      static java.lang.ObjectforwardStatic​(java.lang.Object[] args, - int identifier) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Sample

        -
        public Sample()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        forward

        -
        public java.lang.Object forward​(java.lang.Object[] args,
        -                                int identifier)
        -
      • -
      - - - -
        -
      • -

        forwardStatic

        -
        public static java.lang.Object forwardStatic​(java.lang.Object[] args,
        -                                             int identifier)
        -                                      throws RemoteException
        -
        -
        Throws:
        -
        RemoteException
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/rmi/StubGenerator.html b/html/javassist/tools/rmi/StubGenerator.html deleted file mode 100644 index 02a63d2c..00000000 --- a/html/javassist/tools/rmi/StubGenerator.html +++ /dev/null @@ -1,432 +0,0 @@ - - - - - -StubGenerator (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class StubGenerator

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.tools.rmi.StubGenerator
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Translator
    -
    -
    -
    public class StubGenerator
    -extends java.lang.Object
    -implements Translator
    -
    A stub-code generator. It is used for producing a proxy class. - -

    The proxy class for class A is as follows: - -

    public class A implements Proxy, Serializable {
    -   private ObjectImporter importer;
    -   private int objectId;
    -   public int _getObjectId() { return objectId; }
    -   public A(ObjectImporter oi, int id) {
    -     importer = oi; objectId = id;
    -   }
    -
    -   ... the same methods that the original class A declares ...
    - }
    - -

    Instances of the proxy class is created by an - ObjectImporter object.

    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      StubGenerator() -
      Constructs a stub-code generator.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      booleanisProxyClass​(java.lang.String name) -
      Returns true if the specified class is a proxy class - recorded by makeProxyClass().
      -
      booleanmakeProxyClass​(java.lang.Class<?> clazz) -
      Makes a proxy class.
      -
      voidonLoad​(ClassPool pool, - java.lang.String classname) -
      Does nothing.
      -
      voidstart​(ClassPool pool) -
      Initializes the object.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        StubGenerator

        -
        public StubGenerator()
        -
        Constructs a stub-code generator.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        onLoad

        -
        public void onLoad​(ClassPool pool,
        -                   java.lang.String classname)
        -
        Does nothing. - This is a method declared in javassist.Translator.
        -
        -
        Specified by:
        -
        onLoad in interface Translator
        -
        Parameters:
        -
        pool - the ClassPool that this translator - should use.
        -
        classname - the name of the class being loaded.
        -
        See Also:
        -
        Translator.onLoad(ClassPool,String)
        -
        -
      • -
      - - - -
        -
      • -

        isProxyClass

        -
        public boolean isProxyClass​(java.lang.String name)
        -
        Returns true if the specified class is a proxy class - recorded by makeProxyClass().
        -
        -
        Parameters:
        -
        name - a fully-qualified class name
        -
        -
      • -
      - - - -
        -
      • -

        makeProxyClass

        -
        public boolean makeProxyClass​(java.lang.Class<?> clazz)
        -                       throws CannotCompileException,
        -                              NotFoundException
        -
        Makes a proxy class. The produced class is substituted - for the original class.
        -
        -
        Parameters:
        -
        clazz - the class referenced - through the proxy class.
        -
        Returns:
        -
        false if the proxy class - has been already produced.
        -
        Throws:
        -
        CannotCompileException
        -
        NotFoundException
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/rmi/class-use/AppletServer.html b/html/javassist/tools/rmi/class-use/AppletServer.html deleted file mode 100644 index 86754bab..00000000 --- a/html/javassist/tools/rmi/class-use/AppletServer.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.tools.rmi.AppletServer (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.tools.rmi.AppletServer

-
-
No usage of javassist.tools.rmi.AppletServer
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/rmi/class-use/ObjectImporter.html b/html/javassist/tools/rmi/class-use/ObjectImporter.html deleted file mode 100644 index ab441e85..00000000 --- a/html/javassist/tools/rmi/class-use/ObjectImporter.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.tools.rmi.ObjectImporter (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.tools.rmi.ObjectImporter

-
-
No usage of javassist.tools.rmi.ObjectImporter
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/rmi/class-use/ObjectNotFoundException.html b/html/javassist/tools/rmi/class-use/ObjectNotFoundException.html deleted file mode 100644 index 9fb3b17c..00000000 --- a/html/javassist/tools/rmi/class-use/ObjectNotFoundException.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - -Uses of Class javassist.tools.rmi.ObjectNotFoundException (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.tools.rmi.ObjectNotFoundException

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/rmi/class-use/Proxy.html b/html/javassist/tools/rmi/class-use/Proxy.html deleted file mode 100644 index 14866593..00000000 --- a/html/javassist/tools/rmi/class-use/Proxy.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Interface javassist.tools.rmi.Proxy (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Interface
javassist.tools.rmi.Proxy

-
-
No usage of javassist.tools.rmi.Proxy
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/rmi/class-use/RemoteException.html b/html/javassist/tools/rmi/class-use/RemoteException.html deleted file mode 100644 index 2d23fcbf..00000000 --- a/html/javassist/tools/rmi/class-use/RemoteException.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - - -Uses of Class javassist.tools.rmi.RemoteException (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.tools.rmi.RemoteException

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/rmi/class-use/RemoteRef.html b/html/javassist/tools/rmi/class-use/RemoteRef.html deleted file mode 100644 index d4f29f83..00000000 --- a/html/javassist/tools/rmi/class-use/RemoteRef.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.tools.rmi.RemoteRef (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.tools.rmi.RemoteRef

-
-
No usage of javassist.tools.rmi.RemoteRef
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/rmi/class-use/Sample.html b/html/javassist/tools/rmi/class-use/Sample.html deleted file mode 100644 index cc4c207a..00000000 --- a/html/javassist/tools/rmi/class-use/Sample.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.tools.rmi.Sample (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.tools.rmi.Sample

-
-
No usage of javassist.tools.rmi.Sample
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/rmi/class-use/StubGenerator.html b/html/javassist/tools/rmi/class-use/StubGenerator.html deleted file mode 100644 index d1f50aa1..00000000 --- a/html/javassist/tools/rmi/class-use/StubGenerator.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.tools.rmi.StubGenerator (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.tools.rmi.StubGenerator

-
-
No usage of javassist.tools.rmi.StubGenerator
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/rmi/package-summary.html b/html/javassist/tools/rmi/package-summary.html deleted file mode 100644 index 78af9b6e..00000000 --- a/html/javassist/tools/rmi/package-summary.html +++ /dev/null @@ -1,250 +0,0 @@ - - - - - -javassist.tools.rmi (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Package javassist.tools.rmi

-
-
-
- - -
Sample implementation of remote method invocation. - -

This package enables applets to access remote objects -running on the web server with regular Java syntax. -It is provided as a sample implementation with Javassist. -All the programs in this package uses only the regular -Javassist API; they never call any hidden methods. - -

The most significant class of this package is -ObjectImporter. -See the description of this class first.

-
-
    -
  • - - - - - - - - - - - - -
    Interface Summary 
    InterfaceDescription
    Proxy -
    An interface implemented by proxy classes.
    -
    -
  • -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    AppletServer -
    An AppletServer object is a web server that an ObjectImporter - communicates with.
    -
    ObjectImporter -
    The object importer enables applets to call a method on a remote - object running on the Webserver (the main class of this - package).
    -
    RemoteRef -
    Remote reference.
    -
    Sample -
    A template used for defining a proxy class.
    -
    StubGenerator -
    A stub-code generator.
    -
    -
  • -
  • - - - - - - - - - - - - - - - - -
    Exception Summary 
    ExceptionDescription
    ObjectNotFoundException 
    RemoteException -
    RemoteException represents any exception thrown - during remote method invocation.
    -
    -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/rmi/package-tree.html b/html/javassist/tools/rmi/package-tree.html deleted file mode 100644 index 0c144541..00000000 --- a/html/javassist/tools/rmi/package-tree.html +++ /dev/null @@ -1,192 +0,0 @@ - - - - - -javassist.tools.rmi Class Hierarchy (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Hierarchy For Package javassist.tools.rmi

-Package Hierarchies: - -
-
-
-

Class Hierarchy

- -
-
-

Interface Hierarchy

-
    -
  • javassist.tools.rmi.Proxy
  • -
-
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/rmi/package-use.html b/html/javassist/tools/rmi/package-use.html deleted file mode 100644 index 23b325de..00000000 --- a/html/javassist/tools/rmi/package-use.html +++ /dev/null @@ -1,193 +0,0 @@ - - - - - -Uses of Package javassist.tools.rmi (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Package
javassist.tools.rmi

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/web/BadHttpRequest.html b/html/javassist/tools/web/BadHttpRequest.html deleted file mode 100644 index 03a3032e..00000000 --- a/html/javassist/tools/web/BadHttpRequest.html +++ /dev/null @@ -1,350 +0,0 @@ - - - - - -BadHttpRequest (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class BadHttpRequest

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.lang.Throwable
    • -
    • -
        -
      • java.lang.Exception
      • -
      • -
          -
        • javassist.tools.web.BadHttpRequest
        • -
        -
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    public class BadHttpRequest
    -extends java.lang.Exception
    -
    Thrown when receiving an invalid HTTP request.
    -
    -
    See Also:
    -
    Serialized Form
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      java.lang.StringtoString() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        BadHttpRequest

        -
        public BadHttpRequest()
        -
      • -
      - - - -
        -
      • -

        BadHttpRequest

        -
        public BadHttpRequest​(java.lang.Exception _e)
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Throwable
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/web/Viewer.html b/html/javassist/tools/web/Viewer.html deleted file mode 100644 index b958d632..00000000 --- a/html/javassist/tools/web/Viewer.html +++ /dev/null @@ -1,424 +0,0 @@ - - - - - -Viewer (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Viewer

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.lang.ClassLoader
    • -
    • -
        -
      • javassist.tools.web.Viewer
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    public class Viewer
    -extends java.lang.ClassLoader
    -
    A sample applet viewer. - -

    This is a sort of applet viewer that can run any program even if - the main class is not a subclass of Applet. - This viewwer first calls main() in the main class. - -

    To run, you should type: - -

    % java javassist.tools.web.Viewer host port Main arg1, ...
    - -

    This command calls Main.main() with arg1,... - All classes including Main are fetched from - a server http://host:port. - Only the class file for Viewer must exist - on a local file system at the client side; even other - javassist.* classes are not needed at the client side. - Viewer uses only Java core API classes. - -

    Note: since a Viewer object is a class loader, - a program loaded by this object can call a method in Viewer. - For example, you can write something like this: - -

    - Viewer v = (Viewer)this.getClass().getClassLoader();
    - String port = v.getPort();
    - 
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Viewer​(java.lang.String host, - int p) -
      Constructs a viewer.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      intgetPort() -
      Returns the port number.
      -
      java.lang.StringgetServer() -
      Returns the server name.
      -
      static voidmain​(java.lang.String[] args) -
      Starts a program.
      -
      voidrun​(java.lang.String classname, - java.lang.String[] args) -
      Invokes main() in the class specified by classname.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.ClassLoader

        -clearAssertionStatus, getDefinedPackage, getDefinedPackages, getName, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Viewer

        -
        public Viewer​(java.lang.String host,
        -              int p)
        -
        Constructs a viewer.
        -
        -
        Parameters:
        -
        host - server name
        -
        p - port number
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        main

        -
        public static void main​(java.lang.String[] args)
        -                 throws java.lang.Throwable
        -
        Starts a program.
        -
        -
        Throws:
        -
        java.lang.Throwable
        -
        -
      • -
      - - - -
        -
      • -

        getServer

        -
        public java.lang.String getServer()
        -
        Returns the server name.
        -
      • -
      - - - -
        -
      • -

        getPort

        -
        public int getPort()
        -
        Returns the port number.
        -
      • -
      - - - -
        -
      • -

        run

        -
        public void run​(java.lang.String classname,
        -                java.lang.String[] args)
        -         throws java.lang.Throwable
        -
        Invokes main() in the class specified by classname.
        -
        -
        Parameters:
        -
        classname - executed class
        -
        args - the arguments passed to main().
        -
        Throws:
        -
        java.lang.Throwable
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/web/Webserver.html b/html/javassist/tools/web/Webserver.html deleted file mode 100644 index 7e6f7834..00000000 --- a/html/javassist/tools/web/Webserver.html +++ /dev/null @@ -1,637 +0,0 @@ - - - - - -Webserver (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class Webserver

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.tools.web.Webserver
    • -
    -
  • -
-
-
    -
  • -
    -
    Direct Known Subclasses:
    -
    AppletServer
    -
    -
    -
    public class Webserver
    -extends java.lang.Object
    -
    A web server for running sample programs. - -

    This enables a Java program to instrument class files loaded by - web browsers for applets. Since the (standard) security manager - does not allow an applet to create and use a class loader, - instrumenting class files must be done by this web server. - -

    Note: although this class is included in the Javassist API, - it is provided as a sample implementation of the web server using - Javassist. Especially, there might be security flaws in this server. - Please use this with YOUR OWN RISK.

    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      java.lang.StringdebugDir -
      If this field is not null, the class files taken from - ClassPool are written out under the directory - specified by this field.
      -
      java.lang.StringhtmlfileBase -
      The top directory of html (and .gif, .class, ...) files.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Webserver​(int port) -
      Constructs a web server.
      -
      Webserver​(java.lang.String port) -
      Constructs a web server.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidaddTranslator​(ClassPool cp, - Translator t) -
      Adds a translator, which is called whenever a client requests - a class file.
      -
      voiddoReply​(java.io.InputStream in, - java.io.OutputStream out, - java.lang.String cmd) -
      Proceses a HTTP request from a client.
      -
      voidend() -
      Closes the socket.
      -
      voidlogging​(java.lang.String msg) -
      Prints a log message.
      -
      voidlogging​(java.lang.String msg1, - java.lang.String msg2) -
      Prints a log message.
      -
      voidlogging​(java.lang.String msg1, - java.lang.String msg2, - java.lang.String msg3) -
      Prints a log message.
      -
      voidlogging2​(java.lang.String msg) -
      Prints a log message with indentation.
      -
      static voidmain​(java.lang.String[] args) -
      Starts a web server.
      -
      voidrun() -
      Begins the HTTP service.
      -
      voidsetClassPool​(ClassPool loader) -
      Requests the web server to use the specified - ClassPool object for obtaining a class file.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        debugDir

        -
        public java.lang.String debugDir
        -
        If this field is not null, the class files taken from - ClassPool are written out under the directory - specified by this field. The directory name must not end - with a directory separator.
        -
      • -
      - - - -
        -
      • -

        htmlfileBase

        -
        public java.lang.String htmlfileBase
        -
        The top directory of html (and .gif, .class, ...) files. - It must end with the directory separator such as "/". - (For portability, "/" should be used as the directory separator. - Javassist automatically translates "/" into a platform-dependent - character.) - If this field is null, the top directory is the current one where - the JVM is running. - -

        If the given URL indicates a class file and the class file - is not found under the directory specified by this variable, - then Class.getResourceAsStream() is called - for searching the Java class paths.

        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Webserver

        -
        public Webserver​(java.lang.String port)
        -          throws java.io.IOException
        -
        Constructs a web server.
        -
        -
        Parameters:
        -
        port - port number
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        Webserver

        -
        public Webserver​(int port)
        -          throws java.io.IOException
        -
        Constructs a web server.
        -
        -
        Parameters:
        -
        port - port number
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        main

        -
        public static void main​(java.lang.String[] args)
        -                 throws java.io.IOException
        -
        Starts a web server. - The port number is specified by the first argument.
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        setClassPool

        -
        public void setClassPool​(ClassPool loader)
        -
        Requests the web server to use the specified - ClassPool object for obtaining a class file.
        -
      • -
      - - - - - - - -
        -
      • -

        end

        -
        public void end()
        -         throws java.io.IOException
        -
        Closes the socket.
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        logging

        -
        public void logging​(java.lang.String msg)
        -
        Prints a log message.
        -
      • -
      - - - -
        -
      • -

        logging

        -
        public void logging​(java.lang.String msg1,
        -                    java.lang.String msg2)
        -
        Prints a log message.
        -
      • -
      - - - -
        -
      • -

        logging

        -
        public void logging​(java.lang.String msg1,
        -                    java.lang.String msg2,
        -                    java.lang.String msg3)
        -
        Prints a log message.
        -
      • -
      - - - -
        -
      • -

        logging2

        -
        public void logging2​(java.lang.String msg)
        -
        Prints a log message with indentation.
        -
      • -
      - - - -
        -
      • -

        run

        -
        public void run()
        -
        Begins the HTTP service.
        -
      • -
      - - - -
        -
      • -

        doReply

        -
        public void doReply​(java.io.InputStream in,
        -                    java.io.OutputStream out,
        -                    java.lang.String cmd)
        -             throws java.io.IOException,
        -                    BadHttpRequest
        -
        Proceses a HTTP request from a client.
        -
        -
        Parameters:
        -
        out - the output stream to a client
        -
        cmd - the command received from a client
        -
        Throws:
        -
        java.io.IOException
        -
        BadHttpRequest
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/web/class-use/BadHttpRequest.html b/html/javassist/tools/web/class-use/BadHttpRequest.html deleted file mode 100644 index 1cca08bf..00000000 --- a/html/javassist/tools/web/class-use/BadHttpRequest.html +++ /dev/null @@ -1,231 +0,0 @@ - - - - - -Uses of Class javassist.tools.web.BadHttpRequest (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.tools.web.BadHttpRequest

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/web/class-use/Viewer.html b/html/javassist/tools/web/class-use/Viewer.html deleted file mode 100644 index 44c56579..00000000 --- a/html/javassist/tools/web/class-use/Viewer.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.tools.web.Viewer (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.tools.web.Viewer

-
-
No usage of javassist.tools.web.Viewer
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/web/class-use/Webserver.html b/html/javassist/tools/web/class-use/Webserver.html deleted file mode 100644 index b5fc8f06..00000000 --- a/html/javassist/tools/web/class-use/Webserver.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - - -Uses of Class javassist.tools.web.Webserver (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.tools.web.Webserver

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/web/package-summary.html b/html/javassist/tools/web/package-summary.html deleted file mode 100644 index 56a4395f..00000000 --- a/html/javassist/tools/web/package-summary.html +++ /dev/null @@ -1,199 +0,0 @@ - - - - - -javassist.tools.web (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Package javassist.tools.web

-
-
-
- - -
Simple web server for running sample code. - -

This package provides a simple web server for sample packages.

-
-
    -
  • - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    Viewer -
    A sample applet viewer.
    -
    Webserver -
    A web server for running sample programs.
    -
    -
  • -
  • - - - - - - - - - - - - -
    Exception Summary 
    ExceptionDescription
    BadHttpRequest -
    Thrown when receiving an invalid HTTP request.
    -
    -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/web/package-tree.html b/html/javassist/tools/web/package-tree.html deleted file mode 100644 index d5a9e8df..00000000 --- a/html/javassist/tools/web/package-tree.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - -javassist.tools.web Class Hierarchy (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Hierarchy For Package javassist.tools.web

-Package Hierarchies: - -
-
-
-

Class Hierarchy

-
    -
  • java.lang.Object -
      -
    • java.lang.ClassLoader -
        -
      • javassist.tools.web.Viewer
      • -
      -
    • -
    • java.lang.Throwable (implements java.io.Serializable) - -
    • -
    • javassist.tools.web.Webserver
    • -
    -
  • -
-
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/tools/web/package-use.html b/html/javassist/tools/web/package-use.html deleted file mode 100644 index bfd4ff1f..00000000 --- a/html/javassist/tools/web/package-use.html +++ /dev/null @@ -1,219 +0,0 @@ - - - - - -Uses of Package javassist.tools.web (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Package
javassist.tools.web

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/HotSwapAgent.html b/html/javassist/util/HotSwapAgent.html deleted file mode 100644 index a6567a1c..00000000 --- a/html/javassist/util/HotSwapAgent.html +++ /dev/null @@ -1,488 +0,0 @@ - - - - - -HotSwapAgent (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class HotSwapAgent

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.util.HotSwapAgent
    • -
    -
  • -
-
-
    -
  • -
    -
    public class HotSwapAgent
    -extends java.lang.Object
    -
    A utility class for dynamically adding a new method - or modifying an existing method body. - This class provides redefine(Class, CtClass) - and redefine(Class[], CtClass[]), which replace the - existing class definition with a new one. - These methods perform the replacement by - java.lang.instrument.Instrumentation. For details - of acceptable modification, - see the Instrumentation interface. - -

    Before calling the redefine methods, the hotswap agent - has to be deployed.

    - -

    To create a hotswap agent, run createAgentJarFile(String). - For example, the following command creates an agent file named hotswap.jar. - -

    - $ jshell --class-path javassist.jar
    - jshell> javassist.util.HotSwapAgent.createAgentJarFile("hotswap.jar") 
    - 
    - -

    Then, run the JVM with the VM argument -javaagent:hotswap.jar - to deploy the hotswap agent. -

    - -

    If the -javaagent option is not given to the JVM, HotSwapAgent - attempts to automatically create and start the hotswap agent on demand. - This automated deployment may fail. If it fails, manually create the hotswap agent - and deploy it by -javaagent.

    - -

    The HotSwapAgent requires tools.jar as well as javassist.jar.

    - -

    The idea of this class was given by Adam Lugowski. - Shigeru Chiba wrote this class by referring - to his RedefineClassAgent. - For details, see this discussion. -

    -
    -
    Since:
    -
    3.22
    -
    See Also:
    -
    redefine(Class, CtClass), -redefine(Class[], CtClass[])
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      HotSwapAgent() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static voidagentmain​(java.lang.String agentArgs, - java.lang.instrument.Instrumentation inst) -
      The entry point invoked when this agent is started after the JVM starts.
      -
      static java.io.FilecreateAgentJarFile​(java.lang.String fileName) -
      Creates an agent file for using HotSwapAgent.
      -
      java.lang.instrument.Instrumentationinstrumentation() -
      Obtains the Instrumentation object.
      -
      static voidpremain​(java.lang.String agentArgs, - java.lang.instrument.Instrumentation inst) -
      The entry point invoked when this agent is started by -javaagent.
      -
      static voidredefine​(java.lang.Class<?>[] oldClasses, - CtClass[] newClasses) -
      Redefines classes.
      -
      static voidredefine​(java.lang.Class<?> oldClass, - CtClass newClass) -
      Redefines a class.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        HotSwapAgent

        -
        public HotSwapAgent()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        instrumentation

        -
        public java.lang.instrument.Instrumentation instrumentation()
        -
        Obtains the Instrumentation object.
        -
        -
        Returns:
        -
        null when it is not available.
        -
        -
      • -
      - - - -
        -
      • -

        premain

        -
        public static void premain​(java.lang.String agentArgs,
        -                           java.lang.instrument.Instrumentation inst)
        -                    throws java.lang.Throwable
        -
        The entry point invoked when this agent is started by -javaagent.
        -
        -
        Throws:
        -
        java.lang.Throwable
        -
        -
      • -
      - - - -
        -
      • -

        agentmain

        -
        public static void agentmain​(java.lang.String agentArgs,
        -                             java.lang.instrument.Instrumentation inst)
        -                      throws java.lang.Throwable
        -
        The entry point invoked when this agent is started after the JVM starts.
        -
        -
        Throws:
        -
        java.lang.Throwable
        -
        -
      • -
      - - - - - - - - - - - - -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/HotSwapper.html b/html/javassist/util/HotSwapper.html deleted file mode 100644 index 0a4a09fd..00000000 --- a/html/javassist/util/HotSwapper.html +++ /dev/null @@ -1,429 +0,0 @@ - - - - - -HotSwapper (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class HotSwapper

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.util.HotSwapper
    • -
    -
  • -
-
-
    -
  • -
    -
    public class HotSwapper
    -extends java.lang.Object
    -
    A utility class for dynamically reloading a class by - the Java Platform Debugger Architecture (JPDA), or HotSwap. - It works only with JDK 1.4 and later. - -

    Note: The new definition of the reloaded class must declare - the same set of methods and fields as the original definition. The - schema change between the original and new definitions is not allowed - by the JPDA. - -

    To use this class, the JVM must be launched with the following - command line options: - -

    For Java 1.4,
    -

    java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
    -

    For Java 5,
    -

    java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000
    - -

    Note that 8000 is the port number used by HotSwapper. - Any port number can be specified. Since HotSwapper does not - launch another JVM for running a target application, this port number - is used only for inter-thread communication. - -

    Furthermore, JAVA_HOME/lib/tools.jar must be included - in the class path. - -

    Using HotSwapper is easy. See the following example: - -

    - CtClass clazz = ...
    - byte[] classFile = clazz.toBytecode();
    - HotSwapper hs = new HostSwapper(8000);  // 8000 is a port number.
    - hs.reload("Test", classFile);
    - 
    - -

    reload() - first unload the Test class and load a new version of - the Test class. - classFile is a byte array containing the new contents of - the class file for the Test class. The developers can - repatedly call reload() on the same HotSwapper - object so that they can reload a number of classes. - -

    HotSwap depends on the debug agent to perform hot-swapping - but it is reported that the debug agent is buggy under massively multithreaded - environments. If you encounter a problem, try HotSwapAgent.

    -
    -
    Since:
    -
    3.1
    -
    See Also:
    -
    HotSwapAgent
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      HotSwapper​(int port) -
      Connects to the JVM.
      -
      HotSwapper​(java.lang.String port) -
      Connects to the JVM.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidreload​(java.lang.String className, - byte[] classFile) -
      Reloads a class.
      -
      voidreload​(java.util.Map<java.lang.String,​byte[]> classFiles) -
      Reloads a class.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        HotSwapper

        -
        public HotSwapper​(int port)
        -           throws java.io.IOException,
        -                  com.sun.jdi.connect.IllegalConnectorArgumentsException
        -
        Connects to the JVM.
        -
        -
        Parameters:
        -
        port - the port number used for the connection to the JVM.
        -
        Throws:
        -
        java.io.IOException
        -
        com.sun.jdi.connect.IllegalConnectorArgumentsException
        -
        -
      • -
      - - - -
        -
      • -

        HotSwapper

        -
        public HotSwapper​(java.lang.String port)
        -           throws java.io.IOException,
        -                  com.sun.jdi.connect.IllegalConnectorArgumentsException
        -
        Connects to the JVM.
        -
        -
        Parameters:
        -
        port - the port number used for the connection to the JVM.
        -
        Throws:
        -
        java.io.IOException
        -
        com.sun.jdi.connect.IllegalConnectorArgumentsException
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        reload

        -
        public void reload​(java.lang.String className,
        -                   byte[] classFile)
        -
        Reloads a class.
        -
        -
        Parameters:
        -
        className - the fully-qualified class name.
        -
        classFile - the contents of the class file.
        -
        -
      • -
      - - - -
        -
      • -

        reload

        -
        public void reload​(java.util.Map<java.lang.String,​byte[]> classFiles)
        -
        Reloads a class.
        -
        -
        Parameters:
        -
        classFiles - a map between fully-qualified class names - and class files. The type of the class names - is String and the type of the - class files is byte[].
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/class-use/HotSwapAgent.html b/html/javassist/util/class-use/HotSwapAgent.html deleted file mode 100644 index e20db452..00000000 --- a/html/javassist/util/class-use/HotSwapAgent.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.util.HotSwapAgent (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.util.HotSwapAgent

-
-
No usage of javassist.util.HotSwapAgent
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/class-use/HotSwapper.html b/html/javassist/util/class-use/HotSwapper.html deleted file mode 100644 index 99fca468..00000000 --- a/html/javassist/util/class-use/HotSwapper.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.util.HotSwapper (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.util.HotSwapper

-
-
No usage of javassist.util.HotSwapper
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/package-summary.html b/html/javassist/util/package-summary.html deleted file mode 100644 index 83a0de96..00000000 --- a/html/javassist/util/package-summary.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - -javassist.util (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Package javassist.util

-
-
-
- - -
Utility classes.
-
-
    -
  • - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    HotSwapAgent -
    A utility class for dynamically adding a new method - or modifying an existing method body.
    -
    HotSwapper -
    A utility class for dynamically reloading a class by - the Java Platform Debugger Architecture (JPDA), or HotSwap.
    -
    -
  • -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/package-tree.html b/html/javassist/util/package-tree.html deleted file mode 100644 index cb2afdd7..00000000 --- a/html/javassist/util/package-tree.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - -javassist.util Class Hierarchy (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Hierarchy For Package javassist.util

-Package Hierarchies: - -
-
-
-

Class Hierarchy

- -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/package-use.html b/html/javassist/util/package-use.html deleted file mode 100644 index 0d5274ba..00000000 --- a/html/javassist/util/package-use.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Package javassist.util (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Package
javassist.util

-
-
No usage of javassist.util
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/DefineClassHelper.html b/html/javassist/util/proxy/DefineClassHelper.html deleted file mode 100644 index 8f73f37e..00000000 --- a/html/javassist/util/proxy/DefineClassHelper.html +++ /dev/null @@ -1,369 +0,0 @@ - - - - - -DefineClassHelper (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class DefineClassHelper

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.util.proxy.DefineClassHelper
    • -
    -
  • -
-
-
    -
  • -
    -
    public class DefineClassHelper
    -extends java.lang.Object
    -
    Helper class for invoking ClassLoader.defineClass(String,byte[],int,int).
    -
    -
    Since:
    -
    3.22
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static java.lang.Class<?>toClass​(java.lang.Class<?> neighbor, - byte[] bcode) -
      Loads a class file by java.lang.invoke.MethodHandles.Lookup.
      -
      static java.lang.Class<?>toClass​(java.lang.invoke.MethodHandles.Lookup lookup, - byte[] bcode) -
      Loads a class file by java.lang.invoke.MethodHandles.Lookup.
      -
      static java.lang.Class<?>toClass​(java.lang.String className, - java.lang.Class<?> neighbor, - java.lang.ClassLoader loader, - java.security.ProtectionDomain domain, - byte[] bcode) -
      Loads a class file by a given class loader.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        toClass

        -
        public static java.lang.Class<?> toClass​(java.lang.String className,
        -                                         java.lang.Class<?> neighbor,
        -                                         java.lang.ClassLoader loader,
        -                                         java.security.ProtectionDomain domain,
        -                                         byte[] bcode)
        -                                  throws CannotCompileException
        -
        Loads a class file by a given class loader. - -

        This first tries to use java.lang.invoke.MethodHandle to load a class. - Otherwise, or if neighbor is null, - this tries to use sun.misc.Unsafe to load a class. - Then it tries to use a protected method in java.lang.ClassLoader - via PrivilegedAction. Since the latter approach is not available - any longer by default in Java 9 or later, the JVM argument - --add-opens java.base/java.lang=ALL-UNNAMED must be given to the JVM. - If this JVM argument cannot be given, toPublicClass(String,byte[]) - should be used instead. -

        -
        -
        Parameters:
        -
        className - the name of the loaded class.
        -
        neighbor - the class contained in the same package as the loaded class.
        -
        loader - the class loader. It can be null if neighbor is not null - and the JVM is Java 11 or later.
        -
        domain - if it is null, a default domain is used.
        -
        bcode - the bytecode for the loaded class.
        -
        Throws:
        -
        CannotCompileException
        -
        Since:
        -
        3.22
        -
        -
      • -
      - - - -
        -
      • -

        toClass

        -
        public static java.lang.Class<?> toClass​(java.lang.Class<?> neighbor,
        -                                         byte[] bcode)
        -                                  throws CannotCompileException
        -
        Loads a class file by java.lang.invoke.MethodHandles.Lookup. - It is obtained by using neighbor.
        -
        -
        Parameters:
        -
        neighbor - a class belonging to the same package that the loaded - class belogns to.
        -
        bcode - the bytecode.
        -
        Throws:
        -
        CannotCompileException
        -
        Since:
        -
        3.24
        -
        -
      • -
      - - - -
        -
      • -

        toClass

        -
        public static java.lang.Class<?> toClass​(java.lang.invoke.MethodHandles.Lookup lookup,
        -                                         byte[] bcode)
        -                                  throws CannotCompileException
        -
        Loads a class file by java.lang.invoke.MethodHandles.Lookup. - It can be obtained by MethodHandles.lookup() called from - somewhere in the package that the loaded class belongs to.
        -
        -
        Parameters:
        -
        bcode - the bytecode.
        -
        Throws:
        -
        CannotCompileException
        -
        Since:
        -
        3.24
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/DefinePackageHelper.html b/html/javassist/util/proxy/DefinePackageHelper.html deleted file mode 100644 index d514ec2e..00000000 --- a/html/javassist/util/proxy/DefinePackageHelper.html +++ /dev/null @@ -1,301 +0,0 @@ - - - - - -DefinePackageHelper (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class DefinePackageHelper

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.util.proxy.DefinePackageHelper
    • -
    -
  • -
-
-
    -
  • -
    -
    public class DefinePackageHelper
    -extends java.lang.Object
    -
    Helper class for invoking ClassLoader.defineClass(String,byte[],int,int).
    -
    -
    Since:
    -
    3.22
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static voiddefinePackage​(java.lang.String className, - java.lang.ClassLoader loader) -
      Defines a new package.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        definePackage

        -
        public static void definePackage​(java.lang.String className,
        -                                 java.lang.ClassLoader loader)
        -                          throws CannotCompileException
        -
        Defines a new package. If the package is already defined, this method - performs nothing. - -

        You do not necessarily need to - call this method. If this method is called, then - getPackage() on the Class object returned - by toClass() will return a non-null object.

        - -

        The jigsaw module introduced by Java 9 has broken this method. - In Java 9 or later, the VM argument - --add-opens java.base/java.lang=ALL-UNNAMED - has to be given to the JVM so that this method can run. -

        -
        -
        Parameters:
        -
        loader - the class loader passed to toClass() or - the default one obtained by getClassLoader().
        -
        className - the package name.
        -
        Throws:
        -
        CannotCompileException
        -
        See Also:
        -
        Class.getClassLoader(), -CtClass.toClass()
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/FactoryHelper.html b/html/javassist/util/proxy/FactoryHelper.html deleted file mode 100644 index 55d0d7c9..00000000 --- a/html/javassist/util/proxy/FactoryHelper.html +++ /dev/null @@ -1,610 +0,0 @@ - - - - - -FactoryHelper (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class FactoryHelper

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.util.proxy.FactoryHelper
    • -
    -
  • -
-
-
    -
  • -
    -
    public class FactoryHelper
    -extends java.lang.Object
    -
    A helper class for implementing ProxyFactory. - The users of ProxyFactory do not have to see this class.
    -
    -
    See Also:
    -
    ProxyFactory
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static int[]dataSize -
      The data size of primitive types.
      -
      static java.lang.Class<?>[]primitiveTypes -
      Class objects representing primitive types.
      -
      static java.lang.String[]unwarpMethods -
      The names of methods for obtaining a primitive value - from a wrapper object.
      -
      static java.lang.String[]unwrapDesc -
      The descriptors of the unwrapping methods contained - in unwrapMethods.
      -
      static java.lang.String[]wrapperDesc -
      The descriptors of the constructors of wrapper classes.
      -
      static java.lang.String[]wrapperTypes -
      The fully-qualified names of wrapper classes for primitive types.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      FactoryHelper() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and TypeMethodDescription
      static java.lang.Class<?>toClass​(ClassFile cf, - java.lang.Class<?> neighbor, - java.lang.ClassLoader loader, - java.security.ProtectionDomain domain) -
      Loads a class file by a given class loader.
      -
      static java.lang.Class<?>toClass​(ClassFile cf, - java.lang.ClassLoader loader) -
      Deprecated. 
      -
      static java.lang.Class<?>toClass​(ClassFile cf, - java.lang.ClassLoader loader, - java.security.ProtectionDomain domain) -
      Deprecated. 
      -
      static java.lang.Class<?>toClass​(ClassFile cf, - java.lang.invoke.MethodHandles.Lookup lookup) -
      Loads a class file by a given lookup.
      -
      static inttypeIndex​(java.lang.Class<?> type) -
      Returns an index for accessing arrays in this class.
      -
      static voidwriteFile​(ClassFile cf, - java.lang.String directoryName) -
      Writes a class file.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        primitiveTypes

        -
        public static final java.lang.Class<?>[] primitiveTypes
        -
        Class objects representing primitive types.
        -
      • -
      - - - -
        -
      • -

        wrapperTypes

        -
        public static final java.lang.String[] wrapperTypes
        -
        The fully-qualified names of wrapper classes for primitive types.
        -
      • -
      - - - -
        -
      • -

        wrapperDesc

        -
        public static final java.lang.String[] wrapperDesc
        -
        The descriptors of the constructors of wrapper classes.
        -
      • -
      - - - -
        -
      • -

        unwarpMethods

        -
        public static final java.lang.String[] unwarpMethods
        -
        The names of methods for obtaining a primitive value - from a wrapper object. For example, intValue() - is such a method for obtaining an integer value from a - java.lang.Integer object.
        -
      • -
      - - - -
        -
      • -

        unwrapDesc

        -
        public static final java.lang.String[] unwrapDesc
        -
        The descriptors of the unwrapping methods contained - in unwrapMethods.
        -
      • -
      - - - -
        -
      • -

        dataSize

        -
        public static final int[] dataSize
        -
        The data size of primitive types. long - and double are 2; the others are 1.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        FactoryHelper

        -
        public FactoryHelper()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        typeIndex

        -
        public static final int typeIndex​(java.lang.Class<?> type)
        -
        Returns an index for accessing arrays in this class.
        -
        -
        Throws:
        -
        java.lang.RuntimeException - if a given type is not a primitive type.
        -
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        toClass

        -
        public static java.lang.Class<?> toClass​(ClassFile cf,
        -                                         java.lang.Class<?> neighbor,
        -                                         java.lang.ClassLoader loader,
        -                                         java.security.ProtectionDomain domain)
        -                                  throws CannotCompileException
        -
        Loads a class file by a given class loader.
        -
        -
        Parameters:
        -
        neighbor - a class belonging to the same package that - the loaded class belongs to. - It can be null.
        -
        loader - The class loader. It can be null if neighbor - is not null.
        -
        domain - if it is null, a default domain is used.
        -
        Throws:
        -
        CannotCompileException
        -
        Since:
        -
        3.3
        -
        -
      • -
      - - - -
        -
      • -

        toClass

        -
        public static java.lang.Class<?> toClass​(ClassFile cf,
        -                                         java.lang.invoke.MethodHandles.Lookup lookup)
        -                                  throws CannotCompileException
        -
        Loads a class file by a given lookup.
        -
        -
        Parameters:
        -
        lookup - used to define the class.
        -
        Throws:
        -
        CannotCompileException
        -
        Since:
        -
        3.24
        -
        -
      • -
      - - - - -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/MethodFilter.html b/html/javassist/util/proxy/MethodFilter.html deleted file mode 100644 index 8e52f5bd..00000000 --- a/html/javassist/util/proxy/MethodFilter.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - -MethodFilter (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Interface MethodFilter

-
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - -
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      booleanisHandled​(java.lang.reflect.Method m) -
      Returns true if the given method is implemented by a handler.
      -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        isHandled

        -
        boolean isHandled​(java.lang.reflect.Method m)
        -
        Returns true if the given method is implemented by a handler.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/MethodHandler.html b/html/javassist/util/proxy/MethodHandler.html deleted file mode 100644 index 22a9b584..00000000 --- a/html/javassist/util/proxy/MethodHandler.html +++ /dev/null @@ -1,287 +0,0 @@ - - - - - -MethodHandler (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Interface MethodHandler

-
-
-
-
    -
  • -
    -
    public interface MethodHandler
    -
    The interface implemented by the invocation handler of a proxy - instance.
    -
    -
    See Also:
    -
    Proxy.setHandler(MethodHandler)
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - -
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      java.lang.Objectinvoke​(java.lang.Object self, - java.lang.reflect.Method thisMethod, - java.lang.reflect.Method proceed, - java.lang.Object[] args) -
      Is called when a method is invoked on a proxy instance associated - with this handler.
      -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        invoke

        -
        java.lang.Object invoke​(java.lang.Object self,
        -                        java.lang.reflect.Method thisMethod,
        -                        java.lang.reflect.Method proceed,
        -                        java.lang.Object[] args)
        -                 throws java.lang.Throwable
        -
        Is called when a method is invoked on a proxy instance associated - with this handler. This method must process that method invocation.
        -
        -
        Parameters:
        -
        self - the proxy instance.
        -
        thisMethod - the overridden method declared in the super - class or interface.
        -
        proceed - the forwarder method for invoking the overridden - method. It is null if the overridden method is - abstract or declared in the interface.
        -
        args - an array of objects containing the values of - the arguments passed in the method invocation - on the proxy instance. If a parameter type is - a primitive type, the type of the array element - is a wrapper class.
        -
        Returns:
        -
        the resulting value of the method invocation.
        -
        Throws:
        -
        java.lang.Throwable - if the method invocation fails.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/Proxy.html b/html/javassist/util/proxy/Proxy.html deleted file mode 100644 index 043e479e..00000000 --- a/html/javassist/util/proxy/Proxy.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - -Proxy (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Interface Proxy

-
-
-
-
    -
  • -
    -
    All Known Subinterfaces:
    -
    ProxyObject
    -
    -
    -
    public interface Proxy
    -
    The interface implemented by proxy classes. - This interface only provides a setter method. - To obtain a handler, call ProxyFactory.getHandler(Proxy).
    -
    -
    Since:
    -
    3.16
    -
    See Also:
    -
    ProxyFactory
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setHandler

        -
        void setHandler​(MethodHandler mi)
        -
        Sets a handler. It can be used for changing handlers - during runtime.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/ProxyFactory.ClassLoaderProvider.html b/html/javassist/util/proxy/ProxyFactory.ClassLoaderProvider.html deleted file mode 100644 index abbfc532..00000000 --- a/html/javassist/util/proxy/ProxyFactory.ClassLoaderProvider.html +++ /dev/null @@ -1,269 +0,0 @@ - - - - - -ProxyFactory.ClassLoaderProvider (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Interface ProxyFactory.ClassLoaderProvider

-
-
-
- -
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        get

        -
        java.lang.ClassLoader get​(ProxyFactory pf)
        -
        Returns a class loader.
        -
        -
        Parameters:
        -
        pf - a proxy factory that is going to obtain a class loader.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/ProxyFactory.UniqueName.html b/html/javassist/util/proxy/ProxyFactory.UniqueName.html deleted file mode 100644 index c69987f5..00000000 --- a/html/javassist/util/proxy/ProxyFactory.UniqueName.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - -ProxyFactory.UniqueName (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Interface ProxyFactory.UniqueName

-
-
-
-
    -
  • -
    -
    Enclosing class:
    -
    ProxyFactory
    -
    -
    -
    public static interface ProxyFactory.UniqueName
    -
    A unique class name generator.
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - -
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      java.lang.Stringget​(java.lang.String classname) -
      Returns a unique class name.
      -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        get

        -
        java.lang.String get​(java.lang.String classname)
        -
        Returns a unique class name.
        -
        -
        Parameters:
        -
        classname - the super class name of the proxy class.
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/ProxyFactory.html b/html/javassist/util/proxy/ProxyFactory.html deleted file mode 100644 index 4cc713fd..00000000 --- a/html/javassist/util/proxy/ProxyFactory.html +++ /dev/null @@ -1,1114 +0,0 @@ - - - - - -ProxyFactory (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ProxyFactory

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.util.proxy.ProxyFactory
    • -
    -
  • -
-
-
    -
  • -
    -
    public class ProxyFactory
    -extends java.lang.Object
    -
    Factory of dynamic proxy classes. - -

    This factory generates a class that extends the given super class and implements - the given interfaces. The calls of the methods inherited from the super class are - forwarded and then invoke() is called on the method handler - associated with instances of the generated class. The calls of the methods from - the interfaces are also forwarded to the method handler. - -

    For example, if the following code is executed, - -

    - ProxyFactory f = new ProxyFactory();
    - f.setSuperclass(Foo.class);
    - f.setFilter(new MethodFilter() {
    -     public boolean isHandled(Method m) {
    -         // ignore finalize()
    -         return !m.getName().equals("finalize");
    -     }
    - });
    - Class c = f.createClass();
    - MethodHandler mi = new MethodHandler() {
    -     public Object invoke(Object self, Method m, Method proceed,
    -                          Object[] args) throws Throwable {
    -         System.out.println("Name: " + m.getName());
    -         return proceed.invoke(self, args);  // execute the original method.
    -     }
    - };
    - Foo foo = (Foo)c.newInstance();
    - ((Proxy)foo).setHandler(mi);
    - 
    - -

    Here, Method is java.lang.reflect.Method.

    - -

    Then, the following method call will be forwarded to MethodHandler - mi and prints a message before executing the originally called method - bar() in Foo. - -

    - foo.bar();
    - 
    - -

    The last three lines of the code shown above can be replaced with a call to - the helper method create, which generates a proxy class, instantiates - it, and sets the method handler of the instance: - -

    -     :
    - Foo foo = (Foo)f.create(new Class[0], new Object[0], mi);
    - 
    - -

    To change the method handler during runtime, - execute the following code: - -

    - MethodHandler mi = ... ;    // alternative handler
    - ((Proxy)foo).setHandler(mi);
    - 
    - -

    If setHandler is never called for a proxy instance then it will - employ the default handler which proceeds by invoking the original method. - The behaviour of the default handler is identical to the following - handler: - -

    - class EmptyHandler implements MethodHandler {
    -     public Object invoke(Object self, Method m,
    -                          Method proceed, Object[] args) throws Exception {
    -         return proceed.invoke(self, args);
    -     }
    - }
    - 
    - -

    A proxy factory caches and reuses proxy classes by default. It is possible to reset - this default globally by setting static field useCache to false. - Caching may also be configured for a specific factory by calling instance method - setUseCache(boolean). It is strongly recommended that new clients - of class ProxyFactory enable caching. Failure to do so may lead to exhaustion of - the heap memory area used to store classes. - -

    Caching is automatically disabled for any given proxy factory if deprecated instance - method setHandler(MethodHandler) is called. This method was - used to specify a default handler which newly created proxy classes should install - when they create their instances. It is only retained to provide backward compatibility - with previous releases of javassist. Unfortunately,this legacy behaviour makes caching - and reuse of proxy classes impossible. The current programming model expects javassist - clients to set the handler of a proxy instance explicitly by calling method - Proxy.setHandler(MethodHandler) as shown in the sample code above. New - clients are strongly recommended to use this model rather than calling - setHandler(MethodHandler). - -

    A proxy object generated by ProxyFactory is serializable - if its super class or any of its interfaces implement java.io.Serializable. - However, a serialized proxy object may not be compatible with future releases. - The serialization support should be used for short-term storage or RMI. - -

    For compatibility with older releases serialization of proxy objects is implemented by - adding a writeReplace method to the proxy class. This allows a proxy to be serialized - to a conventional ObjectOutputStream and deserialized from a corresponding - ObjectInputStream. However this method suffers from several problems, the most - notable one being that it fails to serialize state inherited from the proxy's superclass. -

    - An alternative method of serializing proxy objects is available which fixes these problems. It - requires inhibiting generation of the writeReplace method and instead using instances of - ProxyObjectOutputStream and ProxyObjectInputStream - (which are subclasses of ObjectOutputStream and ObjectInputStream) - to serialize and deserialize, respectively, the proxy. These streams recognise javassist proxies and ensure - that they are serialized and deserialized without the need for the proxy class to implement special methods - such as writeReplace. Generation of the writeReplace method can be disabled globally by setting static field - useWriteReplace to false. Alternatively, it may be - configured per factory by calling instance method setUseWriteReplace(boolean).

    -
    -
    Since:
    -
    3.1
    -
    Author:
    -
    Muga Nishizawa, Shigeru Chiba, Andrew Dinn
    -
    See Also:
    -
    MethodHandler
    -
    -
  • -
-
-
-
    -
  • - -
    - -
    - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static ProxyFactory.ClassLoaderProviderclassLoaderProvider -
      A provider used by createClass() for obtaining - a class loader.
      -
      static ProxyFactory.UniqueNamenameGenerator -
      A unique class name generator.
      -
      static booleanonlyPublicMethods -
      If true, only public/protected methods are forwarded to a proxy object.
      -
      static booleanuseCache -
      If true, a generated proxy class is cached and it will be reused - when generating the proxy class with the same properties is requested.
      -
      static booleanuseWriteReplace -
      If true, a generated proxy class will implement method writeReplace enabling - serialization of its proxies to a conventional ObjectOutputStream.
      -
      java.lang.StringwriteDirectory -
      If the value of this variable is not null, the class file of - the generated proxy class is written under the directory specified - by this variable.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      ProxyFactory() -
      Constructs a factory of proxy class.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and TypeMethodDescription
      java.lang.Objectcreate​(java.lang.Class<?>[] paramTypes, - java.lang.Object[] args) -
      Creates a proxy class and returns an instance of that class.
      -
      java.lang.Objectcreate​(java.lang.Class<?>[] paramTypes, - java.lang.Object[] args, - MethodHandler mh) -
      Creates a proxy class and returns an instance of that class.
      -
      java.lang.Class<?>createClass() -
      Generates a proxy class using the current filter.
      -
      java.lang.Class<?>createClass​(java.lang.invoke.MethodHandles.Lookup lookup) -
      Generates a proxy class using the current filter.
      -
      java.lang.Class<?>createClass​(java.lang.invoke.MethodHandles.Lookup lookup, - MethodFilter filter) -
      Generates a proxy class using the supplied filter.
      -
      java.lang.Class<?>createClass​(MethodFilter filter) -
      Generates a proxy class using the supplied filter.
      -
      static MethodHandlergetHandler​(Proxy p) -
      Obtains the method handler of the given proxy object.
      -
      java.lang.Class<?>[]getInterfaces() -
      Obtains the interfaces set by setInterfaces.
      -
      java.lang.StringgetKey​(java.lang.Class<?> superClass, - java.lang.Class<?>[] interfaces, - byte[] signature, - boolean useWriteReplace) 
      java.lang.Class<?>getSuperclass() -
      Obtains the super class set by setSuperclass().
      -
      static booleanisProxyClass​(java.lang.Class<?> cl) -
      determine if a class is a javassist proxy class
      -
      booleanisUseCache() -
      test whether this factory uses the proxy cache
      -
      booleanisUseWriteReplace() -
      test whether this factory installs a writeReplace method in created classes
      -
      voidsetFilter​(MethodFilter mf) -
      Sets a filter that selects the methods that will be controlled by a handler.
      -
      voidsetHandler​(MethodHandler mi) -
      Deprecated. -
      since 3.12 - use of this method is incompatible with proxy class caching.
      -
      -
      voidsetInterfaces​(java.lang.Class<?>[] ifs) -
      Sets the interfaces of a proxy class.
      -
      voidsetSuperclass​(java.lang.Class<?> clazz) -
      Sets the super class of a proxy class.
      -
      voidsetUseCache​(boolean useCache) -
      configure whether this factory should use the proxy cache
      -
      voidsetUseWriteReplace​(boolean useWriteReplace) -
      configure whether this factory should add a writeReplace method to created classes
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        onlyPublicMethods

        -
        public static boolean onlyPublicMethods
        -

        If true, only public/protected methods are forwarded to a proxy object. - The class for that proxy object is loaded by the defineClass method - in java.lang.invoke.MethodHandles.Lookup, which is available in - Java 9 or later. This works even when sun.misc.Unsafe is not - available for some reasons (it is already deprecated in Java 9).

        - -

        To load a class, Javassist first tries to use sun.misc.Unsafe and, - if not available, it uses a protected method in java.lang.ClassLoader - via PrivilegedAction. Since the latter approach is not available - any longer by default in Java 9 or later, the JVM argument - --add-opens java.base/java.lang=ALL-UNNAMED must be given to the JVM - when it is used (because of lack of sun.misc.Unsafe). - If this argument cannot be given to the JVM, onlyPublicMethods should - be set to true. Javassist will try to load by using - java.lang.invoke.MethodHandles.Lookup.

        - -

        The default value is false.

        -
        -
        Since:
        -
        3.22
        -
        See Also:
        -
        DefineClassHelper.toClass(String, Class, ClassLoader, ProtectionDomain, byte[])
        -
        -
      • -
      - - - -
        -
      • -

        writeDirectory

        -
        public java.lang.String writeDirectory
        -
        If the value of this variable is not null, the class file of - the generated proxy class is written under the directory specified - by this variable. For example, if the value is - ".", then the class file is written under the current - directory. This method is for debugging. - -

        The default value is null.

        -
      • -
      - - - -
        -
      • -

        useCache

        -
        public static volatile boolean useCache
        -
        If true, a generated proxy class is cached and it will be reused - when generating the proxy class with the same properties is requested. - The default value is true. - - Note that this value merely specifies the initial setting employed by any newly created - proxy factory. The factory setting may be overwritten by calling factory instance method - setUseCache(boolean)
        -
        -
        Since:
        -
        3.4
        -
        -
      • -
      - - - -
        -
      • -

        useWriteReplace

        -
        public static volatile boolean useWriteReplace
        -
        If true, a generated proxy class will implement method writeReplace enabling - serialization of its proxies to a conventional ObjectOutputStream. this (default) - setting retains the old javassist behaviour which has the advantage that it - retains compatibility with older releases and requires no extra work on the part - of the client performing the serialization. However, it has the disadvantage that - state inherited from the superclasses of the proxy is lost during serialization. - if false then serialization/deserialization of the proxy instances will preserve - all fields. However, serialization must be performed via a ProxyObjectOutputStream - and deserialization must be via ProxyObjectInputStream. Any attempt to serialize - proxies whose class was created with useWriteReplace set to false via a normal - ObjectOutputStream will fail. - - Note that this value merely specifies the initial setting employed by any newly created - proxy factory. The factory setting may be overwritten by calling factory instance method - setUseWriteReplace(boolean)
        -
        -
        Since:
        -
        3.4
        -
        -
      • -
      - - - -
        -
      • -

        classLoaderProvider

        -
        public static ProxyFactory.ClassLoaderProvider classLoaderProvider
        -
        A provider used by createClass() for obtaining - a class loader. - get() on this ClassLoaderProvider object - is called to obtain a class loader. - -

        The value of this field can be updated for changing the default - implementation. - -

        Example: -

        - ProxyFactory.classLoaderProvider = new ProxyFactory.ClassLoaderProvider() {
        -     public ClassLoader get(ProxyFactory pf) {
        -         return Thread.currentThread().getContextClassLoader();
        -     }
        - };
        - 
        -
        -
        Since:
        -
        3.4
        -
        -
      • -
      - - - -
        -
      • -

        nameGenerator

        -
        public static ProxyFactory.UniqueName nameGenerator
        -
        A unique class name generator. - Replacing this generator changes the algorithm to generate a - unique name. The get method does not have to be - a synchronized method since the access to this field - is mutually exclusive and thus thread safe.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ProxyFactory

        -
        public ProxyFactory()
        -
        Constructs a factory of proxy class.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        isUseCache

        -
        public boolean isUseCache()
        -
        test whether this factory uses the proxy cache
        -
        -
        Returns:
        -
        true if this factory uses the proxy cache otherwise false
        -
        -
      • -
      - - - -
        -
      • -

        setUseCache

        -
        public void setUseCache​(boolean useCache)
        -
        configure whether this factory should use the proxy cache
        -
        -
        Parameters:
        -
        useCache - true if this factory should use the proxy cache and false if it should not use the cache
        -
        Throws:
        -
        java.lang.RuntimeException - if a default interceptor has been set for the factory
        -
        -
      • -
      - - - -
        -
      • -

        isUseWriteReplace

        -
        public boolean isUseWriteReplace()
        -
        test whether this factory installs a writeReplace method in created classes
        -
        -
        Returns:
        -
        true if this factory installs a writeReplace method in created classes otherwise false
        -
        -
      • -
      - - - -
        -
      • -

        setUseWriteReplace

        -
        public void setUseWriteReplace​(boolean useWriteReplace)
        -
        configure whether this factory should add a writeReplace method to created classes
        -
        -
        Parameters:
        -
        useWriteReplace - true if this factory should add a writeReplace method to created classes and false if it - should not add a writeReplace method
        -
        -
      • -
      - - - -
        -
      • -

        isProxyClass

        -
        public static boolean isProxyClass​(java.lang.Class<?> cl)
        -
        determine if a class is a javassist proxy class
        -
        -
        Parameters:
        -
        cl -
        -
        Returns:
        -
        true if the class is a javassist proxy class otherwise false
        -
        -
      • -
      - - - -
        -
      • -

        setSuperclass

        -
        public void setSuperclass​(java.lang.Class<?> clazz)
        -
        Sets the super class of a proxy class.
        -
      • -
      - - - -
        -
      • -

        getSuperclass

        -
        public java.lang.Class<?> getSuperclass()
        -
        Obtains the super class set by setSuperclass().
        -
        -
        Since:
        -
        3.4
        -
        -
      • -
      - - - -
        -
      • -

        setInterfaces

        -
        public void setInterfaces​(java.lang.Class<?>[] ifs)
        -
        Sets the interfaces of a proxy class.
        -
      • -
      - - - -
        -
      • -

        getInterfaces

        -
        public java.lang.Class<?>[] getInterfaces()
        -
        Obtains the interfaces set by setInterfaces.
        -
        -
        Since:
        -
        3.4
        -
        -
      • -
      - - - -
        -
      • -

        setFilter

        -
        public void setFilter​(MethodFilter mf)
        -
        Sets a filter that selects the methods that will be controlled by a handler.
        -
      • -
      - - - -
        -
      • -

        createClass

        -
        public java.lang.Class<?> createClass()
        -
        Generates a proxy class using the current filter. - The module or package where a proxy class is created - has to be opened to this package or the Javassist module.
        -
        -
        See Also:
        -
        createClass(Lookup)
        -
        -
      • -
      - - - -
        -
      • -

        createClass

        -
        public java.lang.Class<?> createClass​(MethodFilter filter)
        -
        Generates a proxy class using the supplied filter. - The module or package where a proxy class is created - has to be opened to this package or the Javassist module.
        -
      • -
      - - - -
        -
      • -

        createClass

        -
        public java.lang.Class<?> createClass​(java.lang.invoke.MethodHandles.Lookup lookup)
        -
        Generates a proxy class using the current filter. - It loads a class file by the given - java.lang.invoke.MethodHandles.Lookup object, - which can be obtained by MethodHandles.lookup() called from - somewhere in the package that the loaded class belongs to.
        -
        -
        Parameters:
        -
        lookup - used for loading the proxy class. - It needs an appropriate right to invoke defineClass - for the proxy class.
        -
        Since:
        -
        3.24
        -
        -
      • -
      - - - -
        -
      • -

        createClass

        -
        public java.lang.Class<?> createClass​(java.lang.invoke.MethodHandles.Lookup lookup,
        -                                      MethodFilter filter)
        -
        Generates a proxy class using the supplied filter.
        -
        -
        Parameters:
        -
        lookup - used for loading the proxy class. - It needs an appropriate right to invoke defineClass - for the proxy class.
        -
        filter - the filter.
        -
        Since:
        -
        3.24
        -
        See Also:
        -
        createClass(Lookup)
        -
        -
      • -
      - - - -
        -
      • -

        getKey

        -
        public java.lang.String getKey​(java.lang.Class<?> superClass,
        -                               java.lang.Class<?>[] interfaces,
        -                               byte[] signature,
        -                               boolean useWriteReplace)
        -
      • -
      - - - -
        -
      • -

        getHandler

        -
        public static MethodHandler getHandler​(Proxy p)
        -
        Obtains the method handler of the given proxy object.
        -
        -
        Parameters:
        -
        p - a proxy object.
        -
        Returns:
        -
        the method handler.
        -
        Since:
        -
        3.16
        -
        -
      • -
      - - - -
        -
      • -

        create

        -
        public java.lang.Object create​(java.lang.Class<?>[] paramTypes,
        -                               java.lang.Object[] args,
        -                               MethodHandler mh)
        -                        throws java.lang.NoSuchMethodException,
        -                               java.lang.IllegalArgumentException,
        -                               java.lang.InstantiationException,
        -                               java.lang.IllegalAccessException,
        -                               java.lang.reflect.InvocationTargetException
        -
        Creates a proxy class and returns an instance of that class.
        -
        -
        Parameters:
        -
        paramTypes - parameter types for a constructor.
        -
        args - arguments passed to a constructor.
        -
        mh - the method handler for the proxy class.
        -
        Throws:
        -
        java.lang.NoSuchMethodException
        -
        java.lang.IllegalArgumentException
        -
        java.lang.InstantiationException
        -
        java.lang.IllegalAccessException
        -
        java.lang.reflect.InvocationTargetException
        -
        Since:
        -
        3.4
        -
        -
      • -
      - - - -
        -
      • -

        create

        -
        public java.lang.Object create​(java.lang.Class<?>[] paramTypes,
        -                               java.lang.Object[] args)
        -                        throws java.lang.NoSuchMethodException,
        -                               java.lang.IllegalArgumentException,
        -                               java.lang.InstantiationException,
        -                               java.lang.IllegalAccessException,
        -                               java.lang.reflect.InvocationTargetException
        -
        Creates a proxy class and returns an instance of that class.
        -
        -
        Parameters:
        -
        paramTypes - parameter types for a constructor.
        -
        args - arguments passed to a constructor.
        -
        Throws:
        -
        java.lang.NoSuchMethodException
        -
        java.lang.IllegalArgumentException
        -
        java.lang.InstantiationException
        -
        java.lang.IllegalAccessException
        -
        java.lang.reflect.InvocationTargetException
        -
        -
      • -
      - - - -
        -
      • -

        setHandler

        -
        @Deprecated
        -public void setHandler​(MethodHandler mi)
        -
        Deprecated. -
        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.
        -
        -
        Sets the default invocation handler. This invocation handler is shared - among all the instances of a proxy class unless another is explicitly - specified.
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- - - - diff --git a/html/javassist/util/proxy/ProxyObject.html b/html/javassist/util/proxy/ProxyObject.html deleted file mode 100644 index 3999e7ae..00000000 --- a/html/javassist/util/proxy/ProxyObject.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - - -ProxyObject (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Interface ProxyObject

-
-
-
-
    -
  • -
    -
    All Superinterfaces:
    -
    Proxy
    -
    -
    -
    public interface ProxyObject
    -extends Proxy
    -
    The interface implemented by proxy classes. - This interface is available only if the super class of the proxy object - does not have a getHandler() method. If the super class - has getHandler, then Proxy interface is - available.
    -
    -
    See Also:
    -
    ProxyFactory, -Proxy
    -
    -
  • -
-
-
- -
-
-
    -
  • - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setHandler

        -
        void setHandler​(MethodHandler mi)
        -
        Sets a handler. It can be used for changing handlers - during runtime.
        -
        -
        Specified by:
        -
        setHandler in interface Proxy
        -
        -
      • -
      - - - - -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/ProxyObjectInputStream.html b/html/javassist/util/proxy/ProxyObjectInputStream.html deleted file mode 100644 index 851c1c6a..00000000 --- a/html/javassist/util/proxy/ProxyObjectInputStream.html +++ /dev/null @@ -1,407 +0,0 @@ - - - - - -ProxyObjectInputStream (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ProxyObjectInputStream

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.io.InputStream
    • -
    • -
        -
      • java.io.ObjectInputStream
      • -
      • -
          -
        • javassist.util.proxy.ProxyObjectInputStream
        • -
        -
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Closeable, java.io.DataInput, java.io.ObjectInput, java.io.ObjectStreamConstants, java.lang.AutoCloseable
    -
    -
    -
    public class ProxyObjectInputStream
    -extends java.io.ObjectInputStream
    -
    An input stream class which knows how to deserialize proxies created via ProxyFactory and - serializedo via a ProxyObjectOutputStream. It must be used when deserialising proxies created - from a proxy factory configured with ProxyFactory.useWriteReplace set to false.
    -
    -
    Author:
    -
    Andrew Dinn
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Nested Class Summary

      -
        -
      • - - -

        Nested classes/interfaces inherited from class java.io.ObjectInputStream

        -java.io.ObjectInputStream.GetField
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Field Summary

      -
        -
      • - - -

        Fields inherited from interface java.io.ObjectStreamConstants

        -baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, SERIAL_FILTER_PERMISSION, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      ProxyObjectInputStream​(java.io.InputStream in) -
      create an input stream which can be used to deserialize an object graph which includes proxies created - using class ProxyFactory.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidsetClassLoader​(java.lang.ClassLoader loader) -
      Reset the loader to be
      -
      -
        -
      • - - -

        Methods inherited from class java.io.ObjectInputStream

        -available, close, defaultReadObject, getObjectInputFilter, read, read, readBoolean, readByte, readChar, readDouble, readFields, readFloat, readFully, readFully, readInt, readLine, readLong, readObject, readShort, readUnshared, readUnsignedByte, readUnsignedShort, readUTF, registerValidation, setObjectInputFilter, skipBytes
      • -
      -
        -
      • - - -

        Methods inherited from class java.io.InputStream

        -mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
        -
      • - - -

        Methods inherited from interface java.io.ObjectInput

        -read, skip
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ProxyObjectInputStream

        -
        public ProxyObjectInputStream​(java.io.InputStream in)
        -                       throws java.io.IOException
        -
        create an input stream which can be used to deserialize an object graph which includes proxies created - using class ProxyFactory. the classloader used to resolve proxy superclass and interface names - read from the input stream will default to the current thread's context class loader or the system - classloader if the context class loader is null.
        -
        -
        Parameters:
        -
        in -
        -
        Throws:
        -
        java.io.StreamCorruptedException - whenever ObjectInputStream would also do so
        -
        java.io.IOException - whenever ObjectInputStream would also do so
        -
        java.lang.SecurityException - whenever ObjectInputStream would also do so
        -
        java.lang.NullPointerException - if in is null
        -
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setClassLoader

        -
        public void setClassLoader​(java.lang.ClassLoader loader)
        -
        Reset the loader to be
        -
        -
        Parameters:
        -
        loader -
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/ProxyObjectOutputStream.html b/html/javassist/util/proxy/ProxyObjectOutputStream.html deleted file mode 100644 index f4696a37..00000000 --- a/html/javassist/util/proxy/ProxyObjectOutputStream.html +++ /dev/null @@ -1,353 +0,0 @@ - - - - - -ProxyObjectOutputStream (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class ProxyObjectOutputStream

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.io.OutputStream
    • -
    • -
        -
      • java.io.ObjectOutputStream
      • -
      • -
          -
        • javassist.util.proxy.ProxyObjectOutputStream
        • -
        -
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Closeable, java.io.DataOutput, java.io.Flushable, java.io.ObjectOutput, java.io.ObjectStreamConstants, java.lang.AutoCloseable
    -
    -
    -
    public class ProxyObjectOutputStream
    -extends java.io.ObjectOutputStream
    -
    An input stream class which knows how to serialize proxies created via ProxyFactory. It must - be used when serialising proxies created from a proxy factory configured with - ProxyFactory.useWriteReplace set to false. Subsequent deserialization of the serialized data - must employ a ProxyObjectInputStream
    -
    -
    Author:
    -
    Andrew Dinn
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Nested Class Summary

      -
        -
      • - - -

        Nested classes/interfaces inherited from class java.io.ObjectOutputStream

        -java.io.ObjectOutputStream.PutField
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Field Summary

      -
        -
      • - - -

        Fields inherited from interface java.io.ObjectStreamConstants

        -baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, SERIAL_FILTER_PERMISSION, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      ProxyObjectOutputStream​(java.io.OutputStream out) -
      create an output stream which can be used to serialize an object graph which includes proxies created - using class ProxyFactory
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.io.ObjectOutputStream

        -close, defaultWriteObject, flush, putFields, reset, useProtocolVersion, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFields, writeFloat, writeInt, writeLong, writeObject, writeShort, writeUnshared, writeUTF
      • -
      -
        -
      • - - -

        Methods inherited from class java.io.OutputStream

        -nullOutputStream
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ProxyObjectOutputStream

        -
        public ProxyObjectOutputStream​(java.io.OutputStream out)
        -                        throws java.io.IOException
        -
        create an output stream which can be used to serialize an object graph which includes proxies created - using class ProxyFactory
        -
        -
        Parameters:
        -
        out -
        -
        Throws:
        -
        java.io.IOException - whenever ObjectOutputStream would also do so
        -
        java.lang.SecurityException - whenever ObjectOutputStream would also do so
        -
        java.lang.NullPointerException - if out is null
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/RuntimeSupport.html b/html/javassist/util/proxy/RuntimeSupport.html deleted file mode 100644 index 7042447f..00000000 --- a/html/javassist/util/proxy/RuntimeSupport.html +++ /dev/null @@ -1,626 +0,0 @@ - - - - - -RuntimeSupport (Javassist API) - - - - - - - - - - - - - - - -
- -
- -
-
- -

Class RuntimeSupport

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • javassist.util.proxy.RuntimeSupport
    • -
    -
  • -
-
-
    -
  • -
    -
    public class RuntimeSupport
    -extends java.lang.Object
    -
    Runtime support routines that the classes generated by ProxyFactory use.
    -
    -
    See Also:
    -
    ProxyFactory
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - -
      Fields 
      Modifier and TypeFieldDescription
      static MethodHandlerdefault_interceptor -
      A method handler that only executes a method.
      -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      RuntimeSupport() 
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and TypeMethodDescription
      static voidfind2Methods​(java.lang.Class<?> clazz, - java.lang.String superMethod, - java.lang.String thisMethod, - int index, - java.lang.String desc, - java.lang.reflect.Method[] methods) -
      Finds two methods specified by the parameters and stores them - into the given array.
      -
      static voidfind2Methods​(java.lang.Object self, - java.lang.String superMethod, - java.lang.String thisMethod, - int index, - java.lang.String desc, - java.lang.reflect.Method[] methods) - -
      static java.lang.reflect.MethodfindMethod​(java.lang.Class<?> clazz, - java.lang.String name, - java.lang.String desc) -
      Finds a method with the given name and descriptor.
      -
      static java.lang.reflect.MethodfindMethod​(java.lang.Object self, - java.lang.String name, - java.lang.String desc) -
      Deprecated. - -
      -
      static java.lang.reflect.MethodfindSuperClassMethod​(java.lang.Class<?> clazz, - java.lang.String name, - java.lang.String desc) -
      Finds a method that has the given name and descriptor and is declared - in the super class.
      -
      static java.lang.reflect.MethodfindSuperMethod​(java.lang.Object self, - java.lang.String name, - java.lang.String desc) -
      Finds a method that has the given name and descriptor and is declared - in the super class.
      -
      static java.lang.StringmakeDescriptor​(java.lang.Class<?>[] params, - java.lang.Class<?> retType) -
      Makes a descriptor for a given method.
      -
      static java.lang.StringmakeDescriptor​(java.lang.reflect.Method m) -
      Makes a descriptor for a given method.
      -
      static java.lang.StringmakeDescriptor​(java.lang.String params, - java.lang.Class<?> retType) -
      Makes a descriptor for a given method.
      -
      static javassist.util.proxy.SerializedProxymakeSerializedProxy​(java.lang.Object proxy) -
      Converts a proxy object to an object that is writable to an - object stream.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
    -
  • -
-
-
-
    -
  • - -
    -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        default_interceptor

        -
        public static MethodHandler default_interceptor
        -
        A method handler that only executes a method.
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        RuntimeSupport

        -
        public RuntimeSupport()
        -
      • -
      -
    • -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        find2Methods

        -
        public static void find2Methods​(java.lang.Class<?> clazz,
        -                                java.lang.String superMethod,
        -                                java.lang.String thisMethod,
        -                                int index,
        -                                java.lang.String desc,
        -                                java.lang.reflect.Method[] methods)
        -
        Finds two methods specified by the parameters and stores them - into the given array.
        -
        -
        Throws:
        -
        java.lang.RuntimeException - if the methods are not found.
        -
        See Also:
        -
        ProxyFactory
        -
        -
      • -
      - - - -
        -
      • -

        find2Methods

        -
        @Deprecated
        -public static void find2Methods​(java.lang.Object self,
        -                                java.lang.String superMethod,
        -                                java.lang.String thisMethod,
        -                                int index,
        -                                java.lang.String desc,
        -                                java.lang.reflect.Method[] methods)
        - -
        Finds two methods specified by the parameters and stores them - into the given array. - -

        Added back for JBoss Seam. See JASSIST-206.

        -
        -
        Throws:
        -
        java.lang.RuntimeException - if the methods are not found.
        -
        See Also:
        -
        ProxyFactory
        -
        -
      • -
      - - - -
        -
      • -

        findMethod

        -
        @Deprecated
        -public static java.lang.reflect.Method findMethod​(java.lang.Object self,
        -                                                  java.lang.String name,
        -                                                  java.lang.String desc)
        -
        Deprecated. - -
        -
        Finds a method with the given name and descriptor. - It searches only the class of self. - -

        Added back for JBoss Seam. See JASSIST-206.

        -
        -
        Throws:
        -
        java.lang.RuntimeException - if the method is not found.
        -
        -
      • -
      - - - -
        -
      • -

        findMethod

        -
        public static java.lang.reflect.Method findMethod​(java.lang.Class<?> clazz,
        -                                                  java.lang.String name,
        -                                                  java.lang.String desc)
        -
        Finds a method with the given name and descriptor. - It searches only the class of self.
        -
        -
        Throws:
        -
        java.lang.RuntimeException - if the method is not found.
        -
        -
      • -
      - - - -
        -
      • -

        findSuperMethod

        -
        public static java.lang.reflect.Method findSuperMethod​(java.lang.Object self,
        -                                                       java.lang.String name,
        -                                                       java.lang.String desc)
        -
        Finds a method that has the given name and descriptor and is declared - in the super class.
        -
        -
        Throws:
        -
        java.lang.RuntimeException - if the method is not found.
        -
        -
      • -
      - - - -
        -
      • -

        findSuperClassMethod

        -
        public static java.lang.reflect.Method findSuperClassMethod​(java.lang.Class<?> clazz,
        -                                                            java.lang.String name,
        -                                                            java.lang.String desc)
        -
        Finds a method that has the given name and descriptor and is declared - in the super class.
        -
        -
        Throws:
        -
        java.lang.RuntimeException - if the method is not found.
        -
        -
      • -
      - - - -
        -
      • -

        makeDescriptor

        -
        public static java.lang.String makeDescriptor​(java.lang.reflect.Method m)
        -
        Makes a descriptor for a given method.
        -
      • -
      - - - -
        -
      • -

        makeDescriptor

        -
        public static java.lang.String makeDescriptor​(java.lang.Class<?>[] params,
        -                                              java.lang.Class<?> retType)
        -
        Makes a descriptor for a given method.
        -
        -
        Parameters:
        -
        params - parameter types.
        -
        retType - return type.
        -
        -
      • -
      - - - -
        -
      • -

        makeDescriptor

        -
        public static java.lang.String makeDescriptor​(java.lang.String params,
        -                                              java.lang.Class<?> retType)
        -
        Makes a descriptor for a given method.
        -
        -
        Parameters:
        -
        params - the descriptor of parameter types.
        -
        retType - return type.
        -
        -
      • -
      - - - -
        -
      • -

        makeSerializedProxy

        -
        public static javassist.util.proxy.SerializedProxy makeSerializedProxy​(java.lang.Object proxy)
        -                                                                throws java.io.InvalidClassException
        -
        Converts a proxy object to an object that is writable to an - object stream. This method is called by writeReplace() - in a proxy class.
        -
        -
        Throws:
        -
        java.io.InvalidClassException
        -
        Since:
        -
        3.4
        -
        -
      • -
      -
    • -
    -
    -
  • -
-
-
-
- -
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/class-use/DefineClassHelper.html b/html/javassist/util/proxy/class-use/DefineClassHelper.html deleted file mode 100644 index b9f43cb9..00000000 --- a/html/javassist/util/proxy/class-use/DefineClassHelper.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.util.proxy.DefineClassHelper (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.util.proxy.DefineClassHelper

-
-
No usage of javassist.util.proxy.DefineClassHelper
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/class-use/DefinePackageHelper.html b/html/javassist/util/proxy/class-use/DefinePackageHelper.html deleted file mode 100644 index 654c7318..00000000 --- a/html/javassist/util/proxy/class-use/DefinePackageHelper.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.util.proxy.DefinePackageHelper (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.util.proxy.DefinePackageHelper

-
-
No usage of javassist.util.proxy.DefinePackageHelper
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/class-use/FactoryHelper.html b/html/javassist/util/proxy/class-use/FactoryHelper.html deleted file mode 100644 index ffc48f08..00000000 --- a/html/javassist/util/proxy/class-use/FactoryHelper.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.util.proxy.FactoryHelper (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.util.proxy.FactoryHelper

-
-
No usage of javassist.util.proxy.FactoryHelper
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/class-use/MethodFilter.html b/html/javassist/util/proxy/class-use/MethodFilter.html deleted file mode 100644 index f3c88df1..00000000 --- a/html/javassist/util/proxy/class-use/MethodFilter.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - - -Uses of Interface javassist.util.proxy.MethodFilter (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Interface
javassist.util.proxy.MethodFilter

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/class-use/MethodHandler.html b/html/javassist/util/proxy/class-use/MethodHandler.html deleted file mode 100644 index 93d7b71f..00000000 --- a/html/javassist/util/proxy/class-use/MethodHandler.html +++ /dev/null @@ -1,264 +0,0 @@ - - - - - -Uses of Interface javassist.util.proxy.MethodHandler (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Interface
javassist.util.proxy.MethodHandler

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/class-use/Proxy.html b/html/javassist/util/proxy/class-use/Proxy.html deleted file mode 100644 index a29afc37..00000000 --- a/html/javassist/util/proxy/class-use/Proxy.html +++ /dev/null @@ -1,214 +0,0 @@ - - - - - -Uses of Interface javassist.util.proxy.Proxy (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Interface
javassist.util.proxy.Proxy

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/class-use/ProxyFactory.ClassLoaderProvider.html b/html/javassist/util/proxy/class-use/ProxyFactory.ClassLoaderProvider.html deleted file mode 100644 index 31748b63..00000000 --- a/html/javassist/util/proxy/class-use/ProxyFactory.ClassLoaderProvider.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - - -Uses of Interface javassist.util.proxy.ProxyFactory.ClassLoaderProvider (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Interface
javassist.util.proxy.ProxyFactory.ClassLoaderProvider

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/class-use/ProxyFactory.UniqueName.html b/html/javassist/util/proxy/class-use/ProxyFactory.UniqueName.html deleted file mode 100644 index e8a62c49..00000000 --- a/html/javassist/util/proxy/class-use/ProxyFactory.UniqueName.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - -Uses of Interface javassist.util.proxy.ProxyFactory.UniqueName (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Interface
javassist.util.proxy.ProxyFactory.UniqueName

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/class-use/ProxyFactory.html b/html/javassist/util/proxy/class-use/ProxyFactory.html deleted file mode 100644 index 14ccbe69..00000000 --- a/html/javassist/util/proxy/class-use/ProxyFactory.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - -Uses of Class javassist.util.proxy.ProxyFactory (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.util.proxy.ProxyFactory

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/class-use/ProxyObject.html b/html/javassist/util/proxy/class-use/ProxyObject.html deleted file mode 100644 index aaa0fb2b..00000000 --- a/html/javassist/util/proxy/class-use/ProxyObject.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Interface javassist.util.proxy.ProxyObject (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Interface
javassist.util.proxy.ProxyObject

-
-
No usage of javassist.util.proxy.ProxyObject
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/class-use/ProxyObjectInputStream.html b/html/javassist/util/proxy/class-use/ProxyObjectInputStream.html deleted file mode 100644 index 1bfbcd48..00000000 --- a/html/javassist/util/proxy/class-use/ProxyObjectInputStream.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.util.proxy.ProxyObjectInputStream (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.util.proxy.ProxyObjectInputStream

-
-
No usage of javassist.util.proxy.ProxyObjectInputStream
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/class-use/ProxyObjectOutputStream.html b/html/javassist/util/proxy/class-use/ProxyObjectOutputStream.html deleted file mode 100644 index fa4b06cd..00000000 --- a/html/javassist/util/proxy/class-use/ProxyObjectOutputStream.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.util.proxy.ProxyObjectOutputStream (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.util.proxy.ProxyObjectOutputStream

-
-
No usage of javassist.util.proxy.ProxyObjectOutputStream
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/class-use/RuntimeSupport.html b/html/javassist/util/proxy/class-use/RuntimeSupport.html deleted file mode 100644 index 97180ffd..00000000 --- a/html/javassist/util/proxy/class-use/RuntimeSupport.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Uses of Class javassist.util.proxy.RuntimeSupport (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
javassist.util.proxy.RuntimeSupport

-
-
No usage of javassist.util.proxy.RuntimeSupport
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/package-summary.html b/html/javassist/util/proxy/package-summary.html deleted file mode 100644 index a3f165d9..00000000 --- a/html/javassist/util/proxy/package-summary.html +++ /dev/null @@ -1,260 +0,0 @@ - - - - - -javassist.util.proxy (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Package javassist.util.proxy

-
-
-
- - -
Dynamic proxy (similar to Enhancer of cglib). -See ProxyFactory for more details.
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/package-tree.html b/html/javassist/util/proxy/package-tree.html deleted file mode 100644 index d840583b..00000000 --- a/html/javassist/util/proxy/package-tree.html +++ /dev/null @@ -1,200 +0,0 @@ - - - - - -javassist.util.proxy Class Hierarchy (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Hierarchy For Package javassist.util.proxy

-Package Hierarchies: - -
-
-
-

Class Hierarchy

-
    -
  • java.lang.Object -
      -
    • javassist.util.proxy.DefineClassHelper
    • -
    • javassist.util.proxy.DefinePackageHelper
    • -
    • javassist.util.proxy.FactoryHelper
    • -
    • java.io.InputStream (implements java.io.Closeable) -
        -
      • java.io.ObjectInputStream (implements java.io.ObjectInput, java.io.ObjectStreamConstants) - -
      • -
      -
    • -
    • java.io.OutputStream (implements java.io.Closeable, java.io.Flushable) -
        -
      • java.io.ObjectOutputStream (implements java.io.ObjectOutput, java.io.ObjectStreamConstants) - -
      • -
      -
    • -
    • javassist.util.proxy.ProxyFactory
    • -
    • javassist.util.proxy.RuntimeSupport
    • -
    -
  • -
-
-
-

Interface Hierarchy

- -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/javassist/util/proxy/package-use.html b/html/javassist/util/proxy/package-use.html deleted file mode 100644 index a4664d6e..00000000 --- a/html/javassist/util/proxy/package-use.html +++ /dev/null @@ -1,219 +0,0 @@ - - - - - -Uses of Package javassist.util.proxy (Javassist API) - - - - - - - - - - - - - - - -
- -
-
-
-

Uses of Package
javassist.util.proxy

-
-
- -
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/jquery/external/jquery/jquery.js b/html/jquery/external/jquery/jquery.js deleted file mode 100644 index 9b5206bc..00000000 --- a/html/jquery/external/jquery/jquery.js +++ /dev/null @@ -1,10364 +0,0 @@ -/*! - * jQuery JavaScript Library v3.3.1 - * https://jquery.com/ - * - * Includes Sizzle.js - * https://sizzlejs.com/ - * - * Copyright JS Foundation and other contributors - * Released under the MIT license - * https://jquery.org/license - * - * Date: 2018-01-20T17:24Z - */ -( function( global, factory ) { - - "use strict"; - - if ( typeof module === "object" && typeof module.exports === "object" ) { - - // For CommonJS and CommonJS-like environments where a proper `window` - // is present, execute the factory and get jQuery. - // For environments that do not have a `window` with a `document` - // (such as Node.js), expose a factory as module.exports. - // This accentuates the need for the creation of a real `window`. - // e.g. var jQuery = require("jquery")(window); - // See ticket #14549 for more info. - module.exports = global.document ? - factory( global, true ) : - function( w ) { - if ( !w.document ) { - throw new Error( "jQuery requires a window with a document" ); - } - return factory( w ); - }; - } else { - factory( global ); - } - -// Pass this if window is not defined yet -} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { - -// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 -// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode -// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common -// enough that all such attempts are guarded in a try block. -"use strict"; - -var arr = []; - -var document = window.document; - -var getProto = Object.getPrototypeOf; - -var slice = arr.slice; - -var concat = arr.concat; - -var push = arr.push; - -var indexOf = arr.indexOf; - -var class2type = {}; - -var toString = class2type.toString; - -var hasOwn = class2type.hasOwnProperty; - -var fnToString = hasOwn.toString; - -var ObjectFunctionString = fnToString.call( Object ); - -var support = {}; - -var isFunction = function isFunction( obj ) { - - // Support: Chrome <=57, Firefox <=52 - // In some browsers, typeof returns "function" for HTML elements - // (i.e., `typeof document.createElement( "object" ) === "function"`). - // We don't want to classify *any* DOM node as a function. - return typeof obj === "function" && typeof obj.nodeType !== "number"; - }; - - -var isWindow = function isWindow( obj ) { - return obj != null && obj === obj.window; - }; - - - - - var preservedScriptAttributes = { - type: true, - src: true, - noModule: true - }; - - function DOMEval( code, doc, node ) { - doc = doc || document; - - var i, - script = doc.createElement( "script" ); - - script.text = code; - if ( node ) { - for ( i in preservedScriptAttributes ) { - if ( node[ i ] ) { - script[ i ] = node[ i ]; - } - } - } - doc.head.appendChild( script ).parentNode.removeChild( script ); - } - - -function toType( obj ) { - if ( obj == null ) { - return obj + ""; - } - - // Support: Android <=2.3 only (functionish RegExp) - return typeof obj === "object" || typeof obj === "function" ? - class2type[ toString.call( obj ) ] || "object" : - typeof obj; -} -/* global Symbol */ -// Defining this global in .eslintrc.json would create a danger of using the global -// unguarded in another place, it seems safer to define global only for this module - - - -var - version = "3.3.1", - - // Define a local copy of jQuery - jQuery = function( selector, context ) { - - // The jQuery object is actually just the init constructor 'enhanced' - // Need init if jQuery is called (just allow error to be thrown if not included) - return new jQuery.fn.init( selector, context ); - }, - - // Support: Android <=4.0 only - // Make sure we trim BOM and NBSP - rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g; - -jQuery.fn = jQuery.prototype = { - - // The current version of jQuery being used - jquery: version, - - constructor: jQuery, - - // The default length of a jQuery object is 0 - length: 0, - - toArray: function() { - return slice.call( this ); - }, - - // Get the Nth element in the matched element set OR - // Get the whole matched element set as a clean array - get: function( num ) { - - // Return all the elements in a clean array - if ( num == null ) { - return slice.call( this ); - } - - // Return just the one element from the set - return num < 0 ? this[ num + this.length ] : this[ num ]; - }, - - // Take an array of elements and push it onto the stack - // (returning the new matched element set) - pushStack: function( elems ) { - - // Build a new jQuery matched element set - var ret = jQuery.merge( this.constructor(), elems ); - - // Add the old object onto the stack (as a reference) - ret.prevObject = this; - - // Return the newly-formed element set - return ret; - }, - - // Execute a callback for every element in the matched set. - each: function( callback ) { - return jQuery.each( this, callback ); - }, - - map: function( callback ) { - return this.pushStack( jQuery.map( this, function( elem, i ) { - return callback.call( elem, i, elem ); - } ) ); - }, - - slice: function() { - return this.pushStack( slice.apply( this, arguments ) ); - }, - - first: function() { - return this.eq( 0 ); - }, - - last: function() { - return this.eq( -1 ); - }, - - eq: function( i ) { - var len = this.length, - j = +i + ( i < 0 ? len : 0 ); - return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); - }, - - end: function() { - return this.prevObject || this.constructor(); - }, - - // For internal use only. - // Behaves like an Array's method, not like a jQuery method. - push: push, - sort: arr.sort, - splice: arr.splice -}; - -jQuery.extend = jQuery.fn.extend = function() { - var options, name, src, copy, copyIsArray, clone, - target = arguments[ 0 ] || {}, - i = 1, - length = arguments.length, - deep = false; - - // Handle a deep copy situation - if ( typeof target === "boolean" ) { - deep = target; - - // Skip the boolean and the target - target = arguments[ i ] || {}; - i++; - } - - // Handle case when target is a string or something (possible in deep copy) - if ( typeof target !== "object" && !isFunction( target ) ) { - target = {}; - } - - // Extend jQuery itself if only one argument is passed - if ( i === length ) { - target = this; - i--; - } - - for ( ; i < length; i++ ) { - - // Only deal with non-null/undefined values - if ( ( options = arguments[ i ] ) != null ) { - - // Extend the base object - for ( name in options ) { - src = target[ name ]; - copy = options[ name ]; - - // Prevent never-ending loop - if ( target === copy ) { - continue; - } - - // Recurse if we're merging plain objects or arrays - if ( deep && copy && ( jQuery.isPlainObject( copy ) || - ( copyIsArray = Array.isArray( copy ) ) ) ) { - - if ( copyIsArray ) { - copyIsArray = false; - clone = src && Array.isArray( src ) ? src : []; - - } else { - clone = src && jQuery.isPlainObject( src ) ? src : {}; - } - - // Never move original objects, clone them - target[ name ] = jQuery.extend( deep, clone, copy ); - - // Don't bring in undefined values - } else if ( copy !== undefined ) { - target[ name ] = copy; - } - } - } - } - - // Return the modified object - return target; -}; - -jQuery.extend( { - - // Unique for each copy of jQuery on the page - expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), - - // Assume jQuery is ready without the ready module - isReady: true, - - error: function( msg ) { - throw new Error( msg ); - }, - - noop: function() {}, - - isPlainObject: function( obj ) { - var proto, Ctor; - - // Detect obvious negatives - // Use toString instead of jQuery.type to catch host objects - if ( !obj || toString.call( obj ) !== "[object Object]" ) { - return false; - } - - proto = getProto( obj ); - - // Objects with no prototype (e.g., `Object.create( null )`) are plain - if ( !proto ) { - return true; - } - - // Objects with prototype are plain iff they were constructed by a global Object function - Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; - return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; - }, - - isEmptyObject: function( obj ) { - - /* eslint-disable no-unused-vars */ - // See https://github.com/eslint/eslint/issues/6125 - var name; - - for ( name in obj ) { - return false; - } - return true; - }, - - // Evaluates a script in a global context - globalEval: function( code ) { - DOMEval( code ); - }, - - each: function( obj, callback ) { - var length, i = 0; - - if ( isArrayLike( obj ) ) { - length = obj.length; - for ( ; i < length; i++ ) { - if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { - break; - } - } - } else { - for ( i in obj ) { - if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { - break; - } - } - } - - return obj; - }, - - // Support: Android <=4.0 only - trim: function( text ) { - return text == null ? - "" : - ( text + "" ).replace( rtrim, "" ); - }, - - // results is for internal usage only - makeArray: function( arr, results ) { - var ret = results || []; - - if ( arr != null ) { - if ( isArrayLike( Object( arr ) ) ) { - jQuery.merge( ret, - typeof arr === "string" ? - [ arr ] : arr - ); - } else { - push.call( ret, arr ); - } - } - - return ret; - }, - - inArray: function( elem, arr, i ) { - return arr == null ? -1 : indexOf.call( arr, elem, i ); - }, - - // Support: Android <=4.0 only, PhantomJS 1 only - // push.apply(_, arraylike) throws on ancient WebKit - merge: function( first, second ) { - var len = +second.length, - j = 0, - i = first.length; - - for ( ; j < len; j++ ) { - first[ i++ ] = second[ j ]; - } - - first.length = i; - - return first; - }, - - grep: function( elems, callback, invert ) { - var callbackInverse, - matches = [], - i = 0, - length = elems.length, - callbackExpect = !invert; - - // Go through the array, only saving the items - // that pass the validator function - for ( ; i < length; i++ ) { - callbackInverse = !callback( elems[ i ], i ); - if ( callbackInverse !== callbackExpect ) { - matches.push( elems[ i ] ); - } - } - - return matches; - }, - - // arg is for internal usage only - map: function( elems, callback, arg ) { - var length, value, - i = 0, - ret = []; - - // Go through the array, translating each of the items to their new values - if ( isArrayLike( elems ) ) { - length = elems.length; - for ( ; i < length; i++ ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret.push( value ); - } - } - - // Go through every key on the object, - } else { - for ( i in elems ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret.push( value ); - } - } - } - - // Flatten any nested arrays - return concat.apply( [], ret ); - }, - - // A global GUID counter for objects - guid: 1, - - // jQuery.support is not used in Core but other projects attach their - // properties to it so it needs to exist. - support: support -} ); - -if ( typeof Symbol === "function" ) { - jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; -} - -// Populate the class2type map -jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), -function( i, name ) { - class2type[ "[object " + name + "]" ] = name.toLowerCase(); -} ); - -function isArrayLike( obj ) { - - // Support: real iOS 8.2 only (not reproducible in simulator) - // `in` check used to prevent JIT error (gh-2145) - // hasOwn isn't used here due to false negatives - // regarding Nodelist length in IE - var length = !!obj && "length" in obj && obj.length, - type = toType( obj ); - - if ( isFunction( obj ) || isWindow( obj ) ) { - return false; - } - - return type === "array" || length === 0 || - typeof length === "number" && length > 0 && ( length - 1 ) in obj; -} -var Sizzle = -/*! - * Sizzle CSS Selector Engine v2.3.3 - * https://sizzlejs.com/ - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license - * http://jquery.org/license - * - * Date: 2016-08-08 - */ -(function( window ) { - -var i, - support, - Expr, - getText, - isXML, - tokenize, - compile, - select, - outermostContext, - sortInput, - hasDuplicate, - - // Local document vars - setDocument, - document, - docElem, - documentIsHTML, - rbuggyQSA, - rbuggyMatches, - matches, - contains, - - // Instance-specific data - expando = "sizzle" + 1 * new Date(), - preferredDoc = window.document, - dirruns = 0, - done = 0, - classCache = createCache(), - tokenCache = createCache(), - compilerCache = createCache(), - sortOrder = function( a, b ) { - if ( a === b ) { - hasDuplicate = true; - } - return 0; - }, - - // Instance methods - hasOwn = ({}).hasOwnProperty, - arr = [], - pop = arr.pop, - push_native = arr.push, - push = arr.push, - slice = arr.slice, - // Use a stripped-down indexOf as it's faster than native - // https://jsperf.com/thor-indexof-vs-for/5 - indexOf = function( list, elem ) { - var i = 0, - len = list.length; - for ( ; i < len; i++ ) { - if ( list[i] === elem ) { - return i; - } - } - return -1; - }, - - booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", - - // Regular expressions - - // http://www.w3.org/TR/css3-selectors/#whitespace - whitespace = "[\\x20\\t\\r\\n\\f]", - - // http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier - identifier = "(?:\\\\.|[\\w-]|[^\0-\\xa0])+", - - // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors - attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + - // Operator (capture 2) - "*([*^$|!~]?=)" + whitespace + - // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]" - "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace + - "*\\]", - - pseudos = ":(" + identifier + ")(?:\\((" + - // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: - // 1. quoted (capture 3; capture 4 or capture 5) - "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + - // 2. simple (capture 6) - "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + - // 3. anything else (capture 2) - ".*" + - ")\\)|)", - - // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter - rwhitespace = new RegExp( whitespace + "+", "g" ), - rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), - - rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), - rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), - - rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ), - - rpseudo = new RegExp( pseudos ), - ridentifier = new RegExp( "^" + identifier + "$" ), - - matchExpr = { - "ID": new RegExp( "^#(" + identifier + ")" ), - "CLASS": new RegExp( "^\\.(" + identifier + ")" ), - "TAG": new RegExp( "^(" + identifier + "|[*])" ), - "ATTR": new RegExp( "^" + attributes ), - "PSEUDO": new RegExp( "^" + pseudos ), - "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + - "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + - "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), - "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), - // For use in libraries implementing .is() - // We use this for POS matching in `select` - "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + - whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) - }, - - rinputs = /^(?:input|select|textarea|button)$/i, - rheader = /^h\d$/i, - - rnative = /^[^{]+\{\s*\[native \w/, - - // Easily-parseable/retrievable ID or TAG or CLASS selectors - rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, - - rsibling = /[+~]/, - - // CSS escapes - // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters - runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), - funescape = function( _, escaped, escapedWhitespace ) { - var high = "0x" + escaped - 0x10000; - // NaN means non-codepoint - // Support: Firefox<24 - // Workaround erroneous numeric interpretation of +"0x" - return high !== high || escapedWhitespace ? - escaped : - high < 0 ? - // BMP codepoint - String.fromCharCode( high + 0x10000 ) : - // Supplemental Plane codepoint (surrogate pair) - String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); - }, - - // CSS string/identifier serialization - // https://drafts.csswg.org/cssom/#common-serializing-idioms - rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, - fcssescape = function( ch, asCodePoint ) { - if ( asCodePoint ) { - - // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER - if ( ch === "\0" ) { - return "\uFFFD"; - } - - // Control characters and (dependent upon position) numbers get escaped as code points - return ch.slice( 0, -1 ) + "\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; - } - - // Other potentially-special ASCII characters get backslash-escaped - return "\\" + ch; - }, - - // Used for iframes - // See setDocument() - // Removing the function wrapper causes a "Permission Denied" - // error in IE - unloadHandler = function() { - setDocument(); - }, - - disabledAncestor = addCombinator( - function( elem ) { - return elem.disabled === true && ("form" in elem || "label" in elem); - }, - { dir: "parentNode", next: "legend" } - ); - -// Optimize for push.apply( _, NodeList ) -try { - push.apply( - (arr = slice.call( preferredDoc.childNodes )), - preferredDoc.childNodes - ); - // Support: Android<4.0 - // Detect silently failing push.apply - arr[ preferredDoc.childNodes.length ].nodeType; -} catch ( e ) { - push = { apply: arr.length ? - - // Leverage slice if possible - function( target, els ) { - push_native.apply( target, slice.call(els) ); - } : - - // Support: IE<9 - // Otherwise append directly - function( target, els ) { - var j = target.length, - i = 0; - // Can't trust NodeList.length - while ( (target[j++] = els[i++]) ) {} - target.length = j - 1; - } - }; -} - -function Sizzle( selector, context, results, seed ) { - var m, i, elem, nid, match, groups, newSelector, - newContext = context && context.ownerDocument, - - // nodeType defaults to 9, since context defaults to document - nodeType = context ? context.nodeType : 9; - - results = results || []; - - // Return early from calls with invalid selector or context - if ( typeof selector !== "string" || !selector || - nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { - - return results; - } - - // Try to shortcut find operations (as opposed to filters) in HTML documents - if ( !seed ) { - - if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { - setDocument( context ); - } - context = context || document; - - if ( documentIsHTML ) { - - // If the selector is sufficiently simple, try using a "get*By*" DOM method - // (excepting DocumentFragment context, where the methods don't exist) - if ( nodeType !== 11 && (match = rquickExpr.exec( selector )) ) { - - // ID selector - if ( (m = match[1]) ) { - - // Document context - if ( nodeType === 9 ) { - if ( (elem = context.getElementById( m )) ) { - - // Support: IE, Opera, Webkit - // TODO: identify versions - // getElementById can match elements by name instead of ID - if ( elem.id === m ) { - results.push( elem ); - return results; - } - } else { - return results; - } - - // Element context - } else { - - // Support: IE, Opera, Webkit - // TODO: identify versions - // getElementById can match elements by name instead of ID - if ( newContext && (elem = newContext.getElementById( m )) && - contains( context, elem ) && - elem.id === m ) { - - results.push( elem ); - return results; - } - } - - // Type selector - } else if ( match[2] ) { - push.apply( results, context.getElementsByTagName( selector ) ); - return results; - - // Class selector - } else if ( (m = match[3]) && support.getElementsByClassName && - context.getElementsByClassName ) { - - push.apply( results, context.getElementsByClassName( m ) ); - return results; - } - } - - // Take advantage of querySelectorAll - if ( support.qsa && - !compilerCache[ selector + " " ] && - (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { - - if ( nodeType !== 1 ) { - newContext = context; - newSelector = selector; - - // qSA looks outside Element context, which is not what we want - // Thanks to Andrew Dupont for this workaround technique - // Support: IE <=8 - // Exclude object elements - } else if ( context.nodeName.toLowerCase() !== "object" ) { - - // Capture the context ID, setting it first if necessary - if ( (nid = context.getAttribute( "id" )) ) { - nid = nid.replace( rcssescape, fcssescape ); - } else { - context.setAttribute( "id", (nid = expando) ); - } - - // Prefix every selector in the list - groups = tokenize( selector ); - i = groups.length; - while ( i-- ) { - groups[i] = "#" + nid + " " + toSelector( groups[i] ); - } - newSelector = groups.join( "," ); - - // Expand context for sibling selectors - newContext = rsibling.test( selector ) && testContext( context.parentNode ) || - context; - } - - if ( newSelector ) { - try { - push.apply( results, - newContext.querySelectorAll( newSelector ) - ); - return results; - } catch ( qsaError ) { - } finally { - if ( nid === expando ) { - context.removeAttribute( "id" ); - } - } - } - } - } - } - - // All others - return select( selector.replace( rtrim, "$1" ), context, results, seed ); -} - -/** - * Create key-value caches of limited size - * @returns {function(string, object)} Returns the Object data after storing it on itself with - * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) - * deleting the oldest entry - */ -function createCache() { - var keys = []; - - function cache( key, value ) { - // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) - if ( keys.push( key + " " ) > Expr.cacheLength ) { - // Only keep the most recent entries - delete cache[ keys.shift() ]; - } - return (cache[ key + " " ] = value); - } - return cache; -} - -/** - * Mark a function for special use by Sizzle - * @param {Function} fn The function to mark - */ -function markFunction( fn ) { - fn[ expando ] = true; - return fn; -} - -/** - * Support testing using an element - * @param {Function} fn Passed the created element and returns a boolean result - */ -function assert( fn ) { - var el = document.createElement("fieldset"); - - try { - return !!fn( el ); - } catch (e) { - return false; - } finally { - // Remove from its parent by default - if ( el.parentNode ) { - el.parentNode.removeChild( el ); - } - // release memory in IE - el = null; - } -} - -/** - * Adds the same handler for all of the specified attrs - * @param {String} attrs Pipe-separated list of attributes - * @param {Function} handler The method that will be applied - */ -function addHandle( attrs, handler ) { - var arr = attrs.split("|"), - i = arr.length; - - while ( i-- ) { - Expr.attrHandle[ arr[i] ] = handler; - } -} - -/** - * Checks document order of two siblings - * @param {Element} a - * @param {Element} b - * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b - */ -function siblingCheck( a, b ) { - var cur = b && a, - diff = cur && a.nodeType === 1 && b.nodeType === 1 && - a.sourceIndex - b.sourceIndex; - - // Use IE sourceIndex if available on both nodes - if ( diff ) { - return diff; - } - - // Check if b follows a - if ( cur ) { - while ( (cur = cur.nextSibling) ) { - if ( cur === b ) { - return -1; - } - } - } - - return a ? 1 : -1; -} - -/** - * Returns a function to use in pseudos for input types - * @param {String} type - */ -function createInputPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === type; - }; -} - -/** - * Returns a function to use in pseudos for buttons - * @param {String} type - */ -function createButtonPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return (name === "input" || name === "button") && elem.type === type; - }; -} - -/** - * Returns a function to use in pseudos for :enabled/:disabled - * @param {Boolean} disabled true for :disabled; false for :enabled - */ -function createDisabledPseudo( disabled ) { - - // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable - return function( elem ) { - - // Only certain elements can match :enabled or :disabled - // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled - // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled - if ( "form" in elem ) { - - // Check for inherited disabledness on relevant non-disabled elements: - // * listed form-associated elements in a disabled fieldset - // https://html.spec.whatwg.org/multipage/forms.html#category-listed - // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled - // * option elements in a disabled optgroup - // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled - // All such elements have a "form" property. - if ( elem.parentNode && elem.disabled === false ) { - - // Option elements defer to a parent optgroup if present - if ( "label" in elem ) { - if ( "label" in elem.parentNode ) { - return elem.parentNode.disabled === disabled; - } else { - return elem.disabled === disabled; - } - } - - // Support: IE 6 - 11 - // Use the isDisabled shortcut property to check for disabled fieldset ancestors - return elem.isDisabled === disabled || - - // Where there is no isDisabled, check manually - /* jshint -W018 */ - elem.isDisabled !== !disabled && - disabledAncestor( elem ) === disabled; - } - - return elem.disabled === disabled; - - // Try to winnow out elements that can't be disabled before trusting the disabled property. - // Some victims get caught in our net (label, legend, menu, track), but it shouldn't - // even exist on them, let alone have a boolean value. - } else if ( "label" in elem ) { - return elem.disabled === disabled; - } - - // Remaining elements are neither :enabled nor :disabled - return false; - }; -} - -/** - * Returns a function to use in pseudos for positionals - * @param {Function} fn - */ -function createPositionalPseudo( fn ) { - return markFunction(function( argument ) { - argument = +argument; - return markFunction(function( seed, matches ) { - var j, - matchIndexes = fn( [], seed.length, argument ), - i = matchIndexes.length; - - // Match elements found at the specified indexes - while ( i-- ) { - if ( seed[ (j = matchIndexes[i]) ] ) { - seed[j] = !(matches[j] = seed[j]); - } - } - }); - }); -} - -/** - * Checks a node for validity as a Sizzle context - * @param {Element|Object=} context - * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value - */ -function testContext( context ) { - return context && typeof context.getElementsByTagName !== "undefined" && context; -} - -// Expose support vars for convenience -support = Sizzle.support = {}; - -/** - * Detects XML nodes - * @param {Element|Object} elem An element or a document - * @returns {Boolean} True iff elem is a non-HTML XML node - */ -isXML = Sizzle.isXML = function( elem ) { - // documentElement is verified for cases where it doesn't yet exist - // (such as loading iframes in IE - #4833) - var documentElement = elem && (elem.ownerDocument || elem).documentElement; - return documentElement ? documentElement.nodeName !== "HTML" : false; -}; - -/** - * Sets document-related variables once based on the current document - * @param {Element|Object} [doc] An element or document object to use to set the document - * @returns {Object} Returns the current document - */ -setDocument = Sizzle.setDocument = function( node ) { - var hasCompare, subWindow, - doc = node ? node.ownerDocument || node : preferredDoc; - - // Return early if doc is invalid or already selected - if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { - return document; - } - - // Update global variables - document = doc; - docElem = document.documentElement; - documentIsHTML = !isXML( document ); - - // Support: IE 9-11, Edge - // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) - if ( preferredDoc !== document && - (subWindow = document.defaultView) && subWindow.top !== subWindow ) { - - // Support: IE 11, Edge - if ( subWindow.addEventListener ) { - subWindow.addEventListener( "unload", unloadHandler, false ); - - // Support: IE 9 - 10 only - } else if ( subWindow.attachEvent ) { - subWindow.attachEvent( "onunload", unloadHandler ); - } - } - - /* Attributes - ---------------------------------------------------------------------- */ - - // Support: IE<8 - // Verify that getAttribute really returns attributes and not properties - // (excepting IE8 booleans) - support.attributes = assert(function( el ) { - el.className = "i"; - return !el.getAttribute("className"); - }); - - /* getElement(s)By* - ---------------------------------------------------------------------- */ - - // Check if getElementsByTagName("*") returns only elements - support.getElementsByTagName = assert(function( el ) { - el.appendChild( document.createComment("") ); - return !el.getElementsByTagName("*").length; - }); - - // Support: IE<9 - support.getElementsByClassName = rnative.test( document.getElementsByClassName ); - - // Support: IE<10 - // Check if getElementById returns elements by name - // The broken getElementById methods don't pick up programmatically-set names, - // so use a roundabout getElementsByName test - support.getById = assert(function( el ) { - docElem.appendChild( el ).id = expando; - return !document.getElementsByName || !document.getElementsByName( expando ).length; - }); - - // ID filter and find - if ( support.getById ) { - Expr.filter["ID"] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - return elem.getAttribute("id") === attrId; - }; - }; - Expr.find["ID"] = function( id, context ) { - if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { - var elem = context.getElementById( id ); - return elem ? [ elem ] : []; - } - }; - } else { - Expr.filter["ID"] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - var node = typeof elem.getAttributeNode !== "undefined" && - elem.getAttributeNode("id"); - return node && node.value === attrId; - }; - }; - - // Support: IE 6 - 7 only - // getElementById is not reliable as a find shortcut - Expr.find["ID"] = function( id, context ) { - if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { - var node, i, elems, - elem = context.getElementById( id ); - - if ( elem ) { - - // Verify the id attribute - node = elem.getAttributeNode("id"); - if ( node && node.value === id ) { - return [ elem ]; - } - - // Fall back on getElementsByName - elems = context.getElementsByName( id ); - i = 0; - while ( (elem = elems[i++]) ) { - node = elem.getAttributeNode("id"); - if ( node && node.value === id ) { - return [ elem ]; - } - } - } - - return []; - } - }; - } - - // Tag - Expr.find["TAG"] = support.getElementsByTagName ? - function( tag, context ) { - if ( typeof context.getElementsByTagName !== "undefined" ) { - return context.getElementsByTagName( tag ); - - // DocumentFragment nodes don't have gEBTN - } else if ( support.qsa ) { - return context.querySelectorAll( tag ); - } - } : - - function( tag, context ) { - var elem, - tmp = [], - i = 0, - // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too - results = context.getElementsByTagName( tag ); - - // Filter out possible comments - if ( tag === "*" ) { - while ( (elem = results[i++]) ) { - if ( elem.nodeType === 1 ) { - tmp.push( elem ); - } - } - - return tmp; - } - return results; - }; - - // Class - Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { - if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { - return context.getElementsByClassName( className ); - } - }; - - /* QSA/matchesSelector - ---------------------------------------------------------------------- */ - - // QSA and matchesSelector support - - // matchesSelector(:active) reports false when true (IE9/Opera 11.5) - rbuggyMatches = []; - - // qSa(:focus) reports false when true (Chrome 21) - // We allow this because of a bug in IE8/9 that throws an error - // whenever `document.activeElement` is accessed on an iframe - // So, we allow :focus to pass through QSA all the time to avoid the IE error - // See https://bugs.jquery.com/ticket/13378 - rbuggyQSA = []; - - if ( (support.qsa = rnative.test( document.querySelectorAll )) ) { - // Build QSA regex - // Regex strategy adopted from Diego Perini - assert(function( el ) { - // Select is set to empty string on purpose - // This is to test IE's treatment of not explicitly - // setting a boolean content attribute, - // since its presence should be enough - // https://bugs.jquery.com/ticket/12359 - docElem.appendChild( el ).innerHTML = "" + - ""; - - // Support: IE8, Opera 11-12.16 - // Nothing should be selected when empty strings follow ^= or $= or *= - // The test attribute must be unknown in Opera but "safe" for WinRT - // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section - if ( el.querySelectorAll("[msallowcapture^='']").length ) { - rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); - } - - // Support: IE8 - // Boolean attributes and "value" are not treated correctly - if ( !el.querySelectorAll("[selected]").length ) { - rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); - } - - // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ - if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { - rbuggyQSA.push("~="); - } - - // Webkit/Opera - :checked should return selected option elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - // IE8 throws error here and will not see later tests - if ( !el.querySelectorAll(":checked").length ) { - rbuggyQSA.push(":checked"); - } - - // Support: Safari 8+, iOS 8+ - // https://bugs.webkit.org/show_bug.cgi?id=136851 - // In-page `selector#id sibling-combinator selector` fails - if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { - rbuggyQSA.push(".#.+[+~]"); - } - }); - - assert(function( el ) { - el.innerHTML = "" + - ""; - - // Support: Windows 8 Native Apps - // The type and name attributes are restricted during .innerHTML assignment - var input = document.createElement("input"); - input.setAttribute( "type", "hidden" ); - el.appendChild( input ).setAttribute( "name", "D" ); - - // Support: IE8 - // Enforce case-sensitivity of name attribute - if ( el.querySelectorAll("[name=d]").length ) { - rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); - } - - // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) - // IE8 throws error here and will not see later tests - if ( el.querySelectorAll(":enabled").length !== 2 ) { - rbuggyQSA.push( ":enabled", ":disabled" ); - } - - // Support: IE9-11+ - // IE's :disabled selector does not pick up the children of disabled fieldsets - docElem.appendChild( el ).disabled = true; - if ( el.querySelectorAll(":disabled").length !== 2 ) { - rbuggyQSA.push( ":enabled", ":disabled" ); - } - - // Opera 10-11 does not throw on post-comma invalid pseudos - el.querySelectorAll("*,:x"); - rbuggyQSA.push(",.*:"); - }); - } - - if ( (support.matchesSelector = rnative.test( (matches = docElem.matches || - docElem.webkitMatchesSelector || - docElem.mozMatchesSelector || - docElem.oMatchesSelector || - docElem.msMatchesSelector) )) ) { - - assert(function( el ) { - // Check to see if it's possible to do matchesSelector - // on a disconnected node (IE 9) - support.disconnectedMatch = matches.call( el, "*" ); - - // This should fail with an exception - // Gecko does not error, returns false instead - matches.call( el, "[s!='']:x" ); - rbuggyMatches.push( "!=", pseudos ); - }); - } - - rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); - rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); - - /* Contains - ---------------------------------------------------------------------- */ - hasCompare = rnative.test( docElem.compareDocumentPosition ); - - // Element contains another - // Purposefully self-exclusive - // As in, an element does not contain itself - contains = hasCompare || rnative.test( docElem.contains ) ? - function( a, b ) { - var adown = a.nodeType === 9 ? a.documentElement : a, - bup = b && b.parentNode; - return a === bup || !!( bup && bup.nodeType === 1 && ( - adown.contains ? - adown.contains( bup ) : - a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 - )); - } : - function( a, b ) { - if ( b ) { - while ( (b = b.parentNode) ) { - if ( b === a ) { - return true; - } - } - } - return false; - }; - - /* Sorting - ---------------------------------------------------------------------- */ - - // Document order sorting - sortOrder = hasCompare ? - function( a, b ) { - - // Flag for duplicate removal - if ( a === b ) { - hasDuplicate = true; - return 0; - } - - // Sort on method existence if only one input has compareDocumentPosition - var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; - if ( compare ) { - return compare; - } - - // Calculate position if both inputs belong to the same document - compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? - a.compareDocumentPosition( b ) : - - // Otherwise we know they are disconnected - 1; - - // Disconnected nodes - if ( compare & 1 || - (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { - - // Choose the first element that is related to our preferred document - if ( a === document || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { - return -1; - } - if ( b === document || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { - return 1; - } - - // Maintain original order - return sortInput ? - ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : - 0; - } - - return compare & 4 ? -1 : 1; - } : - function( a, b ) { - // Exit early if the nodes are identical - if ( a === b ) { - hasDuplicate = true; - return 0; - } - - var cur, - i = 0, - aup = a.parentNode, - bup = b.parentNode, - ap = [ a ], - bp = [ b ]; - - // Parentless nodes are either documents or disconnected - if ( !aup || !bup ) { - return a === document ? -1 : - b === document ? 1 : - aup ? -1 : - bup ? 1 : - sortInput ? - ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : - 0; - - // If the nodes are siblings, we can do a quick check - } else if ( aup === bup ) { - return siblingCheck( a, b ); - } - - // Otherwise we need full lists of their ancestors for comparison - cur = a; - while ( (cur = cur.parentNode) ) { - ap.unshift( cur ); - } - cur = b; - while ( (cur = cur.parentNode) ) { - bp.unshift( cur ); - } - - // Walk down the tree looking for a discrepancy - while ( ap[i] === bp[i] ) { - i++; - } - - return i ? - // Do a sibling check if the nodes have a common ancestor - siblingCheck( ap[i], bp[i] ) : - - // Otherwise nodes in our document sort first - ap[i] === preferredDoc ? -1 : - bp[i] === preferredDoc ? 1 : - 0; - }; - - return document; -}; - -Sizzle.matches = function( expr, elements ) { - return Sizzle( expr, null, null, elements ); -}; - -Sizzle.matchesSelector = function( elem, expr ) { - // Set document vars if needed - if ( ( elem.ownerDocument || elem ) !== document ) { - setDocument( elem ); - } - - // Make sure that attribute selectors are quoted - expr = expr.replace( rattributeQuotes, "='$1']" ); - - if ( support.matchesSelector && documentIsHTML && - !compilerCache[ expr + " " ] && - ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && - ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { - - try { - var ret = matches.call( elem, expr ); - - // IE 9's matchesSelector returns false on disconnected nodes - if ( ret || support.disconnectedMatch || - // As well, disconnected nodes are said to be in a document - // fragment in IE 9 - elem.document && elem.document.nodeType !== 11 ) { - return ret; - } - } catch (e) {} - } - - return Sizzle( expr, document, null, [ elem ] ).length > 0; -}; - -Sizzle.contains = function( context, elem ) { - // Set document vars if needed - if ( ( context.ownerDocument || context ) !== document ) { - setDocument( context ); - } - return contains( context, elem ); -}; - -Sizzle.attr = function( elem, name ) { - // Set document vars if needed - if ( ( elem.ownerDocument || elem ) !== document ) { - setDocument( elem ); - } - - var fn = Expr.attrHandle[ name.toLowerCase() ], - // Don't get fooled by Object.prototype properties (jQuery #13807) - val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? - fn( elem, name, !documentIsHTML ) : - undefined; - - return val !== undefined ? - val : - support.attributes || !documentIsHTML ? - elem.getAttribute( name ) : - (val = elem.getAttributeNode(name)) && val.specified ? - val.value : - null; -}; - -Sizzle.escape = function( sel ) { - return (sel + "").replace( rcssescape, fcssescape ); -}; - -Sizzle.error = function( msg ) { - throw new Error( "Syntax error, unrecognized expression: " + msg ); -}; - -/** - * Document sorting and removing duplicates - * @param {ArrayLike} results - */ -Sizzle.uniqueSort = function( results ) { - var elem, - duplicates = [], - j = 0, - i = 0; - - // Unless we *know* we can detect duplicates, assume their presence - hasDuplicate = !support.detectDuplicates; - sortInput = !support.sortStable && results.slice( 0 ); - results.sort( sortOrder ); - - if ( hasDuplicate ) { - while ( (elem = results[i++]) ) { - if ( elem === results[ i ] ) { - j = duplicates.push( i ); - } - } - while ( j-- ) { - results.splice( duplicates[ j ], 1 ); - } - } - - // Clear input after sorting to release objects - // See https://github.com/jquery/sizzle/pull/225 - sortInput = null; - - return results; -}; - -/** - * Utility function for retrieving the text value of an array of DOM nodes - * @param {Array|Element} elem - */ -getText = Sizzle.getText = function( elem ) { - var node, - ret = "", - i = 0, - nodeType = elem.nodeType; - - if ( !nodeType ) { - // If no nodeType, this is expected to be an array - while ( (node = elem[i++]) ) { - // Do not traverse comment nodes - ret += getText( node ); - } - } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { - // Use textContent for elements - // innerText usage removed for consistency of new lines (jQuery #11153) - if ( typeof elem.textContent === "string" ) { - return elem.textContent; - } else { - // Traverse its children - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - ret += getText( elem ); - } - } - } else if ( nodeType === 3 || nodeType === 4 ) { - return elem.nodeValue; - } - // Do not include comment or processing instruction nodes - - return ret; -}; - -Expr = Sizzle.selectors = { - - // Can be adjusted by the user - cacheLength: 50, - - createPseudo: markFunction, - - match: matchExpr, - - attrHandle: {}, - - find: {}, - - relative: { - ">": { dir: "parentNode", first: true }, - " ": { dir: "parentNode" }, - "+": { dir: "previousSibling", first: true }, - "~": { dir: "previousSibling" } - }, - - preFilter: { - "ATTR": function( match ) { - match[1] = match[1].replace( runescape, funescape ); - - // Move the given value to match[3] whether quoted or unquoted - match[3] = ( match[3] || match[4] || match[5] || "" ).replace( runescape, funescape ); - - if ( match[2] === "~=" ) { - match[3] = " " + match[3] + " "; - } - - return match.slice( 0, 4 ); - }, - - "CHILD": function( match ) { - /* matches from matchExpr["CHILD"] - 1 type (only|nth|...) - 2 what (child|of-type) - 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) - 4 xn-component of xn+y argument ([+-]?\d*n|) - 5 sign of xn-component - 6 x of xn-component - 7 sign of y-component - 8 y of y-component - */ - match[1] = match[1].toLowerCase(); - - if ( match[1].slice( 0, 3 ) === "nth" ) { - // nth-* requires argument - if ( !match[3] ) { - Sizzle.error( match[0] ); - } - - // numeric x and y parameters for Expr.filter.CHILD - // remember that false/true cast respectively to 0/1 - match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); - match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); - - // other types prohibit arguments - } else if ( match[3] ) { - Sizzle.error( match[0] ); - } - - return match; - }, - - "PSEUDO": function( match ) { - var excess, - unquoted = !match[6] && match[2]; - - if ( matchExpr["CHILD"].test( match[0] ) ) { - return null; - } - - // Accept quoted arguments as-is - if ( match[3] ) { - match[2] = match[4] || match[5] || ""; - - // Strip excess characters from unquoted arguments - } else if ( unquoted && rpseudo.test( unquoted ) && - // Get excess from tokenize (recursively) - (excess = tokenize( unquoted, true )) && - // advance to the next closing parenthesis - (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { - - // excess is a negative index - match[0] = match[0].slice( 0, excess ); - match[2] = unquoted.slice( 0, excess ); - } - - // Return only captures needed by the pseudo filter method (type and argument) - return match.slice( 0, 3 ); - } - }, - - filter: { - - "TAG": function( nodeNameSelector ) { - var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); - return nodeNameSelector === "*" ? - function() { return true; } : - function( elem ) { - return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; - }; - }, - - "CLASS": function( className ) { - var pattern = classCache[ className + " " ]; - - return pattern || - (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && - classCache( className, function( elem ) { - return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute("class") || "" ); - }); - }, - - "ATTR": function( name, operator, check ) { - return function( elem ) { - var result = Sizzle.attr( elem, name ); - - if ( result == null ) { - return operator === "!="; - } - if ( !operator ) { - return true; - } - - result += ""; - - return operator === "=" ? result === check : - operator === "!=" ? result !== check : - operator === "^=" ? check && result.indexOf( check ) === 0 : - operator === "*=" ? check && result.indexOf( check ) > -1 : - operator === "$=" ? check && result.slice( -check.length ) === check : - operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : - operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : - false; - }; - }, - - "CHILD": function( type, what, argument, first, last ) { - var simple = type.slice( 0, 3 ) !== "nth", - forward = type.slice( -4 ) !== "last", - ofType = what === "of-type"; - - return first === 1 && last === 0 ? - - // Shortcut for :nth-*(n) - function( elem ) { - return !!elem.parentNode; - } : - - function( elem, context, xml ) { - var cache, uniqueCache, outerCache, node, nodeIndex, start, - dir = simple !== forward ? "nextSibling" : "previousSibling", - parent = elem.parentNode, - name = ofType && elem.nodeName.toLowerCase(), - useCache = !xml && !ofType, - diff = false; - - if ( parent ) { - - // :(first|last|only)-(child|of-type) - if ( simple ) { - while ( dir ) { - node = elem; - while ( (node = node[ dir ]) ) { - if ( ofType ? - node.nodeName.toLowerCase() === name : - node.nodeType === 1 ) { - - return false; - } - } - // Reverse direction for :only-* (if we haven't yet done so) - start = dir = type === "only" && !start && "nextSibling"; - } - return true; - } - - start = [ forward ? parent.firstChild : parent.lastChild ]; - - // non-xml :nth-child(...) stores cache data on `parent` - if ( forward && useCache ) { - - // Seek `elem` from a previously-cached index - - // ...in a gzip-friendly way - node = parent; - outerCache = node[ expando ] || (node[ expando ] = {}); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[ node.uniqueID ] || - (outerCache[ node.uniqueID ] = {}); - - cache = uniqueCache[ type ] || []; - nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; - diff = nodeIndex && cache[ 2 ]; - node = nodeIndex && parent.childNodes[ nodeIndex ]; - - while ( (node = ++nodeIndex && node && node[ dir ] || - - // Fallback to seeking `elem` from the start - (diff = nodeIndex = 0) || start.pop()) ) { - - // When found, cache indexes on `parent` and break - if ( node.nodeType === 1 && ++diff && node === elem ) { - uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; - break; - } - } - - } else { - // Use previously-cached element index if available - if ( useCache ) { - // ...in a gzip-friendly way - node = elem; - outerCache = node[ expando ] || (node[ expando ] = {}); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[ node.uniqueID ] || - (outerCache[ node.uniqueID ] = {}); - - cache = uniqueCache[ type ] || []; - nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; - diff = nodeIndex; - } - - // xml :nth-child(...) - // or :nth-last-child(...) or :nth(-last)?-of-type(...) - if ( diff === false ) { - // Use the same loop as above to seek `elem` from the start - while ( (node = ++nodeIndex && node && node[ dir ] || - (diff = nodeIndex = 0) || start.pop()) ) { - - if ( ( ofType ? - node.nodeName.toLowerCase() === name : - node.nodeType === 1 ) && - ++diff ) { - - // Cache the index of each encountered element - if ( useCache ) { - outerCache = node[ expando ] || (node[ expando ] = {}); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[ node.uniqueID ] || - (outerCache[ node.uniqueID ] = {}); - - uniqueCache[ type ] = [ dirruns, diff ]; - } - - if ( node === elem ) { - break; - } - } - } - } - } - - // Incorporate the offset, then check against cycle size - diff -= last; - return diff === first || ( diff % first === 0 && diff / first >= 0 ); - } - }; - }, - - "PSEUDO": function( pseudo, argument ) { - // pseudo-class names are case-insensitive - // http://www.w3.org/TR/selectors/#pseudo-classes - // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters - // Remember that setFilters inherits from pseudos - var args, - fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || - Sizzle.error( "unsupported pseudo: " + pseudo ); - - // The user may use createPseudo to indicate that - // arguments are needed to create the filter function - // just as Sizzle does - if ( fn[ expando ] ) { - return fn( argument ); - } - - // But maintain support for old signatures - if ( fn.length > 1 ) { - args = [ pseudo, pseudo, "", argument ]; - return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? - markFunction(function( seed, matches ) { - var idx, - matched = fn( seed, argument ), - i = matched.length; - while ( i-- ) { - idx = indexOf( seed, matched[i] ); - seed[ idx ] = !( matches[ idx ] = matched[i] ); - } - }) : - function( elem ) { - return fn( elem, 0, args ); - }; - } - - return fn; - } - }, - - pseudos: { - // Potentially complex pseudos - "not": markFunction(function( selector ) { - // Trim the selector passed to compile - // to avoid treating leading and trailing - // spaces as combinators - var input = [], - results = [], - matcher = compile( selector.replace( rtrim, "$1" ) ); - - return matcher[ expando ] ? - markFunction(function( seed, matches, context, xml ) { - var elem, - unmatched = matcher( seed, null, xml, [] ), - i = seed.length; - - // Match elements unmatched by `matcher` - while ( i-- ) { - if ( (elem = unmatched[i]) ) { - seed[i] = !(matches[i] = elem); - } - } - }) : - function( elem, context, xml ) { - input[0] = elem; - matcher( input, null, xml, results ); - // Don't keep the element (issue #299) - input[0] = null; - return !results.pop(); - }; - }), - - "has": markFunction(function( selector ) { - return function( elem ) { - return Sizzle( selector, elem ).length > 0; - }; - }), - - "contains": markFunction(function( text ) { - text = text.replace( runescape, funescape ); - return function( elem ) { - return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; - }; - }), - - // "Whether an element is represented by a :lang() selector - // is based solely on the element's language value - // being equal to the identifier C, - // or beginning with the identifier C immediately followed by "-". - // The matching of C against the element's language value is performed case-insensitively. - // The identifier C does not have to be a valid language name." - // http://www.w3.org/TR/selectors/#lang-pseudo - "lang": markFunction( function( lang ) { - // lang value must be a valid identifier - if ( !ridentifier.test(lang || "") ) { - Sizzle.error( "unsupported lang: " + lang ); - } - lang = lang.replace( runescape, funescape ).toLowerCase(); - return function( elem ) { - var elemLang; - do { - if ( (elemLang = documentIsHTML ? - elem.lang : - elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { - - elemLang = elemLang.toLowerCase(); - return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; - } - } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); - return false; - }; - }), - - // Miscellaneous - "target": function( elem ) { - var hash = window.location && window.location.hash; - return hash && hash.slice( 1 ) === elem.id; - }, - - "root": function( elem ) { - return elem === docElem; - }, - - "focus": function( elem ) { - return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); - }, - - // Boolean properties - "enabled": createDisabledPseudo( false ), - "disabled": createDisabledPseudo( true ), - - "checked": function( elem ) { - // In CSS3, :checked should return both checked and selected elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - var nodeName = elem.nodeName.toLowerCase(); - return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); - }, - - "selected": function( elem ) { - // Accessing this property makes selected-by-default - // options in Safari work properly - if ( elem.parentNode ) { - elem.parentNode.selectedIndex; - } - - return elem.selected === true; - }, - - // Contents - "empty": function( elem ) { - // http://www.w3.org/TR/selectors/#empty-pseudo - // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), - // but not by others (comment: 8; processing instruction: 7; etc.) - // nodeType < 6 works because attributes (2) do not appear as children - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - if ( elem.nodeType < 6 ) { - return false; - } - } - return true; - }, - - "parent": function( elem ) { - return !Expr.pseudos["empty"]( elem ); - }, - - // Element/input types - "header": function( elem ) { - return rheader.test( elem.nodeName ); - }, - - "input": function( elem ) { - return rinputs.test( elem.nodeName ); - }, - - "button": function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === "button" || name === "button"; - }, - - "text": function( elem ) { - var attr; - return elem.nodeName.toLowerCase() === "input" && - elem.type === "text" && - - // Support: IE<8 - // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" - ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); - }, - - // Position-in-collection - "first": createPositionalPseudo(function() { - return [ 0 ]; - }), - - "last": createPositionalPseudo(function( matchIndexes, length ) { - return [ length - 1 ]; - }), - - "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { - return [ argument < 0 ? argument + length : argument ]; - }), - - "even": createPositionalPseudo(function( matchIndexes, length ) { - var i = 0; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "odd": createPositionalPseudo(function( matchIndexes, length ) { - var i = 1; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { - var i = argument < 0 ? argument + length : argument; - for ( ; --i >= 0; ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { - var i = argument < 0 ? argument + length : argument; - for ( ; ++i < length; ) { - matchIndexes.push( i ); - } - return matchIndexes; - }) - } -}; - -Expr.pseudos["nth"] = Expr.pseudos["eq"]; - -// Add button/input type pseudos -for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { - Expr.pseudos[ i ] = createInputPseudo( i ); -} -for ( i in { submit: true, reset: true } ) { - Expr.pseudos[ i ] = createButtonPseudo( i ); -} - -// Easy API for creating new setFilters -function setFilters() {} -setFilters.prototype = Expr.filters = Expr.pseudos; -Expr.setFilters = new setFilters(); - -tokenize = Sizzle.tokenize = function( selector, parseOnly ) { - var matched, match, tokens, type, - soFar, groups, preFilters, - cached = tokenCache[ selector + " " ]; - - if ( cached ) { - return parseOnly ? 0 : cached.slice( 0 ); - } - - soFar = selector; - groups = []; - preFilters = Expr.preFilter; - - while ( soFar ) { - - // Comma and first run - if ( !matched || (match = rcomma.exec( soFar )) ) { - if ( match ) { - // Don't consume trailing commas as valid - soFar = soFar.slice( match[0].length ) || soFar; - } - groups.push( (tokens = []) ); - } - - matched = false; - - // Combinators - if ( (match = rcombinators.exec( soFar )) ) { - matched = match.shift(); - tokens.push({ - value: matched, - // Cast descendant combinators to space - type: match[0].replace( rtrim, " " ) - }); - soFar = soFar.slice( matched.length ); - } - - // Filters - for ( type in Expr.filter ) { - if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || - (match = preFilters[ type ]( match ))) ) { - matched = match.shift(); - tokens.push({ - value: matched, - type: type, - matches: match - }); - soFar = soFar.slice( matched.length ); - } - } - - if ( !matched ) { - break; - } - } - - // Return the length of the invalid excess - // if we're just parsing - // Otherwise, throw an error or return tokens - return parseOnly ? - soFar.length : - soFar ? - Sizzle.error( selector ) : - // Cache the tokens - tokenCache( selector, groups ).slice( 0 ); -}; - -function toSelector( tokens ) { - var i = 0, - len = tokens.length, - selector = ""; - for ( ; i < len; i++ ) { - selector += tokens[i].value; - } - return selector; -} - -function addCombinator( matcher, combinator, base ) { - var dir = combinator.dir, - skip = combinator.next, - key = skip || dir, - checkNonElements = base && key === "parentNode", - doneName = done++; - - return combinator.first ? - // Check against closest ancestor/preceding element - function( elem, context, xml ) { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - return matcher( elem, context, xml ); - } - } - return false; - } : - - // Check against all ancestor/preceding elements - function( elem, context, xml ) { - var oldCache, uniqueCache, outerCache, - newCache = [ dirruns, doneName ]; - - // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching - if ( xml ) { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - if ( matcher( elem, context, xml ) ) { - return true; - } - } - } - } else { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - outerCache = elem[ expando ] || (elem[ expando ] = {}); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[ elem.uniqueID ] || (outerCache[ elem.uniqueID ] = {}); - - if ( skip && skip === elem.nodeName.toLowerCase() ) { - elem = elem[ dir ] || elem; - } else if ( (oldCache = uniqueCache[ key ]) && - oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { - - // Assign to newCache so results back-propagate to previous elements - return (newCache[ 2 ] = oldCache[ 2 ]); - } else { - // Reuse newcache so results back-propagate to previous elements - uniqueCache[ key ] = newCache; - - // A match means we're done; a fail means we have to keep checking - if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { - return true; - } - } - } - } - } - return false; - }; -} - -function elementMatcher( matchers ) { - return matchers.length > 1 ? - function( elem, context, xml ) { - var i = matchers.length; - while ( i-- ) { - if ( !matchers[i]( elem, context, xml ) ) { - return false; - } - } - return true; - } : - matchers[0]; -} - -function multipleContexts( selector, contexts, results ) { - var i = 0, - len = contexts.length; - for ( ; i < len; i++ ) { - Sizzle( selector, contexts[i], results ); - } - return results; -} - -function condense( unmatched, map, filter, context, xml ) { - var elem, - newUnmatched = [], - i = 0, - len = unmatched.length, - mapped = map != null; - - for ( ; i < len; i++ ) { - if ( (elem = unmatched[i]) ) { - if ( !filter || filter( elem, context, xml ) ) { - newUnmatched.push( elem ); - if ( mapped ) { - map.push( i ); - } - } - } - } - - return newUnmatched; -} - -function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { - if ( postFilter && !postFilter[ expando ] ) { - postFilter = setMatcher( postFilter ); - } - if ( postFinder && !postFinder[ expando ] ) { - postFinder = setMatcher( postFinder, postSelector ); - } - return markFunction(function( seed, results, context, xml ) { - var temp, i, elem, - preMap = [], - postMap = [], - preexisting = results.length, - - // Get initial elements from seed or context - elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), - - // Prefilter to get matcher input, preserving a map for seed-results synchronization - matcherIn = preFilter && ( seed || !selector ) ? - condense( elems, preMap, preFilter, context, xml ) : - elems, - - matcherOut = matcher ? - // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, - postFinder || ( seed ? preFilter : preexisting || postFilter ) ? - - // ...intermediate processing is necessary - [] : - - // ...otherwise use results directly - results : - matcherIn; - - // Find primary matches - if ( matcher ) { - matcher( matcherIn, matcherOut, context, xml ); - } - - // Apply postFilter - if ( postFilter ) { - temp = condense( matcherOut, postMap ); - postFilter( temp, [], context, xml ); - - // Un-match failing elements by moving them back to matcherIn - i = temp.length; - while ( i-- ) { - if ( (elem = temp[i]) ) { - matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); - } - } - } - - if ( seed ) { - if ( postFinder || preFilter ) { - if ( postFinder ) { - // Get the final matcherOut by condensing this intermediate into postFinder contexts - temp = []; - i = matcherOut.length; - while ( i-- ) { - if ( (elem = matcherOut[i]) ) { - // Restore matcherIn since elem is not yet a final match - temp.push( (matcherIn[i] = elem) ); - } - } - postFinder( null, (matcherOut = []), temp, xml ); - } - - // Move matched elements from seed to results to keep them synchronized - i = matcherOut.length; - while ( i-- ) { - if ( (elem = matcherOut[i]) && - (temp = postFinder ? indexOf( seed, elem ) : preMap[i]) > -1 ) { - - seed[temp] = !(results[temp] = elem); - } - } - } - - // Add elements to results, through postFinder if defined - } else { - matcherOut = condense( - matcherOut === results ? - matcherOut.splice( preexisting, matcherOut.length ) : - matcherOut - ); - if ( postFinder ) { - postFinder( null, results, matcherOut, xml ); - } else { - push.apply( results, matcherOut ); - } - } - }); -} - -function matcherFromTokens( tokens ) { - var checkContext, matcher, j, - len = tokens.length, - leadingRelative = Expr.relative[ tokens[0].type ], - implicitRelative = leadingRelative || Expr.relative[" "], - i = leadingRelative ? 1 : 0, - - // The foundational matcher ensures that elements are reachable from top-level context(s) - matchContext = addCombinator( function( elem ) { - return elem === checkContext; - }, implicitRelative, true ), - matchAnyContext = addCombinator( function( elem ) { - return indexOf( checkContext, elem ) > -1; - }, implicitRelative, true ), - matchers = [ function( elem, context, xml ) { - var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( - (checkContext = context).nodeType ? - matchContext( elem, context, xml ) : - matchAnyContext( elem, context, xml ) ); - // Avoid hanging onto element (issue #299) - checkContext = null; - return ret; - } ]; - - for ( ; i < len; i++ ) { - if ( (matcher = Expr.relative[ tokens[i].type ]) ) { - matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; - } else { - matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); - - // Return special upon seeing a positional matcher - if ( matcher[ expando ] ) { - // Find the next relative operator (if any) for proper handling - j = ++i; - for ( ; j < len; j++ ) { - if ( Expr.relative[ tokens[j].type ] ) { - break; - } - } - return setMatcher( - i > 1 && elementMatcher( matchers ), - i > 1 && toSelector( - // If the preceding token was a descendant combinator, insert an implicit any-element `*` - tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) - ).replace( rtrim, "$1" ), - matcher, - i < j && matcherFromTokens( tokens.slice( i, j ) ), - j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), - j < len && toSelector( tokens ) - ); - } - matchers.push( matcher ); - } - } - - return elementMatcher( matchers ); -} - -function matcherFromGroupMatchers( elementMatchers, setMatchers ) { - var bySet = setMatchers.length > 0, - byElement = elementMatchers.length > 0, - superMatcher = function( seed, context, xml, results, outermost ) { - var elem, j, matcher, - matchedCount = 0, - i = "0", - unmatched = seed && [], - setMatched = [], - contextBackup = outermostContext, - // We must always have either seed elements or outermost context - elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), - // Use integer dirruns iff this is the outermost matcher - dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), - len = elems.length; - - if ( outermost ) { - outermostContext = context === document || context || outermost; - } - - // Add elements passing elementMatchers directly to results - // Support: IE<9, Safari - // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id - for ( ; i !== len && (elem = elems[i]) != null; i++ ) { - if ( byElement && elem ) { - j = 0; - if ( !context && elem.ownerDocument !== document ) { - setDocument( elem ); - xml = !documentIsHTML; - } - while ( (matcher = elementMatchers[j++]) ) { - if ( matcher( elem, context || document, xml) ) { - results.push( elem ); - break; - } - } - if ( outermost ) { - dirruns = dirrunsUnique; - } - } - - // Track unmatched elements for set filters - if ( bySet ) { - // They will have gone through all possible matchers - if ( (elem = !matcher && elem) ) { - matchedCount--; - } - - // Lengthen the array for every element, matched or not - if ( seed ) { - unmatched.push( elem ); - } - } - } - - // `i` is now the count of elements visited above, and adding it to `matchedCount` - // makes the latter nonnegative. - matchedCount += i; - - // Apply set filters to unmatched elements - // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` - // equals `i`), unless we didn't visit _any_ elements in the above loop because we have - // no element matchers and no seed. - // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that - // case, which will result in a "00" `matchedCount` that differs from `i` but is also - // numerically zero. - if ( bySet && i !== matchedCount ) { - j = 0; - while ( (matcher = setMatchers[j++]) ) { - matcher( unmatched, setMatched, context, xml ); - } - - if ( seed ) { - // Reintegrate element matches to eliminate the need for sorting - if ( matchedCount > 0 ) { - while ( i-- ) { - if ( !(unmatched[i] || setMatched[i]) ) { - setMatched[i] = pop.call( results ); - } - } - } - - // Discard index placeholder values to get only actual matches - setMatched = condense( setMatched ); - } - - // Add matches to results - push.apply( results, setMatched ); - - // Seedless set matches succeeding multiple successful matchers stipulate sorting - if ( outermost && !seed && setMatched.length > 0 && - ( matchedCount + setMatchers.length ) > 1 ) { - - Sizzle.uniqueSort( results ); - } - } - - // Override manipulation of globals by nested matchers - if ( outermost ) { - dirruns = dirrunsUnique; - outermostContext = contextBackup; - } - - return unmatched; - }; - - return bySet ? - markFunction( superMatcher ) : - superMatcher; -} - -compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { - var i, - setMatchers = [], - elementMatchers = [], - cached = compilerCache[ selector + " " ]; - - if ( !cached ) { - // Generate a function of recursive functions that can be used to check each element - if ( !match ) { - match = tokenize( selector ); - } - i = match.length; - while ( i-- ) { - cached = matcherFromTokens( match[i] ); - if ( cached[ expando ] ) { - setMatchers.push( cached ); - } else { - elementMatchers.push( cached ); - } - } - - // Cache the compiled function - cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); - - // Save selector and tokenization - cached.selector = selector; - } - return cached; -}; - -/** - * A low-level selection function that works with Sizzle's compiled - * selector functions - * @param {String|Function} selector A selector or a pre-compiled - * selector function built with Sizzle.compile - * @param {Element} context - * @param {Array} [results] - * @param {Array} [seed] A set of elements to match against - */ -select = Sizzle.select = function( selector, context, results, seed ) { - var i, tokens, token, type, find, - compiled = typeof selector === "function" && selector, - match = !seed && tokenize( (selector = compiled.selector || selector) ); - - results = results || []; - - // Try to minimize operations if there is only one selector in the list and no seed - // (the latter of which guarantees us context) - if ( match.length === 1 ) { - - // Reduce context if the leading compound selector is an ID - tokens = match[0] = match[0].slice( 0 ); - if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && - context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[1].type ] ) { - - context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; - if ( !context ) { - return results; - - // Precompiled matchers will still verify ancestry, so step up a level - } else if ( compiled ) { - context = context.parentNode; - } - - selector = selector.slice( tokens.shift().value.length ); - } - - // Fetch a seed set for right-to-left matching - i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; - while ( i-- ) { - token = tokens[i]; - - // Abort if we hit a combinator - if ( Expr.relative[ (type = token.type) ] ) { - break; - } - if ( (find = Expr.find[ type ]) ) { - // Search, expanding context for leading sibling combinators - if ( (seed = find( - token.matches[0].replace( runescape, funescape ), - rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context - )) ) { - - // If seed is empty or no tokens remain, we can return early - tokens.splice( i, 1 ); - selector = seed.length && toSelector( tokens ); - if ( !selector ) { - push.apply( results, seed ); - return results; - } - - break; - } - } - } - } - - // Compile and execute a filtering function if one is not provided - // Provide `match` to avoid retokenization if we modified the selector above - ( compiled || compile( selector, match ) )( - seed, - context, - !documentIsHTML, - results, - !context || rsibling.test( selector ) && testContext( context.parentNode ) || context - ); - return results; -}; - -// One-time assignments - -// Sort stability -support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; - -// Support: Chrome 14-35+ -// Always assume duplicates if they aren't passed to the comparison function -support.detectDuplicates = !!hasDuplicate; - -// Initialize against the default document -setDocument(); - -// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) -// Detached nodes confoundingly follow *each other* -support.sortDetached = assert(function( el ) { - // Should return 1, but returns 4 (following) - return el.compareDocumentPosition( document.createElement("fieldset") ) & 1; -}); - -// Support: IE<8 -// Prevent attribute/property "interpolation" -// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx -if ( !assert(function( el ) { - el.innerHTML = ""; - return el.firstChild.getAttribute("href") === "#" ; -}) ) { - addHandle( "type|href|height|width", function( elem, name, isXML ) { - if ( !isXML ) { - return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); - } - }); -} - -// Support: IE<9 -// Use defaultValue in place of getAttribute("value") -if ( !support.attributes || !assert(function( el ) { - el.innerHTML = ""; - el.firstChild.setAttribute( "value", "" ); - return el.firstChild.getAttribute( "value" ) === ""; -}) ) { - addHandle( "value", function( elem, name, isXML ) { - if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { - return elem.defaultValue; - } - }); -} - -// Support: IE<9 -// Use getAttributeNode to fetch booleans when getAttribute lies -if ( !assert(function( el ) { - return el.getAttribute("disabled") == null; -}) ) { - addHandle( booleans, function( elem, name, isXML ) { - var val; - if ( !isXML ) { - return elem[ name ] === true ? name.toLowerCase() : - (val = elem.getAttributeNode( name )) && val.specified ? - val.value : - null; - } - }); -} - -return Sizzle; - -})( window ); - - - -jQuery.find = Sizzle; -jQuery.expr = Sizzle.selectors; - -// Deprecated -jQuery.expr[ ":" ] = jQuery.expr.pseudos; -jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; -jQuery.text = Sizzle.getText; -jQuery.isXMLDoc = Sizzle.isXML; -jQuery.contains = Sizzle.contains; -jQuery.escapeSelector = Sizzle.escape; - - - - -var dir = function( elem, dir, until ) { - var matched = [], - truncate = until !== undefined; - - while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { - if ( elem.nodeType === 1 ) { - if ( truncate && jQuery( elem ).is( until ) ) { - break; - } - matched.push( elem ); - } - } - return matched; -}; - - -var siblings = function( n, elem ) { - var matched = []; - - for ( ; n; n = n.nextSibling ) { - if ( n.nodeType === 1 && n !== elem ) { - matched.push( n ); - } - } - - return matched; -}; - - -var rneedsContext = jQuery.expr.match.needsContext; - - - -function nodeName( elem, name ) { - - return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); - -}; -var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); - - - -// Implement the identical functionality for filter and not -function winnow( elements, qualifier, not ) { - if ( isFunction( qualifier ) ) { - return jQuery.grep( elements, function( elem, i ) { - return !!qualifier.call( elem, i, elem ) !== not; - } ); - } - - // Single element - if ( qualifier.nodeType ) { - return jQuery.grep( elements, function( elem ) { - return ( elem === qualifier ) !== not; - } ); - } - - // Arraylike of elements (jQuery, arguments, Array) - if ( typeof qualifier !== "string" ) { - return jQuery.grep( elements, function( elem ) { - return ( indexOf.call( qualifier, elem ) > -1 ) !== not; - } ); - } - - // Filtered directly for both simple and complex selectors - return jQuery.filter( qualifier, elements, not ); -} - -jQuery.filter = function( expr, elems, not ) { - var elem = elems[ 0 ]; - - if ( not ) { - expr = ":not(" + expr + ")"; - } - - if ( elems.length === 1 && elem.nodeType === 1 ) { - return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; - } - - return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { - return elem.nodeType === 1; - } ) ); -}; - -jQuery.fn.extend( { - find: function( selector ) { - var i, ret, - len = this.length, - self = this; - - if ( typeof selector !== "string" ) { - return this.pushStack( jQuery( selector ).filter( function() { - for ( i = 0; i < len; i++ ) { - if ( jQuery.contains( self[ i ], this ) ) { - return true; - } - } - } ) ); - } - - ret = this.pushStack( [] ); - - for ( i = 0; i < len; i++ ) { - jQuery.find( selector, self[ i ], ret ); - } - - return len > 1 ? jQuery.uniqueSort( ret ) : ret; - }, - filter: function( selector ) { - return this.pushStack( winnow( this, selector || [], false ) ); - }, - not: function( selector ) { - return this.pushStack( winnow( this, selector || [], true ) ); - }, - is: function( selector ) { - return !!winnow( - this, - - // If this is a positional/relative selector, check membership in the returned set - // so $("p:first").is("p:last") won't return true for a doc with two "p". - typeof selector === "string" && rneedsContext.test( selector ) ? - jQuery( selector ) : - selector || [], - false - ).length; - } -} ); - - -// Initialize a jQuery object - - -// A central reference to the root jQuery(document) -var rootjQuery, - - // A simple way to check for HTML strings - // Prioritize #id over to avoid XSS via location.hash (#9521) - // Strict HTML recognition (#11290: must start with <) - // Shortcut simple #id case for speed - rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, - - init = jQuery.fn.init = function( selector, context, root ) { - var match, elem; - - // HANDLE: $(""), $(null), $(undefined), $(false) - if ( !selector ) { - return this; - } - - // Method init() accepts an alternate rootjQuery - // so migrate can support jQuery.sub (gh-2101) - root = root || rootjQuery; - - // Handle HTML strings - if ( typeof selector === "string" ) { - if ( selector[ 0 ] === "<" && - selector[ selector.length - 1 ] === ">" && - selector.length >= 3 ) { - - // Assume that strings that start and end with <> are HTML and skip the regex check - match = [ null, selector, null ]; - - } else { - match = rquickExpr.exec( selector ); - } - - // Match html or make sure no context is specified for #id - if ( match && ( match[ 1 ] || !context ) ) { - - // HANDLE: $(html) -> $(array) - if ( match[ 1 ] ) { - context = context instanceof jQuery ? context[ 0 ] : context; - - // Option to run scripts is true for back-compat - // Intentionally let the error be thrown if parseHTML is not present - jQuery.merge( this, jQuery.parseHTML( - match[ 1 ], - context && context.nodeType ? context.ownerDocument || context : document, - true - ) ); - - // HANDLE: $(html, props) - if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { - for ( match in context ) { - - // Properties of context are called as methods if possible - if ( isFunction( this[ match ] ) ) { - this[ match ]( context[ match ] ); - - // ...and otherwise set as attributes - } else { - this.attr( match, context[ match ] ); - } - } - } - - return this; - - // HANDLE: $(#id) - } else { - elem = document.getElementById( match[ 2 ] ); - - if ( elem ) { - - // Inject the element directly into the jQuery object - this[ 0 ] = elem; - this.length = 1; - } - return this; - } - - // HANDLE: $(expr, $(...)) - } else if ( !context || context.jquery ) { - return ( context || root ).find( selector ); - - // HANDLE: $(expr, context) - // (which is just equivalent to: $(context).find(expr) - } else { - return this.constructor( context ).find( selector ); - } - - // HANDLE: $(DOMElement) - } else if ( selector.nodeType ) { - this[ 0 ] = selector; - this.length = 1; - return this; - - // HANDLE: $(function) - // Shortcut for document ready - } else if ( isFunction( selector ) ) { - return root.ready !== undefined ? - root.ready( selector ) : - - // Execute immediately if ready is not present - selector( jQuery ); - } - - return jQuery.makeArray( selector, this ); - }; - -// Give the init function the jQuery prototype for later instantiation -init.prototype = jQuery.fn; - -// Initialize central reference -rootjQuery = jQuery( document ); - - -var rparentsprev = /^(?:parents|prev(?:Until|All))/, - - // Methods guaranteed to produce a unique set when starting from a unique set - guaranteedUnique = { - children: true, - contents: true, - next: true, - prev: true - }; - -jQuery.fn.extend( { - has: function( target ) { - var targets = jQuery( target, this ), - l = targets.length; - - return this.filter( function() { - var i = 0; - for ( ; i < l; i++ ) { - if ( jQuery.contains( this, targets[ i ] ) ) { - return true; - } - } - } ); - }, - - closest: function( selectors, context ) { - var cur, - i = 0, - l = this.length, - matched = [], - targets = typeof selectors !== "string" && jQuery( selectors ); - - // Positional selectors never match, since there's no _selection_ context - if ( !rneedsContext.test( selectors ) ) { - for ( ; i < l; i++ ) { - for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { - - // Always skip document fragments - if ( cur.nodeType < 11 && ( targets ? - targets.index( cur ) > -1 : - - // Don't pass non-elements to Sizzle - cur.nodeType === 1 && - jQuery.find.matchesSelector( cur, selectors ) ) ) { - - matched.push( cur ); - break; - } - } - } - } - - return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); - }, - - // Determine the position of an element within the set - index: function( elem ) { - - // No argument, return index in parent - if ( !elem ) { - return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; - } - - // Index in selector - if ( typeof elem === "string" ) { - return indexOf.call( jQuery( elem ), this[ 0 ] ); - } - - // Locate the position of the desired element - return indexOf.call( this, - - // If it receives a jQuery object, the first element is used - elem.jquery ? elem[ 0 ] : elem - ); - }, - - add: function( selector, context ) { - return this.pushStack( - jQuery.uniqueSort( - jQuery.merge( this.get(), jQuery( selector, context ) ) - ) - ); - }, - - addBack: function( selector ) { - return this.add( selector == null ? - this.prevObject : this.prevObject.filter( selector ) - ); - } -} ); - -function sibling( cur, dir ) { - while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} - return cur; -} - -jQuery.each( { - parent: function( elem ) { - var parent = elem.parentNode; - return parent && parent.nodeType !== 11 ? parent : null; - }, - parents: function( elem ) { - return dir( elem, "parentNode" ); - }, - parentsUntil: function( elem, i, until ) { - return dir( elem, "parentNode", until ); - }, - next: function( elem ) { - return sibling( elem, "nextSibling" ); - }, - prev: function( elem ) { - return sibling( elem, "previousSibling" ); - }, - nextAll: function( elem ) { - return dir( elem, "nextSibling" ); - }, - prevAll: function( elem ) { - return dir( elem, "previousSibling" ); - }, - nextUntil: function( elem, i, until ) { - return dir( elem, "nextSibling", until ); - }, - prevUntil: function( elem, i, until ) { - return dir( elem, "previousSibling", until ); - }, - siblings: function( elem ) { - return siblings( ( elem.parentNode || {} ).firstChild, elem ); - }, - children: function( elem ) { - return siblings( elem.firstChild ); - }, - contents: function( elem ) { - if ( nodeName( elem, "iframe" ) ) { - return elem.contentDocument; - } - - // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only - // Treat the template element as a regular one in browsers that - // don't support it. - if ( nodeName( elem, "template" ) ) { - elem = elem.content || elem; - } - - return jQuery.merge( [], elem.childNodes ); - } -}, function( name, fn ) { - jQuery.fn[ name ] = function( until, selector ) { - var matched = jQuery.map( this, fn, until ); - - if ( name.slice( -5 ) !== "Until" ) { - selector = until; - } - - if ( selector && typeof selector === "string" ) { - matched = jQuery.filter( selector, matched ); - } - - if ( this.length > 1 ) { - - // Remove duplicates - if ( !guaranteedUnique[ name ] ) { - jQuery.uniqueSort( matched ); - } - - // Reverse order for parents* and prev-derivatives - if ( rparentsprev.test( name ) ) { - matched.reverse(); - } - } - - return this.pushStack( matched ); - }; -} ); -var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); - - - -// Convert String-formatted options into Object-formatted ones -function createOptions( options ) { - var object = {}; - jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { - object[ flag ] = true; - } ); - return object; -} - -/* - * Create a callback list using the following parameters: - * - * options: an optional list of space-separated options that will change how - * the callback list behaves or a more traditional option object - * - * By default a callback list will act like an event callback list and can be - * "fired" multiple times. - * - * Possible options: - * - * once: will ensure the callback list can only be fired once (like a Deferred) - * - * memory: will keep track of previous values and will call any callback added - * after the list has been fired right away with the latest "memorized" - * values (like a Deferred) - * - * unique: will ensure a callback can only be added once (no duplicate in the list) - * - * stopOnFalse: interrupt callings when a callback returns false - * - */ -jQuery.Callbacks = function( options ) { - - // Convert options from String-formatted to Object-formatted if needed - // (we check in cache first) - options = typeof options === "string" ? - createOptions( options ) : - jQuery.extend( {}, options ); - - var // Flag to know if list is currently firing - firing, - - // Last fire value for non-forgettable lists - memory, - - // Flag to know if list was already fired - fired, - - // Flag to prevent firing - locked, - - // Actual callback list - list = [], - - // Queue of execution data for repeatable lists - queue = [], - - // Index of currently firing callback (modified by add/remove as needed) - firingIndex = -1, - - // Fire callbacks - fire = function() { - - // Enforce single-firing - locked = locked || options.once; - - // Execute callbacks for all pending executions, - // respecting firingIndex overrides and runtime changes - fired = firing = true; - for ( ; queue.length; firingIndex = -1 ) { - memory = queue.shift(); - while ( ++firingIndex < list.length ) { - - // Run callback and check for early termination - if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && - options.stopOnFalse ) { - - // Jump to end and forget the data so .add doesn't re-fire - firingIndex = list.length; - memory = false; - } - } - } - - // Forget the data if we're done with it - if ( !options.memory ) { - memory = false; - } - - firing = false; - - // Clean up if we're done firing for good - if ( locked ) { - - // Keep an empty list if we have data for future add calls - if ( memory ) { - list = []; - - // Otherwise, this object is spent - } else { - list = ""; - } - } - }, - - // Actual Callbacks object - self = { - - // Add a callback or a collection of callbacks to the list - add: function() { - if ( list ) { - - // If we have memory from a past run, we should fire after adding - if ( memory && !firing ) { - firingIndex = list.length - 1; - queue.push( memory ); - } - - ( function add( args ) { - jQuery.each( args, function( _, arg ) { - if ( isFunction( arg ) ) { - if ( !options.unique || !self.has( arg ) ) { - list.push( arg ); - } - } else if ( arg && arg.length && toType( arg ) !== "string" ) { - - // Inspect recursively - add( arg ); - } - } ); - } )( arguments ); - - if ( memory && !firing ) { - fire(); - } - } - return this; - }, - - // Remove a callback from the list - remove: function() { - jQuery.each( arguments, function( _, arg ) { - var index; - while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { - list.splice( index, 1 ); - - // Handle firing indexes - if ( index <= firingIndex ) { - firingIndex--; - } - } - } ); - return this; - }, - - // Check if a given callback is in the list. - // If no argument is given, return whether or not list has callbacks attached. - has: function( fn ) { - return fn ? - jQuery.inArray( fn, list ) > -1 : - list.length > 0; - }, - - // Remove all callbacks from the list - empty: function() { - if ( list ) { - list = []; - } - return this; - }, - - // Disable .fire and .add - // Abort any current/pending executions - // Clear all callbacks and values - disable: function() { - locked = queue = []; - list = memory = ""; - return this; - }, - disabled: function() { - return !list; - }, - - // Disable .fire - // Also disable .add unless we have memory (since it would have no effect) - // Abort any pending executions - lock: function() { - locked = queue = []; - if ( !memory && !firing ) { - list = memory = ""; - } - return this; - }, - locked: function() { - return !!locked; - }, - - // Call all callbacks with the given context and arguments - fireWith: function( context, args ) { - if ( !locked ) { - args = args || []; - args = [ context, args.slice ? args.slice() : args ]; - queue.push( args ); - if ( !firing ) { - fire(); - } - } - return this; - }, - - // Call all the callbacks with the given arguments - fire: function() { - self.fireWith( this, arguments ); - return this; - }, - - // To know if the callbacks have already been called at least once - fired: function() { - return !!fired; - } - }; - - return self; -}; - - -function Identity( v ) { - return v; -} -function Thrower( ex ) { - throw ex; -} - -function adoptValue( value, resolve, reject, noValue ) { - var method; - - try { - - // Check for promise aspect first to privilege synchronous behavior - if ( value && isFunction( ( method = value.promise ) ) ) { - method.call( value ).done( resolve ).fail( reject ); - - // Other thenables - } else if ( value && isFunction( ( method = value.then ) ) ) { - method.call( value, resolve, reject ); - - // Other non-thenables - } else { - - // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: - // * false: [ value ].slice( 0 ) => resolve( value ) - // * true: [ value ].slice( 1 ) => resolve() - resolve.apply( undefined, [ value ].slice( noValue ) ); - } - - // For Promises/A+, convert exceptions into rejections - // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in - // Deferred#then to conditionally suppress rejection. - } catch ( value ) { - - // Support: Android 4.0 only - // Strict mode functions invoked without .call/.apply get global-object context - reject.apply( undefined, [ value ] ); - } -} - -jQuery.extend( { - - Deferred: function( func ) { - var tuples = [ - - // action, add listener, callbacks, - // ... .then handlers, argument index, [final state] - [ "notify", "progress", jQuery.Callbacks( "memory" ), - jQuery.Callbacks( "memory" ), 2 ], - [ "resolve", "done", jQuery.Callbacks( "once memory" ), - jQuery.Callbacks( "once memory" ), 0, "resolved" ], - [ "reject", "fail", jQuery.Callbacks( "once memory" ), - jQuery.Callbacks( "once memory" ), 1, "rejected" ] - ], - state = "pending", - promise = { - state: function() { - return state; - }, - always: function() { - deferred.done( arguments ).fail( arguments ); - return this; - }, - "catch": function( fn ) { - return promise.then( null, fn ); - }, - - // Keep pipe for back-compat - pipe: function( /* fnDone, fnFail, fnProgress */ ) { - var fns = arguments; - - return jQuery.Deferred( function( newDefer ) { - jQuery.each( tuples, function( i, tuple ) { - - // Map tuples (progress, done, fail) to arguments (done, fail, progress) - var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; - - // deferred.progress(function() { bind to newDefer or newDefer.notify }) - // deferred.done(function() { bind to newDefer or newDefer.resolve }) - // deferred.fail(function() { bind to newDefer or newDefer.reject }) - deferred[ tuple[ 1 ] ]( function() { - var returned = fn && fn.apply( this, arguments ); - if ( returned && isFunction( returned.promise ) ) { - returned.promise() - .progress( newDefer.notify ) - .done( newDefer.resolve ) - .fail( newDefer.reject ); - } else { - newDefer[ tuple[ 0 ] + "With" ]( - this, - fn ? [ returned ] : arguments - ); - } - } ); - } ); - fns = null; - } ).promise(); - }, - then: function( onFulfilled, onRejected, onProgress ) { - var maxDepth = 0; - function resolve( depth, deferred, handler, special ) { - return function() { - var that = this, - args = arguments, - mightThrow = function() { - var returned, then; - - // Support: Promises/A+ section 2.3.3.3.3 - // https://promisesaplus.com/#point-59 - // Ignore double-resolution attempts - if ( depth < maxDepth ) { - return; - } - - returned = handler.apply( that, args ); - - // Support: Promises/A+ section 2.3.1 - // https://promisesaplus.com/#point-48 - if ( returned === deferred.promise() ) { - throw new TypeError( "Thenable self-resolution" ); - } - - // Support: Promises/A+ sections 2.3.3.1, 3.5 - // https://promisesaplus.com/#point-54 - // https://promisesaplus.com/#point-75 - // Retrieve `then` only once - then = returned && - - // Support: Promises/A+ section 2.3.4 - // https://promisesaplus.com/#point-64 - // Only check objects and functions for thenability - ( typeof returned === "object" || - typeof returned === "function" ) && - returned.then; - - // Handle a returned thenable - if ( isFunction( then ) ) { - - // Special processors (notify) just wait for resolution - if ( special ) { - then.call( - returned, - resolve( maxDepth, deferred, Identity, special ), - resolve( maxDepth, deferred, Thrower, special ) - ); - - // Normal processors (resolve) also hook into progress - } else { - - // ...and disregard older resolution values - maxDepth++; - - then.call( - returned, - resolve( maxDepth, deferred, Identity, special ), - resolve( maxDepth, deferred, Thrower, special ), - resolve( maxDepth, deferred, Identity, - deferred.notifyWith ) - ); - } - - // Handle all other returned values - } else { - - // Only substitute handlers pass on context - // and multiple values (non-spec behavior) - if ( handler !== Identity ) { - that = undefined; - args = [ returned ]; - } - - // Process the value(s) - // Default process is resolve - ( special || deferred.resolveWith )( that, args ); - } - }, - - // Only normal processors (resolve) catch and reject exceptions - process = special ? - mightThrow : - function() { - try { - mightThrow(); - } catch ( e ) { - - if ( jQuery.Deferred.exceptionHook ) { - jQuery.Deferred.exceptionHook( e, - process.stackTrace ); - } - - // Support: Promises/A+ section 2.3.3.3.4.1 - // https://promisesaplus.com/#point-61 - // Ignore post-resolution exceptions - if ( depth + 1 >= maxDepth ) { - - // Only substitute handlers pass on context - // and multiple values (non-spec behavior) - if ( handler !== Thrower ) { - that = undefined; - args = [ e ]; - } - - deferred.rejectWith( that, args ); - } - } - }; - - // Support: Promises/A+ section 2.3.3.3.1 - // https://promisesaplus.com/#point-57 - // Re-resolve promises immediately to dodge false rejection from - // subsequent errors - if ( depth ) { - process(); - } else { - - // Call an optional hook to record the stack, in case of exception - // since it's otherwise lost when execution goes async - if ( jQuery.Deferred.getStackHook ) { - process.stackTrace = jQuery.Deferred.getStackHook(); - } - window.setTimeout( process ); - } - }; - } - - return jQuery.Deferred( function( newDefer ) { - - // progress_handlers.add( ... ) - tuples[ 0 ][ 3 ].add( - resolve( - 0, - newDefer, - isFunction( onProgress ) ? - onProgress : - Identity, - newDefer.notifyWith - ) - ); - - // fulfilled_handlers.add( ... ) - tuples[ 1 ][ 3 ].add( - resolve( - 0, - newDefer, - isFunction( onFulfilled ) ? - onFulfilled : - Identity - ) - ); - - // rejected_handlers.add( ... ) - tuples[ 2 ][ 3 ].add( - resolve( - 0, - newDefer, - isFunction( onRejected ) ? - onRejected : - Thrower - ) - ); - } ).promise(); - }, - - // Get a promise for this deferred - // If obj is provided, the promise aspect is added to the object - promise: function( obj ) { - return obj != null ? jQuery.extend( obj, promise ) : promise; - } - }, - deferred = {}; - - // Add list-specific methods - jQuery.each( tuples, function( i, tuple ) { - var list = tuple[ 2 ], - stateString = tuple[ 5 ]; - - // promise.progress = list.add - // promise.done = list.add - // promise.fail = list.add - promise[ tuple[ 1 ] ] = list.add; - - // Handle state - if ( stateString ) { - list.add( - function() { - - // state = "resolved" (i.e., fulfilled) - // state = "rejected" - state = stateString; - }, - - // rejected_callbacks.disable - // fulfilled_callbacks.disable - tuples[ 3 - i ][ 2 ].disable, - - // rejected_handlers.disable - // fulfilled_handlers.disable - tuples[ 3 - i ][ 3 ].disable, - - // progress_callbacks.lock - tuples[ 0 ][ 2 ].lock, - - // progress_handlers.lock - tuples[ 0 ][ 3 ].lock - ); - } - - // progress_handlers.fire - // fulfilled_handlers.fire - // rejected_handlers.fire - list.add( tuple[ 3 ].fire ); - - // deferred.notify = function() { deferred.notifyWith(...) } - // deferred.resolve = function() { deferred.resolveWith(...) } - // deferred.reject = function() { deferred.rejectWith(...) } - deferred[ tuple[ 0 ] ] = function() { - deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); - return this; - }; - - // deferred.notifyWith = list.fireWith - // deferred.resolveWith = list.fireWith - // deferred.rejectWith = list.fireWith - deferred[ tuple[ 0 ] + "With" ] = list.fireWith; - } ); - - // Make the deferred a promise - promise.promise( deferred ); - - // Call given func if any - if ( func ) { - func.call( deferred, deferred ); - } - - // All done! - return deferred; - }, - - // Deferred helper - when: function( singleValue ) { - var - - // count of uncompleted subordinates - remaining = arguments.length, - - // count of unprocessed arguments - i = remaining, - - // subordinate fulfillment data - resolveContexts = Array( i ), - resolveValues = slice.call( arguments ), - - // the master Deferred - master = jQuery.Deferred(), - - // subordinate callback factory - updateFunc = function( i ) { - return function( value ) { - resolveContexts[ i ] = this; - resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; - if ( !( --remaining ) ) { - master.resolveWith( resolveContexts, resolveValues ); - } - }; - }; - - // Single- and empty arguments are adopted like Promise.resolve - if ( remaining <= 1 ) { - adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, - !remaining ); - - // Use .then() to unwrap secondary thenables (cf. gh-3000) - if ( master.state() === "pending" || - isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { - - return master.then(); - } - } - - // Multiple arguments are aggregated like Promise.all array elements - while ( i-- ) { - adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); - } - - return master.promise(); - } -} ); - - -// These usually indicate a programmer mistake during development, -// warn about them ASAP rather than swallowing them by default. -var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; - -jQuery.Deferred.exceptionHook = function( error, stack ) { - - // Support: IE 8 - 9 only - // Console exists when dev tools are open, which can happen at any time - if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { - window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); - } -}; - - - - -jQuery.readyException = function( error ) { - window.setTimeout( function() { - throw error; - } ); -}; - - - - -// The deferred used on DOM ready -var readyList = jQuery.Deferred(); - -jQuery.fn.ready = function( fn ) { - - readyList - .then( fn ) - - // Wrap jQuery.readyException in a function so that the lookup - // happens at the time of error handling instead of callback - // registration. - .catch( function( error ) { - jQuery.readyException( error ); - } ); - - return this; -}; - -jQuery.extend( { - - // Is the DOM ready to be used? Set to true once it occurs. - isReady: false, - - // A counter to track how many items to wait for before - // the ready event fires. See #6781 - readyWait: 1, - - // Handle when the DOM is ready - ready: function( wait ) { - - // Abort if there are pending holds or we're already ready - if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { - return; - } - - // Remember that the DOM is ready - jQuery.isReady = true; - - // If a normal DOM Ready event fired, decrement, and wait if need be - if ( wait !== true && --jQuery.readyWait > 0 ) { - return; - } - - // If there are functions bound, to execute - readyList.resolveWith( document, [ jQuery ] ); - } -} ); - -jQuery.ready.then = readyList.then; - -// The ready event handler and self cleanup method -function completed() { - document.removeEventListener( "DOMContentLoaded", completed ); - window.removeEventListener( "load", completed ); - jQuery.ready(); -} - -// Catch cases where $(document).ready() is called -// after the browser event has already occurred. -// Support: IE <=9 - 10 only -// Older IE sometimes signals "interactive" too soon -if ( document.readyState === "complete" || - ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { - - // Handle it asynchronously to allow scripts the opportunity to delay ready - window.setTimeout( jQuery.ready ); - -} else { - - // Use the handy event callback - document.addEventListener( "DOMContentLoaded", completed ); - - // A fallback to window.onload, that will always work - window.addEventListener( "load", completed ); -} - - - - -// Multifunctional method to get and set values of a collection -// The value/s can optionally be executed if it's a function -var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { - var i = 0, - len = elems.length, - bulk = key == null; - - // Sets many values - if ( toType( key ) === "object" ) { - chainable = true; - for ( i in key ) { - access( elems, fn, i, key[ i ], true, emptyGet, raw ); - } - - // Sets one value - } else if ( value !== undefined ) { - chainable = true; - - if ( !isFunction( value ) ) { - raw = true; - } - - if ( bulk ) { - - // Bulk operations run against the entire set - if ( raw ) { - fn.call( elems, value ); - fn = null; - - // ...except when executing function values - } else { - bulk = fn; - fn = function( elem, key, value ) { - return bulk.call( jQuery( elem ), value ); - }; - } - } - - if ( fn ) { - for ( ; i < len; i++ ) { - fn( - elems[ i ], key, raw ? - value : - value.call( elems[ i ], i, fn( elems[ i ], key ) ) - ); - } - } - } - - if ( chainable ) { - return elems; - } - - // Gets - if ( bulk ) { - return fn.call( elems ); - } - - return len ? fn( elems[ 0 ], key ) : emptyGet; -}; - - -// Matches dashed string for camelizing -var rmsPrefix = /^-ms-/, - rdashAlpha = /-([a-z])/g; - -// Used by camelCase as callback to replace() -function fcamelCase( all, letter ) { - return letter.toUpperCase(); -} - -// Convert dashed to camelCase; used by the css and data modules -// Support: IE <=9 - 11, Edge 12 - 15 -// Microsoft forgot to hump their vendor prefix (#9572) -function camelCase( string ) { - return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); -} -var acceptData = function( owner ) { - - // Accepts only: - // - Node - // - Node.ELEMENT_NODE - // - Node.DOCUMENT_NODE - // - Object - // - Any - return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); -}; - - - - -function Data() { - this.expando = jQuery.expando + Data.uid++; -} - -Data.uid = 1; - -Data.prototype = { - - cache: function( owner ) { - - // Check if the owner object already has a cache - var value = owner[ this.expando ]; - - // If not, create one - if ( !value ) { - value = {}; - - // We can accept data for non-element nodes in modern browsers, - // but we should not, see #8335. - // Always return an empty object. - if ( acceptData( owner ) ) { - - // If it is a node unlikely to be stringify-ed or looped over - // use plain assignment - if ( owner.nodeType ) { - owner[ this.expando ] = value; - - // Otherwise secure it in a non-enumerable property - // configurable must be true to allow the property to be - // deleted when data is removed - } else { - Object.defineProperty( owner, this.expando, { - value: value, - configurable: true - } ); - } - } - } - - return value; - }, - set: function( owner, data, value ) { - var prop, - cache = this.cache( owner ); - - // Handle: [ owner, key, value ] args - // Always use camelCase key (gh-2257) - if ( typeof data === "string" ) { - cache[ camelCase( data ) ] = value; - - // Handle: [ owner, { properties } ] args - } else { - - // Copy the properties one-by-one to the cache object - for ( prop in data ) { - cache[ camelCase( prop ) ] = data[ prop ]; - } - } - return cache; - }, - get: function( owner, key ) { - return key === undefined ? - this.cache( owner ) : - - // Always use camelCase key (gh-2257) - owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; - }, - access: function( owner, key, value ) { - - // In cases where either: - // - // 1. No key was specified - // 2. A string key was specified, but no value provided - // - // Take the "read" path and allow the get method to determine - // which value to return, respectively either: - // - // 1. The entire cache object - // 2. The data stored at the key - // - if ( key === undefined || - ( ( key && typeof key === "string" ) && value === undefined ) ) { - - return this.get( owner, key ); - } - - // When the key is not a string, or both a key and value - // are specified, set or extend (existing objects) with either: - // - // 1. An object of properties - // 2. A key and value - // - this.set( owner, key, value ); - - // Since the "set" path can have two possible entry points - // return the expected data based on which path was taken[*] - return value !== undefined ? value : key; - }, - remove: function( owner, key ) { - var i, - cache = owner[ this.expando ]; - - if ( cache === undefined ) { - return; - } - - if ( key !== undefined ) { - - // Support array or space separated string of keys - if ( Array.isArray( key ) ) { - - // If key is an array of keys... - // We always set camelCase keys, so remove that. - key = key.map( camelCase ); - } else { - key = camelCase( key ); - - // If a key with the spaces exists, use it. - // Otherwise, create an array by matching non-whitespace - key = key in cache ? - [ key ] : - ( key.match( rnothtmlwhite ) || [] ); - } - - i = key.length; - - while ( i-- ) { - delete cache[ key[ i ] ]; - } - } - - // Remove the expando if there's no more data - if ( key === undefined || jQuery.isEmptyObject( cache ) ) { - - // Support: Chrome <=35 - 45 - // Webkit & Blink performance suffers when deleting properties - // from DOM nodes, so set to undefined instead - // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) - if ( owner.nodeType ) { - owner[ this.expando ] = undefined; - } else { - delete owner[ this.expando ]; - } - } - }, - hasData: function( owner ) { - var cache = owner[ this.expando ]; - return cache !== undefined && !jQuery.isEmptyObject( cache ); - } -}; -var dataPriv = new Data(); - -var dataUser = new Data(); - - - -// Implementation Summary -// -// 1. Enforce API surface and semantic compatibility with 1.9.x branch -// 2. Improve the module's maintainability by reducing the storage -// paths to a single mechanism. -// 3. Use the same single mechanism to support "private" and "user" data. -// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) -// 5. Avoid exposing implementation details on user objects (eg. expando properties) -// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 - -var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, - rmultiDash = /[A-Z]/g; - -function getData( data ) { - if ( data === "true" ) { - return true; - } - - if ( data === "false" ) { - return false; - } - - if ( data === "null" ) { - return null; - } - - // Only convert to a number if it doesn't change the string - if ( data === +data + "" ) { - return +data; - } - - if ( rbrace.test( data ) ) { - return JSON.parse( data ); - } - - return data; -} - -function dataAttr( elem, key, data ) { - var name; - - // If nothing was found internally, try to fetch any - // data from the HTML5 data-* attribute - if ( data === undefined && elem.nodeType === 1 ) { - name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); - data = elem.getAttribute( name ); - - if ( typeof data === "string" ) { - try { - data = getData( data ); - } catch ( e ) {} - - // Make sure we set the data so it isn't changed later - dataUser.set( elem, key, data ); - } else { - data = undefined; - } - } - return data; -} - -jQuery.extend( { - hasData: function( elem ) { - return dataUser.hasData( elem ) || dataPriv.hasData( elem ); - }, - - data: function( elem, name, data ) { - return dataUser.access( elem, name, data ); - }, - - removeData: function( elem, name ) { - dataUser.remove( elem, name ); - }, - - // TODO: Now that all calls to _data and _removeData have been replaced - // with direct calls to dataPriv methods, these can be deprecated. - _data: function( elem, name, data ) { - return dataPriv.access( elem, name, data ); - }, - - _removeData: function( elem, name ) { - dataPriv.remove( elem, name ); - } -} ); - -jQuery.fn.extend( { - data: function( key, value ) { - var i, name, data, - elem = this[ 0 ], - attrs = elem && elem.attributes; - - // Gets all values - if ( key === undefined ) { - if ( this.length ) { - data = dataUser.get( elem ); - - if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { - i = attrs.length; - while ( i-- ) { - - // Support: IE 11 only - // The attrs elements can be null (#14894) - if ( attrs[ i ] ) { - name = attrs[ i ].name; - if ( name.indexOf( "data-" ) === 0 ) { - name = camelCase( name.slice( 5 ) ); - dataAttr( elem, name, data[ name ] ); - } - } - } - dataPriv.set( elem, "hasDataAttrs", true ); - } - } - - return data; - } - - // Sets multiple values - if ( typeof key === "object" ) { - return this.each( function() { - dataUser.set( this, key ); - } ); - } - - return access( this, function( value ) { - var data; - - // The calling jQuery object (element matches) is not empty - // (and therefore has an element appears at this[ 0 ]) and the - // `value` parameter was not undefined. An empty jQuery object - // will result in `undefined` for elem = this[ 0 ] which will - // throw an exception if an attempt to read a data cache is made. - if ( elem && value === undefined ) { - - // Attempt to get data from the cache - // The key will always be camelCased in Data - data = dataUser.get( elem, key ); - if ( data !== undefined ) { - return data; - } - - // Attempt to "discover" the data in - // HTML5 custom data-* attrs - data = dataAttr( elem, key ); - if ( data !== undefined ) { - return data; - } - - // We tried really hard, but the data doesn't exist. - return; - } - - // Set the data... - this.each( function() { - - // We always store the camelCased key - dataUser.set( this, key, value ); - } ); - }, null, value, arguments.length > 1, null, true ); - }, - - removeData: function( key ) { - return this.each( function() { - dataUser.remove( this, key ); - } ); - } -} ); - - -jQuery.extend( { - queue: function( elem, type, data ) { - var queue; - - if ( elem ) { - type = ( type || "fx" ) + "queue"; - queue = dataPriv.get( elem, type ); - - // Speed up dequeue by getting out quickly if this is just a lookup - if ( data ) { - if ( !queue || Array.isArray( data ) ) { - queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); - } else { - queue.push( data ); - } - } - return queue || []; - } - }, - - dequeue: function( elem, type ) { - type = type || "fx"; - - var queue = jQuery.queue( elem, type ), - startLength = queue.length, - fn = queue.shift(), - hooks = jQuery._queueHooks( elem, type ), - next = function() { - jQuery.dequeue( elem, type ); - }; - - // If the fx queue is dequeued, always remove the progress sentinel - if ( fn === "inprogress" ) { - fn = queue.shift(); - startLength--; - } - - if ( fn ) { - - // Add a progress sentinel to prevent the fx queue from being - // automatically dequeued - if ( type === "fx" ) { - queue.unshift( "inprogress" ); - } - - // Clear up the last queue stop function - delete hooks.stop; - fn.call( elem, next, hooks ); - } - - if ( !startLength && hooks ) { - hooks.empty.fire(); - } - }, - - // Not public - generate a queueHooks object, or return the current one - _queueHooks: function( elem, type ) { - var key = type + "queueHooks"; - return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { - empty: jQuery.Callbacks( "once memory" ).add( function() { - dataPriv.remove( elem, [ type + "queue", key ] ); - } ) - } ); - } -} ); - -jQuery.fn.extend( { - queue: function( type, data ) { - var setter = 2; - - if ( typeof type !== "string" ) { - data = type; - type = "fx"; - setter--; - } - - if ( arguments.length < setter ) { - return jQuery.queue( this[ 0 ], type ); - } - - return data === undefined ? - this : - this.each( function() { - var queue = jQuery.queue( this, type, data ); - - // Ensure a hooks for this queue - jQuery._queueHooks( this, type ); - - if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { - jQuery.dequeue( this, type ); - } - } ); - }, - dequeue: function( type ) { - return this.each( function() { - jQuery.dequeue( this, type ); - } ); - }, - clearQueue: function( type ) { - return this.queue( type || "fx", [] ); - }, - - // Get a promise resolved when queues of a certain type - // are emptied (fx is the type by default) - promise: function( type, obj ) { - var tmp, - count = 1, - defer = jQuery.Deferred(), - elements = this, - i = this.length, - resolve = function() { - if ( !( --count ) ) { - defer.resolveWith( elements, [ elements ] ); - } - }; - - if ( typeof type !== "string" ) { - obj = type; - type = undefined; - } - type = type || "fx"; - - while ( i-- ) { - tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); - if ( tmp && tmp.empty ) { - count++; - tmp.empty.add( resolve ); - } - } - resolve(); - return defer.promise( obj ); - } -} ); -var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; - -var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); - - -var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; - -var isHiddenWithinTree = function( elem, el ) { - - // isHiddenWithinTree might be called from jQuery#filter function; - // in that case, element will be second argument - elem = el || elem; - - // Inline style trumps all - return elem.style.display === "none" || - elem.style.display === "" && - - // Otherwise, check computed style - // Support: Firefox <=43 - 45 - // Disconnected elements can have computed display: none, so first confirm that elem is - // in the document. - jQuery.contains( elem.ownerDocument, elem ) && - - jQuery.css( elem, "display" ) === "none"; - }; - -var swap = function( elem, options, callback, args ) { - var ret, name, - old = {}; - - // Remember the old values, and insert the new ones - for ( name in options ) { - old[ name ] = elem.style[ name ]; - elem.style[ name ] = options[ name ]; - } - - ret = callback.apply( elem, args || [] ); - - // Revert the old values - for ( name in options ) { - elem.style[ name ] = old[ name ]; - } - - return ret; -}; - - - - -function adjustCSS( elem, prop, valueParts, tween ) { - var adjusted, scale, - maxIterations = 20, - currentValue = tween ? - function() { - return tween.cur(); - } : - function() { - return jQuery.css( elem, prop, "" ); - }, - initial = currentValue(), - unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), - - // Starting value computation is required for potential unit mismatches - initialInUnit = ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && - rcssNum.exec( jQuery.css( elem, prop ) ); - - if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { - - // Support: Firefox <=54 - // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) - initial = initial / 2; - - // Trust units reported by jQuery.css - unit = unit || initialInUnit[ 3 ]; - - // Iteratively approximate from a nonzero starting point - initialInUnit = +initial || 1; - - while ( maxIterations-- ) { - - // Evaluate and update our best guess (doubling guesses that zero out). - // Finish if the scale equals or crosses 1 (making the old*new product non-positive). - jQuery.style( elem, prop, initialInUnit + unit ); - if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { - maxIterations = 0; - } - initialInUnit = initialInUnit / scale; - - } - - initialInUnit = initialInUnit * 2; - jQuery.style( elem, prop, initialInUnit + unit ); - - // Make sure we update the tween properties later on - valueParts = valueParts || []; - } - - if ( valueParts ) { - initialInUnit = +initialInUnit || +initial || 0; - - // Apply relative offset (+=/-=) if specified - adjusted = valueParts[ 1 ] ? - initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : - +valueParts[ 2 ]; - if ( tween ) { - tween.unit = unit; - tween.start = initialInUnit; - tween.end = adjusted; - } - } - return adjusted; -} - - -var defaultDisplayMap = {}; - -function getDefaultDisplay( elem ) { - var temp, - doc = elem.ownerDocument, - nodeName = elem.nodeName, - display = defaultDisplayMap[ nodeName ]; - - if ( display ) { - return display; - } - - temp = doc.body.appendChild( doc.createElement( nodeName ) ); - display = jQuery.css( temp, "display" ); - - temp.parentNode.removeChild( temp ); - - if ( display === "none" ) { - display = "block"; - } - defaultDisplayMap[ nodeName ] = display; - - return display; -} - -function showHide( elements, show ) { - var display, elem, - values = [], - index = 0, - length = elements.length; - - // Determine new display value for elements that need to change - for ( ; index < length; index++ ) { - elem = elements[ index ]; - if ( !elem.style ) { - continue; - } - - display = elem.style.display; - if ( show ) { - - // Since we force visibility upon cascade-hidden elements, an immediate (and slow) - // check is required in this first loop unless we have a nonempty display value (either - // inline or about-to-be-restored) - if ( display === "none" ) { - values[ index ] = dataPriv.get( elem, "display" ) || null; - if ( !values[ index ] ) { - elem.style.display = ""; - } - } - if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { - values[ index ] = getDefaultDisplay( elem ); - } - } else { - if ( display !== "none" ) { - values[ index ] = "none"; - - // Remember what we're overwriting - dataPriv.set( elem, "display", display ); - } - } - } - - // Set the display of the elements in a second loop to avoid constant reflow - for ( index = 0; index < length; index++ ) { - if ( values[ index ] != null ) { - elements[ index ].style.display = values[ index ]; - } - } - - return elements; -} - -jQuery.fn.extend( { - show: function() { - return showHide( this, true ); - }, - hide: function() { - return showHide( this ); - }, - toggle: function( state ) { - if ( typeof state === "boolean" ) { - return state ? this.show() : this.hide(); - } - - return this.each( function() { - if ( isHiddenWithinTree( this ) ) { - jQuery( this ).show(); - } else { - jQuery( this ).hide(); - } - } ); - } -} ); -var rcheckableType = ( /^(?:checkbox|radio)$/i ); - -var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]+)/i ); - -var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); - - - -// We have to close these tags to support XHTML (#13200) -var wrapMap = { - - // Support: IE <=9 only - option: [ 1, "" ], - - // XHTML parsers do not magically insert elements in the - // same way that tag soup parsers do. So we cannot shorten - // this by omitting or other required elements. - thead: [ 1, "", "
" ], - col: [ 2, "", "
" ], - tr: [ 2, "", "
" ], - td: [ 3, "", "
" ], - - _default: [ 0, "", "" ] -}; - -// Support: IE <=9 only -wrapMap.optgroup = wrapMap.option; - -wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; -wrapMap.th = wrapMap.td; - - -function getAll( context, tag ) { - - // Support: IE <=9 - 11 only - // Use typeof to avoid zero-argument method invocation on host objects (#15151) - var ret; - - if ( typeof context.getElementsByTagName !== "undefined" ) { - ret = context.getElementsByTagName( tag || "*" ); - - } else if ( typeof context.querySelectorAll !== "undefined" ) { - ret = context.querySelectorAll( tag || "*" ); - - } else { - ret = []; - } - - if ( tag === undefined || tag && nodeName( context, tag ) ) { - return jQuery.merge( [ context ], ret ); - } - - return ret; -} - - -// Mark scripts as having already been evaluated -function setGlobalEval( elems, refElements ) { - var i = 0, - l = elems.length; - - for ( ; i < l; i++ ) { - dataPriv.set( - elems[ i ], - "globalEval", - !refElements || dataPriv.get( refElements[ i ], "globalEval" ) - ); - } -} - - -var rhtml = /<|&#?\w+;/; - -function buildFragment( elems, context, scripts, selection, ignored ) { - var elem, tmp, tag, wrap, contains, j, - fragment = context.createDocumentFragment(), - nodes = [], - i = 0, - l = elems.length; - - for ( ; i < l; i++ ) { - elem = elems[ i ]; - - if ( elem || elem === 0 ) { - - // Add nodes directly - if ( toType( elem ) === "object" ) { - - // Support: Android <=4.0 only, PhantomJS 1 only - // push.apply(_, arraylike) throws on ancient WebKit - jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); - - // Convert non-html into a text node - } else if ( !rhtml.test( elem ) ) { - nodes.push( context.createTextNode( elem ) ); - - // Convert html into DOM nodes - } else { - tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); - - // Deserialize a standard representation - tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); - wrap = wrapMap[ tag ] || wrapMap._default; - tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; - - // Descend through wrappers to the right content - j = wrap[ 0 ]; - while ( j-- ) { - tmp = tmp.lastChild; - } - - // Support: Android <=4.0 only, PhantomJS 1 only - // push.apply(_, arraylike) throws on ancient WebKit - jQuery.merge( nodes, tmp.childNodes ); - - // Remember the top-level container - tmp = fragment.firstChild; - - // Ensure the created nodes are orphaned (#12392) - tmp.textContent = ""; - } - } - } - - // Remove wrapper from fragment - fragment.textContent = ""; - - i = 0; - while ( ( elem = nodes[ i++ ] ) ) { - - // Skip elements already in the context collection (trac-4087) - if ( selection && jQuery.inArray( elem, selection ) > -1 ) { - if ( ignored ) { - ignored.push( elem ); - } - continue; - } - - contains = jQuery.contains( elem.ownerDocument, elem ); - - // Append to fragment - tmp = getAll( fragment.appendChild( elem ), "script" ); - - // Preserve script evaluation history - if ( contains ) { - setGlobalEval( tmp ); - } - - // Capture executables - if ( scripts ) { - j = 0; - while ( ( elem = tmp[ j++ ] ) ) { - if ( rscriptType.test( elem.type || "" ) ) { - scripts.push( elem ); - } - } - } - } - - return fragment; -} - - -( function() { - var fragment = document.createDocumentFragment(), - div = fragment.appendChild( document.createElement( "div" ) ), - input = document.createElement( "input" ); - - // Support: Android 4.0 - 4.3 only - // Check state lost if the name is set (#11217) - // Support: Windows Web Apps (WWA) - // `name` and `type` must use .setAttribute for WWA (#14901) - input.setAttribute( "type", "radio" ); - input.setAttribute( "checked", "checked" ); - input.setAttribute( "name", "t" ); - - div.appendChild( input ); - - // Support: Android <=4.1 only - // Older WebKit doesn't clone checked state correctly in fragments - support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; - - // Support: IE <=11 only - // Make sure textarea (and checkbox) defaultValue is properly cloned - div.innerHTML = ""; - support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; -} )(); -var documentElement = document.documentElement; - - - -var - rkeyEvent = /^key/, - rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, - rtypenamespace = /^([^.]*)(?:\.(.+)|)/; - -function returnTrue() { - return true; -} - -function returnFalse() { - return false; -} - -// Support: IE <=9 only -// See #13393 for more info -function safeActiveElement() { - try { - return document.activeElement; - } catch ( err ) { } -} - -function on( elem, types, selector, data, fn, one ) { - var origFn, type; - - // Types can be a map of types/handlers - if ( typeof types === "object" ) { - - // ( types-Object, selector, data ) - if ( typeof selector !== "string" ) { - - // ( types-Object, data ) - data = data || selector; - selector = undefined; - } - for ( type in types ) { - on( elem, type, selector, data, types[ type ], one ); - } - return elem; - } - - if ( data == null && fn == null ) { - - // ( types, fn ) - fn = selector; - data = selector = undefined; - } else if ( fn == null ) { - if ( typeof selector === "string" ) { - - // ( types, selector, fn ) - fn = data; - data = undefined; - } else { - - // ( types, data, fn ) - fn = data; - data = selector; - selector = undefined; - } - } - if ( fn === false ) { - fn = returnFalse; - } else if ( !fn ) { - return elem; - } - - if ( one === 1 ) { - origFn = fn; - fn = function( event ) { - - // Can use an empty set, since event contains the info - jQuery().off( event ); - return origFn.apply( this, arguments ); - }; - - // Use same guid so caller can remove using origFn - fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); - } - return elem.each( function() { - jQuery.event.add( this, types, fn, data, selector ); - } ); -} - -/* - * Helper functions for managing events -- not part of the public interface. - * Props to Dean Edwards' addEvent library for many of the ideas. - */ -jQuery.event = { - - global: {}, - - add: function( elem, types, handler, data, selector ) { - - var handleObjIn, eventHandle, tmp, - events, t, handleObj, - special, handlers, type, namespaces, origType, - elemData = dataPriv.get( elem ); - - // Don't attach events to noData or text/comment nodes (but allow plain objects) - if ( !elemData ) { - return; - } - - // Caller can pass in an object of custom data in lieu of the handler - if ( handler.handler ) { - handleObjIn = handler; - handler = handleObjIn.handler; - selector = handleObjIn.selector; - } - - // Ensure that invalid selectors throw exceptions at attach time - // Evaluate against documentElement in case elem is a non-element node (e.g., document) - if ( selector ) { - jQuery.find.matchesSelector( documentElement, selector ); - } - - // Make sure that the handler has a unique ID, used to find/remove it later - if ( !handler.guid ) { - handler.guid = jQuery.guid++; - } - - // Init the element's event structure and main handler, if this is the first - if ( !( events = elemData.events ) ) { - events = elemData.events = {}; - } - if ( !( eventHandle = elemData.handle ) ) { - eventHandle = elemData.handle = function( e ) { - - // Discard the second event of a jQuery.event.trigger() and - // when an event is called after a page has unloaded - return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? - jQuery.event.dispatch.apply( elem, arguments ) : undefined; - }; - } - - // Handle multiple events separated by a space - types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[ t ] ) || []; - type = origType = tmp[ 1 ]; - namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); - - // There *must* be a type, no attaching namespace-only handlers - if ( !type ) { - continue; - } - - // If event changes its type, use the special event handlers for the changed type - special = jQuery.event.special[ type ] || {}; - - // If selector defined, determine special event api type, otherwise given type - type = ( selector ? special.delegateType : special.bindType ) || type; - - // Update special based on newly reset type - special = jQuery.event.special[ type ] || {}; - - // handleObj is passed to all event handlers - handleObj = jQuery.extend( { - type: type, - origType: origType, - data: data, - handler: handler, - guid: handler.guid, - selector: selector, - needsContext: selector && jQuery.expr.match.needsContext.test( selector ), - namespace: namespaces.join( "." ) - }, handleObjIn ); - - // Init the event handler queue if we're the first - if ( !( handlers = events[ type ] ) ) { - handlers = events[ type ] = []; - handlers.delegateCount = 0; - - // Only use addEventListener if the special events handler returns false - if ( !special.setup || - special.setup.call( elem, data, namespaces, eventHandle ) === false ) { - - if ( elem.addEventListener ) { - elem.addEventListener( type, eventHandle ); - } - } - } - - if ( special.add ) { - special.add.call( elem, handleObj ); - - if ( !handleObj.handler.guid ) { - handleObj.handler.guid = handler.guid; - } - } - - // Add to the element's handler list, delegates in front - if ( selector ) { - handlers.splice( handlers.delegateCount++, 0, handleObj ); - } else { - handlers.push( handleObj ); - } - - // Keep track of which events have ever been used, for event optimization - jQuery.event.global[ type ] = true; - } - - }, - - // Detach an event or set of events from an element - remove: function( elem, types, handler, selector, mappedTypes ) { - - var j, origCount, tmp, - events, t, handleObj, - special, handlers, type, namespaces, origType, - elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); - - if ( !elemData || !( events = elemData.events ) ) { - return; - } - - // Once for each type.namespace in types; type may be omitted - types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[ t ] ) || []; - type = origType = tmp[ 1 ]; - namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); - - // Unbind all events (on this namespace, if provided) for the element - if ( !type ) { - for ( type in events ) { - jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); - } - continue; - } - - special = jQuery.event.special[ type ] || {}; - type = ( selector ? special.delegateType : special.bindType ) || type; - handlers = events[ type ] || []; - tmp = tmp[ 2 ] && - new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); - - // Remove matching events - origCount = j = handlers.length; - while ( j-- ) { - handleObj = handlers[ j ]; - - if ( ( mappedTypes || origType === handleObj.origType ) && - ( !handler || handler.guid === handleObj.guid ) && - ( !tmp || tmp.test( handleObj.namespace ) ) && - ( !selector || selector === handleObj.selector || - selector === "**" && handleObj.selector ) ) { - handlers.splice( j, 1 ); - - if ( handleObj.selector ) { - handlers.delegateCount--; - } - if ( special.remove ) { - special.remove.call( elem, handleObj ); - } - } - } - - // Remove generic event handler if we removed something and no more handlers exist - // (avoids potential for endless recursion during removal of special event handlers) - if ( origCount && !handlers.length ) { - if ( !special.teardown || - special.teardown.call( elem, namespaces, elemData.handle ) === false ) { - - jQuery.removeEvent( elem, type, elemData.handle ); - } - - delete events[ type ]; - } - } - - // Remove data and the expando if it's no longer used - if ( jQuery.isEmptyObject( events ) ) { - dataPriv.remove( elem, "handle events" ); - } - }, - - dispatch: function( nativeEvent ) { - - // Make a writable jQuery.Event from the native event object - var event = jQuery.event.fix( nativeEvent ); - - var i, j, ret, matched, handleObj, handlerQueue, - args = new Array( arguments.length ), - handlers = ( dataPriv.get( this, "events" ) || {} )[ event.type ] || [], - special = jQuery.event.special[ event.type ] || {}; - - // Use the fix-ed jQuery.Event rather than the (read-only) native event - args[ 0 ] = event; - - for ( i = 1; i < arguments.length; i++ ) { - args[ i ] = arguments[ i ]; - } - - event.delegateTarget = this; - - // Call the preDispatch hook for the mapped type, and let it bail if desired - if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { - return; - } - - // Determine handlers - handlerQueue = jQuery.event.handlers.call( this, event, handlers ); - - // Run delegates first; they may want to stop propagation beneath us - i = 0; - while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { - event.currentTarget = matched.elem; - - j = 0; - while ( ( handleObj = matched.handlers[ j++ ] ) && - !event.isImmediatePropagationStopped() ) { - - // Triggered event must either 1) have no namespace, or 2) have namespace(s) - // a subset or equal to those in the bound event (both can have no namespace). - if ( !event.rnamespace || event.rnamespace.test( handleObj.namespace ) ) { - - event.handleObj = handleObj; - event.data = handleObj.data; - - ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || - handleObj.handler ).apply( matched.elem, args ); - - if ( ret !== undefined ) { - if ( ( event.result = ret ) === false ) { - event.preventDefault(); - event.stopPropagation(); - } - } - } - } - } - - // Call the postDispatch hook for the mapped type - if ( special.postDispatch ) { - special.postDispatch.call( this, event ); - } - - return event.result; - }, - - handlers: function( event, handlers ) { - var i, handleObj, sel, matchedHandlers, matchedSelectors, - handlerQueue = [], - delegateCount = handlers.delegateCount, - cur = event.target; - - // Find delegate handlers - if ( delegateCount && - - // Support: IE <=9 - // Black-hole SVG instance trees (trac-13180) - cur.nodeType && - - // Support: Firefox <=42 - // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) - // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click - // Support: IE 11 only - // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) - !( event.type === "click" && event.button >= 1 ) ) { - - for ( ; cur !== this; cur = cur.parentNode || this ) { - - // Don't check non-elements (#13208) - // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) - if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { - matchedHandlers = []; - matchedSelectors = {}; - for ( i = 0; i < delegateCount; i++ ) { - handleObj = handlers[ i ]; - - // Don't conflict with Object.prototype properties (#13203) - sel = handleObj.selector + " "; - - if ( matchedSelectors[ sel ] === undefined ) { - matchedSelectors[ sel ] = handleObj.needsContext ? - jQuery( sel, this ).index( cur ) > -1 : - jQuery.find( sel, this, null, [ cur ] ).length; - } - if ( matchedSelectors[ sel ] ) { - matchedHandlers.push( handleObj ); - } - } - if ( matchedHandlers.length ) { - handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); - } - } - } - } - - // Add the remaining (directly-bound) handlers - cur = this; - if ( delegateCount < handlers.length ) { - handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); - } - - return handlerQueue; - }, - - addProp: function( name, hook ) { - Object.defineProperty( jQuery.Event.prototype, name, { - enumerable: true, - configurable: true, - - get: isFunction( hook ) ? - function() { - if ( this.originalEvent ) { - return hook( this.originalEvent ); - } - } : - function() { - if ( this.originalEvent ) { - return this.originalEvent[ name ]; - } - }, - - set: function( value ) { - Object.defineProperty( this, name, { - enumerable: true, - configurable: true, - writable: true, - value: value - } ); - } - } ); - }, - - fix: function( originalEvent ) { - return originalEvent[ jQuery.expando ] ? - originalEvent : - new jQuery.Event( originalEvent ); - }, - - special: { - load: { - - // Prevent triggered image.load events from bubbling to window.load - noBubble: true - }, - focus: { - - // Fire native event if possible so blur/focus sequence is correct - trigger: function() { - if ( this !== safeActiveElement() && this.focus ) { - this.focus(); - return false; - } - }, - delegateType: "focusin" - }, - blur: { - trigger: function() { - if ( this === safeActiveElement() && this.blur ) { - this.blur(); - return false; - } - }, - delegateType: "focusout" - }, - click: { - - // For checkbox, fire native event so checked state will be right - trigger: function() { - if ( this.type === "checkbox" && this.click && nodeName( this, "input" ) ) { - this.click(); - return false; - } - }, - - // For cross-browser consistency, don't fire native .click() on links - _default: function( event ) { - return nodeName( event.target, "a" ); - } - }, - - beforeunload: { - postDispatch: function( event ) { - - // Support: Firefox 20+ - // Firefox doesn't alert if the returnValue field is not set. - if ( event.result !== undefined && event.originalEvent ) { - event.originalEvent.returnValue = event.result; - } - } - } - } -}; - -jQuery.removeEvent = function( elem, type, handle ) { - - // This "if" is needed for plain objects - if ( elem.removeEventListener ) { - elem.removeEventListener( type, handle ); - } -}; - -jQuery.Event = function( src, props ) { - - // Allow instantiation without the 'new' keyword - if ( !( this instanceof jQuery.Event ) ) { - return new jQuery.Event( src, props ); - } - - // Event object - if ( src && src.type ) { - this.originalEvent = src; - this.type = src.type; - - // Events bubbling up the document may have been marked as prevented - // by a handler lower down the tree; reflect the correct value. - this.isDefaultPrevented = src.defaultPrevented || - src.defaultPrevented === undefined && - - // Support: Android <=2.3 only - src.returnValue === false ? - returnTrue : - returnFalse; - - // Create target properties - // Support: Safari <=6 - 7 only - // Target should not be a text node (#504, #13143) - this.target = ( src.target && src.target.nodeType === 3 ) ? - src.target.parentNode : - src.target; - - this.currentTarget = src.currentTarget; - this.relatedTarget = src.relatedTarget; - - // Event type - } else { - this.type = src; - } - - // Put explicitly provided properties onto the event object - if ( props ) { - jQuery.extend( this, props ); - } - - // Create a timestamp if incoming event doesn't have one - this.timeStamp = src && src.timeStamp || Date.now(); - - // Mark it as fixed - this[ jQuery.expando ] = true; -}; - -// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding -// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html -jQuery.Event.prototype = { - constructor: jQuery.Event, - isDefaultPrevented: returnFalse, - isPropagationStopped: returnFalse, - isImmediatePropagationStopped: returnFalse, - isSimulated: false, - - preventDefault: function() { - var e = this.originalEvent; - - this.isDefaultPrevented = returnTrue; - - if ( e && !this.isSimulated ) { - e.preventDefault(); - } - }, - stopPropagation: function() { - var e = this.originalEvent; - - this.isPropagationStopped = returnTrue; - - if ( e && !this.isSimulated ) { - e.stopPropagation(); - } - }, - stopImmediatePropagation: function() { - var e = this.originalEvent; - - this.isImmediatePropagationStopped = returnTrue; - - if ( e && !this.isSimulated ) { - e.stopImmediatePropagation(); - } - - this.stopPropagation(); - } -}; - -// Includes all common event props including KeyEvent and MouseEvent specific props -jQuery.each( { - altKey: true, - bubbles: true, - cancelable: true, - changedTouches: true, - ctrlKey: true, - detail: true, - eventPhase: true, - metaKey: true, - pageX: true, - pageY: true, - shiftKey: true, - view: true, - "char": true, - charCode: true, - key: true, - keyCode: true, - button: true, - buttons: true, - clientX: true, - clientY: true, - offsetX: true, - offsetY: true, - pointerId: true, - pointerType: true, - screenX: true, - screenY: true, - targetTouches: true, - toElement: true, - touches: true, - - which: function( event ) { - var button = event.button; - - // Add which for key events - if ( event.which == null && rkeyEvent.test( event.type ) ) { - return event.charCode != null ? event.charCode : event.keyCode; - } - - // Add which for click: 1 === left; 2 === middle; 3 === right - if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { - if ( button & 1 ) { - return 1; - } - - if ( button & 2 ) { - return 3; - } - - if ( button & 4 ) { - return 2; - } - - return 0; - } - - return event.which; - } -}, jQuery.event.addProp ); - -// Create mouseenter/leave events using mouseover/out and event-time checks -// so that event delegation works in jQuery. -// Do the same for pointerenter/pointerleave and pointerover/pointerout -// -// Support: Safari 7 only -// Safari sends mouseenter too often; see: -// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 -// for the description of the bug (it existed in older Chrome versions as well). -jQuery.each( { - mouseenter: "mouseover", - mouseleave: "mouseout", - pointerenter: "pointerover", - pointerleave: "pointerout" -}, function( orig, fix ) { - jQuery.event.special[ orig ] = { - delegateType: fix, - bindType: fix, - - handle: function( event ) { - var ret, - target = this, - related = event.relatedTarget, - handleObj = event.handleObj; - - // For mouseenter/leave call the handler if related is outside the target. - // NB: No relatedTarget if the mouse left/entered the browser window - if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { - event.type = handleObj.origType; - ret = handleObj.handler.apply( this, arguments ); - event.type = fix; - } - return ret; - } - }; -} ); - -jQuery.fn.extend( { - - on: function( types, selector, data, fn ) { - return on( this, types, selector, data, fn ); - }, - one: function( types, selector, data, fn ) { - return on( this, types, selector, data, fn, 1 ); - }, - off: function( types, selector, fn ) { - var handleObj, type; - if ( types && types.preventDefault && types.handleObj ) { - - // ( event ) dispatched jQuery.Event - handleObj = types.handleObj; - jQuery( types.delegateTarget ).off( - handleObj.namespace ? - handleObj.origType + "." + handleObj.namespace : - handleObj.origType, - handleObj.selector, - handleObj.handler - ); - return this; - } - if ( typeof types === "object" ) { - - // ( types-object [, selector] ) - for ( type in types ) { - this.off( type, selector, types[ type ] ); - } - return this; - } - if ( selector === false || typeof selector === "function" ) { - - // ( types [, fn] ) - fn = selector; - selector = undefined; - } - if ( fn === false ) { - fn = returnFalse; - } - return this.each( function() { - jQuery.event.remove( this, types, fn, selector ); - } ); - } -} ); - - -var - - /* eslint-disable max-len */ - - // See https://github.com/eslint/eslint/issues/3229 - rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi, - - /* eslint-enable */ - - // Support: IE <=10 - 11, Edge 12 - 13 only - // In IE/Edge using regex groups here causes severe slowdowns. - // See https://connect.microsoft.com/IE/feedback/details/1736512/ - rnoInnerhtml = /\s*$/g; - -// Prefer a tbody over its parent table for containing new rows -function manipulationTarget( elem, content ) { - if ( nodeName( elem, "table" ) && - nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { - - return jQuery( elem ).children( "tbody" )[ 0 ] || elem; - } - - return elem; -} - -// Replace/restore the type attribute of script elements for safe DOM manipulation -function disableScript( elem ) { - elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; - return elem; -} -function restoreScript( elem ) { - if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { - elem.type = elem.type.slice( 5 ); - } else { - elem.removeAttribute( "type" ); - } - - return elem; -} - -function cloneCopyEvent( src, dest ) { - var i, l, type, pdataOld, pdataCur, udataOld, udataCur, events; - - if ( dest.nodeType !== 1 ) { - return; - } - - // 1. Copy private data: events, handlers, etc. - if ( dataPriv.hasData( src ) ) { - pdataOld = dataPriv.access( src ); - pdataCur = dataPriv.set( dest, pdataOld ); - events = pdataOld.events; - - if ( events ) { - delete pdataCur.handle; - pdataCur.events = {}; - - for ( type in events ) { - for ( i = 0, l = events[ type ].length; i < l; i++ ) { - jQuery.event.add( dest, type, events[ type ][ i ] ); - } - } - } - } - - // 2. Copy user data - if ( dataUser.hasData( src ) ) { - udataOld = dataUser.access( src ); - udataCur = jQuery.extend( {}, udataOld ); - - dataUser.set( dest, udataCur ); - } -} - -// Fix IE bugs, see support tests -function fixInput( src, dest ) { - var nodeName = dest.nodeName.toLowerCase(); - - // Fails to persist the checked state of a cloned checkbox or radio button. - if ( nodeName === "input" && rcheckableType.test( src.type ) ) { - dest.checked = src.checked; - - // Fails to return the selected option to the default selected state when cloning options - } else if ( nodeName === "input" || nodeName === "textarea" ) { - dest.defaultValue = src.defaultValue; - } -} - -function domManip( collection, args, callback, ignored ) { - - // Flatten any nested arrays - args = concat.apply( [], args ); - - var fragment, first, scripts, hasScripts, node, doc, - i = 0, - l = collection.length, - iNoClone = l - 1, - value = args[ 0 ], - valueIsFunction = isFunction( value ); - - // We can't cloneNode fragments that contain checked, in WebKit - if ( valueIsFunction || - ( l > 1 && typeof value === "string" && - !support.checkClone && rchecked.test( value ) ) ) { - return collection.each( function( index ) { - var self = collection.eq( index ); - if ( valueIsFunction ) { - args[ 0 ] = value.call( this, index, self.html() ); - } - domManip( self, args, callback, ignored ); - } ); - } - - if ( l ) { - fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); - first = fragment.firstChild; - - if ( fragment.childNodes.length === 1 ) { - fragment = first; - } - - // Require either new content or an interest in ignored elements to invoke the callback - if ( first || ignored ) { - scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); - hasScripts = scripts.length; - - // Use the original fragment for the last item - // instead of the first because it can end up - // being emptied incorrectly in certain situations (#8070). - for ( ; i < l; i++ ) { - node = fragment; - - if ( i !== iNoClone ) { - node = jQuery.clone( node, true, true ); - - // Keep references to cloned scripts for later restoration - if ( hasScripts ) { - - // Support: Android <=4.0 only, PhantomJS 1 only - // push.apply(_, arraylike) throws on ancient WebKit - jQuery.merge( scripts, getAll( node, "script" ) ); - } - } - - callback.call( collection[ i ], node, i ); - } - - if ( hasScripts ) { - doc = scripts[ scripts.length - 1 ].ownerDocument; - - // Reenable scripts - jQuery.map( scripts, restoreScript ); - - // Evaluate executable scripts on first document insertion - for ( i = 0; i < hasScripts; i++ ) { - node = scripts[ i ]; - if ( rscriptType.test( node.type || "" ) && - !dataPriv.access( node, "globalEval" ) && - jQuery.contains( doc, node ) ) { - - if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { - - // Optional AJAX dependency, but won't run scripts if not present - if ( jQuery._evalUrl ) { - jQuery._evalUrl( node.src ); - } - } else { - DOMEval( node.textContent.replace( rcleanScript, "" ), doc, node ); - } - } - } - } - } - } - - return collection; -} - -function remove( elem, selector, keepData ) { - var node, - nodes = selector ? jQuery.filter( selector, elem ) : elem, - i = 0; - - for ( ; ( node = nodes[ i ] ) != null; i++ ) { - if ( !keepData && node.nodeType === 1 ) { - jQuery.cleanData( getAll( node ) ); - } - - if ( node.parentNode ) { - if ( keepData && jQuery.contains( node.ownerDocument, node ) ) { - setGlobalEval( getAll( node, "script" ) ); - } - node.parentNode.removeChild( node ); - } - } - - return elem; -} - -jQuery.extend( { - htmlPrefilter: function( html ) { - return html.replace( rxhtmlTag, "<$1>" ); - }, - - clone: function( elem, dataAndEvents, deepDataAndEvents ) { - var i, l, srcElements, destElements, - clone = elem.cloneNode( true ), - inPage = jQuery.contains( elem.ownerDocument, elem ); - - // Fix IE cloning issues - if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && - !jQuery.isXMLDoc( elem ) ) { - - // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 - destElements = getAll( clone ); - srcElements = getAll( elem ); - - for ( i = 0, l = srcElements.length; i < l; i++ ) { - fixInput( srcElements[ i ], destElements[ i ] ); - } - } - - // Copy the events from the original to the clone - if ( dataAndEvents ) { - if ( deepDataAndEvents ) { - srcElements = srcElements || getAll( elem ); - destElements = destElements || getAll( clone ); - - for ( i = 0, l = srcElements.length; i < l; i++ ) { - cloneCopyEvent( srcElements[ i ], destElements[ i ] ); - } - } else { - cloneCopyEvent( elem, clone ); - } - } - - // Preserve script evaluation history - destElements = getAll( clone, "script" ); - if ( destElements.length > 0 ) { - setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); - } - - // Return the cloned set - return clone; - }, - - cleanData: function( elems ) { - var data, elem, type, - special = jQuery.event.special, - i = 0; - - for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { - if ( acceptData( elem ) ) { - if ( ( data = elem[ dataPriv.expando ] ) ) { - if ( data.events ) { - for ( type in data.events ) { - if ( special[ type ] ) { - jQuery.event.remove( elem, type ); - - // This is a shortcut to avoid jQuery.event.remove's overhead - } else { - jQuery.removeEvent( elem, type, data.handle ); - } - } - } - - // Support: Chrome <=35 - 45+ - // Assign undefined instead of using delete, see Data#remove - elem[ dataPriv.expando ] = undefined; - } - if ( elem[ dataUser.expando ] ) { - - // Support: Chrome <=35 - 45+ - // Assign undefined instead of using delete, see Data#remove - elem[ dataUser.expando ] = undefined; - } - } - } - } -} ); - -jQuery.fn.extend( { - detach: function( selector ) { - return remove( this, selector, true ); - }, - - remove: function( selector ) { - return remove( this, selector ); - }, - - text: function( value ) { - return access( this, function( value ) { - return value === undefined ? - jQuery.text( this ) : - this.empty().each( function() { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - this.textContent = value; - } - } ); - }, null, value, arguments.length ); - }, - - append: function() { - return domManip( this, arguments, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - var target = manipulationTarget( this, elem ); - target.appendChild( elem ); - } - } ); - }, - - prepend: function() { - return domManip( this, arguments, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - var target = manipulationTarget( this, elem ); - target.insertBefore( elem, target.firstChild ); - } - } ); - }, - - before: function() { - return domManip( this, arguments, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this ); - } - } ); - }, - - after: function() { - return domManip( this, arguments, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this.nextSibling ); - } - } ); - }, - - empty: function() { - var elem, - i = 0; - - for ( ; ( elem = this[ i ] ) != null; i++ ) { - if ( elem.nodeType === 1 ) { - - // Prevent memory leaks - jQuery.cleanData( getAll( elem, false ) ); - - // Remove any remaining nodes - elem.textContent = ""; - } - } - - return this; - }, - - clone: function( dataAndEvents, deepDataAndEvents ) { - dataAndEvents = dataAndEvents == null ? false : dataAndEvents; - deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; - - return this.map( function() { - return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); - } ); - }, - - html: function( value ) { - return access( this, function( value ) { - var elem = this[ 0 ] || {}, - i = 0, - l = this.length; - - if ( value === undefined && elem.nodeType === 1 ) { - return elem.innerHTML; - } - - // See if we can take a shortcut and just use innerHTML - if ( typeof value === "string" && !rnoInnerhtml.test( value ) && - !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { - - value = jQuery.htmlPrefilter( value ); - - try { - for ( ; i < l; i++ ) { - elem = this[ i ] || {}; - - // Remove element nodes and prevent memory leaks - if ( elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem, false ) ); - elem.innerHTML = value; - } - } - - elem = 0; - - // If using innerHTML throws an exception, use the fallback method - } catch ( e ) {} - } - - if ( elem ) { - this.empty().append( value ); - } - }, null, value, arguments.length ); - }, - - replaceWith: function() { - var ignored = []; - - // Make the changes, replacing each non-ignored context element with the new content - return domManip( this, arguments, function( elem ) { - var parent = this.parentNode; - - if ( jQuery.inArray( this, ignored ) < 0 ) { - jQuery.cleanData( getAll( this ) ); - if ( parent ) { - parent.replaceChild( elem, this ); - } - } - - // Force callback invocation - }, ignored ); - } -} ); - -jQuery.each( { - appendTo: "append", - prependTo: "prepend", - insertBefore: "before", - insertAfter: "after", - replaceAll: "replaceWith" -}, function( name, original ) { - jQuery.fn[ name ] = function( selector ) { - var elems, - ret = [], - insert = jQuery( selector ), - last = insert.length - 1, - i = 0; - - for ( ; i <= last; i++ ) { - elems = i === last ? this : this.clone( true ); - jQuery( insert[ i ] )[ original ]( elems ); - - // Support: Android <=4.0 only, PhantomJS 1 only - // .get() because push.apply(_, arraylike) throws on ancient WebKit - push.apply( ret, elems.get() ); - } - - return this.pushStack( ret ); - }; -} ); -var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); - -var getStyles = function( elem ) { - - // Support: IE <=11 only, Firefox <=30 (#15098, #14150) - // IE throws on elements created in popups - // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" - var view = elem.ownerDocument.defaultView; - - if ( !view || !view.opener ) { - view = window; - } - - return view.getComputedStyle( elem ); - }; - -var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); - - - -( function() { - - // Executing both pixelPosition & boxSizingReliable tests require only one layout - // so they're executed at the same time to save the second computation. - function computeStyleTests() { - - // This is a singleton, we need to execute it only once - if ( !div ) { - return; - } - - container.style.cssText = "position:absolute;left:-11111px;width:60px;" + - "margin-top:1px;padding:0;border:0"; - div.style.cssText = - "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + - "margin:auto;border:1px;padding:1px;" + - "width:60%;top:1%"; - documentElement.appendChild( container ).appendChild( div ); - - var divStyle = window.getComputedStyle( div ); - pixelPositionVal = divStyle.top !== "1%"; - - // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 - reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; - - // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 - // Some styles come back with percentage values, even though they shouldn't - div.style.right = "60%"; - pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; - - // Support: IE 9 - 11 only - // Detect misreporting of content dimensions for box-sizing:border-box elements - boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; - - // Support: IE 9 only - // Detect overflow:scroll screwiness (gh-3699) - div.style.position = "absolute"; - scrollboxSizeVal = div.offsetWidth === 36 || "absolute"; - - documentElement.removeChild( container ); - - // Nullify the div so it wouldn't be stored in the memory and - // it will also be a sign that checks already performed - div = null; - } - - function roundPixelMeasures( measure ) { - return Math.round( parseFloat( measure ) ); - } - - var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, - reliableMarginLeftVal, - container = document.createElement( "div" ), - div = document.createElement( "div" ); - - // Finish early in limited (non-browser) environments - if ( !div.style ) { - return; - } - - // Support: IE <=9 - 11 only - // Style of cloned element affects source element cloned (#8908) - div.style.backgroundClip = "content-box"; - div.cloneNode( true ).style.backgroundClip = ""; - support.clearCloneStyle = div.style.backgroundClip === "content-box"; - - jQuery.extend( support, { - boxSizingReliable: function() { - computeStyleTests(); - return boxSizingReliableVal; - }, - pixelBoxStyles: function() { - computeStyleTests(); - return pixelBoxStylesVal; - }, - pixelPosition: function() { - computeStyleTests(); - return pixelPositionVal; - }, - reliableMarginLeft: function() { - computeStyleTests(); - return reliableMarginLeftVal; - }, - scrollboxSize: function() { - computeStyleTests(); - return scrollboxSizeVal; - } - } ); -} )(); - - -function curCSS( elem, name, computed ) { - var width, minWidth, maxWidth, ret, - - // Support: Firefox 51+ - // Retrieving style before computed somehow - // fixes an issue with getting wrong values - // on detached elements - style = elem.style; - - computed = computed || getStyles( elem ); - - // getPropertyValue is needed for: - // .css('filter') (IE 9 only, #12537) - // .css('--customProperty) (#3144) - if ( computed ) { - ret = computed.getPropertyValue( name ) || computed[ name ]; - - if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) { - ret = jQuery.style( elem, name ); - } - - // A tribute to the "awesome hack by Dean Edwards" - // Android Browser returns percentage for some values, - // but width seems to be reliably pixels. - // This is against the CSSOM draft spec: - // https://drafts.csswg.org/cssom/#resolved-values - if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { - - // Remember the original values - width = style.width; - minWidth = style.minWidth; - maxWidth = style.maxWidth; - - // Put in the new values to get a computed value out - style.minWidth = style.maxWidth = style.width = ret; - ret = computed.width; - - // Revert the changed values - style.width = width; - style.minWidth = minWidth; - style.maxWidth = maxWidth; - } - } - - return ret !== undefined ? - - // Support: IE <=9 - 11 only - // IE returns zIndex value as an integer. - ret + "" : - ret; -} - - -function addGetHookIf( conditionFn, hookFn ) { - - // Define the hook, we'll check on the first run if it's really needed. - return { - get: function() { - if ( conditionFn() ) { - - // Hook not needed (or it's not possible to use it due - // to missing dependency), remove it. - delete this.get; - return; - } - - // Hook needed; redefine it so that the support test is not executed again. - return ( this.get = hookFn ).apply( this, arguments ); - } - }; -} - - -var - - // Swappable if display is none or starts with table - // except "table", "table-cell", or "table-caption" - // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display - rdisplayswap = /^(none|table(?!-c[ea]).+)/, - rcustomProp = /^--/, - cssShow = { position: "absolute", visibility: "hidden", display: "block" }, - cssNormalTransform = { - letterSpacing: "0", - fontWeight: "400" - }, - - cssPrefixes = [ "Webkit", "Moz", "ms" ], - emptyStyle = document.createElement( "div" ).style; - -// Return a css property mapped to a potentially vendor prefixed property -function vendorPropName( name ) { - - // Shortcut for names that are not vendor prefixed - if ( name in emptyStyle ) { - return name; - } - - // Check for vendor prefixed names - var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), - i = cssPrefixes.length; - - while ( i-- ) { - name = cssPrefixes[ i ] + capName; - if ( name in emptyStyle ) { - return name; - } - } -} - -// Return a property mapped along what jQuery.cssProps suggests or to -// a vendor prefixed property. -function finalPropName( name ) { - var ret = jQuery.cssProps[ name ]; - if ( !ret ) { - ret = jQuery.cssProps[ name ] = vendorPropName( name ) || name; - } - return ret; -} - -function setPositiveNumber( elem, value, subtract ) { - - // Any relative (+/-) values have already been - // normalized at this point - var matches = rcssNum.exec( value ); - return matches ? - - // Guard against undefined "subtract", e.g., when used as in cssHooks - Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : - value; -} - -function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { - var i = dimension === "width" ? 1 : 0, - extra = 0, - delta = 0; - - // Adjustment may not be necessary - if ( box === ( isBorderBox ? "border" : "content" ) ) { - return 0; - } - - for ( ; i < 4; i += 2 ) { - - // Both box models exclude margin - if ( box === "margin" ) { - delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); - } - - // If we get here with a content-box, we're seeking "padding" or "border" or "margin" - if ( !isBorderBox ) { - - // Add padding - delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - - // For "border" or "margin", add border - if ( box !== "padding" ) { - delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - - // But still keep track of it otherwise - } else { - extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - - // If we get here with a border-box (content + padding + border), we're seeking "content" or - // "padding" or "margin" - } else { - - // For "content", subtract padding - if ( box === "content" ) { - delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - } - - // For "content" or "padding", subtract border - if ( box !== "margin" ) { - delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - } - } - - // Account for positive content-box scroll gutter when requested by providing computedVal - if ( !isBorderBox && computedVal >= 0 ) { - - // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border - // Assuming integer scroll gutter, subtract the rest and round down - delta += Math.max( 0, Math.ceil( - elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - - computedVal - - delta - - extra - - 0.5 - ) ); - } - - return delta; -} - -function getWidthOrHeight( elem, dimension, extra ) { - - // Start with computed style - var styles = getStyles( elem ), - val = curCSS( elem, dimension, styles ), - isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box", - valueIsBorderBox = isBorderBox; - - // Support: Firefox <=54 - // Return a confounding non-pixel value or feign ignorance, as appropriate. - if ( rnumnonpx.test( val ) ) { - if ( !extra ) { - return val; - } - val = "auto"; - } - - // Check for style in case a browser which returns unreliable values - // for getComputedStyle silently falls back to the reliable elem.style - valueIsBorderBox = valueIsBorderBox && - ( support.boxSizingReliable() || val === elem.style[ dimension ] ); - - // Fall back to offsetWidth/offsetHeight when value is "auto" - // This happens for inline elements with no explicit setting (gh-3571) - // Support: Android <=4.1 - 4.3 only - // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) - if ( val === "auto" || - !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) { - - val = elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ]; - - // offsetWidth/offsetHeight provide border-box values - valueIsBorderBox = true; - } - - // Normalize "" and auto - val = parseFloat( val ) || 0; - - // Adjust for the element's box model - return ( val + - boxModelAdjustment( - elem, - dimension, - extra || ( isBorderBox ? "border" : "content" ), - valueIsBorderBox, - styles, - - // Provide the current computed size to request scroll gutter calculation (gh-3589) - val - ) - ) + "px"; -} - -jQuery.extend( { - - // Add in style property hooks for overriding the default - // behavior of getting and setting a style property - cssHooks: { - opacity: { - get: function( elem, computed ) { - if ( computed ) { - - // We should always get a number back from opacity - var ret = curCSS( elem, "opacity" ); - return ret === "" ? "1" : ret; - } - } - } - }, - - // Don't automatically add "px" to these possibly-unitless properties - cssNumber: { - "animationIterationCount": true, - "columnCount": true, - "fillOpacity": true, - "flexGrow": true, - "flexShrink": true, - "fontWeight": true, - "lineHeight": true, - "opacity": true, - "order": true, - "orphans": true, - "widows": true, - "zIndex": true, - "zoom": true - }, - - // Add in properties whose names you wish to fix before - // setting or getting the value - cssProps: {}, - - // Get and set the style property on a DOM Node - style: function( elem, name, value, extra ) { - - // Don't set styles on text and comment nodes - if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { - return; - } - - // Make sure that we're working with the right name - var ret, type, hooks, - origName = camelCase( name ), - isCustomProp = rcustomProp.test( name ), - style = elem.style; - - // Make sure that we're working with the right name. We don't - // want to query the value if it is a CSS custom property - // since they are user-defined. - if ( !isCustomProp ) { - name = finalPropName( origName ); - } - - // Gets hook for the prefixed version, then unprefixed version - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // Check if we're setting a value - if ( value !== undefined ) { - type = typeof value; - - // Convert "+=" or "-=" to relative numbers (#7345) - if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { - value = adjustCSS( elem, name, ret ); - - // Fixes bug #9237 - type = "number"; - } - - // Make sure that null and NaN values aren't set (#7116) - if ( value == null || value !== value ) { - return; - } - - // If a number was passed in, add the unit (except for certain CSS properties) - if ( type === "number" ) { - value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); - } - - // background-* props affect original clone's values - if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { - style[ name ] = "inherit"; - } - - // If a hook was provided, use that value, otherwise just set the specified value - if ( !hooks || !( "set" in hooks ) || - ( value = hooks.set( elem, value, extra ) ) !== undefined ) { - - if ( isCustomProp ) { - style.setProperty( name, value ); - } else { - style[ name ] = value; - } - } - - } else { - - // If a hook was provided get the non-computed value from there - if ( hooks && "get" in hooks && - ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { - - return ret; - } - - // Otherwise just get the value from the style object - return style[ name ]; - } - }, - - css: function( elem, name, extra, styles ) { - var val, num, hooks, - origName = camelCase( name ), - isCustomProp = rcustomProp.test( name ); - - // Make sure that we're working with the right name. We don't - // want to modify the value if it is a CSS custom property - // since they are user-defined. - if ( !isCustomProp ) { - name = finalPropName( origName ); - } - - // Try prefixed name followed by the unprefixed name - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // If a hook was provided get the computed value from there - if ( hooks && "get" in hooks ) { - val = hooks.get( elem, true, extra ); - } - - // Otherwise, if a way to get the computed value exists, use that - if ( val === undefined ) { - val = curCSS( elem, name, styles ); - } - - // Convert "normal" to computed value - if ( val === "normal" && name in cssNormalTransform ) { - val = cssNormalTransform[ name ]; - } - - // Make numeric if forced or a qualifier was provided and val looks numeric - if ( extra === "" || extra ) { - num = parseFloat( val ); - return extra === true || isFinite( num ) ? num || 0 : val; - } - - return val; - } -} ); - -jQuery.each( [ "height", "width" ], function( i, dimension ) { - jQuery.cssHooks[ dimension ] = { - get: function( elem, computed, extra ) { - if ( computed ) { - - // Certain elements can have dimension info if we invisibly show them - // but it must have a current display style that would benefit - return rdisplayswap.test( jQuery.css( elem, "display" ) ) && - - // Support: Safari 8+ - // Table columns in Safari have non-zero offsetWidth & zero - // getBoundingClientRect().width unless display is changed. - // Support: IE <=11 only - // Running getBoundingClientRect on a disconnected node - // in IE throws an error. - ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? - swap( elem, cssShow, function() { - return getWidthOrHeight( elem, dimension, extra ); - } ) : - getWidthOrHeight( elem, dimension, extra ); - } - }, - - set: function( elem, value, extra ) { - var matches, - styles = getStyles( elem ), - isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box", - subtract = extra && boxModelAdjustment( - elem, - dimension, - extra, - isBorderBox, - styles - ); - - // Account for unreliable border-box dimensions by comparing offset* to computed and - // faking a content-box to get border and padding (gh-3699) - if ( isBorderBox && support.scrollboxSize() === styles.position ) { - subtract -= Math.ceil( - elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - - parseFloat( styles[ dimension ] ) - - boxModelAdjustment( elem, dimension, "border", false, styles ) - - 0.5 - ); - } - - // Convert to pixels if value adjustment is needed - if ( subtract && ( matches = rcssNum.exec( value ) ) && - ( matches[ 3 ] || "px" ) !== "px" ) { - - elem.style[ dimension ] = value; - value = jQuery.css( elem, dimension ); - } - - return setPositiveNumber( elem, value, subtract ); - } - }; -} ); - -jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, - function( elem, computed ) { - if ( computed ) { - return ( parseFloat( curCSS( elem, "marginLeft" ) ) || - elem.getBoundingClientRect().left - - swap( elem, { marginLeft: 0 }, function() { - return elem.getBoundingClientRect().left; - } ) - ) + "px"; - } - } -); - -// These hooks are used by animate to expand properties -jQuery.each( { - margin: "", - padding: "", - border: "Width" -}, function( prefix, suffix ) { - jQuery.cssHooks[ prefix + suffix ] = { - expand: function( value ) { - var i = 0, - expanded = {}, - - // Assumes a single number if not a string - parts = typeof value === "string" ? value.split( " " ) : [ value ]; - - for ( ; i < 4; i++ ) { - expanded[ prefix + cssExpand[ i ] + suffix ] = - parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; - } - - return expanded; - } - }; - - if ( prefix !== "margin" ) { - jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; - } -} ); - -jQuery.fn.extend( { - css: function( name, value ) { - return access( this, function( elem, name, value ) { - var styles, len, - map = {}, - i = 0; - - if ( Array.isArray( name ) ) { - styles = getStyles( elem ); - len = name.length; - - for ( ; i < len; i++ ) { - map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); - } - - return map; - } - - return value !== undefined ? - jQuery.style( elem, name, value ) : - jQuery.css( elem, name ); - }, name, value, arguments.length > 1 ); - } -} ); - - -function Tween( elem, options, prop, end, easing ) { - return new Tween.prototype.init( elem, options, prop, end, easing ); -} -jQuery.Tween = Tween; - -Tween.prototype = { - constructor: Tween, - init: function( elem, options, prop, end, easing, unit ) { - this.elem = elem; - this.prop = prop; - this.easing = easing || jQuery.easing._default; - this.options = options; - this.start = this.now = this.cur(); - this.end = end; - this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); - }, - cur: function() { - var hooks = Tween.propHooks[ this.prop ]; - - return hooks && hooks.get ? - hooks.get( this ) : - Tween.propHooks._default.get( this ); - }, - run: function( percent ) { - var eased, - hooks = Tween.propHooks[ this.prop ]; - - if ( this.options.duration ) { - this.pos = eased = jQuery.easing[ this.easing ]( - percent, this.options.duration * percent, 0, 1, this.options.duration - ); - } else { - this.pos = eased = percent; - } - this.now = ( this.end - this.start ) * eased + this.start; - - if ( this.options.step ) { - this.options.step.call( this.elem, this.now, this ); - } - - if ( hooks && hooks.set ) { - hooks.set( this ); - } else { - Tween.propHooks._default.set( this ); - } - return this; - } -}; - -Tween.prototype.init.prototype = Tween.prototype; - -Tween.propHooks = { - _default: { - get: function( tween ) { - var result; - - // Use a property on the element directly when it is not a DOM element, - // or when there is no matching style property that exists. - if ( tween.elem.nodeType !== 1 || - tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { - return tween.elem[ tween.prop ]; - } - - // Passing an empty string as a 3rd parameter to .css will automatically - // attempt a parseFloat and fallback to a string if the parse fails. - // Simple values such as "10px" are parsed to Float; - // complex values such as "rotate(1rad)" are returned as-is. - result = jQuery.css( tween.elem, tween.prop, "" ); - - // Empty strings, null, undefined and "auto" are converted to 0. - return !result || result === "auto" ? 0 : result; - }, - set: function( tween ) { - - // Use step hook for back compat. - // Use cssHook if its there. - // Use .style if available and use plain properties where available. - if ( jQuery.fx.step[ tween.prop ] ) { - jQuery.fx.step[ tween.prop ]( tween ); - } else if ( tween.elem.nodeType === 1 && - ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || - jQuery.cssHooks[ tween.prop ] ) ) { - jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); - } else { - tween.elem[ tween.prop ] = tween.now; - } - } - } -}; - -// Support: IE <=9 only -// Panic based approach to setting things on disconnected nodes -Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { - set: function( tween ) { - if ( tween.elem.nodeType && tween.elem.parentNode ) { - tween.elem[ tween.prop ] = tween.now; - } - } -}; - -jQuery.easing = { - linear: function( p ) { - return p; - }, - swing: function( p ) { - return 0.5 - Math.cos( p * Math.PI ) / 2; - }, - _default: "swing" -}; - -jQuery.fx = Tween.prototype.init; - -// Back compat <1.8 extension point -jQuery.fx.step = {}; - - - - -var - fxNow, inProgress, - rfxtypes = /^(?:toggle|show|hide)$/, - rrun = /queueHooks$/; - -function schedule() { - if ( inProgress ) { - if ( document.hidden === false && window.requestAnimationFrame ) { - window.requestAnimationFrame( schedule ); - } else { - window.setTimeout( schedule, jQuery.fx.interval ); - } - - jQuery.fx.tick(); - } -} - -// Animations created synchronously will run synchronously -function createFxNow() { - window.setTimeout( function() { - fxNow = undefined; - } ); - return ( fxNow = Date.now() ); -} - -// Generate parameters to create a standard animation -function genFx( type, includeWidth ) { - var which, - i = 0, - attrs = { height: type }; - - // If we include width, step value is 1 to do all cssExpand values, - // otherwise step value is 2 to skip over Left and Right - includeWidth = includeWidth ? 1 : 0; - for ( ; i < 4; i += 2 - includeWidth ) { - which = cssExpand[ i ]; - attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; - } - - if ( includeWidth ) { - attrs.opacity = attrs.width = type; - } - - return attrs; -} - -function createTween( value, prop, animation ) { - var tween, - collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), - index = 0, - length = collection.length; - for ( ; index < length; index++ ) { - if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { - - // We're done with this property - return tween; - } - } -} - -function defaultPrefilter( elem, props, opts ) { - var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, - isBox = "width" in props || "height" in props, - anim = this, - orig = {}, - style = elem.style, - hidden = elem.nodeType && isHiddenWithinTree( elem ), - dataShow = dataPriv.get( elem, "fxshow" ); - - // Queue-skipping animations hijack the fx hooks - if ( !opts.queue ) { - hooks = jQuery._queueHooks( elem, "fx" ); - if ( hooks.unqueued == null ) { - hooks.unqueued = 0; - oldfire = hooks.empty.fire; - hooks.empty.fire = function() { - if ( !hooks.unqueued ) { - oldfire(); - } - }; - } - hooks.unqueued++; - - anim.always( function() { - - // Ensure the complete handler is called before this completes - anim.always( function() { - hooks.unqueued--; - if ( !jQuery.queue( elem, "fx" ).length ) { - hooks.empty.fire(); - } - } ); - } ); - } - - // Detect show/hide animations - for ( prop in props ) { - value = props[ prop ]; - if ( rfxtypes.test( value ) ) { - delete props[ prop ]; - toggle = toggle || value === "toggle"; - if ( value === ( hidden ? "hide" : "show" ) ) { - - // Pretend to be hidden if this is a "show" and - // there is still data from a stopped show/hide - if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { - hidden = true; - - // Ignore all other no-op show/hide data - } else { - continue; - } - } - orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); - } - } - - // Bail out if this is a no-op like .hide().hide() - propTween = !jQuery.isEmptyObject( props ); - if ( !propTween && jQuery.isEmptyObject( orig ) ) { - return; - } - - // Restrict "overflow" and "display" styles during box animations - if ( isBox && elem.nodeType === 1 ) { - - // Support: IE <=9 - 11, Edge 12 - 15 - // Record all 3 overflow attributes because IE does not infer the shorthand - // from identically-valued overflowX and overflowY and Edge just mirrors - // the overflowX value there. - opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; - - // Identify a display type, preferring old show/hide data over the CSS cascade - restoreDisplay = dataShow && dataShow.display; - if ( restoreDisplay == null ) { - restoreDisplay = dataPriv.get( elem, "display" ); - } - display = jQuery.css( elem, "display" ); - if ( display === "none" ) { - if ( restoreDisplay ) { - display = restoreDisplay; - } else { - - // Get nonempty value(s) by temporarily forcing visibility - showHide( [ elem ], true ); - restoreDisplay = elem.style.display || restoreDisplay; - display = jQuery.css( elem, "display" ); - showHide( [ elem ] ); - } - } - - // Animate inline elements as inline-block - if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { - if ( jQuery.css( elem, "float" ) === "none" ) { - - // Restore the original display value at the end of pure show/hide animations - if ( !propTween ) { - anim.done( function() { - style.display = restoreDisplay; - } ); - if ( restoreDisplay == null ) { - display = style.display; - restoreDisplay = display === "none" ? "" : display; - } - } - style.display = "inline-block"; - } - } - } - - if ( opts.overflow ) { - style.overflow = "hidden"; - anim.always( function() { - style.overflow = opts.overflow[ 0 ]; - style.overflowX = opts.overflow[ 1 ]; - style.overflowY = opts.overflow[ 2 ]; - } ); - } - - // Implement show/hide animations - propTween = false; - for ( prop in orig ) { - - // General show/hide setup for this element animation - if ( !propTween ) { - if ( dataShow ) { - if ( "hidden" in dataShow ) { - hidden = dataShow.hidden; - } - } else { - dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); - } - - // Store hidden/visible for toggle so `.stop().toggle()` "reverses" - if ( toggle ) { - dataShow.hidden = !hidden; - } - - // Show elements before animating them - if ( hidden ) { - showHide( [ elem ], true ); - } - - /* eslint-disable no-loop-func */ - - anim.done( function() { - - /* eslint-enable no-loop-func */ - - // The final step of a "hide" animation is actually hiding the element - if ( !hidden ) { - showHide( [ elem ] ); - } - dataPriv.remove( elem, "fxshow" ); - for ( prop in orig ) { - jQuery.style( elem, prop, orig[ prop ] ); - } - } ); - } - - // Per-property setup - propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); - if ( !( prop in dataShow ) ) { - dataShow[ prop ] = propTween.start; - if ( hidden ) { - propTween.end = propTween.start; - propTween.start = 0; - } - } - } -} - -function propFilter( props, specialEasing ) { - var index, name, easing, value, hooks; - - // camelCase, specialEasing and expand cssHook pass - for ( index in props ) { - name = camelCase( index ); - easing = specialEasing[ name ]; - value = props[ index ]; - if ( Array.isArray( value ) ) { - easing = value[ 1 ]; - value = props[ index ] = value[ 0 ]; - } - - if ( index !== name ) { - props[ name ] = value; - delete props[ index ]; - } - - hooks = jQuery.cssHooks[ name ]; - if ( hooks && "expand" in hooks ) { - value = hooks.expand( value ); - delete props[ name ]; - - // Not quite $.extend, this won't overwrite existing keys. - // Reusing 'index' because we have the correct "name" - for ( index in value ) { - if ( !( index in props ) ) { - props[ index ] = value[ index ]; - specialEasing[ index ] = easing; - } - } - } else { - specialEasing[ name ] = easing; - } - } -} - -function Animation( elem, properties, options ) { - var result, - stopped, - index = 0, - length = Animation.prefilters.length, - deferred = jQuery.Deferred().always( function() { - - // Don't match elem in the :animated selector - delete tick.elem; - } ), - tick = function() { - if ( stopped ) { - return false; - } - var currentTime = fxNow || createFxNow(), - remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), - - // Support: Android 2.3 only - // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) - temp = remaining / animation.duration || 0, - percent = 1 - temp, - index = 0, - length = animation.tweens.length; - - for ( ; index < length; index++ ) { - animation.tweens[ index ].run( percent ); - } - - deferred.notifyWith( elem, [ animation, percent, remaining ] ); - - // If there's more to do, yield - if ( percent < 1 && length ) { - return remaining; - } - - // If this was an empty animation, synthesize a final progress notification - if ( !length ) { - deferred.notifyWith( elem, [ animation, 1, 0 ] ); - } - - // Resolve the animation and report its conclusion - deferred.resolveWith( elem, [ animation ] ); - return false; - }, - animation = deferred.promise( { - elem: elem, - props: jQuery.extend( {}, properties ), - opts: jQuery.extend( true, { - specialEasing: {}, - easing: jQuery.easing._default - }, options ), - originalProperties: properties, - originalOptions: options, - startTime: fxNow || createFxNow(), - duration: options.duration, - tweens: [], - createTween: function( prop, end ) { - var tween = jQuery.Tween( elem, animation.opts, prop, end, - animation.opts.specialEasing[ prop ] || animation.opts.easing ); - animation.tweens.push( tween ); - return tween; - }, - stop: function( gotoEnd ) { - var index = 0, - - // If we are going to the end, we want to run all the tweens - // otherwise we skip this part - length = gotoEnd ? animation.tweens.length : 0; - if ( stopped ) { - return this; - } - stopped = true; - for ( ; index < length; index++ ) { - animation.tweens[ index ].run( 1 ); - } - - // Resolve when we played the last frame; otherwise, reject - if ( gotoEnd ) { - deferred.notifyWith( elem, [ animation, 1, 0 ] ); - deferred.resolveWith( elem, [ animation, gotoEnd ] ); - } else { - deferred.rejectWith( elem, [ animation, gotoEnd ] ); - } - return this; - } - } ), - props = animation.props; - - propFilter( props, animation.opts.specialEasing ); - - for ( ; index < length; index++ ) { - result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); - if ( result ) { - if ( isFunction( result.stop ) ) { - jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = - result.stop.bind( result ); - } - return result; - } - } - - jQuery.map( props, createTween, animation ); - - if ( isFunction( animation.opts.start ) ) { - animation.opts.start.call( elem, animation ); - } - - // Attach callbacks from options - animation - .progress( animation.opts.progress ) - .done( animation.opts.done, animation.opts.complete ) - .fail( animation.opts.fail ) - .always( animation.opts.always ); - - jQuery.fx.timer( - jQuery.extend( tick, { - elem: elem, - anim: animation, - queue: animation.opts.queue - } ) - ); - - return animation; -} - -jQuery.Animation = jQuery.extend( Animation, { - - tweeners: { - "*": [ function( prop, value ) { - var tween = this.createTween( prop, value ); - adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); - return tween; - } ] - }, - - tweener: function( props, callback ) { - if ( isFunction( props ) ) { - callback = props; - props = [ "*" ]; - } else { - props = props.match( rnothtmlwhite ); - } - - var prop, - index = 0, - length = props.length; - - for ( ; index < length; index++ ) { - prop = props[ index ]; - Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; - Animation.tweeners[ prop ].unshift( callback ); - } - }, - - prefilters: [ defaultPrefilter ], - - prefilter: function( callback, prepend ) { - if ( prepend ) { - Animation.prefilters.unshift( callback ); - } else { - Animation.prefilters.push( callback ); - } - } -} ); - -jQuery.speed = function( speed, easing, fn ) { - var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { - complete: fn || !fn && easing || - isFunction( speed ) && speed, - duration: speed, - easing: fn && easing || easing && !isFunction( easing ) && easing - }; - - // Go to the end state if fx are off - if ( jQuery.fx.off ) { - opt.duration = 0; - - } else { - if ( typeof opt.duration !== "number" ) { - if ( opt.duration in jQuery.fx.speeds ) { - opt.duration = jQuery.fx.speeds[ opt.duration ]; - - } else { - opt.duration = jQuery.fx.speeds._default; - } - } - } - - // Normalize opt.queue - true/undefined/null -> "fx" - if ( opt.queue == null || opt.queue === true ) { - opt.queue = "fx"; - } - - // Queueing - opt.old = opt.complete; - - opt.complete = function() { - if ( isFunction( opt.old ) ) { - opt.old.call( this ); - } - - if ( opt.queue ) { - jQuery.dequeue( this, opt.queue ); - } - }; - - return opt; -}; - -jQuery.fn.extend( { - fadeTo: function( speed, to, easing, callback ) { - - // Show any hidden elements after setting opacity to 0 - return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() - - // Animate to the value specified - .end().animate( { opacity: to }, speed, easing, callback ); - }, - animate: function( prop, speed, easing, callback ) { - var empty = jQuery.isEmptyObject( prop ), - optall = jQuery.speed( speed, easing, callback ), - doAnimation = function() { - - // Operate on a copy of prop so per-property easing won't be lost - var anim = Animation( this, jQuery.extend( {}, prop ), optall ); - - // Empty animations, or finishing resolves immediately - if ( empty || dataPriv.get( this, "finish" ) ) { - anim.stop( true ); - } - }; - doAnimation.finish = doAnimation; - - return empty || optall.queue === false ? - this.each( doAnimation ) : - this.queue( optall.queue, doAnimation ); - }, - stop: function( type, clearQueue, gotoEnd ) { - var stopQueue = function( hooks ) { - var stop = hooks.stop; - delete hooks.stop; - stop( gotoEnd ); - }; - - if ( typeof type !== "string" ) { - gotoEnd = clearQueue; - clearQueue = type; - type = undefined; - } - if ( clearQueue && type !== false ) { - this.queue( type || "fx", [] ); - } - - return this.each( function() { - var dequeue = true, - index = type != null && type + "queueHooks", - timers = jQuery.timers, - data = dataPriv.get( this ); - - if ( index ) { - if ( data[ index ] && data[ index ].stop ) { - stopQueue( data[ index ] ); - } - } else { - for ( index in data ) { - if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { - stopQueue( data[ index ] ); - } - } - } - - for ( index = timers.length; index--; ) { - if ( timers[ index ].elem === this && - ( type == null || timers[ index ].queue === type ) ) { - - timers[ index ].anim.stop( gotoEnd ); - dequeue = false; - timers.splice( index, 1 ); - } - } - - // Start the next in the queue if the last step wasn't forced. - // Timers currently will call their complete callbacks, which - // will dequeue but only if they were gotoEnd. - if ( dequeue || !gotoEnd ) { - jQuery.dequeue( this, type ); - } - } ); - }, - finish: function( type ) { - if ( type !== false ) { - type = type || "fx"; - } - return this.each( function() { - var index, - data = dataPriv.get( this ), - queue = data[ type + "queue" ], - hooks = data[ type + "queueHooks" ], - timers = jQuery.timers, - length = queue ? queue.length : 0; - - // Enable finishing flag on private data - data.finish = true; - - // Empty the queue first - jQuery.queue( this, type, [] ); - - if ( hooks && hooks.stop ) { - hooks.stop.call( this, true ); - } - - // Look for any active animations, and finish them - for ( index = timers.length; index--; ) { - if ( timers[ index ].elem === this && timers[ index ].queue === type ) { - timers[ index ].anim.stop( true ); - timers.splice( index, 1 ); - } - } - - // Look for any animations in the old queue and finish them - for ( index = 0; index < length; index++ ) { - if ( queue[ index ] && queue[ index ].finish ) { - queue[ index ].finish.call( this ); - } - } - - // Turn off finishing flag - delete data.finish; - } ); - } -} ); - -jQuery.each( [ "toggle", "show", "hide" ], function( i, name ) { - var cssFn = jQuery.fn[ name ]; - jQuery.fn[ name ] = function( speed, easing, callback ) { - return speed == null || typeof speed === "boolean" ? - cssFn.apply( this, arguments ) : - this.animate( genFx( name, true ), speed, easing, callback ); - }; -} ); - -// Generate shortcuts for custom animations -jQuery.each( { - slideDown: genFx( "show" ), - slideUp: genFx( "hide" ), - slideToggle: genFx( "toggle" ), - fadeIn: { opacity: "show" }, - fadeOut: { opacity: "hide" }, - fadeToggle: { opacity: "toggle" } -}, function( name, props ) { - jQuery.fn[ name ] = function( speed, easing, callback ) { - return this.animate( props, speed, easing, callback ); - }; -} ); - -jQuery.timers = []; -jQuery.fx.tick = function() { - var timer, - i = 0, - timers = jQuery.timers; - - fxNow = Date.now(); - - for ( ; i < timers.length; i++ ) { - timer = timers[ i ]; - - // Run the timer and safely remove it when done (allowing for external removal) - if ( !timer() && timers[ i ] === timer ) { - timers.splice( i--, 1 ); - } - } - - if ( !timers.length ) { - jQuery.fx.stop(); - } - fxNow = undefined; -}; - -jQuery.fx.timer = function( timer ) { - jQuery.timers.push( timer ); - jQuery.fx.start(); -}; - -jQuery.fx.interval = 13; -jQuery.fx.start = function() { - if ( inProgress ) { - return; - } - - inProgress = true; - schedule(); -}; - -jQuery.fx.stop = function() { - inProgress = null; -}; - -jQuery.fx.speeds = { - slow: 600, - fast: 200, - - // Default speed - _default: 400 -}; - - -// Based off of the plugin by Clint Helfers, with permission. -// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ -jQuery.fn.delay = function( time, type ) { - time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; - type = type || "fx"; - - return this.queue( type, function( next, hooks ) { - var timeout = window.setTimeout( next, time ); - hooks.stop = function() { - window.clearTimeout( timeout ); - }; - } ); -}; - - -( function() { - var input = document.createElement( "input" ), - select = document.createElement( "select" ), - opt = select.appendChild( document.createElement( "option" ) ); - - input.type = "checkbox"; - - // Support: Android <=4.3 only - // Default value for a checkbox should be "on" - support.checkOn = input.value !== ""; - - // Support: IE <=11 only - // Must access selectedIndex to make default options select - support.optSelected = opt.selected; - - // Support: IE <=11 only - // An input loses its value after becoming a radio - input = document.createElement( "input" ); - input.value = "t"; - input.type = "radio"; - support.radioValue = input.value === "t"; -} )(); - - -var boolHook, - attrHandle = jQuery.expr.attrHandle; - -jQuery.fn.extend( { - attr: function( name, value ) { - return access( this, jQuery.attr, name, value, arguments.length > 1 ); - }, - - removeAttr: function( name ) { - return this.each( function() { - jQuery.removeAttr( this, name ); - } ); - } -} ); - -jQuery.extend( { - attr: function( elem, name, value ) { - var ret, hooks, - nType = elem.nodeType; - - // Don't get/set attributes on text, comment and attribute nodes - if ( nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - // Fallback to prop when attributes are not supported - if ( typeof elem.getAttribute === "undefined" ) { - return jQuery.prop( elem, name, value ); - } - - // Attribute hooks are determined by the lowercase version - // Grab necessary hook if one is defined - if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { - hooks = jQuery.attrHooks[ name.toLowerCase() ] || - ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); - } - - if ( value !== undefined ) { - if ( value === null ) { - jQuery.removeAttr( elem, name ); - return; - } - - if ( hooks && "set" in hooks && - ( ret = hooks.set( elem, value, name ) ) !== undefined ) { - return ret; - } - - elem.setAttribute( name, value + "" ); - return value; - } - - if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { - return ret; - } - - ret = jQuery.find.attr( elem, name ); - - // Non-existent attributes return null, we normalize to undefined - return ret == null ? undefined : ret; - }, - - attrHooks: { - type: { - set: function( elem, value ) { - if ( !support.radioValue && value === "radio" && - nodeName( elem, "input" ) ) { - var val = elem.value; - elem.setAttribute( "type", value ); - if ( val ) { - elem.value = val; - } - return value; - } - } - } - }, - - removeAttr: function( elem, value ) { - var name, - i = 0, - - // Attribute names can contain non-HTML whitespace characters - // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 - attrNames = value && value.match( rnothtmlwhite ); - - if ( attrNames && elem.nodeType === 1 ) { - while ( ( name = attrNames[ i++ ] ) ) { - elem.removeAttribute( name ); - } - } - } -} ); - -// Hooks for boolean attributes -boolHook = { - set: function( elem, value, name ) { - if ( value === false ) { - - // Remove boolean attributes when set to false - jQuery.removeAttr( elem, name ); - } else { - elem.setAttribute( name, name ); - } - return name; - } -}; - -jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) { - var getter = attrHandle[ name ] || jQuery.find.attr; - - attrHandle[ name ] = function( elem, name, isXML ) { - var ret, handle, - lowercaseName = name.toLowerCase(); - - if ( !isXML ) { - - // Avoid an infinite loop by temporarily removing this function from the getter - handle = attrHandle[ lowercaseName ]; - attrHandle[ lowercaseName ] = ret; - ret = getter( elem, name, isXML ) != null ? - lowercaseName : - null; - attrHandle[ lowercaseName ] = handle; - } - return ret; - }; -} ); - - - - -var rfocusable = /^(?:input|select|textarea|button)$/i, - rclickable = /^(?:a|area)$/i; - -jQuery.fn.extend( { - prop: function( name, value ) { - return access( this, jQuery.prop, name, value, arguments.length > 1 ); - }, - - removeProp: function( name ) { - return this.each( function() { - delete this[ jQuery.propFix[ name ] || name ]; - } ); - } -} ); - -jQuery.extend( { - prop: function( elem, name, value ) { - var ret, hooks, - nType = elem.nodeType; - - // Don't get/set properties on text, comment and attribute nodes - if ( nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { - - // Fix name and attach hooks - name = jQuery.propFix[ name ] || name; - hooks = jQuery.propHooks[ name ]; - } - - if ( value !== undefined ) { - if ( hooks && "set" in hooks && - ( ret = hooks.set( elem, value, name ) ) !== undefined ) { - return ret; - } - - return ( elem[ name ] = value ); - } - - if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { - return ret; - } - - return elem[ name ]; - }, - - propHooks: { - tabIndex: { - get: function( elem ) { - - // Support: IE <=9 - 11 only - // elem.tabIndex doesn't always return the - // correct value when it hasn't been explicitly set - // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ - // Use proper attribute retrieval(#12072) - var tabindex = jQuery.find.attr( elem, "tabindex" ); - - if ( tabindex ) { - return parseInt( tabindex, 10 ); - } - - if ( - rfocusable.test( elem.nodeName ) || - rclickable.test( elem.nodeName ) && - elem.href - ) { - return 0; - } - - return -1; - } - } - }, - - propFix: { - "for": "htmlFor", - "class": "className" - } -} ); - -// Support: IE <=11 only -// Accessing the selectedIndex property -// forces the browser to respect setting selected -// on the option -// The getter ensures a default option is selected -// when in an optgroup -// eslint rule "no-unused-expressions" is disabled for this code -// since it considers such accessions noop -if ( !support.optSelected ) { - jQuery.propHooks.selected = { - get: function( elem ) { - - /* eslint no-unused-expressions: "off" */ - - var parent = elem.parentNode; - if ( parent && parent.parentNode ) { - parent.parentNode.selectedIndex; - } - return null; - }, - set: function( elem ) { - - /* eslint no-unused-expressions: "off" */ - - var parent = elem.parentNode; - if ( parent ) { - parent.selectedIndex; - - if ( parent.parentNode ) { - parent.parentNode.selectedIndex; - } - } - } - }; -} - -jQuery.each( [ - "tabIndex", - "readOnly", - "maxLength", - "cellSpacing", - "cellPadding", - "rowSpan", - "colSpan", - "useMap", - "frameBorder", - "contentEditable" -], function() { - jQuery.propFix[ this.toLowerCase() ] = this; -} ); - - - - - // Strip and collapse whitespace according to HTML spec - // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace - function stripAndCollapse( value ) { - var tokens = value.match( rnothtmlwhite ) || []; - return tokens.join( " " ); - } - - -function getClass( elem ) { - return elem.getAttribute && elem.getAttribute( "class" ) || ""; -} - -function classesToArray( value ) { - if ( Array.isArray( value ) ) { - return value; - } - if ( typeof value === "string" ) { - return value.match( rnothtmlwhite ) || []; - } - return []; -} - -jQuery.fn.extend( { - addClass: function( value ) { - var classes, elem, cur, curValue, clazz, j, finalValue, - i = 0; - - if ( isFunction( value ) ) { - return this.each( function( j ) { - jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); - } ); - } - - classes = classesToArray( value ); - - if ( classes.length ) { - while ( ( elem = this[ i++ ] ) ) { - curValue = getClass( elem ); - cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); - - if ( cur ) { - j = 0; - while ( ( clazz = classes[ j++ ] ) ) { - if ( cur.indexOf( " " + clazz + " " ) < 0 ) { - cur += clazz + " "; - } - } - - // Only assign if different to avoid unneeded rendering. - finalValue = stripAndCollapse( cur ); - if ( curValue !== finalValue ) { - elem.setAttribute( "class", finalValue ); - } - } - } - } - - return this; - }, - - removeClass: function( value ) { - var classes, elem, cur, curValue, clazz, j, finalValue, - i = 0; - - if ( isFunction( value ) ) { - return this.each( function( j ) { - jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); - } ); - } - - if ( !arguments.length ) { - return this.attr( "class", "" ); - } - - classes = classesToArray( value ); - - if ( classes.length ) { - while ( ( elem = this[ i++ ] ) ) { - curValue = getClass( elem ); - - // This expression is here for better compressibility (see addClass) - cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); - - if ( cur ) { - j = 0; - while ( ( clazz = classes[ j++ ] ) ) { - - // Remove *all* instances - while ( cur.indexOf( " " + clazz + " " ) > -1 ) { - cur = cur.replace( " " + clazz + " ", " " ); - } - } - - // Only assign if different to avoid unneeded rendering. - finalValue = stripAndCollapse( cur ); - if ( curValue !== finalValue ) { - elem.setAttribute( "class", finalValue ); - } - } - } - } - - return this; - }, - - toggleClass: function( value, stateVal ) { - var type = typeof value, - isValidValue = type === "string" || Array.isArray( value ); - - if ( typeof stateVal === "boolean" && isValidValue ) { - return stateVal ? this.addClass( value ) : this.removeClass( value ); - } - - if ( isFunction( value ) ) { - return this.each( function( i ) { - jQuery( this ).toggleClass( - value.call( this, i, getClass( this ), stateVal ), - stateVal - ); - } ); - } - - return this.each( function() { - var className, i, self, classNames; - - if ( isValidValue ) { - - // Toggle individual class names - i = 0; - self = jQuery( this ); - classNames = classesToArray( value ); - - while ( ( className = classNames[ i++ ] ) ) { - - // Check each className given, space separated list - if ( self.hasClass( className ) ) { - self.removeClass( className ); - } else { - self.addClass( className ); - } - } - - // Toggle whole class name - } else if ( value === undefined || type === "boolean" ) { - className = getClass( this ); - if ( className ) { - - // Store className if set - dataPriv.set( this, "__className__", className ); - } - - // If the element has a class name or if we're passed `false`, - // then remove the whole classname (if there was one, the above saved it). - // Otherwise bring back whatever was previously saved (if anything), - // falling back to the empty string if nothing was stored. - if ( this.setAttribute ) { - this.setAttribute( "class", - className || value === false ? - "" : - dataPriv.get( this, "__className__" ) || "" - ); - } - } - } ); - }, - - hasClass: function( selector ) { - var className, elem, - i = 0; - - className = " " + selector + " "; - while ( ( elem = this[ i++ ] ) ) { - if ( elem.nodeType === 1 && - ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { - return true; - } - } - - return false; - } -} ); - - - - -var rreturn = /\r/g; - -jQuery.fn.extend( { - val: function( value ) { - var hooks, ret, valueIsFunction, - elem = this[ 0 ]; - - if ( !arguments.length ) { - if ( elem ) { - hooks = jQuery.valHooks[ elem.type ] || - jQuery.valHooks[ elem.nodeName.toLowerCase() ]; - - if ( hooks && - "get" in hooks && - ( ret = hooks.get( elem, "value" ) ) !== undefined - ) { - return ret; - } - - ret = elem.value; - - // Handle most common string cases - if ( typeof ret === "string" ) { - return ret.replace( rreturn, "" ); - } - - // Handle cases where value is null/undef or number - return ret == null ? "" : ret; - } - - return; - } - - valueIsFunction = isFunction( value ); - - return this.each( function( i ) { - var val; - - if ( this.nodeType !== 1 ) { - return; - } - - if ( valueIsFunction ) { - val = value.call( this, i, jQuery( this ).val() ); - } else { - val = value; - } - - // Treat null/undefined as ""; convert numbers to string - if ( val == null ) { - val = ""; - - } else if ( typeof val === "number" ) { - val += ""; - - } else if ( Array.isArray( val ) ) { - val = jQuery.map( val, function( value ) { - return value == null ? "" : value + ""; - } ); - } - - hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; - - // If set returns undefined, fall back to normal setting - if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { - this.value = val; - } - } ); - } -} ); - -jQuery.extend( { - valHooks: { - option: { - get: function( elem ) { - - var val = jQuery.find.attr( elem, "value" ); - return val != null ? - val : - - // Support: IE <=10 - 11 only - // option.text throws exceptions (#14686, #14858) - // Strip and collapse whitespace - // https://html.spec.whatwg.org/#strip-and-collapse-whitespace - stripAndCollapse( jQuery.text( elem ) ); - } - }, - select: { - get: function( elem ) { - var value, option, i, - options = elem.options, - index = elem.selectedIndex, - one = elem.type === "select-one", - values = one ? null : [], - max = one ? index + 1 : options.length; - - if ( index < 0 ) { - i = max; - - } else { - i = one ? index : 0; - } - - // Loop through all the selected options - for ( ; i < max; i++ ) { - option = options[ i ]; - - // Support: IE <=9 only - // IE8-9 doesn't update selected after form reset (#2551) - if ( ( option.selected || i === index ) && - - // Don't return options that are disabled or in a disabled optgroup - !option.disabled && - ( !option.parentNode.disabled || - !nodeName( option.parentNode, "optgroup" ) ) ) { - - // Get the specific value for the option - value = jQuery( option ).val(); - - // We don't need an array for one selects - if ( one ) { - return value; - } - - // Multi-Selects return an array - values.push( value ); - } - } - - return values; - }, - - set: function( elem, value ) { - var optionSet, option, - options = elem.options, - values = jQuery.makeArray( value ), - i = options.length; - - while ( i-- ) { - option = options[ i ]; - - /* eslint-disable no-cond-assign */ - - if ( option.selected = - jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 - ) { - optionSet = true; - } - - /* eslint-enable no-cond-assign */ - } - - // Force browsers to behave consistently when non-matching value is set - if ( !optionSet ) { - elem.selectedIndex = -1; - } - return values; - } - } - } -} ); - -// Radios and checkboxes getter/setter -jQuery.each( [ "radio", "checkbox" ], function() { - jQuery.valHooks[ this ] = { - set: function( elem, value ) { - if ( Array.isArray( value ) ) { - return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); - } - } - }; - if ( !support.checkOn ) { - jQuery.valHooks[ this ].get = function( elem ) { - return elem.getAttribute( "value" ) === null ? "on" : elem.value; - }; - } -} ); - - - - -// Return jQuery for attributes-only inclusion - - -support.focusin = "onfocusin" in window; - - -var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, - stopPropagationCallback = function( e ) { - e.stopPropagation(); - }; - -jQuery.extend( jQuery.event, { - - trigger: function( event, data, elem, onlyHandlers ) { - - var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, - eventPath = [ elem || document ], - type = hasOwn.call( event, "type" ) ? event.type : event, - namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; - - cur = lastElement = tmp = elem = elem || document; - - // Don't do events on text and comment nodes - if ( elem.nodeType === 3 || elem.nodeType === 8 ) { - return; - } - - // focus/blur morphs to focusin/out; ensure we're not firing them right now - if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { - return; - } - - if ( type.indexOf( "." ) > -1 ) { - - // Namespaced trigger; create a regexp to match event type in handle() - namespaces = type.split( "." ); - type = namespaces.shift(); - namespaces.sort(); - } - ontype = type.indexOf( ":" ) < 0 && "on" + type; - - // Caller can pass in a jQuery.Event object, Object, or just an event type string - event = event[ jQuery.expando ] ? - event : - new jQuery.Event( type, typeof event === "object" && event ); - - // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) - event.isTrigger = onlyHandlers ? 2 : 3; - event.namespace = namespaces.join( "." ); - event.rnamespace = event.namespace ? - new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : - null; - - // Clean up the event in case it is being reused - event.result = undefined; - if ( !event.target ) { - event.target = elem; - } - - // Clone any incoming data and prepend the event, creating the handler arg list - data = data == null ? - [ event ] : - jQuery.makeArray( data, [ event ] ); - - // Allow special events to draw outside the lines - special = jQuery.event.special[ type ] || {}; - if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { - return; - } - - // Determine event propagation path in advance, per W3C events spec (#9951) - // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) - if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { - - bubbleType = special.delegateType || type; - if ( !rfocusMorph.test( bubbleType + type ) ) { - cur = cur.parentNode; - } - for ( ; cur; cur = cur.parentNode ) { - eventPath.push( cur ); - tmp = cur; - } - - // Only add window if we got to document (e.g., not plain obj or detached DOM) - if ( tmp === ( elem.ownerDocument || document ) ) { - eventPath.push( tmp.defaultView || tmp.parentWindow || window ); - } - } - - // Fire handlers on the event path - i = 0; - while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { - lastElement = cur; - event.type = i > 1 ? - bubbleType : - special.bindType || type; - - // jQuery handler - handle = ( dataPriv.get( cur, "events" ) || {} )[ event.type ] && - dataPriv.get( cur, "handle" ); - if ( handle ) { - handle.apply( cur, data ); - } - - // Native handler - handle = ontype && cur[ ontype ]; - if ( handle && handle.apply && acceptData( cur ) ) { - event.result = handle.apply( cur, data ); - if ( event.result === false ) { - event.preventDefault(); - } - } - } - event.type = type; - - // If nobody prevented the default action, do it now - if ( !onlyHandlers && !event.isDefaultPrevented() ) { - - if ( ( !special._default || - special._default.apply( eventPath.pop(), data ) === false ) && - acceptData( elem ) ) { - - // Call a native DOM method on the target with the same name as the event. - // Don't do default actions on window, that's where global variables be (#6170) - if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { - - // Don't re-trigger an onFOO event when we call its FOO() method - tmp = elem[ ontype ]; - - if ( tmp ) { - elem[ ontype ] = null; - } - - // Prevent re-triggering of the same event, since we already bubbled it above - jQuery.event.triggered = type; - - if ( event.isPropagationStopped() ) { - lastElement.addEventListener( type, stopPropagationCallback ); - } - - elem[ type ](); - - if ( event.isPropagationStopped() ) { - lastElement.removeEventListener( type, stopPropagationCallback ); - } - - jQuery.event.triggered = undefined; - - if ( tmp ) { - elem[ ontype ] = tmp; - } - } - } - } - - return event.result; - }, - - // Piggyback on a donor event to simulate a different one - // Used only for `focus(in | out)` events - simulate: function( type, elem, event ) { - var e = jQuery.extend( - new jQuery.Event(), - event, - { - type: type, - isSimulated: true - } - ); - - jQuery.event.trigger( e, null, elem ); - } - -} ); - -jQuery.fn.extend( { - - trigger: function( type, data ) { - return this.each( function() { - jQuery.event.trigger( type, data, this ); - } ); - }, - triggerHandler: function( type, data ) { - var elem = this[ 0 ]; - if ( elem ) { - return jQuery.event.trigger( type, data, elem, true ); - } - } -} ); - - -// Support: Firefox <=44 -// Firefox doesn't have focus(in | out) events -// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 -// -// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 -// focus(in | out) events fire after focus & blur events, -// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order -// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 -if ( !support.focusin ) { - jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { - - // Attach a single capturing handler on the document while someone wants focusin/focusout - var handler = function( event ) { - jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); - }; - - jQuery.event.special[ fix ] = { - setup: function() { - var doc = this.ownerDocument || this, - attaches = dataPriv.access( doc, fix ); - - if ( !attaches ) { - doc.addEventListener( orig, handler, true ); - } - dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); - }, - teardown: function() { - var doc = this.ownerDocument || this, - attaches = dataPriv.access( doc, fix ) - 1; - - if ( !attaches ) { - doc.removeEventListener( orig, handler, true ); - dataPriv.remove( doc, fix ); - - } else { - dataPriv.access( doc, fix, attaches ); - } - } - }; - } ); -} -var location = window.location; - -var nonce = Date.now(); - -var rquery = ( /\?/ ); - - - -// Cross-browser xml parsing -jQuery.parseXML = function( data ) { - var xml; - if ( !data || typeof data !== "string" ) { - return null; - } - - // Support: IE 9 - 11 only - // IE throws on parseFromString with invalid input. - try { - xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); - } catch ( e ) { - xml = undefined; - } - - if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { - jQuery.error( "Invalid XML: " + data ); - } - return xml; -}; - - -var - rbracket = /\[\]$/, - rCRLF = /\r?\n/g, - rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, - rsubmittable = /^(?:input|select|textarea|keygen)/i; - -function buildParams( prefix, obj, traditional, add ) { - var name; - - if ( Array.isArray( obj ) ) { - - // Serialize array item. - jQuery.each( obj, function( i, v ) { - if ( traditional || rbracket.test( prefix ) ) { - - // Treat each array item as a scalar. - add( prefix, v ); - - } else { - - // Item is non-scalar (array or object), encode its numeric index. - buildParams( - prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", - v, - traditional, - add - ); - } - } ); - - } else if ( !traditional && toType( obj ) === "object" ) { - - // Serialize object item. - for ( name in obj ) { - buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); - } - - } else { - - // Serialize scalar item. - add( prefix, obj ); - } -} - -// Serialize an array of form elements or a set of -// key/values into a query string -jQuery.param = function( a, traditional ) { - var prefix, - s = [], - add = function( key, valueOrFunction ) { - - // If value is a function, invoke it and use its return value - var value = isFunction( valueOrFunction ) ? - valueOrFunction() : - valueOrFunction; - - s[ s.length ] = encodeURIComponent( key ) + "=" + - encodeURIComponent( value == null ? "" : value ); - }; - - // If an array was passed in, assume that it is an array of form elements. - if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { - - // Serialize the form elements - jQuery.each( a, function() { - add( this.name, this.value ); - } ); - - } else { - - // If traditional, encode the "old" way (the way 1.3.2 or older - // did it), otherwise encode params recursively. - for ( prefix in a ) { - buildParams( prefix, a[ prefix ], traditional, add ); - } - } - - // Return the resulting serialization - return s.join( "&" ); -}; - -jQuery.fn.extend( { - serialize: function() { - return jQuery.param( this.serializeArray() ); - }, - serializeArray: function() { - return this.map( function() { - - // Can add propHook for "elements" to filter or add form elements - var elements = jQuery.prop( this, "elements" ); - return elements ? jQuery.makeArray( elements ) : this; - } ) - .filter( function() { - var type = this.type; - - // Use .is( ":disabled" ) so that fieldset[disabled] works - return this.name && !jQuery( this ).is( ":disabled" ) && - rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && - ( this.checked || !rcheckableType.test( type ) ); - } ) - .map( function( i, elem ) { - var val = jQuery( this ).val(); - - if ( val == null ) { - return null; - } - - if ( Array.isArray( val ) ) { - return jQuery.map( val, function( val ) { - return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; - } ); - } - - return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; - } ).get(); - } -} ); - - -var - r20 = /%20/g, - rhash = /#.*$/, - rantiCache = /([?&])_=[^&]*/, - rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, - - // #7653, #8125, #8152: local protocol detection - rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, - rnoContent = /^(?:GET|HEAD)$/, - rprotocol = /^\/\//, - - /* Prefilters - * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) - * 2) These are called: - * - BEFORE asking for a transport - * - AFTER param serialization (s.data is a string if s.processData is true) - * 3) key is the dataType - * 4) the catchall symbol "*" can be used - * 5) execution will start with transport dataType and THEN continue down to "*" if needed - */ - prefilters = {}, - - /* Transports bindings - * 1) key is the dataType - * 2) the catchall symbol "*" can be used - * 3) selection will start with transport dataType and THEN go to "*" if needed - */ - transports = {}, - - // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression - allTypes = "*/".concat( "*" ), - - // Anchor tag for parsing the document origin - originAnchor = document.createElement( "a" ); - originAnchor.href = location.href; - -// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport -function addToPrefiltersOrTransports( structure ) { - - // dataTypeExpression is optional and defaults to "*" - return function( dataTypeExpression, func ) { - - if ( typeof dataTypeExpression !== "string" ) { - func = dataTypeExpression; - dataTypeExpression = "*"; - } - - var dataType, - i = 0, - dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; - - if ( isFunction( func ) ) { - - // For each dataType in the dataTypeExpression - while ( ( dataType = dataTypes[ i++ ] ) ) { - - // Prepend if requested - if ( dataType[ 0 ] === "+" ) { - dataType = dataType.slice( 1 ) || "*"; - ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); - - // Otherwise append - } else { - ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); - } - } - } - }; -} - -// Base inspection function for prefilters and transports -function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { - - var inspected = {}, - seekingTransport = ( structure === transports ); - - function inspect( dataType ) { - var selected; - inspected[ dataType ] = true; - jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { - var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); - if ( typeof dataTypeOrTransport === "string" && - !seekingTransport && !inspected[ dataTypeOrTransport ] ) { - - options.dataTypes.unshift( dataTypeOrTransport ); - inspect( dataTypeOrTransport ); - return false; - } else if ( seekingTransport ) { - return !( selected = dataTypeOrTransport ); - } - } ); - return selected; - } - - return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); -} - -// A special extend for ajax options -// that takes "flat" options (not to be deep extended) -// Fixes #9887 -function ajaxExtend( target, src ) { - var key, deep, - flatOptions = jQuery.ajaxSettings.flatOptions || {}; - - for ( key in src ) { - if ( src[ key ] !== undefined ) { - ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; - } - } - if ( deep ) { - jQuery.extend( true, target, deep ); - } - - return target; -} - -/* Handles responses to an ajax request: - * - finds the right dataType (mediates between content-type and expected dataType) - * - returns the corresponding response - */ -function ajaxHandleResponses( s, jqXHR, responses ) { - - var ct, type, finalDataType, firstDataType, - contents = s.contents, - dataTypes = s.dataTypes; - - // Remove auto dataType and get content-type in the process - while ( dataTypes[ 0 ] === "*" ) { - dataTypes.shift(); - if ( ct === undefined ) { - ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); - } - } - - // Check if we're dealing with a known content-type - if ( ct ) { - for ( type in contents ) { - if ( contents[ type ] && contents[ type ].test( ct ) ) { - dataTypes.unshift( type ); - break; - } - } - } - - // Check to see if we have a response for the expected dataType - if ( dataTypes[ 0 ] in responses ) { - finalDataType = dataTypes[ 0 ]; - } else { - - // Try convertible dataTypes - for ( type in responses ) { - if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { - finalDataType = type; - break; - } - if ( !firstDataType ) { - firstDataType = type; - } - } - - // Or just use first one - finalDataType = finalDataType || firstDataType; - } - - // If we found a dataType - // We add the dataType to the list if needed - // and return the corresponding response - if ( finalDataType ) { - if ( finalDataType !== dataTypes[ 0 ] ) { - dataTypes.unshift( finalDataType ); - } - return responses[ finalDataType ]; - } -} - -/* Chain conversions given the request and the original response - * Also sets the responseXXX fields on the jqXHR instance - */ -function ajaxConvert( s, response, jqXHR, isSuccess ) { - var conv2, current, conv, tmp, prev, - converters = {}, - - // Work with a copy of dataTypes in case we need to modify it for conversion - dataTypes = s.dataTypes.slice(); - - // Create converters map with lowercased keys - if ( dataTypes[ 1 ] ) { - for ( conv in s.converters ) { - converters[ conv.toLowerCase() ] = s.converters[ conv ]; - } - } - - current = dataTypes.shift(); - - // Convert to each sequential dataType - while ( current ) { - - if ( s.responseFields[ current ] ) { - jqXHR[ s.responseFields[ current ] ] = response; - } - - // Apply the dataFilter if provided - if ( !prev && isSuccess && s.dataFilter ) { - response = s.dataFilter( response, s.dataType ); - } - - prev = current; - current = dataTypes.shift(); - - if ( current ) { - - // There's only work to do if current dataType is non-auto - if ( current === "*" ) { - - current = prev; - - // Convert response if prev dataType is non-auto and differs from current - } else if ( prev !== "*" && prev !== current ) { - - // Seek a direct converter - conv = converters[ prev + " " + current ] || converters[ "* " + current ]; - - // If none found, seek a pair - if ( !conv ) { - for ( conv2 in converters ) { - - // If conv2 outputs current - tmp = conv2.split( " " ); - if ( tmp[ 1 ] === current ) { - - // If prev can be converted to accepted input - conv = converters[ prev + " " + tmp[ 0 ] ] || - converters[ "* " + tmp[ 0 ] ]; - if ( conv ) { - - // Condense equivalence converters - if ( conv === true ) { - conv = converters[ conv2 ]; - - // Otherwise, insert the intermediate dataType - } else if ( converters[ conv2 ] !== true ) { - current = tmp[ 0 ]; - dataTypes.unshift( tmp[ 1 ] ); - } - break; - } - } - } - } - - // Apply converter (if not an equivalence) - if ( conv !== true ) { - - // Unless errors are allowed to bubble, catch and return them - if ( conv && s.throws ) { - response = conv( response ); - } else { - try { - response = conv( response ); - } catch ( e ) { - return { - state: "parsererror", - error: conv ? e : "No conversion from " + prev + " to " + current - }; - } - } - } - } - } - } - - return { state: "success", data: response }; -} - -jQuery.extend( { - - // Counter for holding the number of active queries - active: 0, - - // Last-Modified header cache for next request - lastModified: {}, - etag: {}, - - ajaxSettings: { - url: location.href, - type: "GET", - isLocal: rlocalProtocol.test( location.protocol ), - global: true, - processData: true, - async: true, - contentType: "application/x-www-form-urlencoded; charset=UTF-8", - - /* - timeout: 0, - data: null, - dataType: null, - username: null, - password: null, - cache: null, - throws: false, - traditional: false, - headers: {}, - */ - - accepts: { - "*": allTypes, - text: "text/plain", - html: "text/html", - xml: "application/xml, text/xml", - json: "application/json, text/javascript" - }, - - contents: { - xml: /\bxml\b/, - html: /\bhtml/, - json: /\bjson\b/ - }, - - responseFields: { - xml: "responseXML", - text: "responseText", - json: "responseJSON" - }, - - // Data converters - // Keys separate source (or catchall "*") and destination types with a single space - converters: { - - // Convert anything to text - "* text": String, - - // Text to html (true = no transformation) - "text html": true, - - // Evaluate text as a json expression - "text json": JSON.parse, - - // Parse text as xml - "text xml": jQuery.parseXML - }, - - // For options that shouldn't be deep extended: - // you can add your own custom options here if - // and when you create one that shouldn't be - // deep extended (see ajaxExtend) - flatOptions: { - url: true, - context: true - } - }, - - // Creates a full fledged settings object into target - // with both ajaxSettings and settings fields. - // If target is omitted, writes into ajaxSettings. - ajaxSetup: function( target, settings ) { - return settings ? - - // Building a settings object - ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : - - // Extending ajaxSettings - ajaxExtend( jQuery.ajaxSettings, target ); - }, - - ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), - ajaxTransport: addToPrefiltersOrTransports( transports ), - - // Main method - ajax: function( url, options ) { - - // If url is an object, simulate pre-1.5 signature - if ( typeof url === "object" ) { - options = url; - url = undefined; - } - - // Force options to be an object - options = options || {}; - - var transport, - - // URL without anti-cache param - cacheURL, - - // Response headers - responseHeadersString, - responseHeaders, - - // timeout handle - timeoutTimer, - - // Url cleanup var - urlAnchor, - - // Request state (becomes false upon send and true upon completion) - completed, - - // To know if global events are to be dispatched - fireGlobals, - - // Loop variable - i, - - // uncached part of the url - uncached, - - // Create the final options object - s = jQuery.ajaxSetup( {}, options ), - - // Callbacks context - callbackContext = s.context || s, - - // Context for global events is callbackContext if it is a DOM node or jQuery collection - globalEventContext = s.context && - ( callbackContext.nodeType || callbackContext.jquery ) ? - jQuery( callbackContext ) : - jQuery.event, - - // Deferreds - deferred = jQuery.Deferred(), - completeDeferred = jQuery.Callbacks( "once memory" ), - - // Status-dependent callbacks - statusCode = s.statusCode || {}, - - // Headers (they are sent all at once) - requestHeaders = {}, - requestHeadersNames = {}, - - // Default abort message - strAbort = "canceled", - - // Fake xhr - jqXHR = { - readyState: 0, - - // Builds headers hashtable if needed - getResponseHeader: function( key ) { - var match; - if ( completed ) { - if ( !responseHeaders ) { - responseHeaders = {}; - while ( ( match = rheaders.exec( responseHeadersString ) ) ) { - responseHeaders[ match[ 1 ].toLowerCase() ] = match[ 2 ]; - } - } - match = responseHeaders[ key.toLowerCase() ]; - } - return match == null ? null : match; - }, - - // Raw string - getAllResponseHeaders: function() { - return completed ? responseHeadersString : null; - }, - - // Caches the header - setRequestHeader: function( name, value ) { - if ( completed == null ) { - name = requestHeadersNames[ name.toLowerCase() ] = - requestHeadersNames[ name.toLowerCase() ] || name; - requestHeaders[ name ] = value; - } - return this; - }, - - // Overrides response content-type header - overrideMimeType: function( type ) { - if ( completed == null ) { - s.mimeType = type; - } - return this; - }, - - // Status-dependent callbacks - statusCode: function( map ) { - var code; - if ( map ) { - if ( completed ) { - - // Execute the appropriate callbacks - jqXHR.always( map[ jqXHR.status ] ); - } else { - - // Lazy-add the new callbacks in a way that preserves old ones - for ( code in map ) { - statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; - } - } - } - return this; - }, - - // Cancel the request - abort: function( statusText ) { - var finalText = statusText || strAbort; - if ( transport ) { - transport.abort( finalText ); - } - done( 0, finalText ); - return this; - } - }; - - // Attach deferreds - deferred.promise( jqXHR ); - - // Add protocol if not provided (prefilters might expect it) - // Handle falsy url in the settings object (#10093: consistency with old signature) - // We also use the url parameter if available - s.url = ( ( url || s.url || location.href ) + "" ) - .replace( rprotocol, location.protocol + "//" ); - - // Alias method option to type as per ticket #12004 - s.type = options.method || options.type || s.method || s.type; - - // Extract dataTypes list - s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; - - // A cross-domain request is in order when the origin doesn't match the current origin. - if ( s.crossDomain == null ) { - urlAnchor = document.createElement( "a" ); - - // Support: IE <=8 - 11, Edge 12 - 15 - // IE throws exception on accessing the href property if url is malformed, - // e.g. http://example.com:80x/ - try { - urlAnchor.href = s.url; - - // Support: IE <=8 - 11 only - // Anchor's host property isn't correctly set when s.url is relative - urlAnchor.href = urlAnchor.href; - s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== - urlAnchor.protocol + "//" + urlAnchor.host; - } catch ( e ) { - - // If there is an error parsing the URL, assume it is crossDomain, - // it can be rejected by the transport if it is invalid - s.crossDomain = true; - } - } - - // Convert data if not already a string - if ( s.data && s.processData && typeof s.data !== "string" ) { - s.data = jQuery.param( s.data, s.traditional ); - } - - // Apply prefilters - inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); - - // If request was aborted inside a prefilter, stop there - if ( completed ) { - return jqXHR; - } - - // We can fire global events as of now if asked to - // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) - fireGlobals = jQuery.event && s.global; - - // Watch for a new set of requests - if ( fireGlobals && jQuery.active++ === 0 ) { - jQuery.event.trigger( "ajaxStart" ); - } - - // Uppercase the type - s.type = s.type.toUpperCase(); - - // Determine if request has content - s.hasContent = !rnoContent.test( s.type ); - - // Save the URL in case we're toying with the If-Modified-Since - // and/or If-None-Match header later on - // Remove hash to simplify url manipulation - cacheURL = s.url.replace( rhash, "" ); - - // More options handling for requests with no content - if ( !s.hasContent ) { - - // Remember the hash so we can put it back - uncached = s.url.slice( cacheURL.length ); - - // If data is available and should be processed, append data to url - if ( s.data && ( s.processData || typeof s.data === "string" ) ) { - cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; - - // #9682: remove data so that it's not used in an eventual retry - delete s.data; - } - - // Add or update anti-cache param if needed - if ( s.cache === false ) { - cacheURL = cacheURL.replace( rantiCache, "$1" ); - uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce++ ) + uncached; - } - - // Put hash and anti-cache on the URL that will be requested (gh-1732) - s.url = cacheURL + uncached; - - // Change '%20' to '+' if this is encoded form body content (gh-2658) - } else if ( s.data && s.processData && - ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { - s.data = s.data.replace( r20, "+" ); - } - - // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. - if ( s.ifModified ) { - if ( jQuery.lastModified[ cacheURL ] ) { - jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); - } - if ( jQuery.etag[ cacheURL ] ) { - jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); - } - } - - // Set the correct header, if data is being sent - if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { - jqXHR.setRequestHeader( "Content-Type", s.contentType ); - } - - // Set the Accepts header for the server, depending on the dataType - jqXHR.setRequestHeader( - "Accept", - s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? - s.accepts[ s.dataTypes[ 0 ] ] + - ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : - s.accepts[ "*" ] - ); - - // Check for headers option - for ( i in s.headers ) { - jqXHR.setRequestHeader( i, s.headers[ i ] ); - } - - // Allow custom headers/mimetypes and early abort - if ( s.beforeSend && - ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { - - // Abort if not done already and return - return jqXHR.abort(); - } - - // Aborting is no longer a cancellation - strAbort = "abort"; - - // Install callbacks on deferreds - completeDeferred.add( s.complete ); - jqXHR.done( s.success ); - jqXHR.fail( s.error ); - - // Get transport - transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); - - // If no transport, we auto-abort - if ( !transport ) { - done( -1, "No Transport" ); - } else { - jqXHR.readyState = 1; - - // Send global event - if ( fireGlobals ) { - globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); - } - - // If request was aborted inside ajaxSend, stop there - if ( completed ) { - return jqXHR; - } - - // Timeout - if ( s.async && s.timeout > 0 ) { - timeoutTimer = window.setTimeout( function() { - jqXHR.abort( "timeout" ); - }, s.timeout ); - } - - try { - completed = false; - transport.send( requestHeaders, done ); - } catch ( e ) { - - // Rethrow post-completion exceptions - if ( completed ) { - throw e; - } - - // Propagate others as results - done( -1, e ); - } - } - - // Callback for when everything is done - function done( status, nativeStatusText, responses, headers ) { - var isSuccess, success, error, response, modified, - statusText = nativeStatusText; - - // Ignore repeat invocations - if ( completed ) { - return; - } - - completed = true; - - // Clear timeout if it exists - if ( timeoutTimer ) { - window.clearTimeout( timeoutTimer ); - } - - // Dereference transport for early garbage collection - // (no matter how long the jqXHR object will be used) - transport = undefined; - - // Cache response headers - responseHeadersString = headers || ""; - - // Set readyState - jqXHR.readyState = status > 0 ? 4 : 0; - - // Determine if successful - isSuccess = status >= 200 && status < 300 || status === 304; - - // Get response data - if ( responses ) { - response = ajaxHandleResponses( s, jqXHR, responses ); - } - - // Convert no matter what (that way responseXXX fields are always set) - response = ajaxConvert( s, response, jqXHR, isSuccess ); - - // If successful, handle type chaining - if ( isSuccess ) { - - // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. - if ( s.ifModified ) { - modified = jqXHR.getResponseHeader( "Last-Modified" ); - if ( modified ) { - jQuery.lastModified[ cacheURL ] = modified; - } - modified = jqXHR.getResponseHeader( "etag" ); - if ( modified ) { - jQuery.etag[ cacheURL ] = modified; - } - } - - // if no content - if ( status === 204 || s.type === "HEAD" ) { - statusText = "nocontent"; - - // if not modified - } else if ( status === 304 ) { - statusText = "notmodified"; - - // If we have data, let's convert it - } else { - statusText = response.state; - success = response.data; - error = response.error; - isSuccess = !error; - } - } else { - - // Extract error from statusText and normalize for non-aborts - error = statusText; - if ( status || !statusText ) { - statusText = "error"; - if ( status < 0 ) { - status = 0; - } - } - } - - // Set data for the fake xhr object - jqXHR.status = status; - jqXHR.statusText = ( nativeStatusText || statusText ) + ""; - - // Success/Error - if ( isSuccess ) { - deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); - } else { - deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); - } - - // Status-dependent callbacks - jqXHR.statusCode( statusCode ); - statusCode = undefined; - - if ( fireGlobals ) { - globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", - [ jqXHR, s, isSuccess ? success : error ] ); - } - - // Complete - completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); - - if ( fireGlobals ) { - globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); - - // Handle the global AJAX counter - if ( !( --jQuery.active ) ) { - jQuery.event.trigger( "ajaxStop" ); - } - } - } - - return jqXHR; - }, - - getJSON: function( url, data, callback ) { - return jQuery.get( url, data, callback, "json" ); - }, - - getScript: function( url, callback ) { - return jQuery.get( url, undefined, callback, "script" ); - } -} ); - -jQuery.each( [ "get", "post" ], function( i, method ) { - jQuery[ method ] = function( url, data, callback, type ) { - - // Shift arguments if data argument was omitted - if ( isFunction( data ) ) { - type = type || callback; - callback = data; - data = undefined; - } - - // The url can be an options object (which then must have .url) - return jQuery.ajax( jQuery.extend( { - url: url, - type: method, - dataType: type, - data: data, - success: callback - }, jQuery.isPlainObject( url ) && url ) ); - }; -} ); - - -jQuery._evalUrl = function( url ) { - return jQuery.ajax( { - url: url, - - // Make this explicit, since user can override this through ajaxSetup (#11264) - type: "GET", - dataType: "script", - cache: true, - async: false, - global: false, - "throws": true - } ); -}; - - -jQuery.fn.extend( { - wrapAll: function( html ) { - var wrap; - - if ( this[ 0 ] ) { - if ( isFunction( html ) ) { - html = html.call( this[ 0 ] ); - } - - // The elements to wrap the target around - wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); - - if ( this[ 0 ].parentNode ) { - wrap.insertBefore( this[ 0 ] ); - } - - wrap.map( function() { - var elem = this; - - while ( elem.firstElementChild ) { - elem = elem.firstElementChild; - } - - return elem; - } ).append( this ); - } - - return this; - }, - - wrapInner: function( html ) { - if ( isFunction( html ) ) { - return this.each( function( i ) { - jQuery( this ).wrapInner( html.call( this, i ) ); - } ); - } - - return this.each( function() { - var self = jQuery( this ), - contents = self.contents(); - - if ( contents.length ) { - contents.wrapAll( html ); - - } else { - self.append( html ); - } - } ); - }, - - wrap: function( html ) { - var htmlIsFunction = isFunction( html ); - - return this.each( function( i ) { - jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); - } ); - }, - - unwrap: function( selector ) { - this.parent( selector ).not( "body" ).each( function() { - jQuery( this ).replaceWith( this.childNodes ); - } ); - return this; - } -} ); - - -jQuery.expr.pseudos.hidden = function( elem ) { - return !jQuery.expr.pseudos.visible( elem ); -}; -jQuery.expr.pseudos.visible = function( elem ) { - return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); -}; - - - - -jQuery.ajaxSettings.xhr = function() { - try { - return new window.XMLHttpRequest(); - } catch ( e ) {} -}; - -var xhrSuccessStatus = { - - // File protocol always yields status code 0, assume 200 - 0: 200, - - // Support: IE <=9 only - // #1450: sometimes IE returns 1223 when it should be 204 - 1223: 204 - }, - xhrSupported = jQuery.ajaxSettings.xhr(); - -support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); -support.ajax = xhrSupported = !!xhrSupported; - -jQuery.ajaxTransport( function( options ) { - var callback, errorCallback; - - // Cross domain only allowed if supported through XMLHttpRequest - if ( support.cors || xhrSupported && !options.crossDomain ) { - return { - send: function( headers, complete ) { - var i, - xhr = options.xhr(); - - xhr.open( - options.type, - options.url, - options.async, - options.username, - options.password - ); - - // Apply custom fields if provided - if ( options.xhrFields ) { - for ( i in options.xhrFields ) { - xhr[ i ] = options.xhrFields[ i ]; - } - } - - // Override mime type if needed - if ( options.mimeType && xhr.overrideMimeType ) { - xhr.overrideMimeType( options.mimeType ); - } - - // X-Requested-With header - // For cross-domain requests, seeing as conditions for a preflight are - // akin to a jigsaw puzzle, we simply never set it to be sure. - // (it can always be set on a per-request basis or even using ajaxSetup) - // For same-domain requests, won't change header if already provided. - if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { - headers[ "X-Requested-With" ] = "XMLHttpRequest"; - } - - // Set headers - for ( i in headers ) { - xhr.setRequestHeader( i, headers[ i ] ); - } - - // Callback - callback = function( type ) { - return function() { - if ( callback ) { - callback = errorCallback = xhr.onload = - xhr.onerror = xhr.onabort = xhr.ontimeout = - xhr.onreadystatechange = null; - - if ( type === "abort" ) { - xhr.abort(); - } else if ( type === "error" ) { - - // Support: IE <=9 only - // On a manual native abort, IE9 throws - // errors on any property access that is not readyState - if ( typeof xhr.status !== "number" ) { - complete( 0, "error" ); - } else { - complete( - - // File: protocol always yields status 0; see #8605, #14207 - xhr.status, - xhr.statusText - ); - } - } else { - complete( - xhrSuccessStatus[ xhr.status ] || xhr.status, - xhr.statusText, - - // Support: IE <=9 only - // IE9 has no XHR2 but throws on binary (trac-11426) - // For XHR2 non-text, let the caller handle it (gh-2498) - ( xhr.responseType || "text" ) !== "text" || - typeof xhr.responseText !== "string" ? - { binary: xhr.response } : - { text: xhr.responseText }, - xhr.getAllResponseHeaders() - ); - } - } - }; - }; - - // Listen to events - xhr.onload = callback(); - errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); - - // Support: IE 9 only - // Use onreadystatechange to replace onabort - // to handle uncaught aborts - if ( xhr.onabort !== undefined ) { - xhr.onabort = errorCallback; - } else { - xhr.onreadystatechange = function() { - - // Check readyState before timeout as it changes - if ( xhr.readyState === 4 ) { - - // Allow onerror to be called first, - // but that will not handle a native abort - // Also, save errorCallback to a variable - // as xhr.onerror cannot be accessed - window.setTimeout( function() { - if ( callback ) { - errorCallback(); - } - } ); - } - }; - } - - // Create the abort callback - callback = callback( "abort" ); - - try { - - // Do send the request (this may raise an exception) - xhr.send( options.hasContent && options.data || null ); - } catch ( e ) { - - // #14683: Only rethrow if this hasn't been notified as an error yet - if ( callback ) { - throw e; - } - } - }, - - abort: function() { - if ( callback ) { - callback(); - } - } - }; - } -} ); - - - - -// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) -jQuery.ajaxPrefilter( function( s ) { - if ( s.crossDomain ) { - s.contents.script = false; - } -} ); - -// Install script dataType -jQuery.ajaxSetup( { - accepts: { - script: "text/javascript, application/javascript, " + - "application/ecmascript, application/x-ecmascript" - }, - contents: { - script: /\b(?:java|ecma)script\b/ - }, - converters: { - "text script": function( text ) { - jQuery.globalEval( text ); - return text; - } - } -} ); - -// Handle cache's special case and crossDomain -jQuery.ajaxPrefilter( "script", function( s ) { - if ( s.cache === undefined ) { - s.cache = false; - } - if ( s.crossDomain ) { - s.type = "GET"; - } -} ); - -// Bind script tag hack transport -jQuery.ajaxTransport( "script", function( s ) { - - // This transport only deals with cross domain requests - if ( s.crossDomain ) { - var script, callback; - return { - send: function( _, complete ) { - script = jQuery( "\r\n"; - -// inject VBScript -document.write(IEBinaryToArray_ByteStr_Script); - -global.JSZipUtils._getBinaryFromXHR = function (xhr) { - var binary = xhr.responseBody; - var byteMapping = {}; - for ( var i = 0; i < 256; i++ ) { - for ( var j = 0; j < 256; j++ ) { - byteMapping[ String.fromCharCode( i + (j << 8) ) ] = - String.fromCharCode(i) + String.fromCharCode(j); - } - } - var rawBytes = IEBinaryToArray_ByteStr(binary); - var lastChr = IEBinaryToArray_ByteStr_Last(binary); - return rawBytes.replace(/[\s\S]/g, function( match ) { - return byteMapping[match]; - }) + lastChr; -}; - -// enforcing Stuk's coding style -// vim: set shiftwidth=4 softtabstop=4: - -},{}]},{},[1]) -; diff --git a/html/jquery/jszip-utils/dist/jszip-utils-ie.min.js b/html/jquery/jszip-utils/dist/jszip-utils-ie.min.js deleted file mode 100644 index 93d8bc8e..00000000 --- a/html/jquery/jszip-utils/dist/jszip-utils-ie.min.js +++ /dev/null @@ -1,10 +0,0 @@ -/*! - -JSZipUtils - A collection of cross-browser utilities to go along with JSZip. - - -(c) 2014 Stuart Knightley, David Duponchel -Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. - -*/ -!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g\r\n";document.write(b),a.JSZipUtils._getBinaryFromXHR=function(a){for(var b=a.responseBody,c={},d=0;256>d;d++)for(var e=0;256>e;e++)c[String.fromCharCode(d+(e<<8))]=String.fromCharCode(d)+String.fromCharCode(e);var f=IEBinaryToArray_ByteStr(b),g=IEBinaryToArray_ByteStr_Last(b);return f.replace(/[\s\S]/g,function(a){return c[a]})+g}},{}]},{},[1]); diff --git a/html/jquery/jszip-utils/dist/jszip-utils.js b/html/jquery/jszip-utils/dist/jszip-utils.js deleted file mode 100644 index 775895ec..00000000 --- a/html/jquery/jszip-utils/dist/jszip-utils.js +++ /dev/null @@ -1,118 +0,0 @@ -/*! - -JSZipUtils - A collection of cross-browser utilities to go along with JSZip. - - -(c) 2014 Stuart Knightley, David Duponchel -Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. - -*/ -!function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.JSZipUtils=e():"undefined"!=typeof global?global.JSZipUtils=e():"undefined"!=typeof self&&(self.JSZipUtils=e())}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o - -(c) 2014 Stuart Knightley, David Duponchel -Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. - -*/ -!function(a){"object"==typeof exports?module.exports=a():"function"==typeof define&&define.amd?define(a):"undefined"!=typeof window?window.JSZipUtils=a():"undefined"!=typeof global?global.JSZipUtils=a():"undefined"!=typeof self&&(self.JSZipUtils=a())}(function(){return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g - -(c) 2009-2016 Stuart Knightley -Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown. - -JSZip uses the library pako released under the MIT license : -https://github.com/nodeca/pako/blob/master/LICENSE -*/ - -(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.JSZip = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o> 2; - enc2 = ((chr1 & 3) << 4) | (chr2 >> 4); - enc3 = remainingBytes > 1 ? (((chr2 & 15) << 2) | (chr3 >> 6)) : 64; - enc4 = remainingBytes > 2 ? (chr3 & 63) : 64; - - output.push(_keyStr.charAt(enc1) + _keyStr.charAt(enc2) + _keyStr.charAt(enc3) + _keyStr.charAt(enc4)); - - } - - return output.join(""); -}; - -// public method for decoding -exports.decode = function(input) { - var chr1, chr2, chr3; - var enc1, enc2, enc3, enc4; - var i = 0, resultIndex = 0; - - var dataUrlPrefix = "data:"; - - if (input.substr(0, dataUrlPrefix.length) === dataUrlPrefix) { - // This is a common error: people give a data url - // (data:image/png;base64,iVBOR...) with a {base64: true} and - // wonders why things don't work. - // We can detect that the string input looks like a data url but we - // *can't* be sure it is one: removing everything up to the comma would - // be too dangerous. - throw new Error("Invalid base64 input, it looks like a data url."); - } - - input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ""); - - var totalLength = input.length * 3 / 4; - if(input.charAt(input.length - 1) === _keyStr.charAt(64)) { - totalLength--; - } - if(input.charAt(input.length - 2) === _keyStr.charAt(64)) { - totalLength--; - } - if (totalLength % 1 !== 0) { - // totalLength is not an integer, the length does not match a valid - // base64 content. That can happen if: - // - the input is not a base64 content - // - the input is *almost* a base64 content, with a extra chars at the - // beginning or at the end - // - the input uses a base64 variant (base64url for example) - throw new Error("Invalid base64 input, bad content length."); - } - var output; - if (support.uint8array) { - output = new Uint8Array(totalLength|0); - } else { - output = new Array(totalLength|0); - } - - while (i < input.length) { - - enc1 = _keyStr.indexOf(input.charAt(i++)); - enc2 = _keyStr.indexOf(input.charAt(i++)); - enc3 = _keyStr.indexOf(input.charAt(i++)); - enc4 = _keyStr.indexOf(input.charAt(i++)); - - chr1 = (enc1 << 2) | (enc2 >> 4); - chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); - chr3 = ((enc3 & 3) << 6) | enc4; - - output[resultIndex++] = chr1; - - if (enc3 !== 64) { - output[resultIndex++] = chr2; - } - if (enc4 !== 64) { - output[resultIndex++] = chr3; - } - - } - - return output; -}; - -},{"./support":30,"./utils":32}],2:[function(require,module,exports){ -'use strict'; - -var external = require("./external"); -var DataWorker = require('./stream/DataWorker'); -var DataLengthProbe = require('./stream/DataLengthProbe'); -var Crc32Probe = require('./stream/Crc32Probe'); -var DataLengthProbe = require('./stream/DataLengthProbe'); - -/** - * Represent a compressed object, with everything needed to decompress it. - * @constructor - * @param {number} compressedSize the size of the data compressed. - * @param {number} uncompressedSize the size of the data after decompression. - * @param {number} crc32 the crc32 of the decompressed file. - * @param {object} compression the type of compression, see lib/compressions.js. - * @param {String|ArrayBuffer|Uint8Array|Buffer} data the compressed data. - */ -function CompressedObject(compressedSize, uncompressedSize, crc32, compression, data) { - this.compressedSize = compressedSize; - this.uncompressedSize = uncompressedSize; - this.crc32 = crc32; - this.compression = compression; - this.compressedContent = data; -} - -CompressedObject.prototype = { - /** - * Create a worker to get the uncompressed content. - * @return {GenericWorker} the worker. - */ - getContentWorker : function () { - var worker = new DataWorker(external.Promise.resolve(this.compressedContent)) - .pipe(this.compression.uncompressWorker()) - .pipe(new DataLengthProbe("data_length")); - - var that = this; - worker.on("end", function () { - if(this.streamInfo['data_length'] !== that.uncompressedSize) { - throw new Error("Bug : uncompressed data size mismatch"); - } - }); - return worker; - }, - /** - * Create a worker to get the compressed content. - * @return {GenericWorker} the worker. - */ - getCompressedWorker : function () { - return new DataWorker(external.Promise.resolve(this.compressedContent)) - .withStreamInfo("compressedSize", this.compressedSize) - .withStreamInfo("uncompressedSize", this.uncompressedSize) - .withStreamInfo("crc32", this.crc32) - .withStreamInfo("compression", this.compression) - ; - } -}; - -/** - * Chain the given worker with other workers to compress the content with the - * given compresion. - * @param {GenericWorker} uncompressedWorker the worker to pipe. - * @param {Object} compression the compression object. - * @param {Object} compressionOptions the options to use when compressing. - * @return {GenericWorker} the new worker compressing the content. - */ -CompressedObject.createWorkerFrom = function (uncompressedWorker, compression, compressionOptions) { - return uncompressedWorker - .pipe(new Crc32Probe()) - .pipe(new DataLengthProbe("uncompressedSize")) - .pipe(compression.compressWorker(compressionOptions)) - .pipe(new DataLengthProbe("compressedSize")) - .withStreamInfo("compression", compression); -}; - -module.exports = CompressedObject; - -},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(require,module,exports){ -'use strict'; - -var GenericWorker = require("./stream/GenericWorker"); - -exports.STORE = { - magic: "\x00\x00", - compressWorker : function (compressionOptions) { - return new GenericWorker("STORE compression"); - }, - uncompressWorker : function () { - return new GenericWorker("STORE decompression"); - } -}; -exports.DEFLATE = require('./flate'); - -},{"./flate":7,"./stream/GenericWorker":28}],4:[function(require,module,exports){ -'use strict'; - -var utils = require('./utils'); - -/** - * The following functions come from pako, from pako/lib/zlib/crc32.js - * released under the MIT license, see pako https://github.com/nodeca/pako/ - */ - -// Use ordinary array, since untyped makes no boost here -function makeTable() { - var c, table = []; - - for(var n =0; n < 256; n++){ - c = n; - for(var k =0; k < 8; k++){ - c = ((c&1) ? (0xEDB88320 ^ (c >>> 1)) : (c >>> 1)); - } - table[n] = c; - } - - return table; -} - -// Create table on load. Just 255 signed longs. Not a problem. -var crcTable = makeTable(); - - -function crc32(crc, buf, len, pos) { - var t = crcTable, end = pos + len; - - crc = crc ^ (-1); - - for (var i = pos; i < end; i++ ) { - crc = (crc >>> 8) ^ t[(crc ^ buf[i]) & 0xFF]; - } - - return (crc ^ (-1)); // >>> 0; -} - -// That's all for the pako functions. - -/** - * Compute the crc32 of a string. - * This is almost the same as the function crc32, but for strings. Using the - * same function for the two use cases leads to horrible performances. - * @param {Number} crc the starting value of the crc. - * @param {String} str the string to use. - * @param {Number} len the length of the string. - * @param {Number} pos the starting position for the crc32 computation. - * @return {Number} the computed crc32. - */ -function crc32str(crc, str, len, pos) { - var t = crcTable, end = pos + len; - - crc = crc ^ (-1); - - for (var i = pos; i < end; i++ ) { - crc = (crc >>> 8) ^ t[(crc ^ str.charCodeAt(i)) & 0xFF]; - } - - return (crc ^ (-1)); // >>> 0; -} - -module.exports = function crc32wrapper(input, crc) { - if (typeof input === "undefined" || !input.length) { - return 0; - } - - var isArray = utils.getTypeOf(input) !== "string"; - - if(isArray) { - return crc32(crc|0, input, input.length, 0); - } else { - return crc32str(crc|0, input, input.length, 0); - } -}; - -},{"./utils":32}],5:[function(require,module,exports){ -'use strict'; -exports.base64 = false; -exports.binary = false; -exports.dir = false; -exports.createFolders = true; -exports.date = null; -exports.compression = null; -exports.compressionOptions = null; -exports.comment = null; -exports.unixPermissions = null; -exports.dosPermissions = null; - -},{}],6:[function(require,module,exports){ -/* global Promise */ -'use strict'; - -// load the global object first: -// - it should be better integrated in the system (unhandledRejection in node) -// - the environment may have a custom Promise implementation (see zone.js) -var ES6Promise = null; -if (typeof Promise !== "undefined") { - ES6Promise = Promise; -} else { - ES6Promise = require("lie"); -} - -/** - * Let the user use/change some implementations. - */ -module.exports = { - Promise: ES6Promise -}; - -},{"lie":58}],7:[function(require,module,exports){ -'use strict'; -var USE_TYPEDARRAY = (typeof Uint8Array !== 'undefined') && (typeof Uint16Array !== 'undefined') && (typeof Uint32Array !== 'undefined'); - -var pako = require("pako"); -var utils = require("./utils"); -var GenericWorker = require("./stream/GenericWorker"); - -var ARRAY_TYPE = USE_TYPEDARRAY ? "uint8array" : "array"; - -exports.magic = "\x08\x00"; - -/** - * Create a worker that uses pako to inflate/deflate. - * @constructor - * @param {String} action the name of the pako function to call : either "Deflate" or "Inflate". - * @param {Object} options the options to use when (de)compressing. - */ -function FlateWorker(action, options) { - GenericWorker.call(this, "FlateWorker/" + action); - - this._pako = null; - this._pakoAction = action; - this._pakoOptions = options; - // the `meta` object from the last chunk received - // this allow this worker to pass around metadata - this.meta = {}; -} - -utils.inherits(FlateWorker, GenericWorker); - -/** - * @see GenericWorker.processChunk - */ -FlateWorker.prototype.processChunk = function (chunk) { - this.meta = chunk.meta; - if (this._pako === null) { - this._createPako(); - } - this._pako.push(utils.transformTo(ARRAY_TYPE, chunk.data), false); -}; - -/** - * @see GenericWorker.flush - */ -FlateWorker.prototype.flush = function () { - GenericWorker.prototype.flush.call(this); - if (this._pako === null) { - this._createPako(); - } - this._pako.push([], true); -}; -/** - * @see GenericWorker.cleanUp - */ -FlateWorker.prototype.cleanUp = function () { - GenericWorker.prototype.cleanUp.call(this); - this._pako = null; -}; - -/** - * Create the _pako object. - * TODO: lazy-loading this object isn't the best solution but it's the - * quickest. The best solution is to lazy-load the worker list. See also the - * issue #446. - */ -FlateWorker.prototype._createPako = function () { - this._pako = new pako[this._pakoAction]({ - raw: true, - level: this._pakoOptions.level || -1 // default compression - }); - var self = this; - this._pako.onData = function(data) { - self.push({ - data : data, - meta : self.meta - }); - }; -}; - -exports.compressWorker = function (compressionOptions) { - return new FlateWorker("Deflate", compressionOptions); -}; -exports.uncompressWorker = function () { - return new FlateWorker("Inflate", {}); -}; - -},{"./stream/GenericWorker":28,"./utils":32,"pako":59}],8:[function(require,module,exports){ -'use strict'; - -var utils = require('../utils'); -var GenericWorker = require('../stream/GenericWorker'); -var utf8 = require('../utf8'); -var crc32 = require('../crc32'); -var signature = require('../signature'); - -/** - * Transform an integer into a string in hexadecimal. - * @private - * @param {number} dec the number to convert. - * @param {number} bytes the number of bytes to generate. - * @returns {string} the result. - */ -var decToHex = function(dec, bytes) { - var hex = "", i; - for (i = 0; i < bytes; i++) { - hex += String.fromCharCode(dec & 0xff); - dec = dec >>> 8; - } - return hex; -}; - -/** - * Generate the UNIX part of the external file attributes. - * @param {Object} unixPermissions the unix permissions or null. - * @param {Boolean} isDir true if the entry is a directory, false otherwise. - * @return {Number} a 32 bit integer. - * - * adapted from http://unix.stackexchange.com/questions/14705/the-zip-formats-external-file-attribute : - * - * TTTTsstrwxrwxrwx0000000000ADVSHR - * ^^^^____________________________ file type, see zipinfo.c (UNX_*) - * ^^^_________________________ setuid, setgid, sticky - * ^^^^^^^^^________________ permissions - * ^^^^^^^^^^______ not used ? - * ^^^^^^ DOS attribute bits : Archive, Directory, Volume label, System file, Hidden, Read only - */ -var generateUnixExternalFileAttr = function (unixPermissions, isDir) { - - var result = unixPermissions; - if (!unixPermissions) { - // I can't use octal values in strict mode, hence the hexa. - // 040775 => 0x41fd - // 0100664 => 0x81b4 - result = isDir ? 0x41fd : 0x81b4; - } - return (result & 0xFFFF) << 16; -}; - -/** - * Generate the DOS part of the external file attributes. - * @param {Object} dosPermissions the dos permissions or null. - * @param {Boolean} isDir true if the entry is a directory, false otherwise. - * @return {Number} a 32 bit integer. - * - * Bit 0 Read-Only - * Bit 1 Hidden - * Bit 2 System - * Bit 3 Volume Label - * Bit 4 Directory - * Bit 5 Archive - */ -var generateDosExternalFileAttr = function (dosPermissions, isDir) { - - // the dir flag is already set for compatibility - return (dosPermissions || 0) & 0x3F; -}; - -/** - * Generate the various parts used in the construction of the final zip file. - * @param {Object} streamInfo the hash with informations about the compressed file. - * @param {Boolean} streamedContent is the content streamed ? - * @param {Boolean} streamingEnded is the stream finished ? - * @param {number} offset the current offset from the start of the zip file. - * @param {String} platform let's pretend we are this platform (change platform dependents fields) - * @param {Function} encodeFileName the function to encode the file name / comment. - * @return {Object} the zip parts. - */ -var generateZipParts = function(streamInfo, streamedContent, streamingEnded, offset, platform, encodeFileName) { - var file = streamInfo['file'], - compression = streamInfo['compression'], - useCustomEncoding = encodeFileName !== utf8.utf8encode, - encodedFileName = utils.transformTo("string", encodeFileName(file.name)), - utfEncodedFileName = utils.transformTo("string", utf8.utf8encode(file.name)), - comment = file.comment, - encodedComment = utils.transformTo("string", encodeFileName(comment)), - utfEncodedComment = utils.transformTo("string", utf8.utf8encode(comment)), - useUTF8ForFileName = utfEncodedFileName.length !== file.name.length, - useUTF8ForComment = utfEncodedComment.length !== comment.length, - dosTime, - dosDate, - extraFields = "", - unicodePathExtraField = "", - unicodeCommentExtraField = "", - dir = file.dir, - date = file.date; - - - var dataInfo = { - crc32 : 0, - compressedSize : 0, - uncompressedSize : 0 - }; - - // if the content is streamed, the sizes/crc32 are only available AFTER - // the end of the stream. - if (!streamedContent || streamingEnded) { - dataInfo.crc32 = streamInfo['crc32']; - dataInfo.compressedSize = streamInfo['compressedSize']; - dataInfo.uncompressedSize = streamInfo['uncompressedSize']; - } - - var bitflag = 0; - if (streamedContent) { - // Bit 3: the sizes/crc32 are set to zero in the local header. - // The correct values are put in the data descriptor immediately - // following the compressed data. - bitflag |= 0x0008; - } - if (!useCustomEncoding && (useUTF8ForFileName || useUTF8ForComment)) { - // Bit 11: Language encoding flag (EFS). - bitflag |= 0x0800; - } - - - var extFileAttr = 0; - var versionMadeBy = 0; - if (dir) { - // dos or unix, we set the dos dir flag - extFileAttr |= 0x00010; - } - if(platform === "UNIX") { - versionMadeBy = 0x031E; // UNIX, version 3.0 - extFileAttr |= generateUnixExternalFileAttr(file.unixPermissions, dir); - } else { // DOS or other, fallback to DOS - versionMadeBy = 0x0014; // DOS, version 2.0 - extFileAttr |= generateDosExternalFileAttr(file.dosPermissions, dir); - } - - // date - // @see http://www.delorie.com/djgpp/doc/rbinter/it/52/13.html - // @see http://www.delorie.com/djgpp/doc/rbinter/it/65/16.html - // @see http://www.delorie.com/djgpp/doc/rbinter/it/66/16.html - - dosTime = date.getUTCHours(); - dosTime = dosTime << 6; - dosTime = dosTime | date.getUTCMinutes(); - dosTime = dosTime << 5; - dosTime = dosTime | date.getUTCSeconds() / 2; - - dosDate = date.getUTCFullYear() - 1980; - dosDate = dosDate << 4; - dosDate = dosDate | (date.getUTCMonth() + 1); - dosDate = dosDate << 5; - dosDate = dosDate | date.getUTCDate(); - - if (useUTF8ForFileName) { - // set the unicode path extra field. unzip needs at least one extra - // field to correctly handle unicode path, so using the path is as good - // as any other information. This could improve the situation with - // other archive managers too. - // This field is usually used without the utf8 flag, with a non - // unicode path in the header (winrar, winzip). This helps (a bit) - // with the messy Windows' default compressed folders feature but - // breaks on p7zip which doesn't seek the unicode path extra field. - // So for now, UTF-8 everywhere ! - unicodePathExtraField = - // Version - decToHex(1, 1) + - // NameCRC32 - decToHex(crc32(encodedFileName), 4) + - // UnicodeName - utfEncodedFileName; - - extraFields += - // Info-ZIP Unicode Path Extra Field - "\x75\x70" + - // size - decToHex(unicodePathExtraField.length, 2) + - // content - unicodePathExtraField; - } - - if(useUTF8ForComment) { - - unicodeCommentExtraField = - // Version - decToHex(1, 1) + - // CommentCRC32 - decToHex(crc32(encodedComment), 4) + - // UnicodeName - utfEncodedComment; - - extraFields += - // Info-ZIP Unicode Path Extra Field - "\x75\x63" + - // size - decToHex(unicodeCommentExtraField.length, 2) + - // content - unicodeCommentExtraField; - } - - var header = ""; - - // version needed to extract - header += "\x0A\x00"; - // general purpose bit flag - header += decToHex(bitflag, 2); - // compression method - header += compression.magic; - // last mod file time - header += decToHex(dosTime, 2); - // last mod file date - header += decToHex(dosDate, 2); - // crc-32 - header += decToHex(dataInfo.crc32, 4); - // compressed size - header += decToHex(dataInfo.compressedSize, 4); - // uncompressed size - header += decToHex(dataInfo.uncompressedSize, 4); - // file name length - header += decToHex(encodedFileName.length, 2); - // extra field length - header += decToHex(extraFields.length, 2); - - - var fileRecord = signature.LOCAL_FILE_HEADER + header + encodedFileName + extraFields; - - var dirRecord = signature.CENTRAL_FILE_HEADER + - // version made by (00: DOS) - decToHex(versionMadeBy, 2) + - // file header (common to file and central directory) - header + - // file comment length - decToHex(encodedComment.length, 2) + - // disk number start - "\x00\x00" + - // internal file attributes TODO - "\x00\x00" + - // external file attributes - decToHex(extFileAttr, 4) + - // relative offset of local header - decToHex(offset, 4) + - // file name - encodedFileName + - // extra field - extraFields + - // file comment - encodedComment; - - return { - fileRecord: fileRecord, - dirRecord: dirRecord - }; -}; - -/** - * Generate the EOCD record. - * @param {Number} entriesCount the number of entries in the zip file. - * @param {Number} centralDirLength the length (in bytes) of the central dir. - * @param {Number} localDirLength the length (in bytes) of the local dir. - * @param {String} comment the zip file comment as a binary string. - * @param {Function} encodeFileName the function to encode the comment. - * @return {String} the EOCD record. - */ -var generateCentralDirectoryEnd = function (entriesCount, centralDirLength, localDirLength, comment, encodeFileName) { - var dirEnd = ""; - var encodedComment = utils.transformTo("string", encodeFileName(comment)); - - // end of central dir signature - dirEnd = signature.CENTRAL_DIRECTORY_END + - // number of this disk - "\x00\x00" + - // number of the disk with the start of the central directory - "\x00\x00" + - // total number of entries in the central directory on this disk - decToHex(entriesCount, 2) + - // total number of entries in the central directory - decToHex(entriesCount, 2) + - // size of the central directory 4 bytes - decToHex(centralDirLength, 4) + - // offset of start of central directory with respect to the starting disk number - decToHex(localDirLength, 4) + - // .ZIP file comment length - decToHex(encodedComment.length, 2) + - // .ZIP file comment - encodedComment; - - return dirEnd; -}; - -/** - * Generate data descriptors for a file entry. - * @param {Object} streamInfo the hash generated by a worker, containing informations - * on the file entry. - * @return {String} the data descriptors. - */ -var generateDataDescriptors = function (streamInfo) { - var descriptor = ""; - descriptor = signature.DATA_DESCRIPTOR + - // crc-32 4 bytes - decToHex(streamInfo['crc32'], 4) + - // compressed size 4 bytes - decToHex(streamInfo['compressedSize'], 4) + - // uncompressed size 4 bytes - decToHex(streamInfo['uncompressedSize'], 4); - - return descriptor; -}; - - -/** - * A worker to concatenate other workers to create a zip file. - * @param {Boolean} streamFiles `true` to stream the content of the files, - * `false` to accumulate it. - * @param {String} comment the comment to use. - * @param {String} platform the platform to use, "UNIX" or "DOS". - * @param {Function} encodeFileName the function to encode file names and comments. - */ -function ZipFileWorker(streamFiles, comment, platform, encodeFileName) { - GenericWorker.call(this, "ZipFileWorker"); - // The number of bytes written so far. This doesn't count accumulated chunks. - this.bytesWritten = 0; - // The comment of the zip file - this.zipComment = comment; - // The platform "generating" the zip file. - this.zipPlatform = platform; - // the function to encode file names and comments. - this.encodeFileName = encodeFileName; - // Should we stream the content of the files ? - this.streamFiles = streamFiles; - // If `streamFiles` is false, we will need to accumulate the content of the - // files to calculate sizes / crc32 (and write them *before* the content). - // This boolean indicates if we are accumulating chunks (it will change a lot - // during the lifetime of this worker). - this.accumulate = false; - // The buffer receiving chunks when accumulating content. - this.contentBuffer = []; - // The list of generated directory records. - this.dirRecords = []; - // The offset (in bytes) from the beginning of the zip file for the current source. - this.currentSourceOffset = 0; - // The total number of entries in this zip file. - this.entriesCount = 0; - // the name of the file currently being added, null when handling the end of the zip file. - // Used for the emited metadata. - this.currentFile = null; - - - - this._sources = []; -} -utils.inherits(ZipFileWorker, GenericWorker); - -/** - * @see GenericWorker.push - */ -ZipFileWorker.prototype.push = function (chunk) { - - var currentFilePercent = chunk.meta.percent || 0; - var entriesCount = this.entriesCount; - var remainingFiles = this._sources.length; - - if(this.accumulate) { - this.contentBuffer.push(chunk); - } else { - this.bytesWritten += chunk.data.length; - - GenericWorker.prototype.push.call(this, { - data : chunk.data, - meta : { - currentFile : this.currentFile, - percent : entriesCount ? (currentFilePercent + 100 * (entriesCount - remainingFiles - 1)) / entriesCount : 100 - } - }); - } -}; - -/** - * The worker started a new source (an other worker). - * @param {Object} streamInfo the streamInfo object from the new source. - */ -ZipFileWorker.prototype.openedSource = function (streamInfo) { - this.currentSourceOffset = this.bytesWritten; - this.currentFile = streamInfo['file'].name; - - var streamedContent = this.streamFiles && !streamInfo['file'].dir; - - // don't stream folders (because they don't have any content) - if(streamedContent) { - var record = generateZipParts(streamInfo, streamedContent, false, this.currentSourceOffset, this.zipPlatform, this.encodeFileName); - this.push({ - data : record.fileRecord, - meta : {percent:0} - }); - } else { - // we need to wait for the whole file before pushing anything - this.accumulate = true; - } -}; - -/** - * The worker finished a source (an other worker). - * @param {Object} streamInfo the streamInfo object from the finished source. - */ -ZipFileWorker.prototype.closedSource = function (streamInfo) { - this.accumulate = false; - var streamedContent = this.streamFiles && !streamInfo['file'].dir; - var record = generateZipParts(streamInfo, streamedContent, true, this.currentSourceOffset, this.zipPlatform, this.encodeFileName); - - this.dirRecords.push(record.dirRecord); - if(streamedContent) { - // after the streamed file, we put data descriptors - this.push({ - data : generateDataDescriptors(streamInfo), - meta : {percent:100} - }); - } else { - // the content wasn't streamed, we need to push everything now - // first the file record, then the content - this.push({ - data : record.fileRecord, - meta : {percent:0} - }); - while(this.contentBuffer.length) { - this.push(this.contentBuffer.shift()); - } - } - this.currentFile = null; -}; - -/** - * @see GenericWorker.flush - */ -ZipFileWorker.prototype.flush = function () { - - var localDirLength = this.bytesWritten; - for(var i = 0; i < this.dirRecords.length; i++) { - this.push({ - data : this.dirRecords[i], - meta : {percent:100} - }); - } - var centralDirLength = this.bytesWritten - localDirLength; - - var dirEnd = generateCentralDirectoryEnd(this.dirRecords.length, centralDirLength, localDirLength, this.zipComment, this.encodeFileName); - - this.push({ - data : dirEnd, - meta : {percent:100} - }); -}; - -/** - * Prepare the next source to be read. - */ -ZipFileWorker.prototype.prepareNextSource = function () { - this.previous = this._sources.shift(); - this.openedSource(this.previous.streamInfo); - if (this.isPaused) { - this.previous.pause(); - } else { - this.previous.resume(); - } -}; - -/** - * @see GenericWorker.registerPrevious - */ -ZipFileWorker.prototype.registerPrevious = function (previous) { - this._sources.push(previous); - var self = this; - - previous.on('data', function (chunk) { - self.processChunk(chunk); - }); - previous.on('end', function () { - self.closedSource(self.previous.streamInfo); - if(self._sources.length) { - self.prepareNextSource(); - } else { - self.end(); - } - }); - previous.on('error', function (e) { - self.error(e); - }); - return this; -}; - -/** - * @see GenericWorker.resume - */ -ZipFileWorker.prototype.resume = function () { - if(!GenericWorker.prototype.resume.call(this)) { - return false; - } - - if (!this.previous && this._sources.length) { - this.prepareNextSource(); - return true; - } - if (!this.previous && !this._sources.length && !this.generatedError) { - this.end(); - return true; - } -}; - -/** - * @see GenericWorker.error - */ -ZipFileWorker.prototype.error = function (e) { - var sources = this._sources; - if(!GenericWorker.prototype.error.call(this, e)) { - return false; - } - for(var i = 0; i < sources.length; i++) { - try { - sources[i].error(e); - } catch(e) { - // the `error` exploded, nothing to do - } - } - return true; -}; - -/** - * @see GenericWorker.lock - */ -ZipFileWorker.prototype.lock = function () { - GenericWorker.prototype.lock.call(this); - var sources = this._sources; - for(var i = 0; i < sources.length; i++) { - sources[i].lock(); - } -}; - -module.exports = ZipFileWorker; - -},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(require,module,exports){ -'use strict'; - -var compressions = require('../compressions'); -var ZipFileWorker = require('./ZipFileWorker'); - -/** - * Find the compression to use. - * @param {String} fileCompression the compression defined at the file level, if any. - * @param {String} zipCompression the compression defined at the load() level. - * @return {Object} the compression object to use. - */ -var getCompression = function (fileCompression, zipCompression) { - - var compressionName = fileCompression || zipCompression; - var compression = compressions[compressionName]; - if (!compression) { - throw new Error(compressionName + " is not a valid compression method !"); - } - return compression; -}; - -/** - * Create a worker to generate a zip file. - * @param {JSZip} zip the JSZip instance at the right root level. - * @param {Object} options to generate the zip file. - * @param {String} comment the comment to use. - */ -exports.generateWorker = function (zip, options, comment) { - - var zipFileWorker = new ZipFileWorker(options.streamFiles, comment, options.platform, options.encodeFileName); - var entriesCount = 0; - try { - - zip.forEach(function (relativePath, file) { - entriesCount++; - var compression = getCompression(file.options.compression, options.compression); - var compressionOptions = file.options.compressionOptions || options.compressionOptions || {}; - var dir = file.dir, date = file.date; - - file._compressWorker(compression, compressionOptions) - .withStreamInfo("file", { - name : relativePath, - dir : dir, - date : date, - comment : file.comment || "", - unixPermissions : file.unixPermissions, - dosPermissions : file.dosPermissions - }) - .pipe(zipFileWorker); - }); - zipFileWorker.entriesCount = entriesCount; - } catch (e) { - zipFileWorker.error(e); - } - - return zipFileWorker; -}; - -},{"../compressions":3,"./ZipFileWorker":8}],10:[function(require,module,exports){ -'use strict'; - -/** - * Representation a of zip file in js - * @constructor - */ -function JSZip() { - // if this constructor is used without `new`, it adds `new` before itself: - if(!(this instanceof JSZip)) { - return new JSZip(); - } - - if(arguments.length) { - throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide."); - } - - // object containing the files : - // { - // "folder/" : {...}, - // "folder/data.txt" : {...} - // } - this.files = {}; - - this.comment = null; - - // Where we are in the hierarchy - this.root = ""; - this.clone = function() { - var newObj = new JSZip(); - for (var i in this) { - if (typeof this[i] !== "function") { - newObj[i] = this[i]; - } - } - return newObj; - }; -} -JSZip.prototype = require('./object'); -JSZip.prototype.loadAsync = require('./load'); -JSZip.support = require('./support'); -JSZip.defaults = require('./defaults'); - -// TODO find a better way to handle this version, -// a require('package.json').version doesn't work with webpack, see #327 -JSZip.version = "3.1.5"; - -JSZip.loadAsync = function (content, options) { - return new JSZip().loadAsync(content, options); -}; - -JSZip.external = require("./external"); -module.exports = JSZip; - -},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(require,module,exports){ -'use strict'; -var utils = require('./utils'); -var external = require("./external"); -var utf8 = require('./utf8'); -var utils = require('./utils'); -var ZipEntries = require('./zipEntries'); -var Crc32Probe = require('./stream/Crc32Probe'); -var nodejsUtils = require("./nodejsUtils"); - -/** - * Check the CRC32 of an entry. - * @param {ZipEntry} zipEntry the zip entry to check. - * @return {Promise} the result. - */ -function checkEntryCRC32(zipEntry) { - return new external.Promise(function (resolve, reject) { - var worker = zipEntry.decompressed.getContentWorker().pipe(new Crc32Probe()); - worker.on("error", function (e) { - reject(e); - }) - .on("end", function () { - if (worker.streamInfo.crc32 !== zipEntry.decompressed.crc32) { - reject(new Error("Corrupted zip : CRC32 mismatch")); - } else { - resolve(); - } - }) - .resume(); - }); -} - -module.exports = function(data, options) { - var zip = this; - options = utils.extend(options || {}, { - base64: false, - checkCRC32: false, - optimizedBinaryString: false, - createFolders: false, - decodeFileName: utf8.utf8decode - }); - - if (nodejsUtils.isNode && nodejsUtils.isStream(data)) { - return external.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")); - } - - return utils.prepareContent("the loaded zip file", data, true, options.optimizedBinaryString, options.base64) - .then(function(data) { - var zipEntries = new ZipEntries(options); - zipEntries.load(data); - return zipEntries; - }).then(function checkCRC32(zipEntries) { - var promises = [external.Promise.resolve(zipEntries)]; - var files = zipEntries.files; - if (options.checkCRC32) { - for (var i = 0; i < files.length; i++) { - promises.push(checkEntryCRC32(files[i])); - } - } - return external.Promise.all(promises); - }).then(function addFiles(results) { - var zipEntries = results.shift(); - var files = zipEntries.files; - for (var i = 0; i < files.length; i++) { - var input = files[i]; - zip.file(input.fileNameStr, input.decompressed, { - binary: true, - optimizedBinaryString: true, - date: input.date, - dir: input.dir, - comment : input.fileCommentStr.length ? input.fileCommentStr : null, - unixPermissions : input.unixPermissions, - dosPermissions : input.dosPermissions, - createFolders: options.createFolders - }); - } - if (zipEntries.zipComment.length) { - zip.comment = zipEntries.zipComment; - } - - return zip; - }); -}; - -},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(require,module,exports){ -"use strict"; - -var utils = require('../utils'); -var GenericWorker = require('../stream/GenericWorker'); - -/** - * A worker that use a nodejs stream as source. - * @constructor - * @param {String} filename the name of the file entry for this stream. - * @param {Readable} stream the nodejs stream. - */ -function NodejsStreamInputAdapter(filename, stream) { - GenericWorker.call(this, "Nodejs stream input adapter for " + filename); - this._upstreamEnded = false; - this._bindStream(stream); -} - -utils.inherits(NodejsStreamInputAdapter, GenericWorker); - -/** - * Prepare the stream and bind the callbacks on it. - * Do this ASAP on node 0.10 ! A lazy binding doesn't always work. - * @param {Stream} stream the nodejs stream to use. - */ -NodejsStreamInputAdapter.prototype._bindStream = function (stream) { - var self = this; - this._stream = stream; - stream.pause(); - stream - .on("data", function (chunk) { - self.push({ - data: chunk, - meta : { - percent : 0 - } - }); - }) - .on("error", function (e) { - if(self.isPaused) { - this.generatedError = e; - } else { - self.error(e); - } - }) - .on("end", function () { - if(self.isPaused) { - self._upstreamEnded = true; - } else { - self.end(); - } - }); -}; -NodejsStreamInputAdapter.prototype.pause = function () { - if(!GenericWorker.prototype.pause.call(this)) { - return false; - } - this._stream.pause(); - return true; -}; -NodejsStreamInputAdapter.prototype.resume = function () { - if(!GenericWorker.prototype.resume.call(this)) { - return false; - } - - if(this._upstreamEnded) { - this.end(); - } else { - this._stream.resume(); - } - - return true; -}; - -module.exports = NodejsStreamInputAdapter; - -},{"../stream/GenericWorker":28,"../utils":32}],13:[function(require,module,exports){ -'use strict'; - -var Readable = require('readable-stream').Readable; - -var utils = require('../utils'); -utils.inherits(NodejsStreamOutputAdapter, Readable); - -/** -* A nodejs stream using a worker as source. -* @see the SourceWrapper in http://nodejs.org/api/stream.html -* @constructor -* @param {StreamHelper} helper the helper wrapping the worker -* @param {Object} options the nodejs stream options -* @param {Function} updateCb the update callback. -*/ -function NodejsStreamOutputAdapter(helper, options, updateCb) { - Readable.call(this, options); - this._helper = helper; - - var self = this; - helper.on("data", function (data, meta) { - if (!self.push(data)) { - self._helper.pause(); - } - if(updateCb) { - updateCb(meta); - } - }) - .on("error", function(e) { - self.emit('error', e); - }) - .on("end", function () { - self.push(null); - }); -} - - -NodejsStreamOutputAdapter.prototype._read = function() { - this._helper.resume(); -}; - -module.exports = NodejsStreamOutputAdapter; - -},{"../utils":32,"readable-stream":16}],14:[function(require,module,exports){ -'use strict'; - -module.exports = { - /** - * True if this is running in Nodejs, will be undefined in a browser. - * In a browser, browserify won't include this file and the whole module - * will be resolved an empty object. - */ - isNode : typeof Buffer !== "undefined", - /** - * Create a new nodejs Buffer from an existing content. - * @param {Object} data the data to pass to the constructor. - * @param {String} encoding the encoding to use. - * @return {Buffer} a new Buffer. - */ - newBufferFrom: function(data, encoding) { - // XXX We can't use `Buffer.from` which comes from `Uint8Array.from` - // in nodejs v4 (< v.4.5). It's not the expected implementation (and - // has a different signature). - // see https://github.com/nodejs/node/issues/8053 - // A condition on nodejs' version won't solve the issue as we don't - // control the Buffer polyfills that may or may not be used. - return new Buffer(data, encoding); - }, - /** - * Create a new nodejs Buffer with the specified size. - * @param {Integer} size the size of the buffer. - * @return {Buffer} a new Buffer. - */ - allocBuffer: function (size) { - if (Buffer.alloc) { - return Buffer.alloc(size); - } else { - return new Buffer(size); - } - }, - /** - * Find out if an object is a Buffer. - * @param {Object} b the object to test. - * @return {Boolean} true if the object is a Buffer, false otherwise. - */ - isBuffer : function(b){ - return Buffer.isBuffer(b); - }, - - isStream : function (obj) { - return obj && - typeof obj.on === "function" && - typeof obj.pause === "function" && - typeof obj.resume === "function"; - } -}; - -},{}],15:[function(require,module,exports){ -'use strict'; -var utf8 = require('./utf8'); -var utils = require('./utils'); -var GenericWorker = require('./stream/GenericWorker'); -var StreamHelper = require('./stream/StreamHelper'); -var defaults = require('./defaults'); -var CompressedObject = require('./compressedObject'); -var ZipObject = require('./zipObject'); -var generate = require("./generate"); -var nodejsUtils = require("./nodejsUtils"); -var NodejsStreamInputAdapter = require("./nodejs/NodejsStreamInputAdapter"); - - -/** - * Add a file in the current folder. - * @private - * @param {string} name the name of the file - * @param {String|ArrayBuffer|Uint8Array|Buffer} data the data of the file - * @param {Object} originalOptions the options of the file - * @return {Object} the new file. - */ -var fileAdd = function(name, data, originalOptions) { - // be sure sub folders exist - var dataType = utils.getTypeOf(data), - parent; - - - /* - * Correct options. - */ - - var o = utils.extend(originalOptions || {}, defaults); - o.date = o.date || new Date(); - if (o.compression !== null) { - o.compression = o.compression.toUpperCase(); - } - - if (typeof o.unixPermissions === "string") { - o.unixPermissions = parseInt(o.unixPermissions, 8); - } - - // UNX_IFDIR 0040000 see zipinfo.c - if (o.unixPermissions && (o.unixPermissions & 0x4000)) { - o.dir = true; - } - // Bit 4 Directory - if (o.dosPermissions && (o.dosPermissions & 0x0010)) { - o.dir = true; - } - - if (o.dir) { - name = forceTrailingSlash(name); - } - if (o.createFolders && (parent = parentFolder(name))) { - folderAdd.call(this, parent, true); - } - - var isUnicodeString = dataType === "string" && o.binary === false && o.base64 === false; - if (!originalOptions || typeof originalOptions.binary === "undefined") { - o.binary = !isUnicodeString; - } - - - var isCompressedEmpty = (data instanceof CompressedObject) && data.uncompressedSize === 0; - - if (isCompressedEmpty || o.dir || !data || data.length === 0) { - o.base64 = false; - o.binary = true; - data = ""; - o.compression = "STORE"; - dataType = "string"; - } - - /* - * Convert content to fit. - */ - - var zipObjectContent = null; - if (data instanceof CompressedObject || data instanceof GenericWorker) { - zipObjectContent = data; - } else if (nodejsUtils.isNode && nodejsUtils.isStream(data)) { - zipObjectContent = new NodejsStreamInputAdapter(name, data); - } else { - zipObjectContent = utils.prepareContent(name, data, o.binary, o.optimizedBinaryString, o.base64); - } - - var object = new ZipObject(name, zipObjectContent, o); - this.files[name] = object; - /* - TODO: we can't throw an exception because we have async promises - (we can have a promise of a Date() for example) but returning a - promise is useless because file(name, data) returns the JSZip - object for chaining. Should we break that to allow the user - to catch the error ? - - return external.Promise.resolve(zipObjectContent) - .then(function () { - return object; - }); - */ -}; - -/** - * Find the parent folder of the path. - * @private - * @param {string} path the path to use - * @return {string} the parent folder, or "" - */ -var parentFolder = function (path) { - if (path.slice(-1) === '/') { - path = path.substring(0, path.length - 1); - } - var lastSlash = path.lastIndexOf('/'); - return (lastSlash > 0) ? path.substring(0, lastSlash) : ""; -}; - -/** - * Returns the path with a slash at the end. - * @private - * @param {String} path the path to check. - * @return {String} the path with a trailing slash. - */ -var forceTrailingSlash = function(path) { - // Check the name ends with a / - if (path.slice(-1) !== "/") { - path += "/"; // IE doesn't like substr(-1) - } - return path; -}; - -/** - * Add a (sub) folder in the current folder. - * @private - * @param {string} name the folder's name - * @param {boolean=} [createFolders] If true, automatically create sub - * folders. Defaults to false. - * @return {Object} the new folder. - */ -var folderAdd = function(name, createFolders) { - createFolders = (typeof createFolders !== 'undefined') ? createFolders : defaults.createFolders; - - name = forceTrailingSlash(name); - - // Does this folder already exist? - if (!this.files[name]) { - fileAdd.call(this, name, null, { - dir: true, - createFolders: createFolders - }); - } - return this.files[name]; -}; - -/** -* Cross-window, cross-Node-context regular expression detection -* @param {Object} object Anything -* @return {Boolean} true if the object is a regular expression, -* false otherwise -*/ -function isRegExp(object) { - return Object.prototype.toString.call(object) === "[object RegExp]"; -} - -// return the actual prototype of JSZip -var out = { - /** - * @see loadAsync - */ - load: function() { - throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide."); - }, - - - /** - * Call a callback function for each entry at this folder level. - * @param {Function} cb the callback function: - * function (relativePath, file) {...} - * It takes 2 arguments : the relative path and the file. - */ - forEach: function(cb) { - var filename, relativePath, file; - for (filename in this.files) { - if (!this.files.hasOwnProperty(filename)) { - continue; - } - file = this.files[filename]; - relativePath = filename.slice(this.root.length, filename.length); - if (relativePath && filename.slice(0, this.root.length) === this.root) { // the file is in the current root - cb(relativePath, file); // TODO reverse the parameters ? need to be clean AND consistent with the filter search fn... - } - } - }, - - /** - * Filter nested files/folders with the specified function. - * @param {Function} search the predicate to use : - * function (relativePath, file) {...} - * It takes 2 arguments : the relative path and the file. - * @return {Array} An array of matching elements. - */ - filter: function(search) { - var result = []; - this.forEach(function (relativePath, entry) { - if (search(relativePath, entry)) { // the file matches the function - result.push(entry); - } - - }); - return result; - }, - - /** - * Add a file to the zip file, or search a file. - * @param {string|RegExp} name The name of the file to add (if data is defined), - * the name of the file to find (if no data) or a regex to match files. - * @param {String|ArrayBuffer|Uint8Array|Buffer} data The file data, either raw or base64 encoded - * @param {Object} o File options - * @return {JSZip|Object|Array} this JSZip object (when adding a file), - * a file (when searching by string) or an array of files (when searching by regex). - */ - file: function(name, data, o) { - if (arguments.length === 1) { - if (isRegExp(name)) { - var regexp = name; - return this.filter(function(relativePath, file) { - return !file.dir && regexp.test(relativePath); - }); - } - else { // text - var obj = this.files[this.root + name]; - if (obj && !obj.dir) { - return obj; - } else { - return null; - } - } - } - else { // more than one argument : we have data ! - name = this.root + name; - fileAdd.call(this, name, data, o); - } - return this; - }, - - /** - * Add a directory to the zip file, or search. - * @param {String|RegExp} arg The name of the directory to add, or a regex to search folders. - * @return {JSZip} an object with the new directory as the root, or an array containing matching folders. - */ - folder: function(arg) { - if (!arg) { - return this; - } - - if (isRegExp(arg)) { - return this.filter(function(relativePath, file) { - return file.dir && arg.test(relativePath); - }); - } - - // else, name is a new folder - var name = this.root + arg; - var newFolder = folderAdd.call(this, name); - - // Allow chaining by returning a new object with this folder as the root - var ret = this.clone(); - ret.root = newFolder.name; - return ret; - }, - - /** - * Delete a file, or a directory and all sub-files, from the zip - * @param {string} name the name of the file to delete - * @return {JSZip} this JSZip object - */ - remove: function(name) { - name = this.root + name; - var file = this.files[name]; - if (!file) { - // Look for any folders - if (name.slice(-1) !== "/") { - name += "/"; - } - file = this.files[name]; - } - - if (file && !file.dir) { - // file - delete this.files[name]; - } else { - // maybe a folder, delete recursively - var kids = this.filter(function(relativePath, file) { - return file.name.slice(0, name.length) === name; - }); - for (var i = 0; i < kids.length; i++) { - delete this.files[kids[i].name]; - } - } - - return this; - }, - - /** - * Generate the complete zip file - * @param {Object} options the options to generate the zip file : - * - compression, "STORE" by default. - * - type, "base64" by default. Values are : string, base64, uint8array, arraybuffer, blob. - * @return {String|Uint8Array|ArrayBuffer|Buffer|Blob} the zip file - */ - generate: function(options) { - throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide."); - }, - - /** - * Generate the complete zip file as an internal stream. - * @param {Object} options the options to generate the zip file : - * - compression, "STORE" by default. - * - type, "base64" by default. Values are : string, base64, uint8array, arraybuffer, blob. - * @return {StreamHelper} the streamed zip file. - */ - generateInternalStream: function(options) { - var worker, opts = {}; - try { - opts = utils.extend(options || {}, { - streamFiles: false, - compression: "STORE", - compressionOptions : null, - type: "", - platform: "DOS", - comment: null, - mimeType: 'application/zip', - encodeFileName: utf8.utf8encode - }); - - opts.type = opts.type.toLowerCase(); - opts.compression = opts.compression.toUpperCase(); - - // "binarystring" is prefered but the internals use "string". - if(opts.type === "binarystring") { - opts.type = "string"; - } - - if (!opts.type) { - throw new Error("No output type specified."); - } - - utils.checkSupport(opts.type); - - // accept nodejs `process.platform` - if( - opts.platform === 'darwin' || - opts.platform === 'freebsd' || - opts.platform === 'linux' || - opts.platform === 'sunos' - ) { - opts.platform = "UNIX"; - } - if (opts.platform === 'win32') { - opts.platform = "DOS"; - } - - var comment = opts.comment || this.comment || ""; - worker = generate.generateWorker(this, opts, comment); - } catch (e) { - worker = new GenericWorker("error"); - worker.error(e); - } - return new StreamHelper(worker, opts.type || "string", opts.mimeType); - }, - /** - * Generate the complete zip file asynchronously. - * @see generateInternalStream - */ - generateAsync: function(options, onUpdate) { - return this.generateInternalStream(options).accumulate(onUpdate); - }, - /** - * Generate the complete zip file asynchronously. - * @see generateInternalStream - */ - generateNodeStream: function(options, onUpdate) { - options = options || {}; - if (!options.type) { - options.type = "nodebuffer"; - } - return this.generateInternalStream(options).toNodejsStream(onUpdate); - } -}; -module.exports = out; - -},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(require,module,exports){ -/* - * This file is used by module bundlers (browserify/webpack/etc) when - * including a stream implementation. We use "readable-stream" to get a - * consistent behavior between nodejs versions but bundlers often have a shim - * for "stream". Using this shim greatly improve the compatibility and greatly - * reduce the final size of the bundle (only one stream implementation, not - * two). - */ -module.exports = require("stream"); - -},{"stream":undefined}],17:[function(require,module,exports){ -'use strict'; -var DataReader = require('./DataReader'); -var utils = require('../utils'); - -function ArrayReader(data) { - DataReader.call(this, data); - for(var i = 0; i < this.data.length; i++) { - data[i] = data[i] & 0xFF; - } -} -utils.inherits(ArrayReader, DataReader); -/** - * @see DataReader.byteAt - */ -ArrayReader.prototype.byteAt = function(i) { - return this.data[this.zero + i]; -}; -/** - * @see DataReader.lastIndexOfSignature - */ -ArrayReader.prototype.lastIndexOfSignature = function(sig) { - var sig0 = sig.charCodeAt(0), - sig1 = sig.charCodeAt(1), - sig2 = sig.charCodeAt(2), - sig3 = sig.charCodeAt(3); - for (var i = this.length - 4; i >= 0; --i) { - if (this.data[i] === sig0 && this.data[i + 1] === sig1 && this.data[i + 2] === sig2 && this.data[i + 3] === sig3) { - return i - this.zero; - } - } - - return -1; -}; -/** - * @see DataReader.readAndCheckSignature - */ -ArrayReader.prototype.readAndCheckSignature = function (sig) { - var sig0 = sig.charCodeAt(0), - sig1 = sig.charCodeAt(1), - sig2 = sig.charCodeAt(2), - sig3 = sig.charCodeAt(3), - data = this.readData(4); - return sig0 === data[0] && sig1 === data[1] && sig2 === data[2] && sig3 === data[3]; -}; -/** - * @see DataReader.readData - */ -ArrayReader.prototype.readData = function(size) { - this.checkOffset(size); - if(size === 0) { - return []; - } - var result = this.data.slice(this.zero + this.index, this.zero + this.index + size); - this.index += size; - return result; -}; -module.exports = ArrayReader; - -},{"../utils":32,"./DataReader":18}],18:[function(require,module,exports){ -'use strict'; -var utils = require('../utils'); - -function DataReader(data) { - this.data = data; // type : see implementation - this.length = data.length; - this.index = 0; - this.zero = 0; -} -DataReader.prototype = { - /** - * Check that the offset will not go too far. - * @param {string} offset the additional offset to check. - * @throws {Error} an Error if the offset is out of bounds. - */ - checkOffset: function(offset) { - this.checkIndex(this.index + offset); - }, - /** - * Check that the specified index will not be too far. - * @param {string} newIndex the index to check. - * @throws {Error} an Error if the index is out of bounds. - */ - checkIndex: function(newIndex) { - if (this.length < this.zero + newIndex || newIndex < 0) { - throw new Error("End of data reached (data length = " + this.length + ", asked index = " + (newIndex) + "). Corrupted zip ?"); - } - }, - /** - * Change the index. - * @param {number} newIndex The new index. - * @throws {Error} if the new index is out of the data. - */ - setIndex: function(newIndex) { - this.checkIndex(newIndex); - this.index = newIndex; - }, - /** - * Skip the next n bytes. - * @param {number} n the number of bytes to skip. - * @throws {Error} if the new index is out of the data. - */ - skip: function(n) { - this.setIndex(this.index + n); - }, - /** - * Get the byte at the specified index. - * @param {number} i the index to use. - * @return {number} a byte. - */ - byteAt: function(i) { - // see implementations - }, - /** - * Get the next number with a given byte size. - * @param {number} size the number of bytes to read. - * @return {number} the corresponding number. - */ - readInt: function(size) { - var result = 0, - i; - this.checkOffset(size); - for (i = this.index + size - 1; i >= this.index; i--) { - result = (result << 8) + this.byteAt(i); - } - this.index += size; - return result; - }, - /** - * Get the next string with a given byte size. - * @param {number} size the number of bytes to read. - * @return {string} the corresponding string. - */ - readString: function(size) { - return utils.transformTo("string", this.readData(size)); - }, - /** - * Get raw data without conversion, bytes. - * @param {number} size the number of bytes to read. - * @return {Object} the raw data, implementation specific. - */ - readData: function(size) { - // see implementations - }, - /** - * Find the last occurence of a zip signature (4 bytes). - * @param {string} sig the signature to find. - * @return {number} the index of the last occurence, -1 if not found. - */ - lastIndexOfSignature: function(sig) { - // see implementations - }, - /** - * Read the signature (4 bytes) at the current position and compare it with sig. - * @param {string} sig the expected signature - * @return {boolean} true if the signature matches, false otherwise. - */ - readAndCheckSignature: function(sig) { - // see implementations - }, - /** - * Get the next date. - * @return {Date} the date. - */ - readDate: function() { - var dostime = this.readInt(4); - return new Date(Date.UTC( - ((dostime >> 25) & 0x7f) + 1980, // year - ((dostime >> 21) & 0x0f) - 1, // month - (dostime >> 16) & 0x1f, // day - (dostime >> 11) & 0x1f, // hour - (dostime >> 5) & 0x3f, // minute - (dostime & 0x1f) << 1)); // second - } -}; -module.exports = DataReader; - -},{"../utils":32}],19:[function(require,module,exports){ -'use strict'; -var Uint8ArrayReader = require('./Uint8ArrayReader'); -var utils = require('../utils'); - -function NodeBufferReader(data) { - Uint8ArrayReader.call(this, data); -} -utils.inherits(NodeBufferReader, Uint8ArrayReader); - -/** - * @see DataReader.readData - */ -NodeBufferReader.prototype.readData = function(size) { - this.checkOffset(size); - var result = this.data.slice(this.zero + this.index, this.zero + this.index + size); - this.index += size; - return result; -}; -module.exports = NodeBufferReader; - -},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(require,module,exports){ -'use strict'; -var DataReader = require('./DataReader'); -var utils = require('../utils'); - -function StringReader(data) { - DataReader.call(this, data); -} -utils.inherits(StringReader, DataReader); -/** - * @see DataReader.byteAt - */ -StringReader.prototype.byteAt = function(i) { - return this.data.charCodeAt(this.zero + i); -}; -/** - * @see DataReader.lastIndexOfSignature - */ -StringReader.prototype.lastIndexOfSignature = function(sig) { - return this.data.lastIndexOf(sig) - this.zero; -}; -/** - * @see DataReader.readAndCheckSignature - */ -StringReader.prototype.readAndCheckSignature = function (sig) { - var data = this.readData(4); - return sig === data; -}; -/** - * @see DataReader.readData - */ -StringReader.prototype.readData = function(size) { - this.checkOffset(size); - // this will work because the constructor applied the "& 0xff" mask. - var result = this.data.slice(this.zero + this.index, this.zero + this.index + size); - this.index += size; - return result; -}; -module.exports = StringReader; - -},{"../utils":32,"./DataReader":18}],21:[function(require,module,exports){ -'use strict'; -var ArrayReader = require('./ArrayReader'); -var utils = require('../utils'); - -function Uint8ArrayReader(data) { - ArrayReader.call(this, data); -} -utils.inherits(Uint8ArrayReader, ArrayReader); -/** - * @see DataReader.readData - */ -Uint8ArrayReader.prototype.readData = function(size) { - this.checkOffset(size); - if(size === 0) { - // in IE10, when using subarray(idx, idx), we get the array [0x00] instead of []. - return new Uint8Array(0); - } - var result = this.data.subarray(this.zero + this.index, this.zero + this.index + size); - this.index += size; - return result; -}; -module.exports = Uint8ArrayReader; - -},{"../utils":32,"./ArrayReader":17}],22:[function(require,module,exports){ -'use strict'; - -var utils = require('../utils'); -var support = require('../support'); -var ArrayReader = require('./ArrayReader'); -var StringReader = require('./StringReader'); -var NodeBufferReader = require('./NodeBufferReader'); -var Uint8ArrayReader = require('./Uint8ArrayReader'); - -/** - * Create a reader adapted to the data. - * @param {String|ArrayBuffer|Uint8Array|Buffer} data the data to read. - * @return {DataReader} the data reader. - */ -module.exports = function (data) { - var type = utils.getTypeOf(data); - utils.checkSupport(type); - if (type === "string" && !support.uint8array) { - return new StringReader(data); - } - if (type === "nodebuffer") { - return new NodeBufferReader(data); - } - if (support.uint8array) { - return new Uint8ArrayReader(utils.transformTo("uint8array", data)); - } - return new ArrayReader(utils.transformTo("array", data)); -}; - -},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(require,module,exports){ -'use strict'; -exports.LOCAL_FILE_HEADER = "PK\x03\x04"; -exports.CENTRAL_FILE_HEADER = "PK\x01\x02"; -exports.CENTRAL_DIRECTORY_END = "PK\x05\x06"; -exports.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x06\x07"; -exports.ZIP64_CENTRAL_DIRECTORY_END = "PK\x06\x06"; -exports.DATA_DESCRIPTOR = "PK\x07\x08"; - -},{}],24:[function(require,module,exports){ -'use strict'; - -var GenericWorker = require('./GenericWorker'); -var utils = require('../utils'); - -/** - * A worker which convert chunks to a specified type. - * @constructor - * @param {String} destType the destination type. - */ -function ConvertWorker(destType) { - GenericWorker.call(this, "ConvertWorker to " + destType); - this.destType = destType; -} -utils.inherits(ConvertWorker, GenericWorker); - -/** - * @see GenericWorker.processChunk - */ -ConvertWorker.prototype.processChunk = function (chunk) { - this.push({ - data : utils.transformTo(this.destType, chunk.data), - meta : chunk.meta - }); -}; -module.exports = ConvertWorker; - -},{"../utils":32,"./GenericWorker":28}],25:[function(require,module,exports){ -'use strict'; - -var GenericWorker = require('./GenericWorker'); -var crc32 = require('../crc32'); -var utils = require('../utils'); - -/** - * A worker which calculate the crc32 of the data flowing through. - * @constructor - */ -function Crc32Probe() { - GenericWorker.call(this, "Crc32Probe"); - this.withStreamInfo("crc32", 0); -} -utils.inherits(Crc32Probe, GenericWorker); - -/** - * @see GenericWorker.processChunk - */ -Crc32Probe.prototype.processChunk = function (chunk) { - this.streamInfo.crc32 = crc32(chunk.data, this.streamInfo.crc32 || 0); - this.push(chunk); -}; -module.exports = Crc32Probe; - -},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(require,module,exports){ -'use strict'; - -var utils = require('../utils'); -var GenericWorker = require('./GenericWorker'); - -/** - * A worker which calculate the total length of the data flowing through. - * @constructor - * @param {String} propName the name used to expose the length - */ -function DataLengthProbe(propName) { - GenericWorker.call(this, "DataLengthProbe for " + propName); - this.propName = propName; - this.withStreamInfo(propName, 0); -} -utils.inherits(DataLengthProbe, GenericWorker); - -/** - * @see GenericWorker.processChunk - */ -DataLengthProbe.prototype.processChunk = function (chunk) { - if(chunk) { - var length = this.streamInfo[this.propName] || 0; - this.streamInfo[this.propName] = length + chunk.data.length; - } - GenericWorker.prototype.processChunk.call(this, chunk); -}; -module.exports = DataLengthProbe; - - -},{"../utils":32,"./GenericWorker":28}],27:[function(require,module,exports){ -'use strict'; - -var utils = require('../utils'); -var GenericWorker = require('./GenericWorker'); - -// the size of the generated chunks -// TODO expose this as a public variable -var DEFAULT_BLOCK_SIZE = 16 * 1024; - -/** - * A worker that reads a content and emits chunks. - * @constructor - * @param {Promise} dataP the promise of the data to split - */ -function DataWorker(dataP) { - GenericWorker.call(this, "DataWorker"); - var self = this; - this.dataIsReady = false; - this.index = 0; - this.max = 0; - this.data = null; - this.type = ""; - - this._tickScheduled = false; - - dataP.then(function (data) { - self.dataIsReady = true; - self.data = data; - self.max = data && data.length || 0; - self.type = utils.getTypeOf(data); - if(!self.isPaused) { - self._tickAndRepeat(); - } - }, function (e) { - self.error(e); - }); -} - -utils.inherits(DataWorker, GenericWorker); - -/** - * @see GenericWorker.cleanUp - */ -DataWorker.prototype.cleanUp = function () { - GenericWorker.prototype.cleanUp.call(this); - this.data = null; -}; - -/** - * @see GenericWorker.resume - */ -DataWorker.prototype.resume = function () { - if(!GenericWorker.prototype.resume.call(this)) { - return false; - } - - if (!this._tickScheduled && this.dataIsReady) { - this._tickScheduled = true; - utils.delay(this._tickAndRepeat, [], this); - } - return true; -}; - -/** - * Trigger a tick a schedule an other call to this function. - */ -DataWorker.prototype._tickAndRepeat = function() { - this._tickScheduled = false; - if(this.isPaused || this.isFinished) { - return; - } - this._tick(); - if(!this.isFinished) { - utils.delay(this._tickAndRepeat, [], this); - this._tickScheduled = true; - } -}; - -/** - * Read and push a chunk. - */ -DataWorker.prototype._tick = function() { - - if(this.isPaused || this.isFinished) { - return false; - } - - var size = DEFAULT_BLOCK_SIZE; - var data = null, nextIndex = Math.min(this.max, this.index + size); - if (this.index >= this.max) { - // EOF - return this.end(); - } else { - switch(this.type) { - case "string": - data = this.data.substring(this.index, nextIndex); - break; - case "uint8array": - data = this.data.subarray(this.index, nextIndex); - break; - case "array": - case "nodebuffer": - data = this.data.slice(this.index, nextIndex); - break; - } - this.index = nextIndex; - return this.push({ - data : data, - meta : { - percent : this.max ? this.index / this.max * 100 : 0 - } - }); - } -}; - -module.exports = DataWorker; - -},{"../utils":32,"./GenericWorker":28}],28:[function(require,module,exports){ -'use strict'; - -/** - * A worker that does nothing but passing chunks to the next one. This is like - * a nodejs stream but with some differences. On the good side : - * - it works on IE 6-9 without any issue / polyfill - * - it weights less than the full dependencies bundled with browserify - * - it forwards errors (no need to declare an error handler EVERYWHERE) - * - * A chunk is an object with 2 attributes : `meta` and `data`. The former is an - * object containing anything (`percent` for example), see each worker for more - * details. The latter is the real data (String, Uint8Array, etc). - * - * @constructor - * @param {String} name the name of the stream (mainly used for debugging purposes) - */ -function GenericWorker(name) { - // the name of the worker - this.name = name || "default"; - // an object containing metadata about the workers chain - this.streamInfo = {}; - // an error which happened when the worker was paused - this.generatedError = null; - // an object containing metadata to be merged by this worker into the general metadata - this.extraStreamInfo = {}; - // true if the stream is paused (and should not do anything), false otherwise - this.isPaused = true; - // true if the stream is finished (and should not do anything), false otherwise - this.isFinished = false; - // true if the stream is locked to prevent further structure updates (pipe), false otherwise - this.isLocked = false; - // the event listeners - this._listeners = { - 'data':[], - 'end':[], - 'error':[] - }; - // the previous worker, if any - this.previous = null; -} - -GenericWorker.prototype = { - /** - * Push a chunk to the next workers. - * @param {Object} chunk the chunk to push - */ - push : function (chunk) { - this.emit("data", chunk); - }, - /** - * End the stream. - * @return {Boolean} true if this call ended the worker, false otherwise. - */ - end : function () { - if (this.isFinished) { - return false; - } - - this.flush(); - try { - this.emit("end"); - this.cleanUp(); - this.isFinished = true; - } catch (e) { - this.emit("error", e); - } - return true; - }, - /** - * End the stream with an error. - * @param {Error} e the error which caused the premature end. - * @return {Boolean} true if this call ended the worker with an error, false otherwise. - */ - error : function (e) { - if (this.isFinished) { - return false; - } - - if(this.isPaused) { - this.generatedError = e; - } else { - this.isFinished = true; - - this.emit("error", e); - - // in the workers chain exploded in the middle of the chain, - // the error event will go downward but we also need to notify - // workers upward that there has been an error. - if(this.previous) { - this.previous.error(e); - } - - this.cleanUp(); - } - return true; - }, - /** - * Add a callback on an event. - * @param {String} name the name of the event (data, end, error) - * @param {Function} listener the function to call when the event is triggered - * @return {GenericWorker} the current object for chainability - */ - on : function (name, listener) { - this._listeners[name].push(listener); - return this; - }, - /** - * Clean any references when a worker is ending. - */ - cleanUp : function () { - this.streamInfo = this.generatedError = this.extraStreamInfo = null; - this._listeners = []; - }, - /** - * Trigger an event. This will call registered callback with the provided arg. - * @param {String} name the name of the event (data, end, error) - * @param {Object} arg the argument to call the callback with. - */ - emit : function (name, arg) { - if (this._listeners[name]) { - for(var i = 0; i < this._listeners[name].length; i++) { - this._listeners[name][i].call(this, arg); - } - } - }, - /** - * Chain a worker with an other. - * @param {Worker} next the worker receiving events from the current one. - * @return {worker} the next worker for chainability - */ - pipe : function (next) { - return next.registerPrevious(this); - }, - /** - * Same as `pipe` in the other direction. - * Using an API with `pipe(next)` is very easy. - * Implementing the API with the point of view of the next one registering - * a source is easier, see the ZipFileWorker. - * @param {Worker} previous the previous worker, sending events to this one - * @return {Worker} the current worker for chainability - */ - registerPrevious : function (previous) { - if (this.isLocked) { - throw new Error("The stream '" + this + "' has already been used."); - } - - // sharing the streamInfo... - this.streamInfo = previous.streamInfo; - // ... and adding our own bits - this.mergeStreamInfo(); - this.previous = previous; - var self = this; - previous.on('data', function (chunk) { - self.processChunk(chunk); - }); - previous.on('end', function () { - self.end(); - }); - previous.on('error', function (e) { - self.error(e); - }); - return this; - }, - /** - * Pause the stream so it doesn't send events anymore. - * @return {Boolean} true if this call paused the worker, false otherwise. - */ - pause : function () { - if(this.isPaused || this.isFinished) { - return false; - } - this.isPaused = true; - - if(this.previous) { - this.previous.pause(); - } - return true; - }, - /** - * Resume a paused stream. - * @return {Boolean} true if this call resumed the worker, false otherwise. - */ - resume : function () { - if(!this.isPaused || this.isFinished) { - return false; - } - this.isPaused = false; - - // if true, the worker tried to resume but failed - var withError = false; - if(this.generatedError) { - this.error(this.generatedError); - withError = true; - } - if(this.previous) { - this.previous.resume(); - } - - return !withError; - }, - /** - * Flush any remaining bytes as the stream is ending. - */ - flush : function () {}, - /** - * Process a chunk. This is usually the method overridden. - * @param {Object} chunk the chunk to process. - */ - processChunk : function(chunk) { - this.push(chunk); - }, - /** - * Add a key/value to be added in the workers chain streamInfo once activated. - * @param {String} key the key to use - * @param {Object} value the associated value - * @return {Worker} the current worker for chainability - */ - withStreamInfo : function (key, value) { - this.extraStreamInfo[key] = value; - this.mergeStreamInfo(); - return this; - }, - /** - * Merge this worker's streamInfo into the chain's streamInfo. - */ - mergeStreamInfo : function () { - for(var key in this.extraStreamInfo) { - if (!this.extraStreamInfo.hasOwnProperty(key)) { - continue; - } - this.streamInfo[key] = this.extraStreamInfo[key]; - } - }, - - /** - * Lock the stream to prevent further updates on the workers chain. - * After calling this method, all calls to pipe will fail. - */ - lock: function () { - if (this.isLocked) { - throw new Error("The stream '" + this + "' has already been used."); - } - this.isLocked = true; - if (this.previous) { - this.previous.lock(); - } - }, - - /** - * - * Pretty print the workers chain. - */ - toString : function () { - var me = "Worker " + this.name; - if (this.previous) { - return this.previous + " -> " + me; - } else { - return me; - } - } -}; - -module.exports = GenericWorker; - -},{}],29:[function(require,module,exports){ -'use strict'; - -var utils = require('../utils'); -var ConvertWorker = require('./ConvertWorker'); -var GenericWorker = require('./GenericWorker'); -var base64 = require('../base64'); -var support = require("../support"); -var external = require("../external"); - -var NodejsStreamOutputAdapter = null; -if (support.nodestream) { - try { - NodejsStreamOutputAdapter = require('../nodejs/NodejsStreamOutputAdapter'); - } catch(e) {} -} - -/** - * Apply the final transformation of the data. If the user wants a Blob for - * example, it's easier to work with an U8intArray and finally do the - * ArrayBuffer/Blob conversion. - * @param {String} type the name of the final type - * @param {String|Uint8Array|Buffer} content the content to transform - * @param {String} mimeType the mime type of the content, if applicable. - * @return {String|Uint8Array|ArrayBuffer|Buffer|Blob} the content in the right format. - */ -function transformZipOutput(type, content, mimeType) { - switch(type) { - case "blob" : - return utils.newBlob(utils.transformTo("arraybuffer", content), mimeType); - case "base64" : - return base64.encode(content); - default : - return utils.transformTo(type, content); - } -} - -/** - * Concatenate an array of data of the given type. - * @param {String} type the type of the data in the given array. - * @param {Array} dataArray the array containing the data chunks to concatenate - * @return {String|Uint8Array|Buffer} the concatenated data - * @throws Error if the asked type is unsupported - */ -function concat (type, dataArray) { - var i, index = 0, res = null, totalLength = 0; - for(i = 0; i < dataArray.length; i++) { - totalLength += dataArray[i].length; - } - switch(type) { - case "string": - return dataArray.join(""); - case "array": - return Array.prototype.concat.apply([], dataArray); - case "uint8array": - res = new Uint8Array(totalLength); - for(i = 0; i < dataArray.length; i++) { - res.set(dataArray[i], index); - index += dataArray[i].length; - } - return res; - case "nodebuffer": - return Buffer.concat(dataArray); - default: - throw new Error("concat : unsupported type '" + type + "'"); - } -} - -/** - * Listen a StreamHelper, accumulate its content and concatenate it into a - * complete block. - * @param {StreamHelper} helper the helper to use. - * @param {Function} updateCallback a callback called on each update. Called - * with one arg : - * - the metadata linked to the update received. - * @return Promise the promise for the accumulation. - */ -function accumulate(helper, updateCallback) { - return new external.Promise(function (resolve, reject){ - var dataArray = []; - var chunkType = helper._internalType, - resultType = helper._outputType, - mimeType = helper._mimeType; - helper - .on('data', function (data, meta) { - dataArray.push(data); - if(updateCallback) { - updateCallback(meta); - } - }) - .on('error', function(err) { - dataArray = []; - reject(err); - }) - .on('end', function (){ - try { - var result = transformZipOutput(resultType, concat(chunkType, dataArray), mimeType); - resolve(result); - } catch (e) { - reject(e); - } - dataArray = []; - }) - .resume(); - }); -} - -/** - * An helper to easily use workers outside of JSZip. - * @constructor - * @param {Worker} worker the worker to wrap - * @param {String} outputType the type of data expected by the use - * @param {String} mimeType the mime type of the content, if applicable. - */ -function StreamHelper(worker, outputType, mimeType) { - var internalType = outputType; - switch(outputType) { - case "blob": - case "arraybuffer": - internalType = "uint8array"; - break; - case "base64": - internalType = "string"; - break; - } - - try { - // the type used internally - this._internalType = internalType; - // the type used to output results - this._outputType = outputType; - // the mime type - this._mimeType = mimeType; - utils.checkSupport(internalType); - this._worker = worker.pipe(new ConvertWorker(internalType)); - // the last workers can be rewired without issues but we need to - // prevent any updates on previous workers. - worker.lock(); - } catch(e) { - this._worker = new GenericWorker("error"); - this._worker.error(e); - } -} - -StreamHelper.prototype = { - /** - * Listen a StreamHelper, accumulate its content and concatenate it into a - * complete block. - * @param {Function} updateCb the update callback. - * @return Promise the promise for the accumulation. - */ - accumulate : function (updateCb) { - return accumulate(this, updateCb); - }, - /** - * Add a listener on an event triggered on a stream. - * @param {String} evt the name of the event - * @param {Function} fn the listener - * @return {StreamHelper} the current helper. - */ - on : function (evt, fn) { - var self = this; - - if(evt === "data") { - this._worker.on(evt, function (chunk) { - fn.call(self, chunk.data, chunk.meta); - }); - } else { - this._worker.on(evt, function () { - utils.delay(fn, arguments, self); - }); - } - return this; - }, - /** - * Resume the flow of chunks. - * @return {StreamHelper} the current helper. - */ - resume : function () { - utils.delay(this._worker.resume, [], this._worker); - return this; - }, - /** - * Pause the flow of chunks. - * @return {StreamHelper} the current helper. - */ - pause : function () { - this._worker.pause(); - return this; - }, - /** - * Return a nodejs stream for this helper. - * @param {Function} updateCb the update callback. - * @return {NodejsStreamOutputAdapter} the nodejs stream. - */ - toNodejsStream : function (updateCb) { - utils.checkSupport("nodestream"); - if (this._outputType !== "nodebuffer") { - // an object stream containing blob/arraybuffer/uint8array/string - // is strange and I don't know if it would be useful. - // I you find this comment and have a good usecase, please open a - // bug report ! - throw new Error(this._outputType + " is not supported by this method"); - } - - return new NodejsStreamOutputAdapter(this, { - objectMode : this._outputType !== "nodebuffer" - }, updateCb); - } -}; - - -module.exports = StreamHelper; - -},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(require,module,exports){ -'use strict'; - -exports.base64 = true; -exports.array = true; -exports.string = true; -exports.arraybuffer = typeof ArrayBuffer !== "undefined" && typeof Uint8Array !== "undefined"; -exports.nodebuffer = typeof Buffer !== "undefined"; -// contains true if JSZip can read/generate Uint8Array, false otherwise. -exports.uint8array = typeof Uint8Array !== "undefined"; - -if (typeof ArrayBuffer === "undefined") { - exports.blob = false; -} -else { - var buffer = new ArrayBuffer(0); - try { - exports.blob = new Blob([buffer], { - type: "application/zip" - }).size === 0; - } - catch (e) { - try { - var Builder = self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder; - var builder = new Builder(); - builder.append(buffer); - exports.blob = builder.getBlob('application/zip').size === 0; - } - catch (e) { - exports.blob = false; - } - } -} - -try { - exports.nodestream = !!require('readable-stream').Readable; -} catch(e) { - exports.nodestream = false; -} - -},{"readable-stream":16}],31:[function(require,module,exports){ -'use strict'; - -var utils = require('./utils'); -var support = require('./support'); -var nodejsUtils = require('./nodejsUtils'); -var GenericWorker = require('./stream/GenericWorker'); - -/** - * The following functions come from pako, from pako/lib/utils/strings - * released under the MIT license, see pako https://github.com/nodeca/pako/ - */ - -// Table with utf8 lengths (calculated by first byte of sequence) -// Note, that 5 & 6-byte values and some 4-byte values can not be represented in JS, -// because max possible codepoint is 0x10ffff -var _utf8len = new Array(256); -for (var i=0; i<256; i++) { - _utf8len[i] = (i >= 252 ? 6 : i >= 248 ? 5 : i >= 240 ? 4 : i >= 224 ? 3 : i >= 192 ? 2 : 1); -} -_utf8len[254]=_utf8len[254]=1; // Invalid sequence start - -// convert string to array (typed, when possible) -var string2buf = function (str) { - var buf, c, c2, m_pos, i, str_len = str.length, buf_len = 0; - - // count binary size - for (m_pos = 0; m_pos < str_len; m_pos++) { - c = str.charCodeAt(m_pos); - if ((c & 0xfc00) === 0xd800 && (m_pos+1 < str_len)) { - c2 = str.charCodeAt(m_pos+1); - if ((c2 & 0xfc00) === 0xdc00) { - c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00); - m_pos++; - } - } - buf_len += c < 0x80 ? 1 : c < 0x800 ? 2 : c < 0x10000 ? 3 : 4; - } - - // allocate buffer - if (support.uint8array) { - buf = new Uint8Array(buf_len); - } else { - buf = new Array(buf_len); - } - - // convert - for (i=0, m_pos = 0; i < buf_len; m_pos++) { - c = str.charCodeAt(m_pos); - if ((c & 0xfc00) === 0xd800 && (m_pos+1 < str_len)) { - c2 = str.charCodeAt(m_pos+1); - if ((c2 & 0xfc00) === 0xdc00) { - c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00); - m_pos++; - } - } - if (c < 0x80) { - /* one byte */ - buf[i++] = c; - } else if (c < 0x800) { - /* two bytes */ - buf[i++] = 0xC0 | (c >>> 6); - buf[i++] = 0x80 | (c & 0x3f); - } else if (c < 0x10000) { - /* three bytes */ - buf[i++] = 0xE0 | (c >>> 12); - buf[i++] = 0x80 | (c >>> 6 & 0x3f); - buf[i++] = 0x80 | (c & 0x3f); - } else { - /* four bytes */ - buf[i++] = 0xf0 | (c >>> 18); - buf[i++] = 0x80 | (c >>> 12 & 0x3f); - buf[i++] = 0x80 | (c >>> 6 & 0x3f); - buf[i++] = 0x80 | (c & 0x3f); - } - } - - return buf; -}; - -// Calculate max possible position in utf8 buffer, -// that will not break sequence. If that's not possible -// - (very small limits) return max size as is. -// -// buf[] - utf8 bytes array -// max - length limit (mandatory); -var utf8border = function(buf, max) { - var pos; - - max = max || buf.length; - if (max > buf.length) { max = buf.length; } - - // go back from last position, until start of sequence found - pos = max-1; - while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; } - - // Fuckup - very small and broken sequence, - // return max, because we should return something anyway. - if (pos < 0) { return max; } - - // If we came to start of buffer - that means vuffer is too small, - // return max too. - if (pos === 0) { return max; } - - return (pos + _utf8len[buf[pos]] > max) ? pos : max; -}; - -// convert array to string -var buf2string = function (buf) { - var str, i, out, c, c_len; - var len = buf.length; - - // Reserve max possible length (2 words per char) - // NB: by unknown reasons, Array is significantly faster for - // String.fromCharCode.apply than Uint16Array. - var utf16buf = new Array(len*2); - - for (out=0, i=0; i 4) { utf16buf[out++] = 0xfffd; i += c_len-1; continue; } - - // apply mask on first byte - c &= c_len === 2 ? 0x1f : c_len === 3 ? 0x0f : 0x07; - // join the rest - while (c_len > 1 && i < len) { - c = (c << 6) | (buf[i++] & 0x3f); - c_len--; - } - - // terminated by end of string? - if (c_len > 1) { utf16buf[out++] = 0xfffd; continue; } - - if (c < 0x10000) { - utf16buf[out++] = c; - } else { - c -= 0x10000; - utf16buf[out++] = 0xd800 | ((c >> 10) & 0x3ff); - utf16buf[out++] = 0xdc00 | (c & 0x3ff); - } - } - - // shrinkBuf(utf16buf, out) - if (utf16buf.length !== out) { - if(utf16buf.subarray) { - utf16buf = utf16buf.subarray(0, out); - } else { - utf16buf.length = out; - } - } - - // return String.fromCharCode.apply(null, utf16buf); - return utils.applyFromCharCode(utf16buf); -}; - - -// That's all for the pako functions. - - -/** - * Transform a javascript string into an array (typed if possible) of bytes, - * UTF-8 encoded. - * @param {String} str the string to encode - * @return {Array|Uint8Array|Buffer} the UTF-8 encoded string. - */ -exports.utf8encode = function utf8encode(str) { - if (support.nodebuffer) { - return nodejsUtils.newBufferFrom(str, "utf-8"); - } - - return string2buf(str); -}; - - -/** - * Transform a bytes array (or a representation) representing an UTF-8 encoded - * string into a javascript string. - * @param {Array|Uint8Array|Buffer} buf the data de decode - * @return {String} the decoded string. - */ -exports.utf8decode = function utf8decode(buf) { - if (support.nodebuffer) { - return utils.transformTo("nodebuffer", buf).toString("utf-8"); - } - - buf = utils.transformTo(support.uint8array ? "uint8array" : "array", buf); - - return buf2string(buf); -}; - -/** - * A worker to decode utf8 encoded binary chunks into string chunks. - * @constructor - */ -function Utf8DecodeWorker() { - GenericWorker.call(this, "utf-8 decode"); - // the last bytes if a chunk didn't end with a complete codepoint. - this.leftOver = null; -} -utils.inherits(Utf8DecodeWorker, GenericWorker); - -/** - * @see GenericWorker.processChunk - */ -Utf8DecodeWorker.prototype.processChunk = function (chunk) { - - var data = utils.transformTo(support.uint8array ? "uint8array" : "array", chunk.data); - - // 1st step, re-use what's left of the previous chunk - if (this.leftOver && this.leftOver.length) { - if(support.uint8array) { - var previousData = data; - data = new Uint8Array(previousData.length + this.leftOver.length); - data.set(this.leftOver, 0); - data.set(previousData, this.leftOver.length); - } else { - data = this.leftOver.concat(data); - } - this.leftOver = null; - } - - var nextBoundary = utf8border(data); - var usableData = data; - if (nextBoundary !== data.length) { - if (support.uint8array) { - usableData = data.subarray(0, nextBoundary); - this.leftOver = data.subarray(nextBoundary, data.length); - } else { - usableData = data.slice(0, nextBoundary); - this.leftOver = data.slice(nextBoundary, data.length); - } - } - - this.push({ - data : exports.utf8decode(usableData), - meta : chunk.meta - }); -}; - -/** - * @see GenericWorker.flush - */ -Utf8DecodeWorker.prototype.flush = function () { - if(this.leftOver && this.leftOver.length) { - this.push({ - data : exports.utf8decode(this.leftOver), - meta : {} - }); - this.leftOver = null; - } -}; -exports.Utf8DecodeWorker = Utf8DecodeWorker; - -/** - * A worker to endcode string chunks into utf8 encoded binary chunks. - * @constructor - */ -function Utf8EncodeWorker() { - GenericWorker.call(this, "utf-8 encode"); -} -utils.inherits(Utf8EncodeWorker, GenericWorker); - -/** - * @see GenericWorker.processChunk - */ -Utf8EncodeWorker.prototype.processChunk = function (chunk) { - this.push({ - data : exports.utf8encode(chunk.data), - meta : chunk.meta - }); -}; -exports.Utf8EncodeWorker = Utf8EncodeWorker; - -},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(require,module,exports){ -'use strict'; - -var support = require('./support'); -var base64 = require('./base64'); -var nodejsUtils = require('./nodejsUtils'); -var setImmediate = require('core-js/library/fn/set-immediate'); -var external = require("./external"); - - -/** - * Convert a string that pass as a "binary string": it should represent a byte - * array but may have > 255 char codes. Be sure to take only the first byte - * and returns the byte array. - * @param {String} str the string to transform. - * @return {Array|Uint8Array} the string in a binary format. - */ -function string2binary(str) { - var result = null; - if (support.uint8array) { - result = new Uint8Array(str.length); - } else { - result = new Array(str.length); - } - return stringToArrayLike(str, result); -} - -/** - * Create a new blob with the given content and the given type. - * @param {String|ArrayBuffer} part the content to put in the blob. DO NOT use - * an Uint8Array because the stock browser of android 4 won't accept it (it - * will be silently converted to a string, "[object Uint8Array]"). - * - * Use only ONE part to build the blob to avoid a memory leak in IE11 / Edge: - * when a large amount of Array is used to create the Blob, the amount of - * memory consumed is nearly 100 times the original data amount. - * - * @param {String} type the mime type of the blob. - * @return {Blob} the created blob. - */ -exports.newBlob = function(part, type) { - exports.checkSupport("blob"); - - try { - // Blob constructor - return new Blob([part], { - type: type - }); - } - catch (e) { - - try { - // deprecated, browser only, old way - var Builder = self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder; - var builder = new Builder(); - builder.append(part); - return builder.getBlob(type); - } - catch (e) { - - // well, fuck ?! - throw new Error("Bug : can't construct the Blob."); - } - } - - -}; -/** - * The identity function. - * @param {Object} input the input. - * @return {Object} the same input. - */ -function identity(input) { - return input; -} - -/** - * Fill in an array with a string. - * @param {String} str the string to use. - * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to fill in (will be mutated). - * @return {Array|ArrayBuffer|Uint8Array|Buffer} the updated array. - */ -function stringToArrayLike(str, array) { - for (var i = 0; i < str.length; ++i) { - array[i] = str.charCodeAt(i) & 0xFF; - } - return array; -} - -/** - * An helper for the function arrayLikeToString. - * This contains static informations and functions that - * can be optimized by the browser JIT compiler. - */ -var arrayToStringHelper = { - /** - * Transform an array of int into a string, chunk by chunk. - * See the performances notes on arrayLikeToString. - * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to transform. - * @param {String} type the type of the array. - * @param {Integer} chunk the chunk size. - * @return {String} the resulting string. - * @throws Error if the chunk is too big for the stack. - */ - stringifyByChunk: function(array, type, chunk) { - var result = [], k = 0, len = array.length; - // shortcut - if (len <= chunk) { - return String.fromCharCode.apply(null, array); - } - while (k < len) { - if (type === "array" || type === "nodebuffer") { - result.push(String.fromCharCode.apply(null, array.slice(k, Math.min(k + chunk, len)))); - } - else { - result.push(String.fromCharCode.apply(null, array.subarray(k, Math.min(k + chunk, len)))); - } - k += chunk; - } - return result.join(""); - }, - /** - * Call String.fromCharCode on every item in the array. - * This is the naive implementation, which generate A LOT of intermediate string. - * This should be used when everything else fail. - * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to transform. - * @return {String} the result. - */ - stringifyByChar: function(array){ - var resultStr = ""; - for(var i = 0; i < array.length; i++) { - resultStr += String.fromCharCode(array[i]); - } - return resultStr; - }, - applyCanBeUsed : { - /** - * true if the browser accepts to use String.fromCharCode on Uint8Array - */ - uint8array : (function () { - try { - return support.uint8array && String.fromCharCode.apply(null, new Uint8Array(1)).length === 1; - } catch (e) { - return false; - } - })(), - /** - * true if the browser accepts to use String.fromCharCode on nodejs Buffer. - */ - nodebuffer : (function () { - try { - return support.nodebuffer && String.fromCharCode.apply(null, nodejsUtils.allocBuffer(1)).length === 1; - } catch (e) { - return false; - } - })() - } -}; - -/** - * Transform an array-like object to a string. - * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to transform. - * @return {String} the result. - */ -function arrayLikeToString(array) { - // Performances notes : - // -------------------- - // String.fromCharCode.apply(null, array) is the fastest, see - // see http://jsperf.com/converting-a-uint8array-to-a-string/2 - // but the stack is limited (and we can get huge arrays !). - // - // result += String.fromCharCode(array[i]); generate too many strings ! - // - // This code is inspired by http://jsperf.com/arraybuffer-to-string-apply-performance/2 - // TODO : we now have workers that split the work. Do we still need that ? - var chunk = 65536, - type = exports.getTypeOf(array), - canUseApply = true; - if (type === "uint8array") { - canUseApply = arrayToStringHelper.applyCanBeUsed.uint8array; - } else if (type === "nodebuffer") { - canUseApply = arrayToStringHelper.applyCanBeUsed.nodebuffer; - } - - if (canUseApply) { - while (chunk > 1) { - try { - return arrayToStringHelper.stringifyByChunk(array, type, chunk); - } catch (e) { - chunk = Math.floor(chunk / 2); - } - } - } - - // no apply or chunk error : slow and painful algorithm - // default browser on android 4.* - return arrayToStringHelper.stringifyByChar(array); -} - -exports.applyFromCharCode = arrayLikeToString; - - -/** - * Copy the data from an array-like to an other array-like. - * @param {Array|ArrayBuffer|Uint8Array|Buffer} arrayFrom the origin array. - * @param {Array|ArrayBuffer|Uint8Array|Buffer} arrayTo the destination array which will be mutated. - * @return {Array|ArrayBuffer|Uint8Array|Buffer} the updated destination array. - */ -function arrayLikeToArrayLike(arrayFrom, arrayTo) { - for (var i = 0; i < arrayFrom.length; i++) { - arrayTo[i] = arrayFrom[i]; - } - return arrayTo; -} - -// a matrix containing functions to transform everything into everything. -var transform = {}; - -// string to ? -transform["string"] = { - "string": identity, - "array": function(input) { - return stringToArrayLike(input, new Array(input.length)); - }, - "arraybuffer": function(input) { - return transform["string"]["uint8array"](input).buffer; - }, - "uint8array": function(input) { - return stringToArrayLike(input, new Uint8Array(input.length)); - }, - "nodebuffer": function(input) { - return stringToArrayLike(input, nodejsUtils.allocBuffer(input.length)); - } -}; - -// array to ? -transform["array"] = { - "string": arrayLikeToString, - "array": identity, - "arraybuffer": function(input) { - return (new Uint8Array(input)).buffer; - }, - "uint8array": function(input) { - return new Uint8Array(input); - }, - "nodebuffer": function(input) { - return nodejsUtils.newBufferFrom(input); - } -}; - -// arraybuffer to ? -transform["arraybuffer"] = { - "string": function(input) { - return arrayLikeToString(new Uint8Array(input)); - }, - "array": function(input) { - return arrayLikeToArrayLike(new Uint8Array(input), new Array(input.byteLength)); - }, - "arraybuffer": identity, - "uint8array": function(input) { - return new Uint8Array(input); - }, - "nodebuffer": function(input) { - return nodejsUtils.newBufferFrom(new Uint8Array(input)); - } -}; - -// uint8array to ? -transform["uint8array"] = { - "string": arrayLikeToString, - "array": function(input) { - return arrayLikeToArrayLike(input, new Array(input.length)); - }, - "arraybuffer": function(input) { - return input.buffer; - }, - "uint8array": identity, - "nodebuffer": function(input) { - return nodejsUtils.newBufferFrom(input); - } -}; - -// nodebuffer to ? -transform["nodebuffer"] = { - "string": arrayLikeToString, - "array": function(input) { - return arrayLikeToArrayLike(input, new Array(input.length)); - }, - "arraybuffer": function(input) { - return transform["nodebuffer"]["uint8array"](input).buffer; - }, - "uint8array": function(input) { - return arrayLikeToArrayLike(input, new Uint8Array(input.length)); - }, - "nodebuffer": identity -}; - -/** - * Transform an input into any type. - * The supported output type are : string, array, uint8array, arraybuffer, nodebuffer. - * If no output type is specified, the unmodified input will be returned. - * @param {String} outputType the output type. - * @param {String|Array|ArrayBuffer|Uint8Array|Buffer} input the input to convert. - * @throws {Error} an Error if the browser doesn't support the requested output type. - */ -exports.transformTo = function(outputType, input) { - if (!input) { - // undefined, null, etc - // an empty string won't harm. - input = ""; - } - if (!outputType) { - return input; - } - exports.checkSupport(outputType); - var inputType = exports.getTypeOf(input); - var result = transform[inputType][outputType](input); - return result; -}; - -/** - * Return the type of the input. - * The type will be in a format valid for JSZip.utils.transformTo : string, array, uint8array, arraybuffer. - * @param {Object} input the input to identify. - * @return {String} the (lowercase) type of the input. - */ -exports.getTypeOf = function(input) { - if (typeof input === "string") { - return "string"; - } - if (Object.prototype.toString.call(input) === "[object Array]") { - return "array"; - } - if (support.nodebuffer && nodejsUtils.isBuffer(input)) { - return "nodebuffer"; - } - if (support.uint8array && input instanceof Uint8Array) { - return "uint8array"; - } - if (support.arraybuffer && input instanceof ArrayBuffer) { - return "arraybuffer"; - } -}; - -/** - * Throw an exception if the type is not supported. - * @param {String} type the type to check. - * @throws {Error} an Error if the browser doesn't support the requested type. - */ -exports.checkSupport = function(type) { - var supported = support[type.toLowerCase()]; - if (!supported) { - throw new Error(type + " is not supported by this platform"); - } -}; - -exports.MAX_VALUE_16BITS = 65535; -exports.MAX_VALUE_32BITS = -1; // well, "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF" is parsed as -1 - -/** - * Prettify a string read as binary. - * @param {string} str the string to prettify. - * @return {string} a pretty string. - */ -exports.pretty = function(str) { - var res = '', - code, i; - for (i = 0; i < (str || "").length; i++) { - code = str.charCodeAt(i); - res += '\\x' + (code < 16 ? "0" : "") + code.toString(16).toUpperCase(); - } - return res; -}; - -/** - * Defer the call of a function. - * @param {Function} callback the function to call asynchronously. - * @param {Array} args the arguments to give to the callback. - */ -exports.delay = function(callback, args, self) { - setImmediate(function () { - callback.apply(self || null, args || []); - }); -}; - -/** - * Extends a prototype with an other, without calling a constructor with - * side effects. Inspired by nodejs' `utils.inherits` - * @param {Function} ctor the constructor to augment - * @param {Function} superCtor the parent constructor to use - */ -exports.inherits = function (ctor, superCtor) { - var Obj = function() {}; - Obj.prototype = superCtor.prototype; - ctor.prototype = new Obj(); -}; - -/** - * Merge the objects passed as parameters into a new one. - * @private - * @param {...Object} var_args All objects to merge. - * @return {Object} a new object with the data of the others. - */ -exports.extend = function() { - var result = {}, i, attr; - for (i = 0; i < arguments.length; i++) { // arguments is not enumerable in some browsers - for (attr in arguments[i]) { - if (arguments[i].hasOwnProperty(attr) && typeof result[attr] === "undefined") { - result[attr] = arguments[i][attr]; - } - } - } - return result; -}; - -/** - * Transform arbitrary content into a Promise. - * @param {String} name a name for the content being processed. - * @param {Object} inputData the content to process. - * @param {Boolean} isBinary true if the content is not an unicode string - * @param {Boolean} isOptimizedBinaryString true if the string content only has one byte per character. - * @param {Boolean} isBase64 true if the string content is encoded with base64. - * @return {Promise} a promise in a format usable by JSZip. - */ -exports.prepareContent = function(name, inputData, isBinary, isOptimizedBinaryString, isBase64) { - - // if inputData is already a promise, this flatten it. - var promise = external.Promise.resolve(inputData).then(function(data) { - - - var isBlob = support.blob && (data instanceof Blob || ['[object File]', '[object Blob]'].indexOf(Object.prototype.toString.call(data)) !== -1); - - if (isBlob && typeof FileReader !== "undefined") { - return new external.Promise(function (resolve, reject) { - var reader = new FileReader(); - - reader.onload = function(e) { - resolve(e.target.result); - }; - reader.onerror = function(e) { - reject(e.target.error); - }; - reader.readAsArrayBuffer(data); - }); - } else { - return data; - } - }); - - return promise.then(function(data) { - var dataType = exports.getTypeOf(data); - - if (!dataType) { - return external.Promise.reject( - new Error("Can't read the data of '" + name + "'. Is it " + - "in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?") - ); - } - // special case : it's way easier to work with Uint8Array than with ArrayBuffer - if (dataType === "arraybuffer") { - data = exports.transformTo("uint8array", data); - } else if (dataType === "string") { - if (isBase64) { - data = base64.decode(data); - } - else if (isBinary) { - // optimizedBinaryString === true means that the file has already been filtered with a 0xFF mask - if (isOptimizedBinaryString !== true) { - // this is a string, not in a base64 format. - // Be sure that this is a correct "binary string" - data = string2binary(data); - } - } - } - return data; - }); -}; - -},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"core-js/library/fn/set-immediate":36}],33:[function(require,module,exports){ -'use strict'; -var readerFor = require('./reader/readerFor'); -var utils = require('./utils'); -var sig = require('./signature'); -var ZipEntry = require('./zipEntry'); -var utf8 = require('./utf8'); -var support = require('./support'); -// class ZipEntries {{{ -/** - * All the entries in the zip file. - * @constructor - * @param {Object} loadOptions Options for loading the stream. - */ -function ZipEntries(loadOptions) { - this.files = []; - this.loadOptions = loadOptions; -} -ZipEntries.prototype = { - /** - * Check that the reader is on the specified signature. - * @param {string} expectedSignature the expected signature. - * @throws {Error} if it is an other signature. - */ - checkSignature: function(expectedSignature) { - if (!this.reader.readAndCheckSignature(expectedSignature)) { - this.reader.index -= 4; - var signature = this.reader.readString(4); - throw new Error("Corrupted zip or bug: unexpected signature " + "(" + utils.pretty(signature) + ", expected " + utils.pretty(expectedSignature) + ")"); - } - }, - /** - * Check if the given signature is at the given index. - * @param {number} askedIndex the index to check. - * @param {string} expectedSignature the signature to expect. - * @return {boolean} true if the signature is here, false otherwise. - */ - isSignature: function(askedIndex, expectedSignature) { - var currentIndex = this.reader.index; - this.reader.setIndex(askedIndex); - var signature = this.reader.readString(4); - var result = signature === expectedSignature; - this.reader.setIndex(currentIndex); - return result; - }, - /** - * Read the end of the central directory. - */ - readBlockEndOfCentral: function() { - this.diskNumber = this.reader.readInt(2); - this.diskWithCentralDirStart = this.reader.readInt(2); - this.centralDirRecordsOnThisDisk = this.reader.readInt(2); - this.centralDirRecords = this.reader.readInt(2); - this.centralDirSize = this.reader.readInt(4); - this.centralDirOffset = this.reader.readInt(4); - - this.zipCommentLength = this.reader.readInt(2); - // warning : the encoding depends of the system locale - // On a linux machine with LANG=en_US.utf8, this field is utf8 encoded. - // On a windows machine, this field is encoded with the localized windows code page. - var zipComment = this.reader.readData(this.zipCommentLength); - var decodeParamType = support.uint8array ? "uint8array" : "array"; - // To get consistent behavior with the generation part, we will assume that - // this is utf8 encoded unless specified otherwise. - var decodeContent = utils.transformTo(decodeParamType, zipComment); - this.zipComment = this.loadOptions.decodeFileName(decodeContent); - }, - /** - * Read the end of the Zip 64 central directory. - * Not merged with the method readEndOfCentral : - * The end of central can coexist with its Zip64 brother, - * I don't want to read the wrong number of bytes ! - */ - readBlockZip64EndOfCentral: function() { - this.zip64EndOfCentralSize = this.reader.readInt(8); - this.reader.skip(4); - // this.versionMadeBy = this.reader.readString(2); - // this.versionNeeded = this.reader.readInt(2); - this.diskNumber = this.reader.readInt(4); - this.diskWithCentralDirStart = this.reader.readInt(4); - this.centralDirRecordsOnThisDisk = this.reader.readInt(8); - this.centralDirRecords = this.reader.readInt(8); - this.centralDirSize = this.reader.readInt(8); - this.centralDirOffset = this.reader.readInt(8); - - this.zip64ExtensibleData = {}; - var extraDataSize = this.zip64EndOfCentralSize - 44, - index = 0, - extraFieldId, - extraFieldLength, - extraFieldValue; - while (index < extraDataSize) { - extraFieldId = this.reader.readInt(2); - extraFieldLength = this.reader.readInt(4); - extraFieldValue = this.reader.readData(extraFieldLength); - this.zip64ExtensibleData[extraFieldId] = { - id: extraFieldId, - length: extraFieldLength, - value: extraFieldValue - }; - } - }, - /** - * Read the end of the Zip 64 central directory locator. - */ - readBlockZip64EndOfCentralLocator: function() { - this.diskWithZip64CentralDirStart = this.reader.readInt(4); - this.relativeOffsetEndOfZip64CentralDir = this.reader.readInt(8); - this.disksCount = this.reader.readInt(4); - if (this.disksCount > 1) { - throw new Error("Multi-volumes zip are not supported"); - } - }, - /** - * Read the local files, based on the offset read in the central part. - */ - readLocalFiles: function() { - var i, file; - for (i = 0; i < this.files.length; i++) { - file = this.files[i]; - this.reader.setIndex(file.localHeaderOffset); - this.checkSignature(sig.LOCAL_FILE_HEADER); - file.readLocalPart(this.reader); - file.handleUTF8(); - file.processAttributes(); - } - }, - /** - * Read the central directory. - */ - readCentralDir: function() { - var file; - - this.reader.setIndex(this.centralDirOffset); - while (this.reader.readAndCheckSignature(sig.CENTRAL_FILE_HEADER)) { - file = new ZipEntry({ - zip64: this.zip64 - }, this.loadOptions); - file.readCentralPart(this.reader); - this.files.push(file); - } - - if (this.centralDirRecords !== this.files.length) { - if (this.centralDirRecords !== 0 && this.files.length === 0) { - // We expected some records but couldn't find ANY. - // This is really suspicious, as if something went wrong. - throw new Error("Corrupted zip or bug: expected " + this.centralDirRecords + " records in central dir, got " + this.files.length); - } else { - // We found some records but not all. - // Something is wrong but we got something for the user: no error here. - // console.warn("expected", this.centralDirRecords, "records in central dir, got", this.files.length); - } - } - }, - /** - * Read the end of central directory. - */ - readEndOfCentral: function() { - var offset = this.reader.lastIndexOfSignature(sig.CENTRAL_DIRECTORY_END); - if (offset < 0) { - // Check if the content is a truncated zip or complete garbage. - // A "LOCAL_FILE_HEADER" is not required at the beginning (auto - // extractible zip for example) but it can give a good hint. - // If an ajax request was used without responseType, we will also - // get unreadable data. - var isGarbage = !this.isSignature(0, sig.LOCAL_FILE_HEADER); - - if (isGarbage) { - throw new Error("Can't find end of central directory : is this a zip file ? " + - "If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"); - } else { - throw new Error("Corrupted zip: can't find end of central directory"); - } - - } - this.reader.setIndex(offset); - var endOfCentralDirOffset = offset; - this.checkSignature(sig.CENTRAL_DIRECTORY_END); - this.readBlockEndOfCentral(); - - - /* extract from the zip spec : - 4) If one of the fields in the end of central directory - record is too small to hold required data, the field - should be set to -1 (0xFFFF or 0xFFFFFFFF) and the - ZIP64 format record should be created. - 5) The end of central directory record and the - Zip64 end of central directory locator record must - reside on the same disk when splitting or spanning - an archive. - */ - if (this.diskNumber === utils.MAX_VALUE_16BITS || this.diskWithCentralDirStart === utils.MAX_VALUE_16BITS || this.centralDirRecordsOnThisDisk === utils.MAX_VALUE_16BITS || this.centralDirRecords === utils.MAX_VALUE_16BITS || this.centralDirSize === utils.MAX_VALUE_32BITS || this.centralDirOffset === utils.MAX_VALUE_32BITS) { - this.zip64 = true; - - /* - Warning : the zip64 extension is supported, but ONLY if the 64bits integer read from - the zip file can fit into a 32bits integer. This cannot be solved : JavaScript represents - all numbers as 64-bit double precision IEEE 754 floating point numbers. - So, we have 53bits for integers and bitwise operations treat everything as 32bits. - see https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Operators/Bitwise_Operators - and http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf section 8.5 - */ - - // should look for a zip64 EOCD locator - offset = this.reader.lastIndexOfSignature(sig.ZIP64_CENTRAL_DIRECTORY_LOCATOR); - if (offset < 0) { - throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator"); - } - this.reader.setIndex(offset); - this.checkSignature(sig.ZIP64_CENTRAL_DIRECTORY_LOCATOR); - this.readBlockZip64EndOfCentralLocator(); - - // now the zip64 EOCD record - if (!this.isSignature(this.relativeOffsetEndOfZip64CentralDir, sig.ZIP64_CENTRAL_DIRECTORY_END)) { - // console.warn("ZIP64 end of central directory not where expected."); - this.relativeOffsetEndOfZip64CentralDir = this.reader.lastIndexOfSignature(sig.ZIP64_CENTRAL_DIRECTORY_END); - if (this.relativeOffsetEndOfZip64CentralDir < 0) { - throw new Error("Corrupted zip: can't find the ZIP64 end of central directory"); - } - } - this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir); - this.checkSignature(sig.ZIP64_CENTRAL_DIRECTORY_END); - this.readBlockZip64EndOfCentral(); - } - - var expectedEndOfCentralDirOffset = this.centralDirOffset + this.centralDirSize; - if (this.zip64) { - expectedEndOfCentralDirOffset += 20; // end of central dir 64 locator - expectedEndOfCentralDirOffset += 12 /* should not include the leading 12 bytes */ + this.zip64EndOfCentralSize; - } - - var extraBytes = endOfCentralDirOffset - expectedEndOfCentralDirOffset; - - if (extraBytes > 0) { - // console.warn(extraBytes, "extra bytes at beginning or within zipfile"); - if (this.isSignature(endOfCentralDirOffset, sig.CENTRAL_FILE_HEADER)) { - // The offsets seem wrong, but we have something at the specified offset. - // So… we keep it. - } else { - // the offset is wrong, update the "zero" of the reader - // this happens if data has been prepended (crx files for example) - this.reader.zero = extraBytes; - } - } else if (extraBytes < 0) { - throw new Error("Corrupted zip: missing " + Math.abs(extraBytes) + " bytes."); - } - }, - prepareReader: function(data) { - this.reader = readerFor(data); - }, - /** - * Read a zip file and create ZipEntries. - * @param {String|ArrayBuffer|Uint8Array|Buffer} data the binary string representing a zip file. - */ - load: function(data) { - this.prepareReader(data); - this.readEndOfCentral(); - this.readCentralDir(); - this.readLocalFiles(); - } -}; -// }}} end of ZipEntries -module.exports = ZipEntries; - -},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(require,module,exports){ -'use strict'; -var readerFor = require('./reader/readerFor'); -var utils = require('./utils'); -var CompressedObject = require('./compressedObject'); -var crc32fn = require('./crc32'); -var utf8 = require('./utf8'); -var compressions = require('./compressions'); -var support = require('./support'); - -var MADE_BY_DOS = 0x00; -var MADE_BY_UNIX = 0x03; - -/** - * Find a compression registered in JSZip. - * @param {string} compressionMethod the method magic to find. - * @return {Object|null} the JSZip compression object, null if none found. - */ -var findCompression = function(compressionMethod) { - for (var method in compressions) { - if (!compressions.hasOwnProperty(method)) { - continue; - } - if (compressions[method].magic === compressionMethod) { - return compressions[method]; - } - } - return null; -}; - -// class ZipEntry {{{ -/** - * An entry in the zip file. - * @constructor - * @param {Object} options Options of the current file. - * @param {Object} loadOptions Options for loading the stream. - */ -function ZipEntry(options, loadOptions) { - this.options = options; - this.loadOptions = loadOptions; -} -ZipEntry.prototype = { - /** - * say if the file is encrypted. - * @return {boolean} true if the file is encrypted, false otherwise. - */ - isEncrypted: function() { - // bit 1 is set - return (this.bitFlag & 0x0001) === 0x0001; - }, - /** - * say if the file has utf-8 filename/comment. - * @return {boolean} true if the filename/comment is in utf-8, false otherwise. - */ - useUTF8: function() { - // bit 11 is set - return (this.bitFlag & 0x0800) === 0x0800; - }, - /** - * Read the local part of a zip file and add the info in this object. - * @param {DataReader} reader the reader to use. - */ - readLocalPart: function(reader) { - var compression, localExtraFieldsLength; - - // we already know everything from the central dir ! - // If the central dir data are false, we are doomed. - // On the bright side, the local part is scary : zip64, data descriptors, both, etc. - // The less data we get here, the more reliable this should be. - // Let's skip the whole header and dash to the data ! - reader.skip(22); - // in some zip created on windows, the filename stored in the central dir contains \ instead of /. - // Strangely, the filename here is OK. - // I would love to treat these zip files as corrupted (see http://www.info-zip.org/FAQ.html#backslashes - // or APPNOTE#4.4.17.1, "All slashes MUST be forward slashes '/'") but there are a lot of bad zip generators... - // Search "unzip mismatching "local" filename continuing with "central" filename version" on - // the internet. - // - // I think I see the logic here : the central directory is used to display - // content and the local directory is used to extract the files. Mixing / and \ - // may be used to display \ to windows users and use / when extracting the files. - // Unfortunately, this lead also to some issues : http://seclists.org/fulldisclosure/2009/Sep/394 - this.fileNameLength = reader.readInt(2); - localExtraFieldsLength = reader.readInt(2); // can't be sure this will be the same as the central dir - // the fileName is stored as binary data, the handleUTF8 method will take care of the encoding. - this.fileName = reader.readData(this.fileNameLength); - reader.skip(localExtraFieldsLength); - - if (this.compressedSize === -1 || this.uncompressedSize === -1) { - throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory " + "(compressedSize === -1 || uncompressedSize === -1)"); - } - - compression = findCompression(this.compressionMethod); - if (compression === null) { // no compression found - throw new Error("Corrupted zip : compression " + utils.pretty(this.compressionMethod) + " unknown (inner file : " + utils.transformTo("string", this.fileName) + ")"); - } - this.decompressed = new CompressedObject(this.compressedSize, this.uncompressedSize, this.crc32, compression, reader.readData(this.compressedSize)); - }, - - /** - * Read the central part of a zip file and add the info in this object. - * @param {DataReader} reader the reader to use. - */ - readCentralPart: function(reader) { - this.versionMadeBy = reader.readInt(2); - reader.skip(2); - // this.versionNeeded = reader.readInt(2); - this.bitFlag = reader.readInt(2); - this.compressionMethod = reader.readString(2); - this.date = reader.readDate(); - this.crc32 = reader.readInt(4); - this.compressedSize = reader.readInt(4); - this.uncompressedSize = reader.readInt(4); - var fileNameLength = reader.readInt(2); - this.extraFieldsLength = reader.readInt(2); - this.fileCommentLength = reader.readInt(2); - this.diskNumberStart = reader.readInt(2); - this.internalFileAttributes = reader.readInt(2); - this.externalFileAttributes = reader.readInt(4); - this.localHeaderOffset = reader.readInt(4); - - if (this.isEncrypted()) { - throw new Error("Encrypted zip are not supported"); - } - - // will be read in the local part, see the comments there - reader.skip(fileNameLength); - this.readExtraFields(reader); - this.parseZIP64ExtraField(reader); - this.fileComment = reader.readData(this.fileCommentLength); - }, - - /** - * Parse the external file attributes and get the unix/dos permissions. - */ - processAttributes: function () { - this.unixPermissions = null; - this.dosPermissions = null; - var madeBy = this.versionMadeBy >> 8; - - // Check if we have the DOS directory flag set. - // We look for it in the DOS and UNIX permissions - // but some unknown platform could set it as a compatibility flag. - this.dir = this.externalFileAttributes & 0x0010 ? true : false; - - if(madeBy === MADE_BY_DOS) { - // first 6 bits (0 to 5) - this.dosPermissions = this.externalFileAttributes & 0x3F; - } - - if(madeBy === MADE_BY_UNIX) { - this.unixPermissions = (this.externalFileAttributes >> 16) & 0xFFFF; - // the octal permissions are in (this.unixPermissions & 0x01FF).toString(8); - } - - // fail safe : if the name ends with a / it probably means a folder - if (!this.dir && this.fileNameStr.slice(-1) === '/') { - this.dir = true; - } - }, - - /** - * Parse the ZIP64 extra field and merge the info in the current ZipEntry. - * @param {DataReader} reader the reader to use. - */ - parseZIP64ExtraField: function(reader) { - - if (!this.extraFields[0x0001]) { - return; - } - - // should be something, preparing the extra reader - var extraReader = readerFor(this.extraFields[0x0001].value); - - // I really hope that these 64bits integer can fit in 32 bits integer, because js - // won't let us have more. - if (this.uncompressedSize === utils.MAX_VALUE_32BITS) { - this.uncompressedSize = extraReader.readInt(8); - } - if (this.compressedSize === utils.MAX_VALUE_32BITS) { - this.compressedSize = extraReader.readInt(8); - } - if (this.localHeaderOffset === utils.MAX_VALUE_32BITS) { - this.localHeaderOffset = extraReader.readInt(8); - } - if (this.diskNumberStart === utils.MAX_VALUE_32BITS) { - this.diskNumberStart = extraReader.readInt(4); - } - }, - /** - * Read the central part of a zip file and add the info in this object. - * @param {DataReader} reader the reader to use. - */ - readExtraFields: function(reader) { - var end = reader.index + this.extraFieldsLength, - extraFieldId, - extraFieldLength, - extraFieldValue; - - if (!this.extraFields) { - this.extraFields = {}; - } - - while (reader.index < end) { - extraFieldId = reader.readInt(2); - extraFieldLength = reader.readInt(2); - extraFieldValue = reader.readData(extraFieldLength); - - this.extraFields[extraFieldId] = { - id: extraFieldId, - length: extraFieldLength, - value: extraFieldValue - }; - } - }, - /** - * Apply an UTF8 transformation if needed. - */ - handleUTF8: function() { - var decodeParamType = support.uint8array ? "uint8array" : "array"; - if (this.useUTF8()) { - this.fileNameStr = utf8.utf8decode(this.fileName); - this.fileCommentStr = utf8.utf8decode(this.fileComment); - } else { - var upath = this.findExtraFieldUnicodePath(); - if (upath !== null) { - this.fileNameStr = upath; - } else { - // ASCII text or unsupported code page - var fileNameByteArray = utils.transformTo(decodeParamType, this.fileName); - this.fileNameStr = this.loadOptions.decodeFileName(fileNameByteArray); - } - - var ucomment = this.findExtraFieldUnicodeComment(); - if (ucomment !== null) { - this.fileCommentStr = ucomment; - } else { - // ASCII text or unsupported code page - var commentByteArray = utils.transformTo(decodeParamType, this.fileComment); - this.fileCommentStr = this.loadOptions.decodeFileName(commentByteArray); - } - } - }, - - /** - * Find the unicode path declared in the extra field, if any. - * @return {String} the unicode path, null otherwise. - */ - findExtraFieldUnicodePath: function() { - var upathField = this.extraFields[0x7075]; - if (upathField) { - var extraReader = readerFor(upathField.value); - - // wrong version - if (extraReader.readInt(1) !== 1) { - return null; - } - - // the crc of the filename changed, this field is out of date. - if (crc32fn(this.fileName) !== extraReader.readInt(4)) { - return null; - } - - return utf8.utf8decode(extraReader.readData(upathField.length - 5)); - } - return null; - }, - - /** - * Find the unicode comment declared in the extra field, if any. - * @return {String} the unicode comment, null otherwise. - */ - findExtraFieldUnicodeComment: function() { - var ucommentField = this.extraFields[0x6375]; - if (ucommentField) { - var extraReader = readerFor(ucommentField.value); - - // wrong version - if (extraReader.readInt(1) !== 1) { - return null; - } - - // the crc of the comment changed, this field is out of date. - if (crc32fn(this.fileComment) !== extraReader.readInt(4)) { - return null; - } - - return utf8.utf8decode(extraReader.readData(ucommentField.length - 5)); - } - return null; - } -}; -module.exports = ZipEntry; - -},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(require,module,exports){ -'use strict'; - -var StreamHelper = require('./stream/StreamHelper'); -var DataWorker = require('./stream/DataWorker'); -var utf8 = require('./utf8'); -var CompressedObject = require('./compressedObject'); -var GenericWorker = require('./stream/GenericWorker'); - -/** - * A simple object representing a file in the zip file. - * @constructor - * @param {string} name the name of the file - * @param {String|ArrayBuffer|Uint8Array|Buffer} data the data - * @param {Object} options the options of the file - */ -var ZipObject = function(name, data, options) { - this.name = name; - this.dir = options.dir; - this.date = options.date; - this.comment = options.comment; - this.unixPermissions = options.unixPermissions; - this.dosPermissions = options.dosPermissions; - - this._data = data; - this._dataBinary = options.binary; - // keep only the compression - this.options = { - compression : options.compression, - compressionOptions : options.compressionOptions - }; -}; - -ZipObject.prototype = { - /** - * Create an internal stream for the content of this object. - * @param {String} type the type of each chunk. - * @return StreamHelper the stream. - */ - internalStream: function (type) { - var result = null, outputType = "string"; - try { - if (!type) { - throw new Error("No output type specified."); - } - outputType = type.toLowerCase(); - var askUnicodeString = outputType === "string" || outputType === "text"; - if (outputType === "binarystring" || outputType === "text") { - outputType = "string"; - } - result = this._decompressWorker(); - - var isUnicodeString = !this._dataBinary; - - if (isUnicodeString && !askUnicodeString) { - result = result.pipe(new utf8.Utf8EncodeWorker()); - } - if (!isUnicodeString && askUnicodeString) { - result = result.pipe(new utf8.Utf8DecodeWorker()); - } - } catch (e) { - result = new GenericWorker("error"); - result.error(e); - } - - return new StreamHelper(result, outputType, ""); - }, - - /** - * Prepare the content in the asked type. - * @param {String} type the type of the result. - * @param {Function} onUpdate a function to call on each internal update. - * @return Promise the promise of the result. - */ - async: function (type, onUpdate) { - return this.internalStream(type).accumulate(onUpdate); - }, - - /** - * Prepare the content as a nodejs stream. - * @param {String} type the type of each chunk. - * @param {Function} onUpdate a function to call on each internal update. - * @return Stream the stream. - */ - nodeStream: function (type, onUpdate) { - return this.internalStream(type || "nodebuffer").toNodejsStream(onUpdate); - }, - - /** - * Return a worker for the compressed content. - * @private - * @param {Object} compression the compression object to use. - * @param {Object} compressionOptions the options to use when compressing. - * @return Worker the worker. - */ - _compressWorker: function (compression, compressionOptions) { - if ( - this._data instanceof CompressedObject && - this._data.compression.magic === compression.magic - ) { - return this._data.getCompressedWorker(); - } else { - var result = this._decompressWorker(); - if(!this._dataBinary) { - result = result.pipe(new utf8.Utf8EncodeWorker()); - } - return CompressedObject.createWorkerFrom(result, compression, compressionOptions); - } - }, - /** - * Return a worker for the decompressed content. - * @private - * @return Worker the worker. - */ - _decompressWorker : function () { - if (this._data instanceof CompressedObject) { - return this._data.getContentWorker(); - } else if (this._data instanceof GenericWorker) { - return this._data; - } else { - return new DataWorker(this._data); - } - } -}; - -var removedMethods = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"]; -var removedFn = function () { - throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide."); -}; - -for(var i = 0; i < removedMethods.length; i++) { - ZipObject.prototype[removedMethods[i]] = removedFn; -} -module.exports = ZipObject; - -},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(require,module,exports){ -require('../modules/web.immediate'); -module.exports = require('../modules/_core').setImmediate; -},{"../modules/_core":40,"../modules/web.immediate":56}],37:[function(require,module,exports){ -module.exports = function(it){ - if(typeof it != 'function')throw TypeError(it + ' is not a function!'); - return it; -}; -},{}],38:[function(require,module,exports){ -var isObject = require('./_is-object'); -module.exports = function(it){ - if(!isObject(it))throw TypeError(it + ' is not an object!'); - return it; -}; -},{"./_is-object":51}],39:[function(require,module,exports){ -var toString = {}.toString; - -module.exports = function(it){ - return toString.call(it).slice(8, -1); -}; -},{}],40:[function(require,module,exports){ -var core = module.exports = {version: '2.3.0'}; -if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef -},{}],41:[function(require,module,exports){ -// optional / simple context binding -var aFunction = require('./_a-function'); -module.exports = function(fn, that, length){ - aFunction(fn); - if(that === undefined)return fn; - switch(length){ - case 1: return function(a){ - return fn.call(that, a); - }; - case 2: return function(a, b){ - return fn.call(that, a, b); - }; - case 3: return function(a, b, c){ - return fn.call(that, a, b, c); - }; - } - return function(/* ...args */){ - return fn.apply(that, arguments); - }; -}; -},{"./_a-function":37}],42:[function(require,module,exports){ -// Thank's IE8 for his funny defineProperty -module.exports = !require('./_fails')(function(){ - return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7; -}); -},{"./_fails":45}],43:[function(require,module,exports){ -var isObject = require('./_is-object') - , document = require('./_global').document - // in old IE typeof document.createElement is 'object' - , is = isObject(document) && isObject(document.createElement); -module.exports = function(it){ - return is ? document.createElement(it) : {}; -}; -},{"./_global":46,"./_is-object":51}],44:[function(require,module,exports){ -var global = require('./_global') - , core = require('./_core') - , ctx = require('./_ctx') - , hide = require('./_hide') - , PROTOTYPE = 'prototype'; - -var $export = function(type, name, source){ - var IS_FORCED = type & $export.F - , IS_GLOBAL = type & $export.G - , IS_STATIC = type & $export.S - , IS_PROTO = type & $export.P - , IS_BIND = type & $export.B - , IS_WRAP = type & $export.W - , exports = IS_GLOBAL ? core : core[name] || (core[name] = {}) - , expProto = exports[PROTOTYPE] - , target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE] - , key, own, out; - if(IS_GLOBAL)source = name; - for(key in source){ - // contains in native - own = !IS_FORCED && target && target[key] !== undefined; - if(own && key in exports)continue; - // export native or passed - out = own ? target[key] : source[key]; - // prevent global pollution for namespaces - exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] - // bind timers to global for call from export context - : IS_BIND && own ? ctx(out, global) - // wrap global constructors for prevent change them in library - : IS_WRAP && target[key] == out ? (function(C){ - var F = function(a, b, c){ - if(this instanceof C){ - switch(arguments.length){ - case 0: return new C; - case 1: return new C(a); - case 2: return new C(a, b); - } return new C(a, b, c); - } return C.apply(this, arguments); - }; - F[PROTOTYPE] = C[PROTOTYPE]; - return F; - // make static versions for prototype methods - })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; - // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% - if(IS_PROTO){ - (exports.virtual || (exports.virtual = {}))[key] = out; - // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% - if(type & $export.R && expProto && !expProto[key])hide(expProto, key, out); - } - } -}; -// type bitmap -$export.F = 1; // forced -$export.G = 2; // global -$export.S = 4; // static -$export.P = 8; // proto -$export.B = 16; // bind -$export.W = 32; // wrap -$export.U = 64; // safe -$export.R = 128; // real proto method for `library` -module.exports = $export; -},{"./_core":40,"./_ctx":41,"./_global":46,"./_hide":47}],45:[function(require,module,exports){ -module.exports = function(exec){ - try { - return !!exec(); - } catch(e){ - return true; - } -}; -},{}],46:[function(require,module,exports){ -// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 -var global = module.exports = typeof window != 'undefined' && window.Math == Math - ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')(); -if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef -},{}],47:[function(require,module,exports){ -var dP = require('./_object-dp') - , createDesc = require('./_property-desc'); -module.exports = require('./_descriptors') ? function(object, key, value){ - return dP.f(object, key, createDesc(1, value)); -} : function(object, key, value){ - object[key] = value; - return object; -}; -},{"./_descriptors":42,"./_object-dp":52,"./_property-desc":53}],48:[function(require,module,exports){ -module.exports = require('./_global').document && document.documentElement; -},{"./_global":46}],49:[function(require,module,exports){ -module.exports = !require('./_descriptors') && !require('./_fails')(function(){ - return Object.defineProperty(require('./_dom-create')('div'), 'a', {get: function(){ return 7; }}).a != 7; -}); -},{"./_descriptors":42,"./_dom-create":43,"./_fails":45}],50:[function(require,module,exports){ -// fast apply, http://jsperf.lnkit.com/fast-apply/5 -module.exports = function(fn, args, that){ - var un = that === undefined; - switch(args.length){ - case 0: return un ? fn() - : fn.call(that); - case 1: return un ? fn(args[0]) - : fn.call(that, args[0]); - case 2: return un ? fn(args[0], args[1]) - : fn.call(that, args[0], args[1]); - case 3: return un ? fn(args[0], args[1], args[2]) - : fn.call(that, args[0], args[1], args[2]); - case 4: return un ? fn(args[0], args[1], args[2], args[3]) - : fn.call(that, args[0], args[1], args[2], args[3]); - } return fn.apply(that, args); -}; -},{}],51:[function(require,module,exports){ -module.exports = function(it){ - return typeof it === 'object' ? it !== null : typeof it === 'function'; -}; -},{}],52:[function(require,module,exports){ -var anObject = require('./_an-object') - , IE8_DOM_DEFINE = require('./_ie8-dom-define') - , toPrimitive = require('./_to-primitive') - , dP = Object.defineProperty; - -exports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes){ - anObject(O); - P = toPrimitive(P, true); - anObject(Attributes); - if(IE8_DOM_DEFINE)try { - return dP(O, P, Attributes); - } catch(e){ /* empty */ } - if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!'); - if('value' in Attributes)O[P] = Attributes.value; - return O; -}; -},{"./_an-object":38,"./_descriptors":42,"./_ie8-dom-define":49,"./_to-primitive":55}],53:[function(require,module,exports){ -module.exports = function(bitmap, value){ - return { - enumerable : !(bitmap & 1), - configurable: !(bitmap & 2), - writable : !(bitmap & 4), - value : value - }; -}; -},{}],54:[function(require,module,exports){ -var ctx = require('./_ctx') - , invoke = require('./_invoke') - , html = require('./_html') - , cel = require('./_dom-create') - , global = require('./_global') - , process = global.process - , setTask = global.setImmediate - , clearTask = global.clearImmediate - , MessageChannel = global.MessageChannel - , counter = 0 - , queue = {} - , ONREADYSTATECHANGE = 'onreadystatechange' - , defer, channel, port; -var run = function(){ - var id = +this; - if(queue.hasOwnProperty(id)){ - var fn = queue[id]; - delete queue[id]; - fn(); - } -}; -var listener = function(event){ - run.call(event.data); -}; -// Node.js 0.9+ & IE10+ has setImmediate, otherwise: -if(!setTask || !clearTask){ - setTask = function setImmediate(fn){ - var args = [], i = 1; - while(arguments.length > i)args.push(arguments[i++]); - queue[++counter] = function(){ - invoke(typeof fn == 'function' ? fn : Function(fn), args); - }; - defer(counter); - return counter; - }; - clearTask = function clearImmediate(id){ - delete queue[id]; - }; - // Node.js 0.8- - if(require('./_cof')(process) == 'process'){ - defer = function(id){ - process.nextTick(ctx(run, id, 1)); - }; - // Browsers with MessageChannel, includes WebWorkers - } else if(MessageChannel){ - channel = new MessageChannel; - port = channel.port2; - channel.port1.onmessage = listener; - defer = ctx(port.postMessage, port, 1); - // Browsers with postMessage, skip WebWorkers - // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' - } else if(global.addEventListener && typeof postMessage == 'function' && !global.importScripts){ - defer = function(id){ - global.postMessage(id + '', '*'); - }; - global.addEventListener('message', listener, false); - // IE8- - } else if(ONREADYSTATECHANGE in cel('script')){ - defer = function(id){ - html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function(){ - html.removeChild(this); - run.call(id); - }; - }; - // Rest old browsers - } else { - defer = function(id){ - setTimeout(ctx(run, id, 1), 0); - }; - } -} -module.exports = { - set: setTask, - clear: clearTask -}; -},{"./_cof":39,"./_ctx":41,"./_dom-create":43,"./_global":46,"./_html":48,"./_invoke":50}],55:[function(require,module,exports){ -// 7.1.1 ToPrimitive(input [, PreferredType]) -var isObject = require('./_is-object'); -// instead of the ES6 spec version, we didn't implement @@toPrimitive case -// and the second argument - flag - preferred type is a string -module.exports = function(it, S){ - if(!isObject(it))return it; - var fn, val; - if(S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val; - if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val; - if(!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val; - throw TypeError("Can't convert object to primitive value"); -}; -},{"./_is-object":51}],56:[function(require,module,exports){ -var $export = require('./_export') - , $task = require('./_task'); -$export($export.G + $export.B, { - setImmediate: $task.set, - clearImmediate: $task.clear -}); -},{"./_export":44,"./_task":54}],57:[function(require,module,exports){ -(function (global){ -'use strict'; -var Mutation = global.MutationObserver || global.WebKitMutationObserver; - -var scheduleDrain; - -{ - if (Mutation) { - var called = 0; - var observer = new Mutation(nextTick); - var element = global.document.createTextNode(''); - observer.observe(element, { - characterData: true - }); - scheduleDrain = function () { - element.data = (called = ++called % 2); - }; - } else if (!global.setImmediate && typeof global.MessageChannel !== 'undefined') { - var channel = new global.MessageChannel(); - channel.port1.onmessage = nextTick; - scheduleDrain = function () { - channel.port2.postMessage(0); - }; - } else if ('document' in global && 'onreadystatechange' in global.document.createElement('script')) { - scheduleDrain = function () { - - // Create a - - - - - -
- -

index.html

-
- - diff --git a/html/overview-tree.html b/html/overview-tree.html deleted file mode 100644 index 828d76a0..00000000 --- a/html/overview-tree.html +++ /dev/null @@ -1,462 +0,0 @@ - - - - - -Class Hierarchy (Javassist API) - - - - - - - - - - - - - - - -
- -
-
- -
-
-

Class Hierarchy

- -
-
-

Interface Hierarchy

- -
-
-
-
- -

Javassist, a Java-bytecode translator toolkit.
-Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

-
- - diff --git a/html/package-search-index.js b/html/package-search-index.js deleted file mode 100644 index dd8b41c2..00000000 --- a/html/package-search-index.js +++ /dev/null @@ -1 +0,0 @@ -packageSearchIndex = [{"l":"All Packages","url":"allpackages-index.html"},{"l":"javassist"},{"l":"javassist.bytecode"},{"l":"javassist.bytecode.analysis"},{"l":"javassist.bytecode.annotation"},{"l":"javassist.expr"},{"l":"javassist.runtime"},{"l":"javassist.tools"},{"l":"javassist.tools.reflect"},{"l":"javassist.tools.rmi"},{"l":"javassist.tools.web"},{"l":"javassist.util"},{"l":"javassist.util.proxy"}] \ No newline at end of file diff --git a/html/package-search-index.zip b/html/package-search-index.zip deleted file mode 100644 index bfef225be7e0f997e11fa4107c9c49ce2c8e29bb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 304 zcmWIWW@Zs#;Nak3;OCp*$AAPRf$W0BR3-ORj{)C#?<;{3eY35I-! z40v4EH`z>=Y3P;Spv<=2G@)RUR$->rmEFusrI)>~{{Q;4otd-cS#jI*udG@My$ ze>sS}6x;UnLQrA&SEk^vZ|{6)v@E_B|L9fV%1+(28tsg!HH*Lcbab6El+e_QH7a=3 zylML~Q@4%J(%uQpZIyaG>uB}A*KDhJuWL)cpSAIIkdCs?a`6Cfb`GzD^9*}{4sK** lUHd diff --git a/html/resources/glass.png b/html/resources/glass.png deleted file mode 100644 index a7f591f467a1c0c949bbc510156a0c1afb860a6e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 499 zcmVJoRsvExf%rEN>jUL}qZ_~k#FbE+Q;{`;0FZwVNX2n-^JoI; zP;4#$8DIy*Yk-P>VN(DUKmPse7mx+ExD4O|;?E5D0Z5($mjO3`*anwQU^s{ZDK#Lz zj>~{qyaIx5K!t%=G&2IJNzg!ChRpyLkO7}Ry!QaotAHAMpbB3AF(}|_f!G-oI|uK6 z`id_dumai5K%C3Y$;tKS_iqMPHg<*|-@e`liWLAggVM!zAP#@l;=c>S03;{#04Z~5 zN_+ss=Yg6*hTr59mzMwZ@+l~q!+?ft!fF66AXT#wWavHt30bZWFCK%!BNk}LN?0Hg z1VF_nfs`Lm^DjYZ1(1uD0u4CSIr)XAaqW6IT{!St5~1{i=i}zAy76p%_|w8rh@@c0Axr!ns=D-X+|*sY6!@wacG9%)Qn*O zl0sa739kT-&_?#oVxXF6tOnqTD)cZ}2vi$`ZU8RLAlo8=_z#*P3xI~i!lEh+Pdu-L zx{d*wgjtXbnGX_Yf@Tc7Q3YhLhPvc8noGJs2DA~1DySiA&6V{5JzFt ojAY1KXm~va;tU{v7C?Xj0BHw!K;2aXV*mgE07*qoM6N<$f;4TDA^-pY diff --git a/html/script.js b/html/script.js deleted file mode 100644 index 09adaaa8..00000000 --- a/html/script.js +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. - * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - */ - -var moduleSearchIndex; -var packageSearchIndex; -var typeSearchIndex; -var memberSearchIndex; -var tagSearchIndex; -function loadScripts(doc, tag) { - createElem(doc, tag, 'jquery/jszip/dist/jszip.js'); - createElem(doc, tag, 'jquery/jszip-utils/dist/jszip-utils.js'); - if (window.navigator.userAgent.indexOf('MSIE ') > 0 || window.navigator.userAgent.indexOf('Trident/') > 0 || - window.navigator.userAgent.indexOf('Edge/') > 0) { - createElem(doc, tag, 'jquery/jszip-utils/dist/jszip-utils-ie.js'); - } - createElem(doc, tag, 'search.js'); - - $.get(pathtoroot + "module-search-index.zip") - .done(function() { - JSZipUtils.getBinaryContent(pathtoroot + "module-search-index.zip", function(e, data) { - var zip = new JSZip(data); - zip.load(data); - moduleSearchIndex = JSON.parse(zip.file("module-search-index.json").asText()); - }); - }); - $.get(pathtoroot + "package-search-index.zip") - .done(function() { - JSZipUtils.getBinaryContent(pathtoroot + "package-search-index.zip", function(e, data) { - var zip = new JSZip(data); - zip.load(data); - packageSearchIndex = JSON.parse(zip.file("package-search-index.json").asText()); - }); - }); - $.get(pathtoroot + "type-search-index.zip") - .done(function() { - JSZipUtils.getBinaryContent(pathtoroot + "type-search-index.zip", function(e, data) { - var zip = new JSZip(data); - zip.load(data); - typeSearchIndex = JSON.parse(zip.file("type-search-index.json").asText()); - }); - }); - $.get(pathtoroot + "member-search-index.zip") - .done(function() { - JSZipUtils.getBinaryContent(pathtoroot + "member-search-index.zip", function(e, data) { - var zip = new JSZip(data); - zip.load(data); - memberSearchIndex = JSON.parse(zip.file("member-search-index.json").asText()); - }); - }); - $.get(pathtoroot + "tag-search-index.zip") - .done(function() { - JSZipUtils.getBinaryContent(pathtoroot + "tag-search-index.zip", function(e, data) { - var zip = new JSZip(data); - zip.load(data); - tagSearchIndex = JSON.parse(zip.file("tag-search-index.json").asText()); - }); - }); - if (!moduleSearchIndex) { - createElem(doc, tag, 'module-search-index.js'); - } - if (!packageSearchIndex) { - createElem(doc, tag, 'package-search-index.js'); - } - if (!typeSearchIndex) { - createElem(doc, tag, 'type-search-index.js'); - } - if (!memberSearchIndex) { - createElem(doc, tag, 'member-search-index.js'); - } - if (!tagSearchIndex) { - createElem(doc, tag, 'tag-search-index.js'); - } - $(window).resize(function() { - $('.navPadding').css('padding-top', $('.fixedNav').css("height")); - }); -} - -function createElem(doc, tag, path) { - var script = doc.createElement(tag); - var scriptElement = doc.getElementsByTagName(tag)[0]; - script.src = pathtoroot + path; - scriptElement.parentNode.insertBefore(script, scriptElement); -} - -function show(type) { - count = 0; - for (var key in data) { - var row = document.getElementById(key); - if ((data[key] & type) !== 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) { - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} - -function updateModuleFrame(pFrame, cFrame) { - top.packageFrame.location = pFrame; - top.classFrame.location = cFrame; -} diff --git a/html/search.js b/html/search.js deleted file mode 100644 index 7fc8bfc5..00000000 --- a/html/search.js +++ /dev/null @@ -1,329 +0,0 @@ -/* - * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. - * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - */ - -var noResult = {l: "No results found"}; -var catModules = "Modules"; -var catPackages = "Packages"; -var catTypes = "Types"; -var catMembers = "Members"; -var catSearchTags = "SearchTags"; -var highlight = "$&"; -var camelCaseRegexp = ""; -var secondaryMatcher = ""; -function getHighlightedText(item) { - var ccMatcher = new RegExp(camelCaseRegexp); - var label = item.replace(ccMatcher, highlight); - if (label === item) { - label = item.replace(secondaryMatcher, highlight); - } - return label; -} -function getURLPrefix(ui) { - var urlPrefix=""; - if (useModuleDirectories) { - var slash = "/"; - if (ui.item.category === catModules) { - return ui.item.l + slash; - } else if (ui.item.category === catPackages && ui.item.m) { - return ui.item.m + slash; - } else if ((ui.item.category === catTypes && ui.item.p) || ui.item.category === catMembers) { - $.each(packageSearchIndex, function(index, item) { - if (ui.item.p == item.l) { - urlPrefix = item.m + slash; - } - }); - return urlPrefix; - } else { - return urlPrefix; - } - } - return urlPrefix; -} -var watermark = 'Search'; -$(function() { - $("#search").val(''); - $("#search").prop("disabled", false); - $("#reset").prop("disabled", false); - $("#search").val(watermark).addClass('watermark'); - $("#search").blur(function() { - if ($(this).val().length == 0) { - $(this).val(watermark).addClass('watermark'); - } - }); - $("#search").on('click keydown', function() { - if ($(this).val() == watermark) { - $(this).val('').removeClass('watermark'); - } - }); - $("#reset").click(function() { - $("#search").val(''); - $("#search").focus(); - }); - $("#search").focus(); - $("#search")[0].setSelectionRange(0, 0); -}); -$.widget("custom.catcomplete", $.ui.autocomplete, { - _create: function() { - this._super(); - this.widget().menu("option", "items", "> :not(.ui-autocomplete-category)"); - }, - _renderMenu: function(ul, items) { - var rMenu = this, - currentCategory = ""; - $.each(items, function(index, item) { - var li; - if (item.l !== noResult.l && item.category !== currentCategory) { - ul.append("
  • " + item.category + "
  • "); - currentCategory = item.category; - } - li = rMenu._renderItemData(ul, item); - if (item.category) { - li.attr("aria-label", item.category + " : " + item.l); - li.attr("class", "resultItem"); - } else { - li.attr("aria-label", item.l); - li.attr("class", "resultItem"); - } - }); - }, - _renderItem: function(ul, item) { - var label = ""; - if (item.category === catModules) { - label = getHighlightedText(item.l); - } else if (item.category === catPackages) { - label = (item.m) - ? getHighlightedText(item.m + "/" + item.l) - : getHighlightedText(item.l); - } else if (item.category === catTypes) { - label = (item.p) - ? getHighlightedText(item.p + "." + item.l) - : getHighlightedText(item.l); - } else if (item.category === catMembers) { - label = getHighlightedText(item.p + "." + (item.c + "." + item.l)); - } else if (item.category === catSearchTags) { - label = getHighlightedText(item.l); - } else { - label = item.l; - } - $li = $("
  • ").appendTo(ul); - if (item.category === catSearchTags) { - if (item.d) { - $("").attr("href", "#") - .html(label + " (" + item.h + ")
    " - + item.d + "
    ") - .appendTo($li); - } else { - $("
    ").attr("href", "#") - .html(label + " (" + item.h + ")") - .appendTo($li); - } - } else { - $("").attr("href", "#") - .html(label) - .appendTo($li); - } - return $li; - } -}); -$(function() { - $("#search").catcomplete({ - minLength: 1, - delay: 100, - source: function(request, response) { - var result = new Array(); - var presult = new Array(); - var tresult = new Array(); - var mresult = new Array(); - var tgresult = new Array(); - var secondaryresult = new Array(); - var displayCount = 0; - var exactMatcher = new RegExp("^" + $.ui.autocomplete.escapeRegex(request.term) + "$", "i"); - camelCaseRegexp = ($.ui.autocomplete.escapeRegex(request.term)).split(/(?=[A-Z])/).join("([a-z0-9_$]*?)"); - var camelCaseMatcher = new RegExp("^" + camelCaseRegexp); - secondaryMatcher = new RegExp($.ui.autocomplete.escapeRegex(request.term), "i"); - - // Return the nested innermost name from the specified object - function nestedName(e) { - return e.l.substring(e.l.lastIndexOf(".") + 1); - } - - function concatResults(a1, a2) { - a1 = a1.concat(a2); - a2.length = 0; - return a1; - } - - if (moduleSearchIndex) { - var mdleCount = 0; - $.each(moduleSearchIndex, function(index, item) { - item.category = catModules; - if (exactMatcher.test(item.l)) { - result.push(item); - mdleCount++; - } else if (camelCaseMatcher.test(item.l)) { - result.push(item); - } else if (secondaryMatcher.test(item.l)) { - secondaryresult.push(item); - } - }); - displayCount = mdleCount; - result = concatResults(result, secondaryresult); - } - if (packageSearchIndex) { - var pCount = 0; - var pkg = ""; - $.each(packageSearchIndex, function(index, item) { - item.category = catPackages; - pkg = (item.m) - ? (item.m + "/" + item.l) - : item.l; - if (exactMatcher.test(item.l)) { - presult.push(item); - pCount++; - } else if (camelCaseMatcher.test(pkg)) { - presult.push(item); - } else if (secondaryMatcher.test(pkg)) { - secondaryresult.push(item); - } - }); - result = result.concat(concatResults(presult, secondaryresult)); - displayCount = (pCount > displayCount) ? pCount : displayCount; - } - if (typeSearchIndex) { - var tCount = 0; - $.each(typeSearchIndex, function(index, item) { - item.category = catTypes; - var s = nestedName(item); - if (exactMatcher.test(s)) { - tresult.push(item); - tCount++; - } else if (camelCaseMatcher.test(s)) { - tresult.push(item); - } else if (secondaryMatcher.test(item.p + "." + item.l)) { - secondaryresult.push(item); - } - }); - result = result.concat(concatResults(tresult, secondaryresult)); - displayCount = (tCount > displayCount) ? tCount : displayCount; - } - if (memberSearchIndex) { - var mCount = 0; - $.each(memberSearchIndex, function(index, item) { - item.category = catMembers; - var s = nestedName(item); - if (exactMatcher.test(s)) { - mresult.push(item); - mCount++; - } else if (camelCaseMatcher.test(s)) { - mresult.push(item); - } else if (secondaryMatcher.test(item.c + "." + item.l)) { - secondaryresult.push(item); - } - }); - result = result.concat(concatResults(mresult, secondaryresult)); - displayCount = (mCount > displayCount) ? mCount : displayCount; - } - if (tagSearchIndex) { - var tgCount = 0; - $.each(tagSearchIndex, function(index, item) { - item.category = catSearchTags; - if (exactMatcher.test(item.l)) { - tgresult.push(item); - tgCount++; - } else if (secondaryMatcher.test(item.l)) { - secondaryresult.push(item); - } - }); - result = result.concat(concatResults(tgresult, secondaryresult)); - displayCount = (tgCount > displayCount) ? tgCount : displayCount; - } - displayCount = (displayCount > 500) ? displayCount : 500; - var counter = function() { - var count = {Modules: 0, Packages: 0, Types: 0, Members: 0, SearchTags: 0}; - var f = function(item) { - count[item.category] += 1; - return (count[item.category] <= displayCount); - }; - return f; - }(); - response(result.filter(counter)); - }, - response: function(event, ui) { - if (!ui.content.length) { - ui.content.push(noResult); - } else { - $("#search").empty(); - } - }, - autoFocus: true, - position: { - collision: "flip" - }, - select: function(event, ui) { - if (ui.item.l !== noResult.l) { - var url = getURLPrefix(ui); - if (ui.item.category === catModules) { - if (useModuleDirectories) { - url += "module-summary.html"; - } else { - url = ui.item.l + "-summary.html"; - } - } else if (ui.item.category === catPackages) { - if (ui.item.url) { - url = ui.item.url; - } else { - url += ui.item.l.replace(/\./g, '/') + "/package-summary.html"; - } - } else if (ui.item.category === catTypes) { - if (ui.item.url) { - url = ui.item.url; - } else if (ui.item.p === "") { - url += ui.item.l + ".html"; - } else { - url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.l + ".html"; - } - } else if (ui.item.category === catMembers) { - if (ui.item.p === "") { - url += ui.item.c + ".html" + "#"; - } else { - url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.c + ".html" + "#"; - } - if (ui.item.url) { - url += ui.item.url; - } else { - url += ui.item.l; - } - } else if (ui.item.category === catSearchTags) { - url += ui.item.u; - } - if (top !== window) { - parent.classFrame.location = pathtoroot + url; - } else { - window.location.href = pathtoroot + url; - } - } - } - }); -}); diff --git a/html/serialized-form.html b/html/serialized-form.html deleted file mode 100644 index 7d403c54..00000000 --- a/html/serialized-form.html +++ /dev/null @@ -1,553 +0,0 @@ - - - - - -Serialized Form (Javassist API) - - - - - - - - - - - - - - - -
    - -
    -
    -
    -

    Serialized Form

    -
    -
    -
      -
    • -
      -

      Package javassist

      -
        -
      • - - -

        Class javassist.CannotCompileException extends java.lang.Exception implements Serializable

        -
        -
        serialVersionUID:
        -
        1L
        -
        -
          -
        • -

          Serialized Fields

          -
            -
          • -

            message

            -
            java.lang.String message
            -
          • -
          • -

            myCause

            -
            java.lang.Throwable myCause
            -
          • -
          -
        • -
        -
      • -
      • - - -

        Class javassist.ClassMap extends java.util.HashMap<java.lang.String,​java.lang.String> implements Serializable

        -
        -
        serialVersionUID:
        -
        1L
        -
        -
          -
        • -

          Serialized Fields

          - -
        • -
        -
      • -
      • - - -

        Class javassist.NotFoundException extends java.lang.Exception implements Serializable

        -
        -
        serialVersionUID:
        -
        1L
        -
        -
      • -
      -
      -
    • -
    • -
      -

      Package javassist.bytecode

      - -
      -
    • -
    • -
      -

      Package javassist.bytecode.annotation

      - -
      -
    • -
    • -
      -

      Package javassist.tools.reflect

      -
        -
      • - - -

        Class javassist.tools.reflect.CannotCreateException extends java.lang.Exception implements Serializable

        -
        -
        serialVersionUID:
        -
        1L
        -
        -
      • -
      • - - -

        Class javassist.tools.reflect.CannotInvokeException extends java.lang.RuntimeException implements Serializable

        -
        -
        serialVersionUID:
        -
        1L
        -
        -
          -
        • -

          Serialized Fields

          -
            -
          • -

            err

            -
            java.lang.Throwable err
            -
          • -
          -
        • -
        -
      • -
      • - - -

        Class javassist.tools.reflect.CannotReflectException extends CannotCompileException implements Serializable

        -
        -
        serialVersionUID:
        -
        1L
        -
        -
      • -
      • - - -

        Class javassist.tools.reflect.ClassMetaobject extends java.lang.Object implements Serializable

        -
        -
        serialVersionUID:
        -
        1L
        -
        -
          -
        • -

          Serialization Methods

          -
            -
          • -

            readObject

            -
            private void readObject​(java.io.ObjectInputStream in)
            -                 throws java.io.IOException,
            -                        java.lang.ClassNotFoundException
            -
            -
            Throws:
            -
            java.io.IOException
            -
            java.lang.ClassNotFoundException
            -
            -
          • -
          • -

            writeObject

            -
            private void writeObject​(java.io.ObjectOutputStream out)
            -                  throws java.io.IOException
            -
            -
            Throws:
            -
            java.io.IOException
            -
            -
          • -
          -
        • -
        • -

          Serialized Fields

          -
            -
          • -

            constructors

            -
            java.lang.reflect.Constructor<?>[] constructors
            -
          • -
          • -

            javaClass

            -
            java.lang.Class<?> javaClass
            -
          • -
          • -

            methods

            -
            java.lang.reflect.Method[] methods
            -
          • -
          -
        • -
        -
      • -
      • - - -

        Class javassist.tools.reflect.Metaobject extends java.lang.Object implements Serializable

        -
        -
        serialVersionUID:
        -
        1L
        -
        -
          -
        • -

          Serialization Methods

          -
            -
          • -

            readObject

            -
            private void readObject​(java.io.ObjectInputStream in)
            -                 throws java.io.IOException,
            -                        java.lang.ClassNotFoundException
            -
            -
            Throws:
            -
            java.io.IOException
            -
            java.lang.ClassNotFoundException
            -
            -
          • -
          • -

            writeObject

            -
            private void writeObject​(java.io.ObjectOutputStream out)
            -                  throws java.io.IOException
            -
            -
            Throws:
            -
            java.io.IOException
            -
            -
          • -
          -
        • -
        • -

          Serialized Fields

          -
            -
          • -

            baseobject

            -
            Metalevel baseobject
            -
          • -
          • -

            classmetaobject

            -
            ClassMetaobject classmetaobject
            -
          • -
          • -

            methods

            -
            java.lang.reflect.Method[] methods
            -
          • -
          -
        • -
        -
      • -
      -
      -
    • -
    • -
      -

      Package javassist.tools.rmi

      -
        -
      • - - -

        Class javassist.tools.rmi.ObjectImporter extends java.lang.Object implements Serializable

        -
        -
        serialVersionUID:
        -
        1L
        -
        -
          -
        • -

          Serialized Fields

          -
            -
          • -

            endofline

            -
            byte[] endofline
            -
          • -
          • -

            lookupCommand

            -
            byte[] lookupCommand
            -
          • -
          • -

            orgPort

            -
            int orgPort
            -
          • -
          • -

            orgServername

            -
            java.lang.String orgServername
            -
          • -
          • -

            port

            -
            int port
            -
          • -
          • -

            rmiCommand

            -
            byte[] rmiCommand
            -
          • -
          • -

            servername

            -
            java.lang.String servername
            -
          • -
          -
        • -
        -
      • -
      • - - -

        Class javassist.tools.rmi.ObjectNotFoundException extends java.lang.Exception implements Serializable

        -
        -
        serialVersionUID:
        -
        1L
        -
        -
      • -
      • - - -

        Class javassist.tools.rmi.RemoteException extends java.lang.RuntimeException implements Serializable

        -
        -
        serialVersionUID:
        -
        1L
        -
        -
      • -
      • - - -

        Class javassist.tools.rmi.RemoteRef extends java.lang.Object implements Serializable

        -
        -
        serialVersionUID:
        -
        1L
        -
        -
          -
        • -

          Serialized Fields

          -
            -
          • -

            classname

            -
            java.lang.String classname
            -
          • -
          • -

            oid

            -
            int oid
            -
          • -
          -
        • -
        -
      • -
      -
      -
    • -
    • -
      -

      Package javassist.tools.web

      -
        -
      • - - -

        Class javassist.tools.web.BadHttpRequest extends java.lang.Exception implements Serializable

        -
        -
        serialVersionUID:
        -
        1L
        -
        -
          -
        • -

          Serialized Fields

          -
            -
          • -

            e

            -
            java.lang.Exception e
            -
          • -
          -
        • -
        -
      • -
      -
      -
    • -
    -
    -
    -
    - -

    Javassist, a Java-bytecode translator toolkit.
    -Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.

    -
    - - diff --git a/html/stylesheet.css b/html/stylesheet.css deleted file mode 100644 index fa246765..00000000 --- a/html/stylesheet.css +++ /dev/null @@ -1,906 +0,0 @@ -/* - * Javadoc style sheet - */ - -@import url('resources/fonts/dejavu.css'); - -/* - * Styles for individual HTML elements. - * - * These are styles that are specific to individual HTML elements. Changing them affects the style of a particular - * HTML element throughout the page. - */ - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; - padding:0; - height:100%; - width:100%; -} -iframe { - margin:0; - padding:0; - height:100%; - width:100%; - overflow-y:scroll; - border:none; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a[href]:hover, a[href]:focus { - text-decoration:none; - color:#bb7a2a; -} -a[name] { - color:#353833; -} -a[name]:before, a[name]:target, a[id]:before, a[id]:target { - content:""; - display:inline-block; - position:relative; - padding-top:129px; - margin-top:-129px; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} - -/* - * Styles for HTML generated by javadoc. - * - * These are style classes that are used by the standard doclet to generate HTML documentation. - */ - -/* - * Styles for document title and copyright. - */ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* - * Styles for navigation bar. - */ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.navPadding { - padding-top: 107px; -} -.fixedNav { - position:fixed; - width:100%; - z-index:999; - background-color:#ffffff; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.navListSearch { - float:right; - margin:0 0 0 0; - padding:0; -} -ul.navListSearch li { - list-style:none; - float:right; - padding: 5px 6px; - text-transform:uppercase; -} -ul.navListSearch li label { - position:relative; - right:-16px; -} -ul.subNavList li { - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* - * Styles for page header and footer. - */ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexNav { - position:relative; - font-size:12px; - background-color:#dee3e9; -} -.indexNav ul { - margin-top:0; - padding:5px; -} -.indexNav ul li { - display:inline; - list-style-type:none; - padding-right:10px; - text-transform:uppercase; -} -.indexNav h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* - * Styles for headings. - */ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* - * Styles for page layout containers. - */ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer, -.allClassesContainer, .allPackagesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* - * Styles for lists. - */ -li.circle { - list-style:circle; -} -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* - * Styles for tables. - */ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary, -.requiresSummary, .packagesSummary, .providesSummary, .usesSummary { - width:100%; - border-spacing:0; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary, .requiresSummary, .packagesSummary, .providesSummary, .usesSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption, -.requiresSummary caption, .packagesSummary caption, .providesSummary caption, .usesSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.constantsSummary caption a:link, .deprecatedSummary caption a:link, -.requiresSummary caption a:link, .packagesSummary caption a:link, .providesSummary caption a:link, -.usesSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.requiresSummary caption a:hover, .packagesSummary caption a:hover, .providesSummary caption a:hover, -.usesSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.constantsSummary caption a:active, .deprecatedSummary caption a:active, -.requiresSummary caption a:active, .packagesSummary caption a:active, .providesSummary caption a:active, -.usesSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.constantsSummary caption a:visited, .deprecatedSummary caption a:visited, -.requiresSummary caption a:visited, .packagesSummary caption a:visited, .providesSummary caption a:visited, -.usesSummary caption a:visited { - color:#FFFFFF; -} -.useSummary caption a:link, .useSummary caption a:hover, .useSummary caption a:active, -.useSummary caption a:visited { - color:#1f389c; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span, -.requiresSummary caption span, .packagesSummary caption span, .providesSummary caption span, -.usesSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span, .packagesSummary caption span.activeTableTab span, -.overviewSummary caption span.activeTableTab span, .typeSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span, .packagesSummary caption span.tableTab span, -.overviewSummary caption span.tableTab span, .typeSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab, -.packagesSummary caption span.tableTab, .packagesSummary caption span.activeTableTab, -.overviewSummary caption span.tableTab, .overviewSummary caption span.activeTableTab, -.typeSummary caption span.tableTab, .typeSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd, -.requiresSummary .tabEnd, .packagesSummary .tabEnd, .providesSummary .tabEnd, .usesSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd, .packagesSummary .activeTableTab .tabEnd, -.overviewSummary .activeTableTab .tabEnd, .typeSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd, .packagesSummary .tableTab .tabEnd, -.overviewSummary .tableTab .tabEnd, .typeSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; -} -.rowColor th, .altColor th { - font-weight:normal; -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td, -.requiresSummary td, .packagesSummary td, .providesSummary td, .usesSummary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.colFirst, th.colSecond, th.colLast, th.colConstructorName, th.colDeprecatedItemName, .useSummary th, -.constantsSummary th, .packagesSummary th, td.colFirst, td.colSecond, td.colLast, .useSummary td, -.constantsSummary td { - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colSecond, th.colLast, th.colConstructorName, th.colDeprecatedItemName, .constantsSummary th, -.packagesSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - font-size:13px; -} -td.colSecond, th.colSecond, td.colLast, th.colConstructorName, th.colDeprecatedItemName, th.colLast { - font-size:13px; -} -.constantsSummary th, .packagesSummary th { - font-size:13px; -} -.providesSummary th.colFirst, .providesSummary th.colLast, .providesSummary td.colFirst, -.providesSummary td.colLast { - white-space:normal; - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.requiresSummary td.colFirst, .requiresSummary th.colFirst, -.packagesSummary td.colFirst, .packagesSummary td.colSecond, .packagesSummary th.colFirst, .packagesSummary th, -.usesSummary td.colFirst, .usesSummary th.colFirst, -.providesSummary td.colFirst, .providesSummary th.colFirst, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colSecond, .memberSummary th.colSecond, .memberSummary th.colConstructorName, -.typeSummary td.colFirst, .typeSummary th.colFirst { - vertical-align:top; -} -.packagesSummary th.colLast, .packagesSummary td.colLast { - white-space:normal; -} -td.colFirst a:link, td.colFirst a:visited, -td.colSecond a:link, td.colSecond a:visited, -th.colFirst a:link, th.colFirst a:visited, -th.colSecond a:link, th.colSecond a:visited, -th.colConstructorName a:link, th.colConstructorName a:visited, -th.colDeprecatedItemName a:link, th.colDeprecatedItemName a:visited, -.constantValuesContainer td a:link, .constantValuesContainer td a:visited, -.allClassesContainer td a:link, .allClassesContainer td a:visited, -.allPackagesContainer td a:link, .allPackagesContainer td a:visited { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor, .altColor th { - background-color:#FFFFFF; -} -.rowColor, .rowColor th { - background-color:#EEEEEF; -} -/* - * Styles for contents. - */ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} -td.colLast div { - padding-top:0px; -} -td.colLast a { - padding-bottom:3px; -} -/* - * Styles for formatting effect. - */ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .implementationLabel, .memberNameLabel, .memberNameLink, -.moduleLabelInPackage, .moduleLabelInType, .overrideSpecifyLabel, .packageLabelInType, -.packageHierarchyLabel, .paramLabel, .returnLabel, .seeLabel, .simpleTagLabel, -.throwsLabel, .typeNameLabel, .typeNameLink, .searchTagLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} -.deprecationBlock { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; - border-style:solid; - border-width:thin; - border-radius:10px; - padding:10px; - margin-bottom:10px; - margin-right:10px; - display:inline-block; -} -div.block div.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} -div.contentContainer ul.blockList li.blockList h2 { - padding-bottom:0px; -} -/* - * Styles for IFRAME. - */ -.mainContainer { - margin:0 auto; - padding:0; - height:100%; - width:100%; - position:fixed; - top:0; - left:0; -} -.leftContainer { - height:100%; - position:fixed; - width:320px; -} -.leftTop { - position:relative; - float:left; - width:315px; - top:0; - left:0; - height:30%; - border-right:6px solid #ccc; - border-bottom:6px solid #ccc; -} -.leftBottom { - position:relative; - float:left; - width:315px; - bottom:0; - left:0; - height:70%; - border-right:6px solid #ccc; - border-top:1px solid #000; -} -.rightContainer { - position:absolute; - left:320px; - top:0; - bottom:0; - height:100%; - right:0; - border-left:1px solid #000; -} -.rightIframe { - margin:0; - padding:0; - height:100%; - right:30px; - width:100%; - overflow:visible; - margin-bottom:30px; -} -/* - * Styles specific to HTML5 elements. - */ -main, nav, header, footer, section { - display:block; -} -/* - * Styles for javadoc search. - */ -.ui-autocomplete-category { - font-weight:bold; - font-size:15px; - padding:7px 0 7px 3px; - background-color:#4D7A97; - color:#FFFFFF; -} -.resultItem { - font-size:13px; -} -.ui-autocomplete { - max-height:85%; - max-width:65%; - overflow-y:scroll; - overflow-x:scroll; - white-space:nowrap; - box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); -} -ul.ui-autocomplete { - position:fixed; - z-index:999999; -} -ul.ui-autocomplete li { - float:left; - clear:both; - width:100%; -} -.resultHighlight { - font-weight:bold; -} -#search { - background-image:url('resources/glass.png'); - background-size:13px; - background-repeat:no-repeat; - background-position:2px 3px; - padding-left:20px; - position:relative; - right:-18px; -} -#reset { - background-color: rgb(255,255,255); - background-image:url('resources/x.png'); - background-position:center; - background-repeat:no-repeat; - background-size:12px; - border:0 none; - width:16px; - height:17px; - position:relative; - left:-4px; - top:-4px; - font-size:0px; -} -.watermark { - color:#545454; -} -.searchTagDescResult { - font-style:italic; - font-size:11px; -} -.searchTagHolderResult { - font-style:italic; - font-size:12px; -} -.searchTagResult:before, .searchTagResult:target { - color:red; -} -.moduleGraph span { - display:none; - position:absolute; -} -.moduleGraph:hover span { - display:block; - margin: -100px 0 0 100px; - z-index: 1; -} -.methodSignature { - white-space:normal; -} - -/* - * Styles for user-provided tables. - * - * borderless: - * No borders, vertical margins, styled caption. - * This style is provided for use with existing doc comments. - * In general, borderless tables should not be used for layout purposes. - * - * plain: - * Plain borders around table and cells, vertical margins, styled caption. - * Best for small tables or for complex tables for tables with cells that span - * rows and columns, when the "striped" style does not work well. - * - * striped: - * Borders around the table and vertical borders between cells, striped rows, - * vertical margins, styled caption. - * Best for tables that have a header row, and a body containing a series of simple rows. - */ - -table.borderless, -table.plain, -table.striped { - margin-top: 10px; - margin-bottom: 10px; -} -table.borderless > caption, -table.plain > caption, -table.striped > caption { - font-weight: bold; - font-size: smaller; -} -table.borderless th, table.borderless td, -table.plain th, table.plain td, -table.striped th, table.striped td { - padding: 2px 5px; -} -table.borderless, -table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th, -table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td { - border: none; -} -table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr { - background-color: transparent; -} -table.plain { - border-collapse: collapse; - border: 1px solid black; -} -table.plain > thead > tr, table.plain > tbody tr, table.plain > tr { - background-color: transparent; -} -table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th, -table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td { - border: 1px solid black; -} -table.striped { - border-collapse: collapse; - border: 1px solid black; -} -table.striped > thead { - background-color: #E3E3E3; -} -table.striped > thead > tr > th, table.striped > thead > tr > td { - border: 1px solid black; -} -table.striped > tbody > tr:nth-child(even) { - background-color: #EEE -} -table.striped > tbody > tr:nth-child(odd) { - background-color: #FFF -} -table.striped > tbody > tr > th, table.striped > tbody > tr > td { - border-left: 1px solid black; - border-right: 1px solid black; -} -table.striped > tbody > tr > th { - font-weight: normal; -} diff --git a/html/type-search-index.js b/html/type-search-index.js deleted file mode 100644 index fd9bcca2..00000000 --- a/html/type-search-index.js +++ /dev/null @@ -1 +0,0 @@ -typeSearchIndex = [{"p":"javassist.bytecode","l":"AccessFlag"},{"l":"All Classes","url":"allclasses-index.html"},{"p":"javassist.bytecode.analysis","l":"Analyzer"},{"p":"javassist.bytecode.annotation","l":"Annotation"},{"p":"javassist.bytecode","l":"AnnotationDefaultAttribute"},{"p":"javassist.bytecode.annotation","l":"AnnotationImpl"},{"p":"javassist.bytecode.annotation","l":"AnnotationMemberValue"},{"p":"javassist.bytecode","l":"AnnotationsAttribute"},{"p":"javassist.bytecode.annotation","l":"AnnotationsWriter"},{"p":"javassist.tools.rmi","l":"AppletServer"},{"p":"javassist","l":"CodeConverter.ArrayAccessReplacementMethodNames"},{"p":"javassist.bytecode.annotation","l":"ArrayMemberValue"},{"p":"javassist.bytecode","l":"SignatureAttribute.ArrayType"},{"p":"javassist.bytecode","l":"AttributeInfo"},{"p":"javassist.bytecode","l":"ClassFileWriter.AttributeWriter"},{"p":"javassist.bytecode","l":"BadBytecode"},{"p":"javassist.tools.web","l":"BadHttpRequest"},{"p":"javassist.bytecode","l":"SignatureAttribute.BaseType"},{"p":"javassist.bytecode.analysis","l":"ControlFlow.Block"},{"p":"javassist.bytecode.annotation","l":"BooleanMemberValue"},{"p":"javassist.bytecode","l":"BootstrapMethodsAttribute.BootstrapMethod"},{"p":"javassist.bytecode","l":"BootstrapMethodsAttribute"},{"p":"javassist.bytecode","l":"ByteArray"},{"p":"javassist","l":"ByteArrayClassPath"},{"p":"javassist.bytecode","l":"Bytecode"},{"p":"javassist.bytecode.annotation","l":"ByteMemberValue"},{"p":"javassist.tools","l":"Callback"},{"p":"javassist","l":"CannotCompileException"},{"p":"javassist.tools.reflect","l":"CannotCreateException"},{"p":"javassist.tools.reflect","l":"CannotInvokeException"},{"p":"javassist.tools.reflect","l":"CannotReflectException"},{"p":"javassist.expr","l":"Cast"},{"p":"javassist.bytecode.analysis","l":"ControlFlow.Catcher"},{"p":"javassist.runtime","l":"Cflow"},{"p":"javassist.bytecode.annotation","l":"CharMemberValue"},{"p":"javassist","l":"ClassClassPath"},{"p":"javassist.bytecode","l":"ClassFile"},{"p":"javassist.bytecode","l":"ClassFilePrinter"},{"p":"javassist.bytecode","l":"ClassFileWriter"},{"p":"javassist.util.proxy","l":"ProxyFactory.ClassLoaderProvider"},{"p":"javassist","l":"ClassMap"},{"p":"javassist.bytecode.annotation","l":"ClassMemberValue"},{"p":"javassist.tools.reflect","l":"ClassMetaobject"},{"p":"javassist","l":"ClassPath"},{"p":"javassist","l":"ClassPool"},{"p":"javassist.bytecode","l":"SignatureAttribute.ClassSignature"},{"p":"javassist.bytecode","l":"SignatureAttribute.ClassType"},{"p":"javassist.bytecode","l":"CodeAttribute"},{"p":"javassist","l":"CodeConverter"},{"p":"javassist.bytecode","l":"CodeIterator"},{"p":"javassist.tools.reflect","l":"Compiler"},{"p":"javassist.bytecode","l":"ConstantAttribute"},{"p":"javassist","l":"CtMethod.ConstParameter"},{"p":"javassist.bytecode","l":"ConstPool"},{"p":"javassist.bytecode","l":"ClassFileWriter.ConstPoolWriter"},{"p":"javassist.expr","l":"ConstructorCall"},{"p":"javassist.bytecode.analysis","l":"ControlFlow"},{"p":"javassist","l":"CtBehavior"},{"p":"javassist","l":"CtClass"},{"p":"javassist","l":"CtConstructor"},{"p":"javassist","l":"CtField"},{"p":"javassist","l":"CtMember"},{"p":"javassist","l":"CtMethod"},{"p":"javassist","l":"CtNewConstructor"},{"p":"javassist","l":"CtNewMethod"},{"p":"javassist","l":"CtPrimitiveType"},{"p":"javassist","l":"CodeConverter.DefaultArrayAccessReplacementMethodNames"},{"p":"javassist.util.proxy","l":"DefineClassHelper"},{"p":"javassist.util.proxy","l":"DefinePackageHelper"},{"p":"javassist.bytecode","l":"DeprecatedAttribute"},{"p":"javassist.runtime","l":"Desc"},{"p":"javassist.bytecode","l":"Descriptor"},{"p":"javassist.runtime","l":"DotClass"},{"p":"javassist.bytecode.annotation","l":"DoubleMemberValue"},{"p":"javassist.tools","l":"Dump"},{"p":"javassist.bytecode","l":"DuplicateMemberException"},{"p":"javassist.bytecode","l":"EnclosingMethodAttribute"},{"p":"javassist.bytecode.annotation","l":"EnumMemberValue"},{"p":"javassist.bytecode","l":"ExceptionsAttribute"},{"p":"javassist.bytecode","l":"ExceptionTable"},{"p":"javassist.bytecode.analysis","l":"Executor"},{"p":"javassist.expr","l":"Expr"},{"p":"javassist.expr","l":"ExprEditor"},{"p":"javassist.util.proxy","l":"FactoryHelper"},{"p":"javassist.expr","l":"FieldAccess"},{"p":"javassist.bytecode","l":"FieldInfo"},{"p":"javassist.bytecode","l":"ClassFileWriter.FieldWriter"},{"p":"javassist.bytecode.annotation","l":"FloatMemberValue"},{"p":"javassist.bytecode.analysis","l":"Frame"},{"p":"javassist.tools","l":"framedump"},{"p":"javassist.bytecode.analysis","l":"FramePrinter"},{"p":"javassist.bytecode","l":"CodeIterator.Gap"},{"p":"javassist.expr","l":"Handler"},{"p":"javassist.util","l":"HotSwapAgent"},{"p":"javassist.util","l":"HotSwapper"},{"p":"javassist","l":"CtField.Initializer"},{"p":"javassist.runtime","l":"Inner"},{"p":"javassist.bytecode","l":"InnerClassesAttribute"},{"p":"javassist.expr","l":"Instanceof"},{"p":"javassist.bytecode","l":"InstructionPrinter"},{"p":"javassist.bytecode.annotation","l":"IntegerMemberValue"},{"p":"javassist.bytecode","l":"Descriptor.Iterator"},{"p":"javassist.bytecode","l":"LineNumberAttribute"},{"p":"javassist","l":"Loader"},{"p":"javassist.tools.reflect","l":"Loader"},{"p":"javassist","l":"LoaderClassPath"},{"p":"javassist.bytecode","l":"LocalVariableAttribute"},{"p":"javassist.bytecode","l":"LocalVariableTypeAttribute"},{"p":"javassist.bytecode.annotation","l":"LongMemberValue"},{"p":"javassist.bytecode.annotation","l":"MemberValue"},{"p":"javassist.bytecode.annotation","l":"MemberValueVisitor"},{"p":"javassist.tools.reflect","l":"Metalevel"},{"p":"javassist.tools.reflect","l":"Metaobject"},{"p":"javassist.expr","l":"MethodCall"},{"p":"javassist.util.proxy","l":"MethodFilter"},{"p":"javassist.util.proxy","l":"MethodHandler"},{"p":"javassist.bytecode","l":"MethodInfo"},{"p":"javassist.bytecode","l":"MethodParametersAttribute"},{"p":"javassist.bytecode","l":"SignatureAttribute.MethodSignature"},{"p":"javassist.bytecode","l":"ClassFileWriter.MethodWriter"},{"p":"javassist.bytecode","l":"Mnemonic"},{"p":"javassist","l":"Modifier"},{"p":"javassist.bytecode.analysis","l":"MultiArrayType"},{"p":"javassist.bytecode.analysis","l":"MultiType"},{"p":"javassist.bytecode","l":"SignatureAttribute.NestedClassType"},{"p":"javassist.bytecode","l":"NestHostAttribute"},{"p":"javassist.bytecode","l":"NestMembersAttribute"},{"p":"javassist.expr","l":"NewArray"},{"p":"javassist.expr","l":"NewExpr"},{"p":"javassist.bytecode.analysis","l":"ControlFlow.Node"},{"p":"javassist.bytecode.annotation","l":"NoSuchClassError"},{"p":"javassist","l":"NotFoundException"},{"p":"javassist.tools.rmi","l":"ObjectImporter"},{"p":"javassist.tools.rmi","l":"ObjectNotFoundException"},{"p":"javassist.bytecode","l":"SignatureAttribute.ObjectType"},{"p":"javassist.bytecode","l":"Opcode"},{"p":"javassist.bytecode","l":"ParameterAnnotationsAttribute"},{"p":"javassist.bytecode","l":"LineNumberAttribute.Pc"},{"p":"javassist.tools.rmi","l":"Proxy"},{"p":"javassist.util.proxy","l":"Proxy"},{"p":"javassist.util.proxy","l":"ProxyFactory"},{"p":"javassist.util.proxy","l":"ProxyObject"},{"p":"javassist.util.proxy","l":"ProxyObjectInputStream"},{"p":"javassist.util.proxy","l":"ProxyObjectOutputStream"},{"p":"javassist.tools.reflect","l":"Reflection"},{"p":"javassist.tools.rmi","l":"RemoteException"},{"p":"javassist.tools.rmi","l":"RemoteRef"},{"p":"javassist.bytecode","l":"CodeAttribute.RuntimeCopyException"},{"p":"javassist.bytecode","l":"StackMapTable.RuntimeCopyException"},{"p":"javassist.util.proxy","l":"RuntimeSupport"},{"p":"javassist.tools.reflect","l":"Sample"},{"p":"javassist.tools.rmi","l":"Sample"},{"p":"javassist","l":"SerialVersionUID"},{"p":"javassist.bytecode.annotation","l":"ShortMemberValue"},{"p":"javassist.bytecode","l":"SignatureAttribute"},{"p":"javassist","l":"Loader.Simple"},{"p":"javassist.bytecode","l":"SourceFileAttribute"},{"p":"javassist.bytecode","l":"StackMap"},{"p":"javassist.bytecode","l":"StackMapTable"},{"p":"javassist.bytecode.annotation","l":"StringMemberValue"},{"p":"javassist.tools.rmi","l":"StubGenerator"},{"p":"javassist.bytecode.analysis","l":"Subroutine"},{"p":"javassist.bytecode.analysis","l":"SubroutineScanner"},{"p":"javassist.bytecode","l":"SyntheticAttribute"},{"p":"javassist","l":"Translator"},{"p":"javassist.bytecode","l":"SignatureAttribute.Type"},{"p":"javassist.bytecode.analysis","l":"Type"},{"p":"javassist.bytecode","l":"TypeAnnotationsAttribute"},{"p":"javassist.bytecode.annotation","l":"TypeAnnotationsWriter"},{"p":"javassist.bytecode","l":"SignatureAttribute.TypeArgument"},{"p":"javassist.bytecode","l":"SignatureAttribute.TypeParameter"},{"p":"javassist.bytecode","l":"SignatureAttribute.TypeVariable"},{"p":"javassist.util.proxy","l":"ProxyFactory.UniqueName"},{"p":"javassist","l":"URLClassPath"},{"p":"javassist.bytecode.analysis","l":"Util"},{"p":"javassist.tools.web","l":"Viewer"},{"p":"javassist.bytecode","l":"StackMap.Walker"},{"p":"javassist.bytecode","l":"StackMapTable.Walker"},{"p":"javassist.tools.web","l":"Webserver"},{"p":"javassist.bytecode","l":"StackMap.Writer"},{"p":"javassist.bytecode","l":"StackMapTable.Writer"}] \ No newline at end of file diff --git a/html/type-search-index.zip b/html/type-search-index.zip deleted file mode 100644 index 3361e6170abf679aac2a48de2be8b14e55c44b90..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1625 zcmZvdYd8}M7{}Mx#UIQG=`WkFuHW3!5ZgGovl6~MSTqJ}pg^WRKu&dniD z1cRQ5x$9>$oOV)vkvLZjIXw}uIcr2`uT_}ZllvQBn~270^9KxI1l{c2>s6CGiBH@C z9%911%!5m4`vOQ9T+!ci&*ZB439HWu92ch987CT70K2D9uw$r1N?%0NQ+}>c1zwxH0!>eIIvuUdar;nq#zny~F8QLd z@s8VrsVAhP5vJRfD+>Q6K$(2_B=r(oO|mQDzW$(kjKkxpn6vM277b3pxe@nhLXE~ItUoGDI?lNtUk0TYnw;eLsx{a=wJZZvZU8!+K4JlJ0M;#U8W`Kuav{5IyePx}nvtsGnLd zjrYXFXb3(RbiUoP=MHZte|ljUyZB}}u7EbZw{O(9HYV$o5?zR%icKh`+d789PP6ie zw#?sjs2|nsa~Eri4!!LU^NLD;hb9G&x0Io?<%f*dk9LQU5RpO#9t%vo~VsF^aKw1av97OR4mcdm-GYaWY99OUm44d$$k~wc2mE3#~ zORW1aWbMk_4Wv@MN5k(p(=-IuTked-*rXP%QC|f!I5L$rcftrsdigLe98@}s)p_rM zZ3qtR4HWO{V6$;P_=73ayqar~5AC$LPL)IXEozv`dEBE=-IQRkH_{?l?YUI-Aa73m zbc16e`$AKtxj<>LViImz-!>%?K&qWbjP9+TbJ+5ps-|`go2jjcPx{4x##1|d3qjNS ze5O7oo9NdN4M9cPIbXbv?;G?yn>RPYSsvAYBF78(gdD(V*RNvx_sMa)zJd`s36N5ze5r`dU zSf(LdyAF0(8+j4PD2=a6@3n}6xob-VKb3~e?itaP$B0sPo~7r=k{e;wd3 TAn^CQZQsWJ+m?L$4FLQDdT;y% -- 2.39.5