clojure 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +21 -0
- data/LICENSE +23 -0
- data/README.rdoc +18 -0
- data/Rakefile +18 -0
- data/VERSION +1 -0
- data/bin/clj +13 -0
- data/epl-v10.html +261 -0
- data/lib/clojure/asm/AnnotationVisitor.class +0 -0
- data/lib/clojure/asm/AnnotationWriter.class +0 -0
- data/lib/clojure/asm/Attribute.class +0 -0
- data/lib/clojure/asm/ByteVector.class +0 -0
- data/lib/clojure/asm/ClassAdapter.class +0 -0
- data/lib/clojure/asm/ClassReader.class +0 -0
- data/lib/clojure/asm/ClassVisitor.class +0 -0
- data/lib/clojure/asm/ClassWriter.class +0 -0
- data/lib/clojure/asm/Edge.class +0 -0
- data/lib/clojure/asm/FieldVisitor.class +0 -0
- data/lib/clojure/asm/FieldWriter.class +0 -0
- data/lib/clojure/asm/Frame.class +0 -0
- data/lib/clojure/asm/Handler.class +0 -0
- data/lib/clojure/asm/Item.class +0 -0
- data/lib/clojure/asm/Label.class +0 -0
- data/lib/clojure/asm/MethodAdapter.class +0 -0
- data/lib/clojure/asm/MethodVisitor.class +0 -0
- data/lib/clojure/asm/MethodWriter.class +0 -0
- data/lib/clojure/asm/Opcodes.class +0 -0
- data/lib/clojure/asm/Type.class +0 -0
- data/lib/clojure/asm/commons/AdviceAdapter.class +0 -0
- data/lib/clojure/asm/commons/AnalyzerAdapter.class +0 -0
- data/lib/clojure/asm/commons/CodeSizeEvaluator.class +0 -0
- data/lib/clojure/asm/commons/EmptyVisitor.class +0 -0
- data/lib/clojure/asm/commons/GeneratorAdapter.class +0 -0
- data/lib/clojure/asm/commons/LocalVariablesSorter.class +0 -0
- data/lib/clojure/asm/commons/Method.class +0 -0
- data/lib/clojure/asm/commons/SerialVersionUIDAdder$Item.class +0 -0
- data/lib/clojure/asm/commons/SerialVersionUIDAdder.class +0 -0
- data/lib/clojure/asm/commons/StaticInitMerger.class +0 -0
- data/lib/clojure/asm/commons/TableSwitchGenerator.class +0 -0
- data/lib/clojure/core$_DOT__DOT___3630.class +0 -0
- data/lib/clojure/core$_EQ__EQ___3398.class +0 -0
- data/lib/clojure/core$_EQ___3291.class +0 -0
- data/lib/clojure/core$_GT__EQ___3390.class +0 -0
- data/lib/clojure/core$_GT___3382.class +0 -0
- data/lib/clojure/core$_LT__EQ___3374.class +0 -0
- data/lib/clojure/core$_LT___3366.class +0 -0
- data/lib/clojure/core$_PLUS___3332.class +0 -0
- data/lib/clojure/core$_SLASH___3350.class +0 -0
- data/lib/clojure/core$_STAR___3341.class +0 -0
- data/lib/clojure/core$__GT___3634.class +0 -0
- data/lib/clojure/core$___3358.class +0 -0
- data/lib/clojure/core$accessor__4294.class +0 -0
- data/lib/clojure/core$aclone__4211.class +0 -0
- data/lib/clojure/core$add_classpath__4707.class +0 -0
- data/lib/clojure/core$add_doc__5153.class +0 -0
- data/lib/clojure/core$add_watch__3697.class +0 -0
- data/lib/clojure/core$add_watcher__3703$fn__3705.class +0 -0
- data/lib/clojure/core$add_watcher__3703.class +0 -0
- data/lib/clojure/core$agent__3684.class +0 -0
- data/lib/clojure/core$agent_errors__3712.class +0 -0
- data/lib/clojure/core$aget__4217.class +0 -0
- data/lib/clojure/core$alength__4205.class +0 -0
- data/lib/clojure/core$alias__4367.class +0 -0
- data/lib/clojure/core$all_ns__4318.class +0 -0
- data/lib/clojure/core$alter__3759.class +0 -0
- data/lib/clojure/core$alter_meta_BANG___3750.class +0 -0
- data/lib/clojure/core$alter_var_root__4827.class +0 -0
- data/lib/clojure/core$amap__4725.class +0 -0
- data/lib/clojure/core$ancestors__4866$fn__4869.class +0 -0
- data/lib/clojure/core$ancestors__4866.class +0 -0
- data/lib/clojure/core$and__3308.class +0 -0
- data/lib/clojure/core$apply__3243.class +0 -0
- data/lib/clojure/core$areduce__4729.class +0 -0
- data/lib/clojure/core$array__4040.class +0 -0
- data/lib/clojure/core$array_map__4401.class +0 -0
- data/lib/clojure/core$aset__4224.class +0 -0
- data/lib/clojure/core$aset_boolean__4244.class +0 -0
- data/lib/clojure/core$aset_byte__4260.class +0 -0
- data/lib/clojure/core$aset_char__4264.class +0 -0
- data/lib/clojure/core$aset_double__4252.class +0 -0
- data/lib/clojure/core$aset_float__4248.class +0 -0
- data/lib/clojure/core$aset_int__4236.class +0 -0
- data/lib/clojure/core$aset_long__4240.class +0 -0
- data/lib/clojure/core$aset_short__4256.class +0 -0
- data/lib/clojure/core$asm_type__5683.class +0 -0
- data/lib/clojure/core$assert__4528.class +0 -0
- data/lib/clojure/core$assert_args__3659.class +0 -0
- data/lib/clojure/core$assoc__3148.class +0 -0
- data/lib/clojure/core$assoc_in__5075.class +0 -0
- data/lib/clojure/core$associative_QMARK___5102.class +0 -0
- data/lib/clojure/core$atom__3728.class +0 -0
- data/lib/clojure/core$await1__4014.class +0 -0
- data/lib/clojure/core$await__4007$count_down__4009.class +0 -0
- data/lib/clojure/core$await__4007.class +0 -0
- data/lib/clojure/core$await_for__4017$count_down__4019.class +0 -0
- data/lib/clojure/core$await_for__4017.class +0 -0
- data/lib/clojure/core$bases__4836.class +0 -0
- data/lib/clojure/core$bean__5303$fn__5305$fn__5307.class +0 -0
- data/lib/clojure/core$bean__5303$fn__5305.class +0 -0
- data/lib/clojure/core$bean__5303$fn__5321$thisfn__5323$fn__5324.class +0 -0
- data/lib/clojure/core$bean__5303$fn__5321$thisfn__5323.class +0 -0
- data/lib/clojure/core$bean__5303$fn__5321.class +0 -0
- data/lib/clojure/core$bean__5303$fn__5330.class +0 -0
- data/lib/clojure/core$bean__5303$fn__5333.class +0 -0
- data/lib/clojure/core$bean__5303$fn__5336.class +0 -0
- data/lib/clojure/core$bean__5303$fn__5339.class +0 -0
- data/lib/clojure/core$bean__5303$fn__5342.class +0 -0
- data/lib/clojure/core$bean__5303$fn__5346.class +0 -0
- data/lib/clojure/core$bean__5303$fn__5349.class +0 -0
- data/lib/clojure/core$bean__5303$snapshot__5315$fn__5317.class +0 -0
- data/lib/clojure/core$bean__5303$snapshot__5315.class +0 -0
- data/lib/clojure/core$bean__5303$v__5312.class +0 -0
- data/lib/clojure/core$bean__5303.class +0 -0
- data/lib/clojure/core$bigdec__4136.class +0 -0
- data/lib/clojure/core$bigint__4133.class +0 -0
- data/lib/clojure/core$binding__3672$var_ize__3674.class +0 -0
- data/lib/clojure/core$binding__3672.class +0 -0
- data/lib/clojure/core$bit_and__3509.class +0 -0
- data/lib/clojure/core$bit_and_not__3524.class +0 -0
- data/lib/clojure/core$bit_clear__3527.class +0 -0
- data/lib/clojure/core$bit_flip__3533.class +0 -0
- data/lib/clojure/core$bit_not__3503.class +0 -0
- data/lib/clojure/core$bit_or__3515.class +0 -0
- data/lib/clojure/core$bit_set__3530.class +0 -0
- data/lib/clojure/core$bit_shift_left__3539.class +0 -0
- data/lib/clojure/core$bit_shift_right__3542.class +0 -0
- data/lib/clojure/core$bit_test__3536.class +0 -0
- data/lib/clojure/core$bit_xor__3521.class +0 -0
- data/lib/clojure/core$boolean__4101.class +0 -0
- data/lib/clojure/core$bound_fn__4679$fn__4681.class +0 -0
- data/lib/clojure/core$bound_fn__4679.class +0 -0
- data/lib/clojure/core$butlast__3156.class +0 -0
- data/lib/clojure/core$byte__4089.class +0 -0
- data/lib/clojure/core$cast__3160.class +0 -0
- data/lib/clojure/core$char__4095.class +0 -0
- data/lib/clojure/core$class_QMARK___4824.class +0 -0
- data/lib/clojure/core$class__4043.class +0 -0
- data/lib/clojure/core$clear_agent_errors__3715.class +0 -0
- data/lib/clojure/core$clojure_version__5781.class +0 -0
- data/lib/clojure/core$coll_QMARK___5087.class +0 -0
- data/lib/clojure/core$comment__4501.class +0 -0
- data/lib/clojure/core$commute__3756.class +0 -0
- data/lib/clojure/core$comp__3775$fn__3777.class +0 -0
- data/lib/clojure/core$comp__3775.class +0 -0
- data/lib/clojure/core$comparator__3965$fn__3967.class +0 -0
- data/lib/clojure/core$comparator__3965.class +0 -0
- data/lib/clojure/core$compare__3304.class +0 -0
- data/lib/clojure/core$compare_and_set_BANG___3738.class +0 -0
- data/lib/clojure/core$compile__5065$fn__5067.class +0 -0
- data/lib/clojure/core$compile__5065.class +0 -0
- data/lib/clojure/core$complement__3551$fn__3553.class +0 -0
- data/lib/clojure/core$complement__3551.class +0 -0
- data/lib/clojure/core$concat__3255$cat__3269$fn__3270.class +0 -0
- data/lib/clojure/core$concat__3255$cat__3269.class +0 -0
- data/lib/clojure/core$concat__3255$fn__3257.class +0 -0
- data/lib/clojure/core$concat__3255$fn__3261.class +0 -0
- data/lib/clojure/core$concat__3255$fn__3265.class +0 -0
- data/lib/clojure/core$concat__3255.class +0 -0
- data/lib/clojure/core$cond__3237.class +0 -0
- data/lib/clojure/core$condp__5146$emit__5148.class +0 -0
- data/lib/clojure/core$condp__5146.class +0 -0
- data/lib/clojure/core$conj__3121.class +0 -0
- data/lib/clojure/core$cons__3107.class +0 -0
- data/lib/clojure/core$constantly__3560$fn__3562.class +0 -0
- data/lib/clojure/core$constantly__3560.class +0 -0
- data/lib/clojure/core$construct_proxy__5265.class +0 -0
- data/lib/clojure/core$contains_QMARK___3582.class +0 -0
- data/lib/clojure/core$count__3569.class +0 -0
- data/lib/clojure/core$counted_QMARK___5111.class +0 -0
- data/lib/clojure/core$create_ns__4312.class +0 -0
- data/lib/clojure/core$create_struct__4282.class +0 -0
- data/lib/clojure/core$ctor_sigs__5565$iter__5567__5569$fn__5570.class +0 -0
- data/lib/clojure/core$ctor_sigs__5565$iter__5567__5569.class +0 -0
- data/lib/clojure/core$ctor_sigs__5565.class +0 -0
- data/lib/clojure/core$cycle__3899$fn__3901.class +0 -0
- data/lib/clojure/core$cycle__3899.class +0 -0
- data/lib/clojure/core$dec__3422.class +0 -0
- data/lib/clojure/core$decimal_QMARK___4121.class +0 -0
- data/lib/clojure/core$declare__5118$fn__5120.class +0 -0
- data/lib/clojure/core$declare__5118.class +0 -0
- data/lib/clojure/core$def_aset__4233.class +0 -0
- data/lib/clojure/core$definline__4716.class +0 -0
- data/lib/clojure/core$defmacro__3190.class +0 -0
- data/lib/clojure/core$defmethod__3641.class +0 -0
- data/lib/clojure/core$defmulti__3638.class +0 -0
- data/lib/clojure/core$defn__3158.class +0 -0
- data/lib/clojure/core$defn___4565.class +0 -0
- data/lib/clojure/core$defonce__4973.class +0 -0
- data/lib/clojure/core$defstruct__4285.class +0 -0
- data/lib/clojure/core$delay_QMARK___3278.class +0 -0
- data/lib/clojure/core$delay__3275.class +0 -0
- data/lib/clojure/core$deref__3725.class +0 -0
- data/lib/clojure/core$derive__4877$tf__4880$fn__4882.class +0 -0
- data/lib/clojure/core$derive__4877$tf__4880.class +0 -0
- data/lib/clojure/core$derive__4877.class +0 -0
- data/lib/clojure/core$descendants__4873.class +0 -0
- data/lib/clojure/core$destructure__4413$pb__4415$pmap__4419$fn__4421$fn__4423.class +0 -0
- data/lib/clojure/core$destructure__4413$pb__4415$pmap__4419$fn__4421.class +0 -0
- data/lib/clojure/core$destructure__4413$pb__4415$pmap__4419$fn__4427.class +0 -0
- data/lib/clojure/core$destructure__4413$pb__4415$pmap__4419$fn__4430.class +0 -0
- data/lib/clojure/core$destructure__4413$pb__4415$pmap__4419.class +0 -0
- data/lib/clojure/core$destructure__4413$pb__4415$pvec__4416.class +0 -0
- data/lib/clojure/core$destructure__4413$pb__4415.class +0 -0
- data/lib/clojure/core$destructure__4413$process_entry__4436.class +0 -0
- data/lib/clojure/core$destructure__4413.class +0 -0
- data/lib/clojure/core$disj__3594.class +0 -0
- data/lib/clojure/core$dissoc__3589.class +0 -0
- data/lib/clojure/core$distinct_QMARK___4901.class +0 -0
- data/lib/clojure/core$distinct__4646$step__4648$fn__4649$fn__4652.class +0 -0
- data/lib/clojure/core$distinct__4646$step__4648$fn__4649.class +0 -0
- data/lib/clojure/core$distinct__4646$step__4648.class +0 -0
- data/lib/clojure/core$distinct__4646.class +0 -0
- data/lib/clojure/core$doall__4003.class +0 -0
- data/lib/clojure/core$doc__4590.class +0 -0
- data/lib/clojure/core$dorun__3998.class +0 -0
- data/lib/clojure/core$doseq__3993$step__3995.class +0 -0
- data/lib/clojure/core$doseq__3993.class +0 -0
- data/lib/clojure/core$dosync__4672.class +0 -0
- data/lib/clojure/core$dotimes__4025.class +0 -0
- data/lib/clojure/core$doto__4187$fn__4189.class +0 -0
- data/lib/clojure/core$doto__4187.class +0 -0
- data/lib/clojure/core$double__4077.class +0 -0
- data/lib/clojure/core$double_array__4742.class +0 -0
- data/lib/clojure/core$doubles__4790.class +0 -0
- data/lib/clojure/core$drop__3872$fn__3878.class +0 -0
- data/lib/clojure/core$drop__3872$step__3874.class +0 -0
- data/lib/clojure/core$drop__3872.class +0 -0
- data/lib/clojure/core$drop_last__3882$fn__3885.class +0 -0
- data/lib/clojure/core$drop_last__3882.class +0 -0
- data/lib/clojure/core$drop_while__3889$fn__3895.class +0 -0
- data/lib/clojure/core$drop_while__3889$step__3891.class +0 -0
- data/lib/clojure/core$drop_while__3889.class +0 -0
- data/lib/clojure/core$empty_QMARK___5084.class +0 -0
- data/lib/clojure/core$empty__4721.class +0 -0
- data/lib/clojure/core$ensure__3765.class +0 -0
- data/lib/clojure/core$enumeration_seq__4935.class +0 -0
- data/lib/clojure/core$escape_class_name__5576.class +0 -0
- data/lib/clojure/core$eval__3990.class +0 -0
- data/lib/clojure/core$eval__4760$fn__4762.class +0 -0
- data/lib/clojure/core$eval__4760.class +0 -0
- data/lib/clojure/core$eval__4772$fn__4774.class +0 -0
- data/lib/clojure/core$eval__4772.class +0 -0
- data/lib/clojure/core$eval__4784$fn__4786.class +0 -0
- data/lib/clojure/core$eval__4784.class +0 -0
- data/lib/clojure/core$eval__4796$fn__4798.class +0 -0
- data/lib/clojure/core$eval__4796.class +0 -0
- data/lib/clojure/core$even_QMARK___3545.class +0 -0
- data/lib/clojure/core$every_QMARK___3806.class +0 -0
- data/lib/clojure/core$false_QMARK___3202.class +0 -0
- data/lib/clojure/core$ffirst__3125.class +0 -0
- data/lib/clojure/core$file_seq__4601$fn__4603.class +0 -0
- data/lib/clojure/core$file_seq__4601$fn__4606.class +0 -0
- data/lib/clojure/core$file_seq__4601.class +0 -0
- data/lib/clojure/core$filter__3845$fn__3851.class +0 -0
- data/lib/clojure/core$filter__3845$step__3847.class +0 -0
- data/lib/clojure/core$filter__3845.class +0 -0
- data/lib/clojure/core$filter_key__4306.class +0 -0
- data/lib/clojure/core$find__3599.class +0 -0
- data/lib/clojure/core$find_doc__4571.class +0 -0
- data/lib/clojure/core$find_field__5583$fn__5585.class +0 -0
- data/lib/clojure/core$find_field__5583.class +0 -0
- data/lib/clojure/core$find_ns__4309.class +0 -0
- data/lib/clojure/core$find_var__3678.class +0 -0
- data/lib/clojure/core$first__3115.class +0 -0
- data/lib/clojure/core$float_QMARK___4124.class +0 -0
- data/lib/clojure/core$float__4071.class +0 -0
- data/lib/clojure/core$float_array__4735.class +0 -0
- data/lib/clojure/core$floats__4766.class +0 -0
- data/lib/clojure/core$flush__4156.class +0 -0
- data/lib/clojure/core$fn_QMARK___5099.class +0 -0
- data/lib/clojure/core$fn__3113.class +0 -0
- data/lib/clojure/core$fn__3288.class +0 -0
- data/lib/clojure/core$fn__3301.class +0 -0
- data/lib/clojure/core$fn__3329.class +0 -0
- data/lib/clojure/core$fn__3338.class +0 -0
- data/lib/clojure/core$fn__3347.class +0 -0
- data/lib/clojure/core$fn__3355.class +0 -0
- data/lib/clojure/core$fn__3363.class +0 -0
- data/lib/clojure/core$fn__3371.class +0 -0
- data/lib/clojure/core$fn__3379.class +0 -0
- data/lib/clojure/core$fn__3387.class +0 -0
- data/lib/clojure/core$fn__3395.class +0 -0
- data/lib/clojure/core$fn__3413.class +0 -0
- data/lib/clojure/core$fn__3419.class +0 -0
- data/lib/clojure/core$fn__3425.class +0 -0
- data/lib/clojure/core$fn__3431.class +0 -0
- data/lib/clojure/core$fn__3437.class +0 -0
- data/lib/clojure/core$fn__3443.class +0 -0
- data/lib/clojure/core$fn__3449.class +0 -0
- data/lib/clojure/core$fn__3455.class +0 -0
- data/lib/clojure/core$fn__3461.class +0 -0
- data/lib/clojure/core$fn__3467.class +0 -0
- data/lib/clojure/core$fn__3473.class +0 -0
- data/lib/clojure/core$fn__3479.class +0 -0
- data/lib/clojure/core$fn__3485.class +0 -0
- data/lib/clojure/core$fn__3500.class +0 -0
- data/lib/clojure/core$fn__3506.class +0 -0
- data/lib/clojure/core$fn__3512.class +0 -0
- data/lib/clojure/core$fn__3518.class +0 -0
- data/lib/clojure/core$fn__4050.class +0 -0
- data/lib/clojure/core$fn__4056.class +0 -0
- data/lib/clojure/core$fn__4062.class +0 -0
- data/lib/clojure/core$fn__4068.class +0 -0
- data/lib/clojure/core$fn__4074.class +0 -0
- data/lib/clojure/core$fn__4080.class +0 -0
- data/lib/clojure/core$fn__4086.class +0 -0
- data/lib/clojure/core$fn__4092.class +0 -0
- data/lib/clojure/core$fn__4098.class +0 -0
- data/lib/clojure/core$fn__4139.class +0 -0
- data/lib/clojure/core$fn__4142.class +0 -0
- data/lib/clojure/core$fn__4202.class +0 -0
- data/lib/clojure/core$fn__4208.class +0 -0
- data/lib/clojure/core$fn__4214.class +0 -0
- data/lib/clojure/core$fn__4221.class +0 -0
- data/lib/clojure/core$fn__4443$psig__4445.class +0 -0
- data/lib/clojure/core$fn__4443.class +0 -0
- data/lib/clojure/core$fn__4732.class +0 -0
- data/lib/clojure/core$fn__4739.class +0 -0
- data/lib/clojure/core$fn__4746.class +0 -0
- data/lib/clojure/core$fn__4753.class +0 -0
- data/lib/clojure/core$fn__4769.class +0 -0
- data/lib/clojure/core$fn__4781.class +0 -0
- data/lib/clojure/core$fn__4793.class +0 -0
- data/lib/clojure/core$fn__4805.class +0 -0
- data/lib/clojure/core$fn__4976.class +0 -0
- data/lib/clojure/core$fn__4980.class +0 -0
- data/lib/clojure/core$fn__4984.class +0 -0
- data/lib/clojure/core$fn__5379$fn__5381.class +0 -0
- data/lib/clojure/core$fn__5379.class +0 -0
- data/lib/clojure/core$fn__5385.class +0 -0
- data/lib/clojure/core$fn__5388.class +0 -0
- data/lib/clojure/core$fn__5394.class +0 -0
- data/lib/clojure/core$fn__5397.class +0 -0
- data/lib/clojure/core$fn__5400.class +0 -0
- data/lib/clojure/core$fn__5403.class +0 -0
- data/lib/clojure/core$fn__5406$fn__5408.class +0 -0
- data/lib/clojure/core$fn__5406.class +0 -0
- data/lib/clojure/core$fn__5412$fn__5414.class +0 -0
- data/lib/clojure/core$fn__5412.class +0 -0
- data/lib/clojure/core$fn__5418.class +0 -0
- data/lib/clojure/core$fn__5421.class +0 -0
- data/lib/clojure/core$fn__5427.class +0 -0
- data/lib/clojure/core$fn__5430.class +0 -0
- data/lib/clojure/core$fn__5433.class +0 -0
- data/lib/clojure/core$fn__5436.class +0 -0
- data/lib/clojure/core$fn__5439.class +0 -0
- data/lib/clojure/core$fn__5442.class +0 -0
- data/lib/clojure/core$fn__5445.class +0 -0
- data/lib/clojure/core$fn__5448.class +0 -0
- data/lib/clojure/core$fn__5453$fn__5455.class +0 -0
- data/lib/clojure/core$fn__5453.class +0 -0
- data/lib/clojure/core$fn__5459.class +0 -0
- data/lib/clojure/core$fn__5462.class +0 -0
- data/lib/clojure/core$fn__5467.class +0 -0
- data/lib/clojure/core$fn__5470.class +0 -0
- data/lib/clojure/core$fn__5479.class +0 -0
- data/lib/clojure/core$fn__5484$fn__5486.class +0 -0
- data/lib/clojure/core$fn__5484.class +0 -0
- data/lib/clojure/core$fn__5490.class +0 -0
- data/lib/clojure/core$fn__5493.class +0 -0
- data/lib/clojure/core$fn__5496.class +0 -0
- data/lib/clojure/core$fn__5500.class +0 -0
- data/lib/clojure/core$fn__5503.class +0 -0
- data/lib/clojure/core$fn__5506.class +0 -0
- data/lib/clojure/core$fn__5509.class +0 -0
- data/lib/clojure/core$fn__5512.class +0 -0
- data/lib/clojure/core$fn__5515.class +0 -0
- data/lib/clojure/core$fn__5518.class +0 -0
- data/lib/clojure/core$fn__5521.class +0 -0
- data/lib/clojure/core$fn__5524.class +0 -0
- data/lib/clojure/core$fn__5527.class +0 -0
- data/lib/clojure/core$fn__5530.class +0 -0
- data/lib/clojure/core$fn__5533.class +0 -0
- data/lib/clojure/core$fn__5536.class +0 -0
- data/lib/clojure/core$fn__5544.class +0 -0
- data/lib/clojure/core$fn__5547.class +0 -0
- data/lib/clojure/core$fn__5550.class +0 -0
- data/lib/clojure/core$fn__5774$prop__5777.class +0 -0
- data/lib/clojure/core$fn__5774.class +0 -0
- data/lib/clojure/core$fnext__3129.class +0 -0
- data/lib/clojure/core$for__4475$emit_bind__4489$do_mod__4495.class +0 -0
- data/lib/clojure/core$for__4475$emit_bind__4489.class +0 -0
- data/lib/clojure/core$for__4475$err__4485.class +0 -0
- data/lib/clojure/core$for__4475$to_groups__4477$fn__4480.class +0 -0
- data/lib/clojure/core$for__4475$to_groups__4477.class +0 -0
- data/lib/clojure/core$for__4475.class +0 -0
- data/lib/clojure/core$force__3281.class +0 -0
- data/lib/clojure/core$format__4938.class +0 -0
- data/lib/clojure/core$future__5722.class +0 -0
- data/lib/clojure/core$future_call__5702$fn__5704.class +0 -0
- data/lib/clojure/core$future_call__5702$fn__5707.class +0 -0
- data/lib/clojure/core$future_call__5702$fn__5710.class +0 -0
- data/lib/clojure/core$future_call__5702$fn__5713.class +0 -0
- data/lib/clojure/core$future_call__5702$fn__5717.class +0 -0
- data/lib/clojure/core$future_call__5702.class +0 -0
- data/lib/clojure/core$gen_class__5679.class +0 -0
- data/lib/clojure/core$gen_interface__5698.class +0 -0
- data/lib/clojure/core$generate_class__5596$arg_types__5608.class +0 -0
- data/lib/clojure/core$generate_class__5596$emit_forwarding_method__5642.class +0 -0
- data/lib/clojure/core$generate_class__5596$emit_get_var__5636.class +0 -0
- data/lib/clojure/core$generate_class__5596$emit_unsupported__5639.class +0 -0
- data/lib/clojure/core$generate_class__5596$fn__5614.class +0 -0
- data/lib/clojure/core$generate_class__5596$fn__5619.class +0 -0
- data/lib/clojure/core$generate_class__5596$fn__5624.class +0 -0
- data/lib/clojure/core$generate_class__5596$fn__5629$fn__5632.class +0 -0
- data/lib/clojure/core$generate_class__5596$fn__5629.class +0 -0
- data/lib/clojure/core$generate_class__5596$fn__5651.class +0 -0
- data/lib/clojure/core$generate_class__5596$fn__5654.class +0 -0
- data/lib/clojure/core$generate_class__5596$fn__5657.class +0 -0
- data/lib/clojure/core$generate_class__5596$fn__5664.class +0 -0
- data/lib/clojure/core$generate_class__5596$iname__5599.class +0 -0
- data/lib/clojure/core$generate_class__5596$to_types__5605.class +0 -0
- data/lib/clojure/core$generate_class__5596$totype__5602.class +0 -0
- data/lib/clojure/core$generate_class__5596$var_name__5611.class +0 -0
- data/lib/clojure/core$generate_class__5596.class +0 -0
- data/lib/clojure/core$generate_interface__5689$fn__5692.class +0 -0
- data/lib/clojure/core$generate_interface__5689.class +0 -0
- data/lib/clojure/core$generate_proxy__5188$fn__5209$fn__5212.class +0 -0
- data/lib/clojure/core$generate_proxy__5188$fn__5209.class +0 -0
- data/lib/clojure/core$generate_proxy__5188$fn__5237.class +0 -0
- data/lib/clojure/core$generate_proxy__5188$fn__5240.class +0 -0
- data/lib/clojure/core$generate_proxy__5188$fn__5247.class +0 -0
- data/lib/clojure/core$generate_proxy__5188$fn__5251.class +0 -0
- data/lib/clojure/core$generate_proxy__5188$gen_bridge__5199.class +0 -0
- data/lib/clojure/core$generate_proxy__5188$gen_method__5203.class +0 -0
- data/lib/clojure/core$generate_proxy__5188$iname__5190.class +0 -0
- data/lib/clojure/core$generate_proxy__5188$iter__5221__5225$fn__5226$iter__5223__5228$fn__5229.class +0 -0
- data/lib/clojure/core$generate_proxy__5188$iter__5221__5225$fn__5226$iter__5223__5228.class +0 -0
- data/lib/clojure/core$generate_proxy__5188$iter__5221__5225$fn__5226.class +0 -0
- data/lib/clojure/core$generate_proxy__5188$iter__5221__5225.class +0 -0
- data/lib/clojure/core$generate_proxy__5188$to_types__5196.class +0 -0
- data/lib/clojure/core$generate_proxy__5188$totype__5193.class +0 -0
- data/lib/clojure/core$generate_proxy__5188.class +0 -0
- data/lib/clojure/core$gensym__3233.class +0 -0
- data/lib/clojure/core$get__3585.class +0 -0
- data/lib/clojure/core$get_in__5071.class +0 -0
- data/lib/clojure/core$get_method__3653.class +0 -0
- data/lib/clojure/core$get_proxy_class__5259.class +0 -0
- data/lib/clojure/core$get_super_and_interfaces__5256.class +0 -0
- data/lib/clojure/core$get_validator__3747.class +0 -0
- data/lib/clojure/core$group_by_sig__5170$fn__5173.class +0 -0
- data/lib/clojure/core$group_by_sig__5170.class +0 -0
- data/lib/clojure/core$hash__4710.class +0 -0
- data/lib/clojure/core$hash_map__3173.class +0 -0
- data/lib/clojure/core$hash_set__3177.class +0 -0
- data/lib/clojure/core$identity__3566.class +0 -0
- data/lib/clojure/core$if_let__3663.class +0 -0
- data/lib/clojure/core$if_not__3284.class +0 -0
- data/lib/clojure/core$ifn_QMARK___5096.class +0 -0
- data/lib/clojure/core$import__4028.class +0 -0
- data/lib/clojure/core$inc__3416.class +0 -0
- data/lib/clojure/core$init_proxy__5268.class +0 -0
- data/lib/clojure/core$instance_QMARK___3135.class +0 -0
- data/lib/clojure/core$int__4059.class +0 -0
- data/lib/clojure/core$int_array__4749.class +0 -0
- data/lib/clojure/core$integer_QMARK___4107.class +0 -0
- data/lib/clojure/core$interleave__4383.class +0 -0
- data/lib/clojure/core$intern__5131.class +0 -0
- data/lib/clojure/core$interpose__4713.class +0 -0
- data/lib/clojure/core$into__4037.class +0 -0
- data/lib/clojure/core$into_array__4033.class +0 -0
- data/lib/clojure/core$ints__4778.class +0 -0
- data/lib/clojure/core$io_BANG___3771.class +0 -0
- data/lib/clojure/core$isa_QMARK___4843$fn__4846.class +0 -0
- data/lib/clojure/core$isa_QMARK___4843.class +0 -0
- data/lib/clojure/core$iterate__3922$fn__3924.class +0 -0
- data/lib/clojure/core$iterate__3922.class +0 -0
- data/lib/clojure/core$iterator_seq__4932.class +0 -0
- data/lib/clojure/core$key__3611.class +0 -0
- data/lib/clojure/core$keys__3605.class +0 -0
- data/lib/clojure/core$keyword_QMARK___3222.class +0 -0
- data/lib/clojure/core$keyword__3229.class +0 -0
- data/lib/clojure/core$last__3154.class +0 -0
- data/lib/clojure/core$lazy_cat__4466$fn__4468.class +0 -0
- data/lib/clojure/core$lazy_cat__4466.class +0 -0
- data/lib/clojure/core$lazy_seq__3252.class +0 -0
- data/lib/clojure/core$let__3109.class +0 -0
- data/lib/clojure/core$let__4440.class +0 -0
- data/lib/clojure/core$letfn__5768$fn__5770.class +0 -0
- data/lib/clojure/core$letfn__5768.class +0 -0
- data/lib/clojure/core$libspec_QMARK___4995.class +0 -0
- data/lib/clojure/core$line_seq__3959$fn__3961.class +0 -0
- data/lib/clojure/core$line_seq__3959.class +0 -0
- data/lib/clojure/core$list_QMARK___5090.class +0 -0
- data/lib/clojure/core$list_STAR___3249.class +0 -0
- data/lib/clojure/core$load__5058$fn__5061.class +0 -0
- data/lib/clojure/core$load__5058.class +0 -0
- data/lib/clojure/core$load_all__5019$fn__5021$fn__5023.class +0 -0
- data/lib/clojure/core$load_all__5019$fn__5021$fn__5026.class +0 -0
- data/lib/clojure/core$load_all__5019$fn__5021.class +0 -0
- data/lib/clojure/core$load_all__5019.class +0 -0
- data/lib/clojure/core$load_lib__5031.class +0 -0
- data/lib/clojure/core$load_libs__5043.class +0 -0
- data/lib/clojure/core$load_one__5010$fn__5012.class +0 -0
- data/lib/clojure/core$load_one__5010.class +0 -0
- data/lib/clojure/core$load_reader__4297.class +0 -0
- data/lib/clojure/core$load_string__4300.class +0 -0
- data/lib/clojure/core$loaded_libs__5055.class +0 -0
- data/lib/clojure/core$locking__3627.class +0 -0
- data/lib/clojure/core$long__4065.class +0 -0
- data/lib/clojure/core$long_array__4756.class +0 -0
- data/lib/clojure/core$longs__4802.class +0 -0
- data/lib/clojure/core$loop__3111.class +0 -0
- data/lib/clojure/core$loop__4450$fn__4452.class +0 -0
- data/lib/clojure/core$loop__4450$fn__4456.class +0 -0
- data/lib/clojure/core$loop__4450.class +0 -0
- data/lib/clojure/core$macroexpand_1__4276.class +0 -0
- data/lib/clojure/core$macroexpand__4279.class +0 -0
- data/lib/clojure/core$make_array__4268.class +0 -0
- data/lib/clojure/core$make_hierarchy__4830.class +0 -0
- data/lib/clojure/core$map_QMARK___3141.class +0 -0
- data/lib/clojure/core$map__3815$fn__3817.class +0 -0
- data/lib/clojure/core$map__3815$fn__3822.class +0 -0
- data/lib/clojure/core$map__3815$fn__3827.class +0 -0
- data/lib/clojure/core$map__3815$fn__3838.class +0 -0
- data/lib/clojure/core$map__3815$step__3833$fn__3834.class +0 -0
- data/lib/clojure/core$map__3815$step__3833.class +0 -0
- data/lib/clojure/core$map__3815.class +0 -0
- data/lib/clojure/core$mapcat__3842.class +0 -0
- data/lib/clojure/core$max__3403.class +0 -0
- data/lib/clojure/core$max_key__4628$fn__4632.class +0 -0
- data/lib/clojure/core$max_key__4628.class +0 -0
- data/lib/clojure/core$memfn__4194.class +0 -0
- data/lib/clojure/core$memoize__5138$fn__5140.class +0 -0
- data/lib/clojure/core$memoize__5138.class +0 -0
- data/lib/clojure/core$merge__3938$fn__3940.class +0 -0
- data/lib/clojure/core$merge__3938.class +0 -0
- data/lib/clojure/core$merge_with__3945$merge2__3950.class +0 -0
- data/lib/clojure/core$merge_with__3945$merge_entry__3947.class +0 -0
- data/lib/clojure/core$merge_with__3945.class +0 -0
- data/lib/clojure/core$meta__3150.class +0 -0
- data/lib/clojure/core$method_sig__5156.class +0 -0
- data/lib/clojure/core$methods__3650.class +0 -0
- data/lib/clojure/core$min__3408.class +0 -0
- data/lib/clojure/core$min_key__4638$fn__4642.class +0 -0
- data/lib/clojure/core$min_key__4638.class +0 -0
- data/lib/clojure/core$mod__4114.class +0 -0
- data/lib/clojure/core$most_specific__5160$fn__5162$fn__5164.class +0 -0
- data/lib/clojure/core$most_specific__5160$fn__5162.class +0 -0
- data/lib/clojure/core$most_specific__5160.class +0 -0
- data/lib/clojure/core$name__3620.class +0 -0
- data/lib/clojure/core$namespace__3623.class +0 -0
- data/lib/clojure/core$neg_QMARK___3482.class +0 -0
- data/lib/clojure/core$newline__4153.class +0 -0
- data/lib/clojure/core$next__3117.class +0 -0
- data/lib/clojure/core$nfirst__3127.class +0 -0
- data/lib/clojure/core$nil_QMARK___3199.class +0 -0
- data/lib/clojure/core$nnext__3131.class +0 -0
- data/lib/clojure/core$non_private_methods__5553$fn__5556.class +0 -0
- data/lib/clojure/core$non_private_methods__5553.class +0 -0
- data/lib/clojure/core$not_EQ___3296.class +0 -0
- data/lib/clojure/core$not__3208.class +0 -0
- data/lib/clojure/core$not_empty__4833.class +0 -0
- data/lib/clojure/core$ns__4948$fn__4958.class +0 -0
- data/lib/clojure/core$ns__4948$fn__4961.class +0 -0
- data/lib/clojure/core$ns__4948$fn__4964.class +0 -0
- data/lib/clojure/core$ns__4948$process_reference__4951$fn__4954.class +0 -0
- data/lib/clojure/core$ns__4948$process_reference__4951.class +0 -0
- data/lib/clojure/core$ns__4948.class +0 -0
- data/lib/clojure/core$ns_aliases__4370.class +0 -0
- data/lib/clojure/core$ns_imports__4342.class +0 -0
- data/lib/clojure/core$ns_interns__4360$fn__4362.class +0 -0
- data/lib/clojure/core$ns_interns__4360.class +0 -0
- data/lib/clojure/core$ns_map__4328.class +0 -0
- data/lib/clojure/core$ns_name__4325.class +0 -0
- data/lib/clojure/core$ns_publics__4334$fn__4336.class +0 -0
- data/lib/clojure/core$ns_publics__4334.class +0 -0
- data/lib/clojure/core$ns_refers__4353$fn__4355.class +0 -0
- data/lib/clojure/core$ns_refers__4353.class +0 -0
- data/lib/clojure/core$ns_resolve__4395.class +0 -0
- data/lib/clojure/core$ns_unalias__4373.class +0 -0
- data/lib/clojure/core$ns_unmap__4331.class +0 -0
- data/lib/clojure/core$nth__3578.class +0 -0
- data/lib/clojure/core$nthnext__4405.class +0 -0
- data/lib/clojure/core$num__4053.class +0 -0
- data/lib/clojure/core$number_QMARK___4104.class +0 -0
- data/lib/clojure/core$odd_QMARK___3548.class +0 -0
- data/lib/clojure/core$or__3314.class +0 -0
- data/lib/clojure/core$overload_name__5579.class +0 -0
- data/lib/clojure/core$parents__4861.class +0 -0
- data/lib/clojure/core$partial__3781$fn__3783.class +0 -0
- data/lib/clojure/core$partial__3781$fn__3787.class +0 -0
- data/lib/clojure/core$partial__3781$fn__3791.class +0 -0
- data/lib/clojure/core$partial__3781$fn__3795.class +0 -0
- data/lib/clojure/core$partial__3781.class +0 -0
- data/lib/clojure/core$partition__3982$fn__3985.class +0 -0
- data/lib/clojure/core$partition__3982.class +0 -0
- data/lib/clojure/core$pcalls__5754$fn__5756.class +0 -0
- data/lib/clojure/core$pcalls__5754.class +0 -0
- data/lib/clojure/core$peek__3572.class +0 -0
- data/lib/clojure/core$pmap__5727$fn__5729$fn__5731.class +0 -0
- data/lib/clojure/core$pmap__5727$fn__5729.class +0 -0
- data/lib/clojure/core$pmap__5727$fn__5749.class +0 -0
- data/lib/clojure/core$pmap__5727$step__5736$fn__5738.class +0 -0
- data/lib/clojure/core$pmap__5727$step__5736.class +0 -0
- data/lib/clojure/core$pmap__5727$step__5744$fn__5745.class +0 -0
- data/lib/clojure/core$pmap__5727$step__5744.class +0 -0
- data/lib/clojure/core$pmap__5727.class +0 -0
- data/lib/clojure/core$pop__3575.class +0 -0
- data/lib/clojure/core$pos_QMARK___3476.class +0 -0
- data/lib/clojure/core$pr__4148.class +0 -0
- data/lib/clojure/core$pr_on__4145.class +0 -0
- data/lib/clojure/core$pr_str__4512.class +0 -0
- data/lib/clojure/core$prefer_method__3647.class +0 -0
- data/lib/clojure/core$prefers__3656.class +0 -0
- data/lib/clojure/core$prependss__5001.class +0 -0
- data/lib/clojure/core$print__4162.class +0 -0
- data/lib/clojure/core$print_ctor__5391.class +0 -0
- data/lib/clojure/core$print_doc__4568.class +0 -0
- data/lib/clojure/core$print_map__5473$fn__5475.class +0 -0
- data/lib/clojure/core$print_map__5473.class +0 -0
- data/lib/clojure/core$print_meta__5370.class +0 -0
- data/lib/clojure/core$print_namespace_doc__4587.class +0 -0
- data/lib/clojure/core$print_sequential__5354.class +0 -0
- data/lib/clojure/core$print_simple__5424.class +0 -0
- data/lib/clojure/core$print_special_doc__4584.class +0 -0
- data/lib/clojure/core$print_str__4520.class +0 -0
- data/lib/clojure/core$printf__4941.class +0 -0
- data/lib/clojure/core$println__4165.class +0 -0
- data/lib/clojure/core$println_str__4524.class +0 -0
- data/lib/clojure/core$prn__4159.class +0 -0
- data/lib/clojure/core$prn_str__4516.class +0 -0
- data/lib/clojure/core$proxy__5279$fn__5282.class +0 -0
- data/lib/clojure/core$proxy__5279$fn__5287$fn__5291.class +0 -0
- data/lib/clojure/core$proxy__5279$fn__5287.class +0 -0
- data/lib/clojure/core$proxy__5279.class +0 -0
- data/lib/clojure/core$proxy_call_with_super__5297.class +0 -0
- data/lib/clojure/core$proxy_mappings__5274.class +0 -0
- data/lib/clojure/core$proxy_name__5179$fn__5181.class +0 -0
- data/lib/clojure/core$proxy_name__5179.class +0 -0
- data/lib/clojure/core$proxy_super__5300.class +0 -0
- data/lib/clojure/core$pvalues__5761$fn__5763.class +0 -0
- data/lib/clojure/core$pvalues__5761.class +0 -0
- data/lib/clojure/core$quot__3491.class +0 -0
- data/lib/clojure/core$rand__4558.class +0 -0
- data/lib/clojure/core$rand_int__4562.class +0 -0
- data/lib/clojure/core$range__3928.class +0 -0
- data/lib/clojure/core$ratio_QMARK___4118.class +0 -0
- data/lib/clojure/core$rational_QMARK___4128.class +0 -0
- data/lib/clojure/core$rationalize__3497.class +0 -0
- data/lib/clojure/core$re_find__4554.class +0 -0
- data/lib/clojure/core$re_groups__4540.class +0 -0
- data/lib/clojure/core$re_matcher__4537.class +0 -0
- data/lib/clojure/core$re_matches__4551.class +0 -0
- data/lib/clojure/core$re_pattern__4534.class +0 -0
- data/lib/clojure/core$re_seq__4543$step__4545$fn__4546.class +0 -0
- data/lib/clojure/core$re_seq__4543$step__4545.class +0 -0
- data/lib/clojure/core$re_seq__4543.class +0 -0
- data/lib/clojure/core$read__4168.class +0 -0
- data/lib/clojure/core$read_line__4174.class +0 -0
- data/lib/clojure/core$read_string__4177.class +0 -0
- data/lib/clojure/core$reduce__3319$fn__3322.class +0 -0
- data/lib/clojure/core$reduce__3319.class +0 -0
- data/lib/clojure/core$ref__3721.class +0 -0
- data/lib/clojure/core$ref_set__3762.class +0 -0
- data/lib/clojure/core$refer__4345.class +0 -0
- data/lib/clojure/core$refer_clojure__4969.class +0 -0
- data/lib/clojure/core$release_pending_sends__3694.class +0 -0
- data/lib/clojure/core$rem__3494.class +0 -0
- data/lib/clojure/core$remove__3855.class +0 -0
- data/lib/clojure/core$remove_method__3644.class +0 -0
- data/lib/clojure/core$remove_ns__4315.class +0 -0
- data/lib/clojure/core$remove_watch__3700.class +0 -0
- data/lib/clojure/core$remove_watcher__3709.class +0 -0
- data/lib/clojure/core$repeat__3912$fn__3914.class +0 -0
- data/lib/clojure/core$repeat__3912.class +0 -0
- data/lib/clojure/core$repeatedly__4701$fn__4703.class +0 -0
- data/lib/clojure/core$repeatedly__4701.class +0 -0
- data/lib/clojure/core$replace__4661$fn__4663.class +0 -0
- data/lib/clojure/core$replace__4661$fn__4667.class +0 -0
- data/lib/clojure/core$replace__4661.class +0 -0
- data/lib/clojure/core$replicate__3919.class +0 -0
- data/lib/clojure/core$require__5049.class +0 -0
- data/lib/clojure/core$reset_BANG___3741.class +0 -0
- data/lib/clojure/core$reset_meta_BANG___3753.class +0 -0
- data/lib/clojure/core$resolve__4398.class +0 -0
- data/lib/clojure/core$rest__3119.class +0 -0
- data/lib/clojure/core$resultset_seq__4911$fn__4913.class +0 -0
- data/lib/clojure/core$resultset_seq__4911$fn__4916.class +0 -0
- data/lib/clojure/core$resultset_seq__4911$row_values__4919$fn__4921.class +0 -0
- data/lib/clojure/core$resultset_seq__4911$row_values__4919.class +0 -0
- data/lib/clojure/core$resultset_seq__4911$thisfn__4925$fn__4926.class +0 -0
- data/lib/clojure/core$resultset_seq__4911$thisfn__4925.class +0 -0
- data/lib/clojure/core$resultset_seq__4911.class +0 -0
- data/lib/clojure/core$reverse__3326.class +0 -0
- data/lib/clojure/core$reversible_QMARK___5114.class +0 -0
- data/lib/clojure/core$root_directory__5007.class +0 -0
- data/lib/clojure/core$root_resource__5004.class +0 -0
- data/lib/clojure/core$rseq__3617.class +0 -0
- data/lib/clojure/core$rsubseq__4693.class +0 -0
- data/lib/clojure/core$second__3123.class +0 -0
- data/lib/clojure/core$select_keys__3602.class +0 -0
- data/lib/clojure/core$send__3688.class +0 -0
- data/lib/clojure/core$send_off__3691.class +0 -0
- data/lib/clojure/core$seq_QMARK___3137.class +0 -0
- data/lib/clojure/core$seq__3133.class +0 -0
- data/lib/clojure/core$seque__4808$drain__4818$fn__4819.class +0 -0
- data/lib/clojure/core$seque__4808$drain__4818.class +0 -0
- data/lib/clojure/core$seque__4808$fill__4811.class +0 -0
- data/lib/clojure/core$seque__4808.class +0 -0
- data/lib/clojure/core$sequence__3802.class +0 -0
- data/lib/clojure/core$sequential_QMARK___5105.class +0 -0
- data/lib/clojure/core$set_QMARK___5093.class +0 -0
- data/lib/clojure/core$set__4303.class +0 -0
- data/lib/clojure/core$set_validator_BANG___3744.class +0 -0
- data/lib/clojure/core$setup_reference__3681.class +0 -0
- data/lib/clojure/core$short__4083.class +0 -0
- data/lib/clojure/core$shutdown_agents__3718.class +0 -0
- data/lib/clojure/core$sigs__3145.class +0 -0
- data/lib/clojure/core$slurp__4619.class +0 -0
- data/lib/clojure/core$some__3810.class +0 -0
- data/lib/clojure/core$sort__3971.class +0 -0
- data/lib/clojure/core$sort_by__3975$fn__3978.class +0 -0
- data/lib/clojure/core$sort_by__3975.class +0 -0
- data/lib/clojure/core$sorted_QMARK___5108.class +0 -0
- data/lib/clojure/core$sorted_map__3181.class +0 -0
- data/lib/clojure/core$sorted_map_by__3187.class +0 -0
- data/lib/clojure/core$sorted_set__3184.class +0 -0
- data/lib/clojure/core$special_form_anchor__4578.class +0 -0
- data/lib/clojure/core$special_symbol_QMARK___4613.class +0 -0
- data/lib/clojure/core$split_at__3906.class +0 -0
- data/lib/clojure/core$split_with__3909.class +0 -0
- data/lib/clojure/core$spread__3240.class +0 -0
- data/lib/clojure/core$str__3211$fn__3215.class +0 -0
- data/lib/clojure/core$str__3211.class +0 -0
- data/lib/clojure/core$stream_QMARK___3799.class +0 -0
- data/lib/clojure/core$string_QMARK___3139.class +0 -0
- data/lib/clojure/core$struct__4291.class +0 -0
- data/lib/clojure/core$struct_map__4288.class +0 -0
- data/lib/clojure/core$subs__4622.class +0 -0
- data/lib/clojure/core$subseq__4685.class +0 -0
- data/lib/clojure/core$subvec__4180.class +0 -0
- data/lib/clojure/core$supers__4839.class +0 -0
- data/lib/clojure/core$swap_BANG___3732.class +0 -0
- data/lib/clojure/core$symbol_QMARK___3219.class +0 -0
- data/lib/clojure/core$symbol__3225.class +0 -0
- data/lib/clojure/core$sync__3768.class +0 -0
- data/lib/clojure/core$syntax_symbol_anchor__4581.class +0 -0
- data/lib/clojure/core$take__3858$fn__3860.class +0 -0
- data/lib/clojure/core$take__3858.class +0 -0
- data/lib/clojure/core$take_nth__4376$fn__4378.class +0 -0
- data/lib/clojure/core$take_nth__4376.class +0 -0
- data/lib/clojure/core$take_while__3865$fn__3867.class +0 -0
- data/lib/clojure/core$take_while__3865.class +0 -0
- data/lib/clojure/core$test__4531.class +0 -0
- data/lib/clojure/core$the_class__5590.class +0 -0
- data/lib/clojure/core$the_ns__4321.class +0 -0
- data/lib/clojure/core$throw_if__4989$boring_QMARK___4991.class +0 -0
- data/lib/clojure/core$throw_if__4989.class +0 -0
- data/lib/clojure/core$time__4199.class +0 -0
- data/lib/clojure/core$to_array_2d__4273.class +0 -0
- data/lib/clojure/core$to_array__3163.class +0 -0
- data/lib/clojure/core$trampoline__5124$fn__5127.class +0 -0
- data/lib/clojure/core$trampoline__5124.class +0 -0
- data/lib/clojure/core$tree_seq__4593$walk__4595$fn__4596.class +0 -0
- data/lib/clojure/core$tree_seq__4593$walk__4595.class +0 -0
- data/lib/clojure/core$tree_seq__4593.class +0 -0
- data/lib/clojure/core$true_QMARK___3205.class +0 -0
- data/lib/clojure/core$type__4046.class +0 -0
- data/lib/clojure/core$unchecked_add__3446.class +0 -0
- data/lib/clojure/core$unchecked_dec__3434.class +0 -0
- data/lib/clojure/core$unchecked_divide__3464.class +0 -0
- data/lib/clojure/core$unchecked_inc__3428.class +0 -0
- data/lib/clojure/core$unchecked_multiply__3458.class +0 -0
- data/lib/clojure/core$unchecked_negate__3440.class +0 -0
- data/lib/clojure/core$unchecked_remainder__3470.class +0 -0
- data/lib/clojure/core$unchecked_subtract__3452.class +0 -0
- data/lib/clojure/core$underive__4891$tf__4894$fn__4896.class +0 -0
- data/lib/clojure/core$underive__4891$tf__4894.class +0 -0
- data/lib/clojure/core$underive__4891.class +0 -0
- data/lib/clojure/core$update_in__5080.class +0 -0
- data/lib/clojure/core$update_proxy__5271.class +0 -0
- data/lib/clojure/core$use__5052.class +0 -0
- data/lib/clojure/core$val__3614.class +0 -0
- data/lib/clojure/core$vals__3608.class +0 -0
- data/lib/clojure/core$var_QMARK___4616.class +0 -0
- data/lib/clojure/core$var_get__4386.class +0 -0
- data/lib/clojure/core$var_set__4389.class +0 -0
- data/lib/clojure/core$vary_meta__3246.class +0 -0
- data/lib/clojure/core$vec__3170.class +0 -0
- data/lib/clojure/core$vector_QMARK___3143.class +0 -0
- data/lib/clojure/core$vector__3166.class +0 -0
- data/lib/clojure/core$when__3193.class +0 -0
- data/lib/clojure/core$when_first__4461.class +0 -0
- data/lib/clojure/core$when_let__3669.class +0 -0
- data/lib/clojure/core$when_not__3196.class +0 -0
- data/lib/clojure/core$while__5135.class +0 -0
- data/lib/clojure/core$with_in_str__4509.class +0 -0
- data/lib/clojure/core$with_local_vars__4392.class +0 -0
- data/lib/clojure/core$with_meta__3152.class +0 -0
- data/lib/clojure/core$with_open__4184.class +0 -0
- data/lib/clojure/core$with_out_str__4505.class +0 -0
- data/lib/clojure/core$with_precision__4675.class +0 -0
- data/lib/clojure/core$xml_seq__4610.class +0 -0
- data/lib/clojure/core$zero_QMARK___3488.class +0 -0
- data/lib/clojure/core$zipmap__3955.class +0 -0
- data/lib/clojure/core.clj +4121 -0
- data/lib/clojure/core__init.class +0 -0
- data/lib/clojure/core_print.clj +317 -0
- data/lib/clojure/core_print__init.class +0 -0
- data/lib/clojure/core_proxy.clj +394 -0
- data/lib/clojure/core_proxy__init.class +0 -0
- data/lib/clojure/genclass.clj +683 -0
- data/lib/clojure/genclass__init.class +0 -0
- data/lib/clojure/inspector$atom_QMARK___6181.class +0 -0
- data/lib/clojure/inspector$collection_tag__6184.class +0 -0
- data/lib/clojure/inspector$fn__6187.class +0 -0
- data/lib/clojure/inspector$fn__6190.class +0 -0
- data/lib/clojure/inspector$fn__6193.class +0 -0
- data/lib/clojure/inspector$fn__6196.class +0 -0
- data/lib/clojure/inspector$fn__6199.class +0 -0
- data/lib/clojure/inspector$fn__6202.class +0 -0
- data/lib/clojure/inspector$fn__6205.class +0 -0
- data/lib/clojure/inspector$fn__6208.class +0 -0
- data/lib/clojure/inspector$fn__6211.class +0 -0
- data/lib/clojure/inspector$fn__6278$fn__6280.class +0 -0
- data/lib/clojure/inspector$fn__6278$fn__6283.class +0 -0
- data/lib/clojure/inspector$fn__6278.class +0 -0
- data/lib/clojure/inspector$fn__6287$fn__6289.class +0 -0
- data/lib/clojure/inspector$fn__6287$fn__6292.class +0 -0
- data/lib/clojure/inspector$fn__6287.class +0 -0
- data/lib/clojure/inspector$fn__6296$fn__6299.class +0 -0
- data/lib/clojure/inspector$fn__6296$fn__6303.class +0 -0
- data/lib/clojure/inspector$fn__6296$fn__6306.class +0 -0
- data/lib/clojure/inspector$fn__6296.class +0 -0
- data/lib/clojure/inspector$fn__6324$fn__6326.class +0 -0
- data/lib/clojure/inspector$fn__6324$fn__6329.class +0 -0
- data/lib/clojure/inspector$fn__6324$fn__6332.class +0 -0
- data/lib/clojure/inspector$fn__6324.class +0 -0
- data/lib/clojure/inspector$inspect__6337.class +0 -0
- data/lib/clojure/inspector$inspect_table__6274.class +0 -0
- data/lib/clojure/inspector$inspect_tree__6270.class +0 -0
- data/lib/clojure/inspector$list_model__6310$fn__6313.class +0 -0
- data/lib/clojure/inspector$list_model__6310$fn__6316.class +0 -0
- data/lib/clojure/inspector$list_model__6310$fn__6319.class +0 -0
- data/lib/clojure/inspector$list_model__6310.class +0 -0
- data/lib/clojure/inspector$old_table_model__6242$fn__6244.class +0 -0
- data/lib/clojure/inspector$old_table_model__6242$fn__6247.class +0 -0
- data/lib/clojure/inspector$old_table_model__6242$fn__6250.class +0 -0
- data/lib/clojure/inspector$old_table_model__6242$fn__6253.class +0 -0
- data/lib/clojure/inspector$old_table_model__6242$fn__6256.class +0 -0
- data/lib/clojure/inspector$old_table_model__6242$fn__6259.class +0 -0
- data/lib/clojure/inspector$old_table_model__6242$fn__6262.class +0 -0
- data/lib/clojure/inspector$old_table_model__6242$fn__6265.class +0 -0
- data/lib/clojure/inspector$old_table_model__6242.class +0 -0
- data/lib/clojure/inspector$tree_model__6214$fn__6216.class +0 -0
- data/lib/clojure/inspector$tree_model__6214$fn__6219.class +0 -0
- data/lib/clojure/inspector$tree_model__6214$fn__6222.class +0 -0
- data/lib/clojure/inspector$tree_model__6214$fn__6225.class +0 -0
- data/lib/clojure/inspector$tree_model__6214$fn__6228.class +0 -0
- data/lib/clojure/inspector$tree_model__6214$fn__6231.class +0 -0
- data/lib/clojure/inspector$tree_model__6214$fn__6234.class +0 -0
- data/lib/clojure/inspector$tree_model__6214$fn__6237.class +0 -0
- data/lib/clojure/inspector$tree_model__6214.class +0 -0
- data/lib/clojure/inspector.clj +180 -0
- data/lib/clojure/inspector__init.class +0 -0
- data/lib/clojure/lang/AFn.class +0 -0
- data/lib/clojure/lang/AFunction.class +0 -0
- data/lib/clojure/lang/AMapEntry.class +0 -0
- data/lib/clojure/lang/APersistentMap$1.class +0 -0
- data/lib/clojure/lang/APersistentMap$2$1.class +0 -0
- data/lib/clojure/lang/APersistentMap$2.class +0 -0
- data/lib/clojure/lang/APersistentMap$3$1.class +0 -0
- data/lib/clojure/lang/APersistentMap$3.class +0 -0
- data/lib/clojure/lang/APersistentMap$KeySeq.class +0 -0
- data/lib/clojure/lang/APersistentMap$ValSeq.class +0 -0
- data/lib/clojure/lang/APersistentMap.class +0 -0
- data/lib/clojure/lang/APersistentSet.class +0 -0
- data/lib/clojure/lang/APersistentVector$1.class +0 -0
- data/lib/clojure/lang/APersistentVector$2.class +0 -0
- data/lib/clojure/lang/APersistentVector$RSeq.class +0 -0
- data/lib/clojure/lang/APersistentVector$Seq.class +0 -0
- data/lib/clojure/lang/APersistentVector$Src.class +0 -0
- data/lib/clojure/lang/APersistentVector$SubVector.class +0 -0
- data/lib/clojure/lang/APersistentVector.class +0 -0
- data/lib/clojure/lang/ARef.class +0 -0
- data/lib/clojure/lang/AReference.class +0 -0
- data/lib/clojure/lang/ASeq$Src.class +0 -0
- data/lib/clojure/lang/ASeq.class +0 -0
- data/lib/clojure/lang/Agent$Action.class +0 -0
- data/lib/clojure/lang/Agent.class +0 -0
- data/lib/clojure/lang/ArraySeq$ArraySeq_double.class +0 -0
- data/lib/clojure/lang/ArraySeq$ArraySeq_float.class +0 -0
- data/lib/clojure/lang/ArraySeq$ArraySeq_int.class +0 -0
- data/lib/clojure/lang/ArraySeq$ArraySeq_long.class +0 -0
- data/lib/clojure/lang/ArraySeq.class +0 -0
- data/lib/clojure/lang/ArrayStream$ArrayStream_boolean.class +0 -0
- data/lib/clojure/lang/ArrayStream$ArrayStream_byte.class +0 -0
- data/lib/clojure/lang/ArrayStream$ArrayStream_char.class +0 -0
- data/lib/clojure/lang/ArrayStream$ArrayStream_double.class +0 -0
- data/lib/clojure/lang/ArrayStream$ArrayStream_float.class +0 -0
- data/lib/clojure/lang/ArrayStream$ArrayStream_int.class +0 -0
- data/lib/clojure/lang/ArrayStream$ArrayStream_long.class +0 -0
- data/lib/clojure/lang/ArrayStream$ArrayStream_short.class +0 -0
- data/lib/clojure/lang/ArrayStream.class +0 -0
- data/lib/clojure/lang/Associative.class +0 -0
- data/lib/clojure/lang/Atom.class +0 -0
- data/lib/clojure/lang/Binding.class +0 -0
- data/lib/clojure/lang/Box.class +0 -0
- data/lib/clojure/lang/Compile.class +0 -0
- data/lib/clojure/lang/Compiler$1.class +0 -0
- data/lib/clojure/lang/Compiler$AssignExpr$Parser.class +0 -0
- data/lib/clojure/lang/Compiler$AssignExpr.class +0 -0
- data/lib/clojure/lang/Compiler$AssignableExpr.class +0 -0
- data/lib/clojure/lang/Compiler$BindingInit.class +0 -0
- data/lib/clojure/lang/Compiler$BodyExpr$Parser.class +0 -0
- data/lib/clojure/lang/Compiler$BodyExpr.class +0 -0
- data/lib/clojure/lang/Compiler$BooleanExpr.class +0 -0
- data/lib/clojure/lang/Compiler$C.class +0 -0
- data/lib/clojure/lang/Compiler$CompilerException.class +0 -0
- data/lib/clojure/lang/Compiler$ConstantExpr$Parser.class +0 -0
- data/lib/clojure/lang/Compiler$ConstantExpr.class +0 -0
- data/lib/clojure/lang/Compiler$DefExpr$Parser.class +0 -0
- data/lib/clojure/lang/Compiler$DefExpr.class +0 -0
- data/lib/clojure/lang/Compiler$EmptyExpr.class +0 -0
- data/lib/clojure/lang/Compiler$Expr.class +0 -0
- data/lib/clojure/lang/Compiler$FieldExpr.class +0 -0
- data/lib/clojure/lang/Compiler$FnExpr.class +0 -0
- data/lib/clojure/lang/Compiler$FnLoaderThunk.class +0 -0
- data/lib/clojure/lang/Compiler$FnMethod.class +0 -0
- data/lib/clojure/lang/Compiler$HostExpr$Parser.class +0 -0
- data/lib/clojure/lang/Compiler$HostExpr.class +0 -0
- data/lib/clojure/lang/Compiler$IParser.class +0 -0
- data/lib/clojure/lang/Compiler$IfExpr$Parser.class +0 -0
- data/lib/clojure/lang/Compiler$IfExpr.class +0 -0
- data/lib/clojure/lang/Compiler$InstanceFieldExpr.class +0 -0
- data/lib/clojure/lang/Compiler$InstanceMethodExpr.class +0 -0
- data/lib/clojure/lang/Compiler$InvokeExpr.class +0 -0
- data/lib/clojure/lang/Compiler$KeywordExpr.class +0 -0
- data/lib/clojure/lang/Compiler$LetExpr$Parser.class +0 -0
- data/lib/clojure/lang/Compiler$LetExpr.class +0 -0
- data/lib/clojure/lang/Compiler$LetFnExpr$Parser.class +0 -0
- data/lib/clojure/lang/Compiler$LetFnExpr.class +0 -0
- data/lib/clojure/lang/Compiler$ListExpr.class +0 -0
- data/lib/clojure/lang/Compiler$LiteralExpr.class +0 -0
- data/lib/clojure/lang/Compiler$LocalBinding.class +0 -0
- data/lib/clojure/lang/Compiler$LocalBindingExpr.class +0 -0
- data/lib/clojure/lang/Compiler$MapExpr.class +0 -0
- data/lib/clojure/lang/Compiler$MaybePrimitiveExpr.class +0 -0
- data/lib/clojure/lang/Compiler$MetaExpr.class +0 -0
- data/lib/clojure/lang/Compiler$MethodExpr.class +0 -0
- data/lib/clojure/lang/Compiler$MonitorEnterExpr$Parser.class +0 -0
- data/lib/clojure/lang/Compiler$MonitorEnterExpr.class +0 -0
- data/lib/clojure/lang/Compiler$MonitorExitExpr$Parser.class +0 -0
- data/lib/clojure/lang/Compiler$MonitorExitExpr.class +0 -0
- data/lib/clojure/lang/Compiler$NewExpr$Parser.class +0 -0
- data/lib/clojure/lang/Compiler$NewExpr.class +0 -0
- data/lib/clojure/lang/Compiler$NilExpr.class +0 -0
- data/lib/clojure/lang/Compiler$PSTATE.class +0 -0
- data/lib/clojure/lang/Compiler$RecurExpr$Parser.class +0 -0
- data/lib/clojure/lang/Compiler$RecurExpr.class +0 -0
- data/lib/clojure/lang/Compiler$SetExpr.class +0 -0
- data/lib/clojure/lang/Compiler$SourceDebugExtensionAttribute.class +0 -0
- data/lib/clojure/lang/Compiler$StaticFieldExpr.class +0 -0
- data/lib/clojure/lang/Compiler$StaticMethodExpr.class +0 -0
- data/lib/clojure/lang/Compiler$StringExpr.class +0 -0
- data/lib/clojure/lang/Compiler$TheVarExpr$Parser.class +0 -0
- data/lib/clojure/lang/Compiler$TheVarExpr.class +0 -0
- data/lib/clojure/lang/Compiler$ThrowExpr$Parser.class +0 -0
- data/lib/clojure/lang/Compiler$ThrowExpr.class +0 -0
- data/lib/clojure/lang/Compiler$TryExpr$CatchClause.class +0 -0
- data/lib/clojure/lang/Compiler$TryExpr$Parser.class +0 -0
- data/lib/clojure/lang/Compiler$TryExpr.class +0 -0
- data/lib/clojure/lang/Compiler$UnresolvedVarExpr.class +0 -0
- data/lib/clojure/lang/Compiler$UntypedExpr.class +0 -0
- data/lib/clojure/lang/Compiler$VarExpr.class +0 -0
- data/lib/clojure/lang/Compiler$VectorExpr.class +0 -0
- data/lib/clojure/lang/Compiler.class +0 -0
- data/lib/clojure/lang/Cons.class +0 -0
- data/lib/clojure/lang/Counted.class +0 -0
- data/lib/clojure/lang/Delay.class +0 -0
- data/lib/clojure/lang/DynamicClassLoader.class +0 -0
- data/lib/clojure/lang/EnumerationSeq$State.class +0 -0
- data/lib/clojure/lang/EnumerationSeq.class +0 -0
- data/lib/clojure/lang/Fn.class +0 -0
- data/lib/clojure/lang/IDeref.class +0 -0
- data/lib/clojure/lang/IFn.class +0 -0
- data/lib/clojure/lang/IMapEntry.class +0 -0
- data/lib/clojure/lang/IMeta.class +0 -0
- data/lib/clojure/lang/IObj.class +0 -0
- data/lib/clojure/lang/IPersistentCollection.class +0 -0
- data/lib/clojure/lang/IPersistentList.class +0 -0
- data/lib/clojure/lang/IPersistentMap.class +0 -0
- data/lib/clojure/lang/IPersistentSet.class +0 -0
- data/lib/clojure/lang/IPersistentStack.class +0 -0
- data/lib/clojure/lang/IPersistentVector.class +0 -0
- data/lib/clojure/lang/IProxy.class +0 -0
- data/lib/clojure/lang/IReduce.class +0 -0
- data/lib/clojure/lang/IRef.class +0 -0
- data/lib/clojure/lang/IReference.class +0 -0
- data/lib/clojure/lang/ISeq.class +0 -0
- data/lib/clojure/lang/IndexedSeq.class +0 -0
- data/lib/clojure/lang/IteratorSeq$State.class +0 -0
- data/lib/clojure/lang/IteratorSeq.class +0 -0
- data/lib/clojure/lang/IteratorStream.class +0 -0
- data/lib/clojure/lang/Keyword.class +0 -0
- data/lib/clojure/lang/LazilyPersistentVector.class +0 -0
- data/lib/clojure/lang/LazySeq.class +0 -0
- data/lib/clojure/lang/LineNumberingPushbackReader.class +0 -0
- data/lib/clojure/lang/LispReader$ArgReader.class +0 -0
- data/lib/clojure/lang/LispReader$CharacterReader.class +0 -0
- data/lib/clojure/lang/LispReader$CommentReader.class +0 -0
- data/lib/clojure/lang/LispReader$CtorReader.class +0 -0
- data/lib/clojure/lang/LispReader$DiscardReader.class +0 -0
- data/lib/clojure/lang/LispReader$DispatchReader.class +0 -0
- data/lib/clojure/lang/LispReader$EvalReader.class +0 -0
- data/lib/clojure/lang/LispReader$FnReader.class +0 -0
- data/lib/clojure/lang/LispReader$ListReader.class +0 -0
- data/lib/clojure/lang/LispReader$MapReader.class +0 -0
- data/lib/clojure/lang/LispReader$MetaReader.class +0 -0
- data/lib/clojure/lang/LispReader$ReaderException.class +0 -0
- data/lib/clojure/lang/LispReader$RegexReader.class +0 -0
- data/lib/clojure/lang/LispReader$SetReader.class +0 -0
- data/lib/clojure/lang/LispReader$StringReader.class +0 -0
- data/lib/clojure/lang/LispReader$SyntaxQuoteReader.class +0 -0
- data/lib/clojure/lang/LispReader$UnmatchedDelimiterReader.class +0 -0
- data/lib/clojure/lang/LispReader$UnquoteReader.class +0 -0
- data/lib/clojure/lang/LispReader$UnreadableReader.class +0 -0
- data/lib/clojure/lang/LispReader$VarReader.class +0 -0
- data/lib/clojure/lang/LispReader$VectorReader.class +0 -0
- data/lib/clojure/lang/LispReader$WrappingReader.class +0 -0
- data/lib/clojure/lang/LispReader.class +0 -0
- data/lib/clojure/lang/LockingTransaction$AbortException.class +0 -0
- data/lib/clojure/lang/LockingTransaction$CFn.class +0 -0
- data/lib/clojure/lang/LockingTransaction$Info.class +0 -0
- data/lib/clojure/lang/LockingTransaction$Notify.class +0 -0
- data/lib/clojure/lang/LockingTransaction$RetryEx.class +0 -0
- data/lib/clojure/lang/LockingTransaction.class +0 -0
- data/lib/clojure/lang/MapEntry.class +0 -0
- data/lib/clojure/lang/MultiFn.class +0 -0
- data/lib/clojure/lang/Named.class +0 -0
- data/lib/clojure/lang/Namespace.class +0 -0
- data/lib/clojure/lang/Numbers$BigDecimalOps.class +0 -0
- data/lib/clojure/lang/Numbers$BigIntegerBitOps.class +0 -0
- data/lib/clojure/lang/Numbers$BigIntegerOps.class +0 -0
- data/lib/clojure/lang/Numbers$BitOps.class +0 -0
- data/lib/clojure/lang/Numbers$DoubleOps.class +0 -0
- data/lib/clojure/lang/Numbers$FloatOps.class +0 -0
- data/lib/clojure/lang/Numbers$IntegerBitOps.class +0 -0
- data/lib/clojure/lang/Numbers$IntegerOps.class +0 -0
- data/lib/clojure/lang/Numbers$LongBitOps.class +0 -0
- data/lib/clojure/lang/Numbers$LongOps.class +0 -0
- data/lib/clojure/lang/Numbers$Ops.class +0 -0
- data/lib/clojure/lang/Numbers$RatioOps.class +0 -0
- data/lib/clojure/lang/Numbers.class +0 -0
- data/lib/clojure/lang/Obj.class +0 -0
- data/lib/clojure/lang/PersistentArrayMap$Iter.class +0 -0
- data/lib/clojure/lang/PersistentArrayMap$Seq.class +0 -0
- data/lib/clojure/lang/PersistentArrayMap.class +0 -0
- data/lib/clojure/lang/PersistentHashMap$BitmapIndexedNode$Seq.class +0 -0
- data/lib/clojure/lang/PersistentHashMap$BitmapIndexedNode.class +0 -0
- data/lib/clojure/lang/PersistentHashMap$EmptyNode.class +0 -0
- data/lib/clojure/lang/PersistentHashMap$FullNode$Seq.class +0 -0
- data/lib/clojure/lang/PersistentHashMap$FullNode.class +0 -0
- data/lib/clojure/lang/PersistentHashMap$HashCollisionNode.class +0 -0
- data/lib/clojure/lang/PersistentHashMap$INode.class +0 -0
- data/lib/clojure/lang/PersistentHashMap$LeafNode.class +0 -0
- data/lib/clojure/lang/PersistentHashMap.class +0 -0
- data/lib/clojure/lang/PersistentHashSet.class +0 -0
- data/lib/clojure/lang/PersistentList$1.class +0 -0
- data/lib/clojure/lang/PersistentList$EmptyList$1.class +0 -0
- data/lib/clojure/lang/PersistentList$EmptyList.class +0 -0
- data/lib/clojure/lang/PersistentList.class +0 -0
- data/lib/clojure/lang/PersistentQueue$Seq.class +0 -0
- data/lib/clojure/lang/PersistentQueue.class +0 -0
- data/lib/clojure/lang/PersistentStructMap$1.class +0 -0
- data/lib/clojure/lang/PersistentStructMap$Def.class +0 -0
- data/lib/clojure/lang/PersistentStructMap$Seq.class +0 -0
- data/lib/clojure/lang/PersistentStructMap.class +0 -0
- data/lib/clojure/lang/PersistentTreeMap$Black.class +0 -0
- data/lib/clojure/lang/PersistentTreeMap$BlackBranch.class +0 -0
- data/lib/clojure/lang/PersistentTreeMap$BlackBranchVal.class +0 -0
- data/lib/clojure/lang/PersistentTreeMap$BlackVal.class +0 -0
- data/lib/clojure/lang/PersistentTreeMap$KeyIterator.class +0 -0
- data/lib/clojure/lang/PersistentTreeMap$Node.class +0 -0
- data/lib/clojure/lang/PersistentTreeMap$NodeIterator.class +0 -0
- data/lib/clojure/lang/PersistentTreeMap$Red.class +0 -0
- data/lib/clojure/lang/PersistentTreeMap$RedBranch.class +0 -0
- data/lib/clojure/lang/PersistentTreeMap$RedBranchVal.class +0 -0
- data/lib/clojure/lang/PersistentTreeMap$RedVal.class +0 -0
- data/lib/clojure/lang/PersistentTreeMap$Seq.class +0 -0
- data/lib/clojure/lang/PersistentTreeMap$ValIterator.class +0 -0
- data/lib/clojure/lang/PersistentTreeMap.class +0 -0
- data/lib/clojure/lang/PersistentTreeSet.class +0 -0
- data/lib/clojure/lang/PersistentVector.class +0 -0
- data/lib/clojure/lang/ProxyHandler.class +0 -0
- data/lib/clojure/lang/RT$1.class +0 -0
- data/lib/clojure/lang/RT$2.class +0 -0
- data/lib/clojure/lang/RT$3.class +0 -0
- data/lib/clojure/lang/RT$4.class +0 -0
- data/lib/clojure/lang/RT$5.class +0 -0
- data/lib/clojure/lang/RT$6.class +0 -0
- data/lib/clojure/lang/RT.class +0 -0
- data/lib/clojure/lang/Range$Src.class +0 -0
- data/lib/clojure/lang/Range.class +0 -0
- data/lib/clojure/lang/Ratio.class +0 -0
- data/lib/clojure/lang/Ref$TVal.class +0 -0
- data/lib/clojure/lang/Ref.class +0 -0
- data/lib/clojure/lang/Reflector.class +0 -0
- data/lib/clojure/lang/Repl.class +0 -0
- data/lib/clojure/lang/RestFn.class +0 -0
- data/lib/clojure/lang/Reversible.class +0 -0
- data/lib/clojure/lang/Script.class +0 -0
- data/lib/clojure/lang/SeqEnumeration.class +0 -0
- data/lib/clojure/lang/SeqIterator.class +0 -0
- data/lib/clojure/lang/Seqable.class +0 -0
- data/lib/clojure/lang/Sequential.class +0 -0
- data/lib/clojure/lang/Settable.class +0 -0
- data/lib/clojure/lang/Sorted.class +0 -0
- data/lib/clojure/lang/Stream$1.class +0 -0
- data/lib/clojure/lang/Stream$2.class +0 -0
- data/lib/clojure/lang/Stream.class +0 -0
- data/lib/clojure/lang/Streamable.class +0 -0
- data/lib/clojure/lang/StringSeq.class +0 -0
- data/lib/clojure/lang/Symbol.class +0 -0
- data/lib/clojure/lang/TransactionalHashMap$1.class +0 -0
- data/lib/clojure/lang/TransactionalHashMap.class +0 -0
- data/lib/clojure/lang/Util.class +0 -0
- data/lib/clojure/lang/Var$1.class +0 -0
- data/lib/clojure/lang/Var$2.class +0 -0
- data/lib/clojure/lang/Var$Frame.class +0 -0
- data/lib/clojure/lang/Var.class +0 -0
- data/lib/clojure/lang/XMLHandler.class +0 -0
- data/lib/clojure/main$eval_opt__5839.class +0 -0
- data/lib/clojure/main$help_opt__5871.class +0 -0
- data/lib/clojure/main$init_dispatch__5843.class +0 -0
- data/lib/clojure/main$init_opt__5836.class +0 -0
- data/lib/clojure/main$initialize__5846.class +0 -0
- data/lib/clojure/main$legacy_repl__5878.class +0 -0
- data/lib/clojure/main$legacy_script__5883.class +0 -0
- data/lib/clojure/main$load_script__5833.class +0 -0
- data/lib/clojure/main$main__5888.class +0 -0
- data/lib/clojure/main$main_dispatch__5874.class +0 -0
- data/lib/clojure/main$null_opt__5868.class +0 -0
- data/lib/clojure/main$repl__5813$fn__5816.class +0 -0
- data/lib/clojure/main$repl__5813$fn__5819.class +0 -0
- data/lib/clojure/main$repl__5813$fn__5822.class +0 -0
- data/lib/clojure/main$repl__5813$fn__5829.class +0 -0
- data/lib/clojure/main$repl__5813$read_eval_print__5825.class +0 -0
- data/lib/clojure/main$repl__5813.class +0 -0
- data/lib/clojure/main$repl_caught__5810.class +0 -0
- data/lib/clojure/main$repl_exception__5807.class +0 -0
- data/lib/clojure/main$repl_opt__5853$fn__5856.class +0 -0
- data/lib/clojure/main$repl_opt__5853$fn__5859.class +0 -0
- data/lib/clojure/main$repl_opt__5853.class +0 -0
- data/lib/clojure/main$repl_prompt__5789.class +0 -0
- data/lib/clojure/main$repl_read__5799.class +0 -0
- data/lib/clojure/main$root_cause__5803.class +0 -0
- data/lib/clojure/main$script_opt__5864.class +0 -0
- data/lib/clojure/main$skip_if_eol__5792.class +0 -0
- data/lib/clojure/main$skip_whitespace__5795.class +0 -0
- data/lib/clojure/main$with_bindings__5786.class +0 -0
- data/lib/clojure/main.class +0 -0
- data/lib/clojure/main.clj +337 -0
- data/lib/clojure/main__init.class +0 -0
- data/lib/clojure/parallel.clj +248 -0
- data/lib/clojure/proxy/clojure/lang/APersistentMap.class +0 -0
- data/lib/clojure/proxy/java/lang/Object$ContentHandler.class +0 -0
- data/lib/clojure/proxy/java/lang/Object$Future$IDeref.class +0 -0
- data/lib/clojure/proxy/java/lang/Object$TableModel.class +0 -0
- data/lib/clojure/proxy/java/lang/Object$TreeModel.class +0 -0
- data/lib/clojure/proxy/javax/swing/table/AbstractTableModel.class +0 -0
- data/lib/clojure/set$bubble_max_key__5896$fn__5898.class +0 -0
- data/lib/clojure/set$bubble_max_key__5896.class +0 -0
- data/lib/clojure/set$difference__5920$fn__5923.class +0 -0
- data/lib/clojure/set$difference__5920.class +0 -0
- data/lib/clojure/set$index__5956$fn__5958.class +0 -0
- data/lib/clojure/set$index__5956.class +0 -0
- data/lib/clojure/set$intersection__5909$fn__5912.class +0 -0
- data/lib/clojure/set$intersection__5909$fn__5916.class +0 -0
- data/lib/clojure/set$intersection__5909.class +0 -0
- data/lib/clojure/set$join__5974$fn__5977$fn__5979.class +0 -0
- data/lib/clojure/set$join__5974$fn__5977.class +0 -0
- data/lib/clojure/set$join__5974$fn__5985$fn__5987.class +0 -0
- data/lib/clojure/set$join__5974$fn__5985.class +0 -0
- data/lib/clojure/set$join__5974.class +0 -0
- data/lib/clojure/set$map_invert__5962$fn__5965.class +0 -0
- data/lib/clojure/set$map_invert__5962.class +0 -0
- data/lib/clojure/set$project__5935$fn__5937.class +0 -0
- data/lib/clojure/set$project__5935.class +0 -0
- data/lib/clojure/set$rename__5950$fn__5952.class +0 -0
- data/lib/clojure/set$rename__5950.class +0 -0
- data/lib/clojure/set$rename_keys__5941$fn__5944.class +0 -0
- data/lib/clojure/set$rename_keys__5941.class +0 -0
- data/lib/clojure/set$select__5928$fn__5930.class +0 -0
- data/lib/clojure/set$select__5928.class +0 -0
- data/lib/clojure/set$union__5902.class +0 -0
- data/lib/clojure/set.clj +148 -0
- data/lib/clojure/set__init.class +0 -0
- data/lib/clojure/version.properties +5 -0
- data/lib/clojure/xml$emit__6057.class +0 -0
- data/lib/clojure/xml$emit_element__6052.class +0 -0
- data/lib/clojure/xml$fn__5994$fn__6007.class +0 -0
- data/lib/clojure/xml$fn__5994$fn__6010.class +0 -0
- data/lib/clojure/xml$fn__5994$fn__6013.class +0 -0
- data/lib/clojure/xml$fn__5994$fn__6016.class +0 -0
- data/lib/clojure/xml$fn__5994$fn__6019.class +0 -0
- data/lib/clojure/xml$fn__5994$fn__6022.class +0 -0
- data/lib/clojure/xml$fn__5994$fn__6025.class +0 -0
- data/lib/clojure/xml$fn__5994$fn__6028$attrs__6030.class +0 -0
- data/lib/clojure/xml$fn__5994$fn__6028.class +0 -0
- data/lib/clojure/xml$fn__5994$fn__6034.class +0 -0
- data/lib/clojure/xml$fn__5994$fn__6037.class +0 -0
- data/lib/clojure/xml$fn__5994$fn__6040.class +0 -0
- data/lib/clojure/xml$fn__5994$push_chars__6000$fn__6002.class +0 -0
- data/lib/clojure/xml$fn__5994$push_chars__6000.class +0 -0
- data/lib/clojure/xml$fn__5994$push_content__5996.class +0 -0
- data/lib/clojure/xml$fn__5994.class +0 -0
- data/lib/clojure/xml$parse__6048.class +0 -0
- data/lib/clojure/xml$startparse_sax__6045.class +0 -0
- data/lib/clojure/xml.clj +115 -0
- data/lib/clojure/xml__init.class +0 -0
- data/lib/clojure/zip$append_child__6155.class +0 -0
- data/lib/clojure/zip$branch_QMARK___6085.class +0 -0
- data/lib/clojure/zip$children__6088.class +0 -0
- data/lib/clojure/zip$down__6103.class +0 -0
- data/lib/clojure/zip$edit__6149.class +0 -0
- data/lib/clojure/zip$end_QMARK___6171.class +0 -0
- data/lib/clojure/zip$insert_child__6152.class +0 -0
- data/lib/clojure/zip$insert_left__6137.class +0 -0
- data/lib/clojure/zip$insert_right__6141.class +0 -0
- data/lib/clojure/zip$left__6127.class +0 -0
- data/lib/clojure/zip$leftmost__6132.class +0 -0
- data/lib/clojure/zip$lefts__6097.class +0 -0
- data/lib/clojure/zip$make_node__6091.class +0 -0
- data/lib/clojure/zip$next__6158.class +0 -0
- data/lib/clojure/zip$node__6082.class +0 -0
- data/lib/clojure/zip$path__6094.class +0 -0
- data/lib/clojure/zip$prev__6165.class +0 -0
- data/lib/clojure/zip$remove__6174.class +0 -0
- data/lib/clojure/zip$replace__6145.class +0 -0
- data/lib/clojure/zip$right__6116.class +0 -0
- data/lib/clojure/zip$rightmost__6122.class +0 -0
- data/lib/clojure/zip$rights__6100.class +0 -0
- data/lib/clojure/zip$root__6113.class +0 -0
- data/lib/clojure/zip$seq_zip__6063$fn__6065.class +0 -0
- data/lib/clojure/zip$seq_zip__6063.class +0 -0
- data/lib/clojure/zip$up__6108.class +0 -0
- data/lib/clojure/zip$vector_zip__6069$fn__6071.class +0 -0
- data/lib/clojure/zip$vector_zip__6069.class +0 -0
- data/lib/clojure/zip$xml_zip__6075$fn__6077.class +0 -0
- data/lib/clojure/zip$xml_zip__6075.class +0 -0
- data/lib/clojure/zip$zipper__6060.class +0 -0
- data/lib/clojure/zip.clj +278 -0
- data/lib/clojure/zip__init.class +0 -0
- data/src/clj/clojure/core.clj +4121 -0
- data/src/clj/clojure/core_print.clj +317 -0
- data/src/clj/clojure/core_proxy.clj +394 -0
- data/src/clj/clojure/genclass.clj +683 -0
- data/src/clj/clojure/inspector.clj +180 -0
- data/src/clj/clojure/main.clj +337 -0
- data/src/clj/clojure/parallel.clj +248 -0
- data/src/clj/clojure/set.clj +148 -0
- data/src/clj/clojure/version.properties +5 -0
- data/src/clj/clojure/xml.clj +115 -0
- data/src/clj/clojure/zip.clj +278 -0
- data/src/jvm/clojure/asm/AnnotationVisitor.java +97 -0
- data/src/jvm/clojure/asm/AnnotationWriter.java +357 -0
- data/src/jvm/clojure/asm/Attribute.java +253 -0
- data/src/jvm/clojure/asm/ByteVector.java +318 -0
- data/src/jvm/clojure/asm/ClassAdapter.java +115 -0
- data/src/jvm/clojure/asm/ClassReader.java +2224 -0
- data/src/jvm/clojure/asm/ClassVisitor.java +196 -0
- data/src/jvm/clojure/asm/ClassWriter.java +1415 -0
- data/src/jvm/clojure/asm/Edge.java +75 -0
- data/src/jvm/clojure/asm/FieldVisitor.java +64 -0
- data/src/jvm/clojure/asm/FieldWriter.java +290 -0
- data/src/jvm/clojure/asm/Frame.java +1506 -0
- data/src/jvm/clojure/asm/Handler.java +70 -0
- data/src/jvm/clojure/asm/Item.java +258 -0
- data/src/jvm/clojure/asm/Label.java +437 -0
- data/src/jvm/clojure/asm/MethodAdapter.java +186 -0
- data/src/jvm/clojure/asm/MethodVisitor.java +396 -0
- data/src/jvm/clojure/asm/MethodWriter.java +3029 -0
- data/src/jvm/clojure/asm/Opcodes.java +341 -0
- data/src/jvm/clojure/asm/Type.java +872 -0
- data/src/jvm/clojure/asm/commons/AdviceAdapter.java +681 -0
- data/src/jvm/clojure/asm/commons/AnalyzerAdapter.java +938 -0
- data/src/jvm/clojure/asm/commons/CodeSizeEvaluator.java +234 -0
- data/src/jvm/clojure/asm/commons/EmptyVisitor.java +221 -0
- data/src/jvm/clojure/asm/commons/GeneratorAdapter.java +1533 -0
- data/src/jvm/clojure/asm/commons/LocalVariablesSorter.java +330 -0
- data/src/jvm/clojure/asm/commons/Method.java +267 -0
- data/src/jvm/clojure/asm/commons/SerialVersionUIDAdder.java +508 -0
- data/src/jvm/clojure/asm/commons/StaticInitMerger.java +102 -0
- data/src/jvm/clojure/asm/commons/TableSwitchGenerator.java +55 -0
- data/src/jvm/clojure/asm/commons/package.html +48 -0
- data/src/jvm/clojure/asm/package.html +87 -0
- data/src/jvm/clojure/lang/AFn.java +452 -0
- data/src/jvm/clojure/lang/AFunction.java +47 -0
- data/src/jvm/clojure/lang/AMapEntry.java +149 -0
- data/src/jvm/clojure/lang/APersistentMap.java +382 -0
- data/src/jvm/clojure/lang/APersistentSet.java +159 -0
- data/src/jvm/clojure/lang/APersistentVector.java +579 -0
- data/src/jvm/clojure/lang/ARef.java +107 -0
- data/src/jvm/clojure/lang/AReference.java +40 -0
- data/src/jvm/clojure/lang/ASeq.java +282 -0
- data/src/jvm/clojure/lang/Agent.java +194 -0
- data/src/jvm/clojure/lang/ArraySeq.java +316 -0
- data/src/jvm/clojure/lang/ArrayStream.java +184 -0
- data/src/jvm/clojure/lang/Associative.java +22 -0
- data/src/jvm/clojure/lang/Atom.java +104 -0
- data/src/jvm/clojure/lang/Binding.java +26 -0
- data/src/jvm/clojure/lang/Box.java +22 -0
- data/src/jvm/clojure/lang/Compile.java +73 -0
- data/src/jvm/clojure/lang/Compiler.java +5017 -0
- data/src/jvm/clojure/lang/Cons.java +53 -0
- data/src/jvm/clojure/lang/Counted.java +18 -0
- data/src/jvm/clojure/lang/Delay.java +38 -0
- data/src/jvm/clojure/lang/DynamicClassLoader.java +71 -0
- data/src/jvm/clojure/lang/EnumerationSeq.java +71 -0
- data/src/jvm/clojure/lang/Fn.java +16 -0
- data/src/jvm/clojure/lang/IDeref.java +17 -0
- data/src/jvm/clojure/lang/IFn.java +90 -0
- data/src/jvm/clojure/lang/IMapEntry.java +19 -0
- data/src/jvm/clojure/lang/IMeta.java +17 -0
- data/src/jvm/clojure/lang/IObj.java +18 -0
- data/src/jvm/clojure/lang/IPersistentCollection.java +23 -0
- data/src/jvm/clojure/lang/IPersistentList.java +16 -0
- data/src/jvm/clojure/lang/IPersistentMap.java +23 -0
- data/src/jvm/clojure/lang/IPersistentSet.java +19 -0
- data/src/jvm/clojure/lang/IPersistentStack.java +19 -0
- data/src/jvm/clojure/lang/IPersistentVector.java +22 -0
- data/src/jvm/clojure/lang/IProxy.java +21 -0
- data/src/jvm/clojure/lang/IReduce.java +19 -0
- data/src/jvm/clojure/lang/IRef.java +27 -0
- data/src/jvm/clojure/lang/IReference.java +18 -0
- data/src/jvm/clojure/lang/ISeq.java +29 -0
- data/src/jvm/clojure/lang/IndexedSeq.java +16 -0
- data/src/jvm/clojure/lang/IteratorSeq.java +69 -0
- data/src/jvm/clojure/lang/IteratorStream.java +29 -0
- data/src/jvm/clojure/lang/Keyword.java +199 -0
- data/src/jvm/clojure/lang/LazilyPersistentVector.java +79 -0
- data/src/jvm/clojure/lang/LazySeq.java +233 -0
- data/src/jvm/clojure/lang/LineNumberingPushbackReader.java +75 -0
- data/src/jvm/clojure/lang/LispReader.java +1063 -0
- data/src/jvm/clojure/lang/LockingTransaction.java +583 -0
- data/src/jvm/clojure/lang/MapEntry.java +40 -0
- data/src/jvm/clojure/lang/MultiFn.java +308 -0
- data/src/jvm/clojure/lang/Named.java +19 -0
- data/src/jvm/clojure/lang/Namespace.java +178 -0
- data/src/jvm/clojure/lang/Numbers.java +4371 -0
- data/src/jvm/clojure/lang/Obj.java +33 -0
- data/src/jvm/clojure/lang/PersistentArrayMap.java +263 -0
- data/src/jvm/clojure/lang/PersistentHashMap.java +746 -0
- data/src/jvm/clojure/lang/PersistentHashSet.java +72 -0
- data/src/jvm/clojure/lang/PersistentList.java +298 -0
- data/src/jvm/clojure/lang/PersistentQueue.java +304 -0
- data/src/jvm/clojure/lang/PersistentStructMap.java +225 -0
- data/src/jvm/clojure/lang/PersistentTreeMap.java +998 -0
- data/src/jvm/clojure/lang/PersistentTreeSet.java +94 -0
- data/src/jvm/clojure/lang/PersistentVector.java +320 -0
- data/src/jvm/clojure/lang/ProxyHandler.java +72 -0
- data/src/jvm/clojure/lang/RT.java +1676 -0
- data/src/jvm/clojure/lang/Range.java +85 -0
- data/src/jvm/clojure/lang/Ratio.java +74 -0
- data/src/jvm/clojure/lang/Ref.java +335 -0
- data/src/jvm/clojure/lang/Reflector.java +448 -0
- data/src/jvm/clojure/lang/Repl.java +22 -0
- data/src/jvm/clojure/lang/RestFn.java +1335 -0
- data/src/jvm/clojure/lang/Reversible.java +17 -0
- data/src/jvm/clojure/lang/Script.java +22 -0
- data/src/jvm/clojure/lang/SeqEnumeration.java +33 -0
- data/src/jvm/clojure/lang/SeqIterator.java +41 -0
- data/src/jvm/clojure/lang/Seqable.java +17 -0
- data/src/jvm/clojure/lang/Sequential.java +13 -0
- data/src/jvm/clojure/lang/Settable.java +18 -0
- data/src/jvm/clojure/lang/Sorted.java +25 -0
- data/src/jvm/clojure/lang/Stream.java +88 -0
- data/src/jvm/clojure/lang/Streamable.java +17 -0
- data/src/jvm/clojure/lang/StringSeq.java +50 -0
- data/src/jvm/clojure/lang/Symbol.java +121 -0
- data/src/jvm/clojure/lang/TransactionalHashMap.java +197 -0
- data/src/jvm/clojure/lang/Util.java +74 -0
- data/src/jvm/clojure/lang/Var.java +472 -0
- data/src/jvm/clojure/lang/XMLHandler.java +89 -0
- data/src/jvm/clojure/main.java +41 -0
- metadata +1433 -0
@@ -0,0 +1,1533 @@
|
|
1
|
+
/***
|
2
|
+
* ASM: a very small and fast Java bytecode manipulation framework
|
3
|
+
* Copyright (c) 2000-2005 INRIA, France Telecom
|
4
|
+
* All rights reserved.
|
5
|
+
*
|
6
|
+
* Redistribution and use in source and binary forms, with or without
|
7
|
+
* modification, are permitted provided that the following conditions
|
8
|
+
* are met:
|
9
|
+
* 1. Redistributions of source code must retain the above copyright
|
10
|
+
* notice, this list of conditions and the following disclaimer.
|
11
|
+
* 2. Redistributions in binary form must reproduce the above copyright
|
12
|
+
* notice, this list of conditions and the following disclaimer in the
|
13
|
+
* documentation and/or other materials provided with the distribution.
|
14
|
+
* 3. Neither the name of the copyright holders nor the names of its
|
15
|
+
* contributors may be used to endorse or promote products derived from
|
16
|
+
* this software without specific prior written permission.
|
17
|
+
*
|
18
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
19
|
+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
20
|
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
21
|
+
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
22
|
+
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
23
|
+
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
24
|
+
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
25
|
+
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
26
|
+
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
27
|
+
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
28
|
+
* THE POSSIBILITY OF SUCH DAMAGE.
|
29
|
+
*/
|
30
|
+
package clojure.asm.commons;
|
31
|
+
|
32
|
+
import java.util.ArrayList;
|
33
|
+
import java.util.Arrays;
|
34
|
+
import java.util.List;
|
35
|
+
|
36
|
+
import clojure.asm.ClassVisitor;
|
37
|
+
import clojure.asm.Label;
|
38
|
+
import clojure.asm.MethodVisitor;
|
39
|
+
import clojure.asm.Opcodes;
|
40
|
+
import clojure.asm.Type;
|
41
|
+
|
42
|
+
/**
|
43
|
+
* A {@link clojure.asm.MethodAdapter} with convenient methods to generate
|
44
|
+
* code. For example, using this adapter, the class below
|
45
|
+
* <p/>
|
46
|
+
* <pre>
|
47
|
+
* public class Example {
|
48
|
+
* public static void main(String[] args) {
|
49
|
+
* System.out.println("Hello world!");
|
50
|
+
* }
|
51
|
+
* }
|
52
|
+
* </pre>
|
53
|
+
* <p/>
|
54
|
+
* can be generated as follows:
|
55
|
+
* <p/>
|
56
|
+
* <pre>
|
57
|
+
* ClassWriter cw = new ClassWriter(true);
|
58
|
+
* cw.visit(V1_1, ACC_PUBLIC, "Example", null, "java/lang/Object", null);
|
59
|
+
* <p/>
|
60
|
+
* Method m = Method.getMethod("void <init> ()");
|
61
|
+
* GeneratorAdapter mg = new GeneratorAdapter(ACC_PUBLIC, m, null, null, cw);
|
62
|
+
* mg.loadThis();
|
63
|
+
* mg.invokeConstructor(Type.getType(Object.class), m);
|
64
|
+
* mg.returnValue();
|
65
|
+
* mg.endMethod();
|
66
|
+
* <p/>
|
67
|
+
* m = Method.getMethod("void main (String[])");
|
68
|
+
* mg = new GeneratorAdapter(ACC_PUBLIC + ACC_STATIC, m, null, null, cw);
|
69
|
+
* mg.getStatic(Type.getType(System.class), "out", Type.getType(PrintStream.class));
|
70
|
+
* mg.push("Hello world!");
|
71
|
+
* mg.invokeVirtual(Type.getType(PrintStream.class), Method.getMethod("void println (String)"));
|
72
|
+
* mg.returnValue();
|
73
|
+
* mg.endMethod();
|
74
|
+
* <p/>
|
75
|
+
* cw.visitEnd();
|
76
|
+
* </pre>
|
77
|
+
*
|
78
|
+
* @author Juozas Baliuka
|
79
|
+
* @author Chris Nokleberg
|
80
|
+
* @author Eric Bruneton
|
81
|
+
*/
|
82
|
+
public class GeneratorAdapter extends LocalVariablesSorter{
|
83
|
+
|
84
|
+
private final static Type BYTE_TYPE = Type.getObjectType("java/lang/Byte");
|
85
|
+
|
86
|
+
private final static Type BOOLEAN_TYPE = Type.getObjectType("java/lang/Boolean");
|
87
|
+
|
88
|
+
private final static Type SHORT_TYPE = Type.getObjectType("java/lang/Short");
|
89
|
+
|
90
|
+
private final static Type CHARACTER_TYPE = Type.getObjectType("java/lang/Character");
|
91
|
+
|
92
|
+
private final static Type INTEGER_TYPE = Type.getObjectType("java/lang/Integer");
|
93
|
+
|
94
|
+
private final static Type FLOAT_TYPE = Type.getObjectType("java/lang/Float");
|
95
|
+
|
96
|
+
private final static Type LONG_TYPE = Type.getObjectType("java/lang/Long");
|
97
|
+
|
98
|
+
private final static Type DOUBLE_TYPE = Type.getObjectType("java/lang/Double");
|
99
|
+
|
100
|
+
private final static Type NUMBER_TYPE = Type.getObjectType("java/lang/Number");
|
101
|
+
|
102
|
+
private final static Type OBJECT_TYPE = Type.getObjectType("java/lang/Object");
|
103
|
+
|
104
|
+
private final static Method BOOLEAN_VALUE = Method.getMethod("boolean booleanValue()");
|
105
|
+
|
106
|
+
private final static Method CHAR_VALUE = Method.getMethod("char charValue()");
|
107
|
+
|
108
|
+
private final static Method INT_VALUE = Method.getMethod("int intValue()");
|
109
|
+
|
110
|
+
private final static Method FLOAT_VALUE = Method.getMethod("float floatValue()");
|
111
|
+
|
112
|
+
private final static Method LONG_VALUE = Method.getMethod("long longValue()");
|
113
|
+
|
114
|
+
private final static Method DOUBLE_VALUE = Method.getMethod("double doubleValue()");
|
115
|
+
|
116
|
+
/**
|
117
|
+
* Constant for the {@link #math math} method.
|
118
|
+
*/
|
119
|
+
public final static int ADD = Opcodes.IADD;
|
120
|
+
|
121
|
+
/**
|
122
|
+
* Constant for the {@link #math math} method.
|
123
|
+
*/
|
124
|
+
public final static int SUB = Opcodes.ISUB;
|
125
|
+
|
126
|
+
/**
|
127
|
+
* Constant for the {@link #math math} method.
|
128
|
+
*/
|
129
|
+
public final static int MUL = Opcodes.IMUL;
|
130
|
+
|
131
|
+
/**
|
132
|
+
* Constant for the {@link #math math} method.
|
133
|
+
*/
|
134
|
+
public final static int DIV = Opcodes.IDIV;
|
135
|
+
|
136
|
+
/**
|
137
|
+
* Constant for the {@link #math math} method.
|
138
|
+
*/
|
139
|
+
public final static int REM = Opcodes.IREM;
|
140
|
+
|
141
|
+
/**
|
142
|
+
* Constant for the {@link #math math} method.
|
143
|
+
*/
|
144
|
+
public final static int NEG = Opcodes.INEG;
|
145
|
+
|
146
|
+
/**
|
147
|
+
* Constant for the {@link #math math} method.
|
148
|
+
*/
|
149
|
+
public final static int SHL = Opcodes.ISHL;
|
150
|
+
|
151
|
+
/**
|
152
|
+
* Constant for the {@link #math math} method.
|
153
|
+
*/
|
154
|
+
public final static int SHR = Opcodes.ISHR;
|
155
|
+
|
156
|
+
/**
|
157
|
+
* Constant for the {@link #math math} method.
|
158
|
+
*/
|
159
|
+
public final static int USHR = Opcodes.IUSHR;
|
160
|
+
|
161
|
+
/**
|
162
|
+
* Constant for the {@link #math math} method.
|
163
|
+
*/
|
164
|
+
public final static int AND = Opcodes.IAND;
|
165
|
+
|
166
|
+
/**
|
167
|
+
* Constant for the {@link #math math} method.
|
168
|
+
*/
|
169
|
+
public final static int OR = Opcodes.IOR;
|
170
|
+
|
171
|
+
/**
|
172
|
+
* Constant for the {@link #math math} method.
|
173
|
+
*/
|
174
|
+
public final static int XOR = Opcodes.IXOR;
|
175
|
+
|
176
|
+
/**
|
177
|
+
* Constant for the {@link #ifCmp ifCmp} method.
|
178
|
+
*/
|
179
|
+
public final static int EQ = Opcodes.IFEQ;
|
180
|
+
|
181
|
+
/**
|
182
|
+
* Constant for the {@link #ifCmp ifCmp} method.
|
183
|
+
*/
|
184
|
+
public final static int NE = Opcodes.IFNE;
|
185
|
+
|
186
|
+
/**
|
187
|
+
* Constant for the {@link #ifCmp ifCmp} method.
|
188
|
+
*/
|
189
|
+
public final static int LT = Opcodes.IFLT;
|
190
|
+
|
191
|
+
/**
|
192
|
+
* Constant for the {@link #ifCmp ifCmp} method.
|
193
|
+
*/
|
194
|
+
public final static int GE = Opcodes.IFGE;
|
195
|
+
|
196
|
+
/**
|
197
|
+
* Constant for the {@link #ifCmp ifCmp} method.
|
198
|
+
*/
|
199
|
+
public final static int GT = Opcodes.IFGT;
|
200
|
+
|
201
|
+
/**
|
202
|
+
* Constant for the {@link #ifCmp ifCmp} method.
|
203
|
+
*/
|
204
|
+
public final static int LE = Opcodes.IFLE;
|
205
|
+
|
206
|
+
/**
|
207
|
+
* Access flags of the method visited by this adapter.
|
208
|
+
*/
|
209
|
+
private final int access;
|
210
|
+
|
211
|
+
/**
|
212
|
+
* Return type of the method visited by this adapter.
|
213
|
+
*/
|
214
|
+
private final Type returnType;
|
215
|
+
|
216
|
+
/**
|
217
|
+
* Argument types of the method visited by this adapter.
|
218
|
+
*/
|
219
|
+
private final Type[] argumentTypes;
|
220
|
+
|
221
|
+
/**
|
222
|
+
* Types of the local variables of the method visited by this adapter.
|
223
|
+
*/
|
224
|
+
private final List localTypes = new ArrayList();
|
225
|
+
|
226
|
+
/**
|
227
|
+
* Creates a new {@link GeneratorAdapter}.
|
228
|
+
*
|
229
|
+
* @param mv the method visitor to which this adapter delegates calls.
|
230
|
+
* @param access the method's access flags (see {@link Opcodes}).
|
231
|
+
* @param name the method's name.
|
232
|
+
* @param desc the method's descriptor (see {@link Type Type}).
|
233
|
+
*/
|
234
|
+
public GeneratorAdapter(
|
235
|
+
final MethodVisitor mv,
|
236
|
+
final int access,
|
237
|
+
final String name,
|
238
|
+
final String desc){
|
239
|
+
super(access, desc, mv);
|
240
|
+
this.access = access;
|
241
|
+
this.returnType = Type.getReturnType(desc);
|
242
|
+
this.argumentTypes = Type.getArgumentTypes(desc);
|
243
|
+
}
|
244
|
+
|
245
|
+
/**
|
246
|
+
* Creates a new {@link GeneratorAdapter}.
|
247
|
+
*
|
248
|
+
* @param access access flags of the adapted method.
|
249
|
+
* @param method the adapted method.
|
250
|
+
* @param mv the method visitor to which this adapter delegates calls.
|
251
|
+
*/
|
252
|
+
public GeneratorAdapter(
|
253
|
+
final int access,
|
254
|
+
final Method method,
|
255
|
+
final MethodVisitor mv){
|
256
|
+
super(access, method.getDescriptor(), mv);
|
257
|
+
this.access = access;
|
258
|
+
this.returnType = method.getReturnType();
|
259
|
+
this.argumentTypes = method.getArgumentTypes();
|
260
|
+
}
|
261
|
+
|
262
|
+
/**
|
263
|
+
* Creates a new {@link GeneratorAdapter}.
|
264
|
+
*
|
265
|
+
* @param access access flags of the adapted method.
|
266
|
+
* @param method the adapted method.
|
267
|
+
* @param signature the signature of the adapted method (may be
|
268
|
+
* <tt>null</tt>).
|
269
|
+
* @param exceptions the exceptions thrown by the adapted method (may be
|
270
|
+
* <tt>null</tt>).
|
271
|
+
* @param cv the class visitor to which this adapter delegates calls.
|
272
|
+
*/
|
273
|
+
public GeneratorAdapter(
|
274
|
+
final int access,
|
275
|
+
final Method method,
|
276
|
+
final String signature,
|
277
|
+
final Type[] exceptions,
|
278
|
+
final ClassVisitor cv){
|
279
|
+
this(access, method, cv.visitMethod(access,
|
280
|
+
method.getName(),
|
281
|
+
method.getDescriptor(),
|
282
|
+
signature,
|
283
|
+
getInternalNames(exceptions)));
|
284
|
+
}
|
285
|
+
|
286
|
+
/**
|
287
|
+
* Returns the internal names of the given types.
|
288
|
+
*
|
289
|
+
* @param types a set of types.
|
290
|
+
* @return the internal names of the given types.
|
291
|
+
*/
|
292
|
+
private static String[] getInternalNames(final Type[] types){
|
293
|
+
if(types == null)
|
294
|
+
{
|
295
|
+
return null;
|
296
|
+
}
|
297
|
+
String[] names = new String[types.length];
|
298
|
+
for(int i = 0; i < names.length; ++i)
|
299
|
+
{
|
300
|
+
names[i] = types[i].getInternalName();
|
301
|
+
}
|
302
|
+
return names;
|
303
|
+
}
|
304
|
+
|
305
|
+
// ------------------------------------------------------------------------
|
306
|
+
// Instructions to push constants on the stack
|
307
|
+
// ------------------------------------------------------------------------
|
308
|
+
|
309
|
+
/**
|
310
|
+
* Generates the instruction to push the given value on the stack.
|
311
|
+
*
|
312
|
+
* @param value the value to be pushed on the stack.
|
313
|
+
*/
|
314
|
+
public void push(final boolean value){
|
315
|
+
push(value ? 1 : 0);
|
316
|
+
}
|
317
|
+
|
318
|
+
/**
|
319
|
+
* Generates the instruction to push the given value on the stack.
|
320
|
+
*
|
321
|
+
* @param value the value to be pushed on the stack.
|
322
|
+
*/
|
323
|
+
public void push(final int value){
|
324
|
+
if(value >= -1 && value <= 5)
|
325
|
+
{
|
326
|
+
mv.visitInsn(Opcodes.ICONST_0 + value);
|
327
|
+
}
|
328
|
+
else if(value >= Byte.MIN_VALUE && value <= Byte.MAX_VALUE)
|
329
|
+
{
|
330
|
+
mv.visitIntInsn(Opcodes.BIPUSH, value);
|
331
|
+
}
|
332
|
+
else if(value >= Short.MIN_VALUE && value <= Short.MAX_VALUE)
|
333
|
+
{
|
334
|
+
mv.visitIntInsn(Opcodes.SIPUSH, value);
|
335
|
+
}
|
336
|
+
else
|
337
|
+
{
|
338
|
+
mv.visitLdcInsn(new Integer(value));
|
339
|
+
}
|
340
|
+
}
|
341
|
+
|
342
|
+
/**
|
343
|
+
* Generates the instruction to push the given value on the stack.
|
344
|
+
*
|
345
|
+
* @param value the value to be pushed on the stack.
|
346
|
+
*/
|
347
|
+
public void push(final long value){
|
348
|
+
if(value == 0L || value == 1L)
|
349
|
+
{
|
350
|
+
mv.visitInsn(Opcodes.LCONST_0 + (int) value);
|
351
|
+
}
|
352
|
+
else
|
353
|
+
{
|
354
|
+
mv.visitLdcInsn(new Long(value));
|
355
|
+
}
|
356
|
+
}
|
357
|
+
|
358
|
+
/**
|
359
|
+
* Generates the instruction to push the given value on the stack.
|
360
|
+
*
|
361
|
+
* @param value the value to be pushed on the stack.
|
362
|
+
*/
|
363
|
+
public void push(final float value){
|
364
|
+
int bits = Float.floatToIntBits(value);
|
365
|
+
if(bits == 0L || bits == 0x3f800000 || bits == 0x40000000)
|
366
|
+
{ // 0..2
|
367
|
+
mv.visitInsn(Opcodes.FCONST_0 + (int) value);
|
368
|
+
}
|
369
|
+
else
|
370
|
+
{
|
371
|
+
mv.visitLdcInsn(new Float(value));
|
372
|
+
}
|
373
|
+
}
|
374
|
+
|
375
|
+
/**
|
376
|
+
* Generates the instruction to push the given value on the stack.
|
377
|
+
*
|
378
|
+
* @param value the value to be pushed on the stack.
|
379
|
+
*/
|
380
|
+
public void push(final double value){
|
381
|
+
long bits = Double.doubleToLongBits(value);
|
382
|
+
if(bits == 0L || bits == 0x3ff0000000000000L)
|
383
|
+
{ // +0.0d and 1.0d
|
384
|
+
mv.visitInsn(Opcodes.DCONST_0 + (int) value);
|
385
|
+
}
|
386
|
+
else
|
387
|
+
{
|
388
|
+
mv.visitLdcInsn(new Double(value));
|
389
|
+
}
|
390
|
+
}
|
391
|
+
|
392
|
+
/**
|
393
|
+
* Generates the instruction to push the given value on the stack.
|
394
|
+
*
|
395
|
+
* @param value the value to be pushed on the stack. May be <tt>null</tt>.
|
396
|
+
*/
|
397
|
+
public void push(final String value){
|
398
|
+
if(value == null)
|
399
|
+
{
|
400
|
+
mv.visitInsn(Opcodes.ACONST_NULL);
|
401
|
+
}
|
402
|
+
else
|
403
|
+
{
|
404
|
+
mv.visitLdcInsn(value);
|
405
|
+
}
|
406
|
+
}
|
407
|
+
|
408
|
+
/**
|
409
|
+
* Generates the instruction to push the given value on the stack.
|
410
|
+
*
|
411
|
+
* @param value the value to be pushed on the stack.
|
412
|
+
*/
|
413
|
+
public void push(final Type value){
|
414
|
+
if(value == null)
|
415
|
+
{
|
416
|
+
mv.visitInsn(Opcodes.ACONST_NULL);
|
417
|
+
}
|
418
|
+
else
|
419
|
+
{
|
420
|
+
mv.visitLdcInsn(value);
|
421
|
+
}
|
422
|
+
}
|
423
|
+
|
424
|
+
// ------------------------------------------------------------------------
|
425
|
+
// Instructions to load and store method arguments
|
426
|
+
// ------------------------------------------------------------------------
|
427
|
+
|
428
|
+
/**
|
429
|
+
* Returns the index of the given method argument in the frame's local
|
430
|
+
* variables array.
|
431
|
+
*
|
432
|
+
* @param arg the index of a method argument.
|
433
|
+
* @return the index of the given method argument in the frame's local
|
434
|
+
* variables array.
|
435
|
+
*/
|
436
|
+
private int getArgIndex(final int arg){
|
437
|
+
int index = (access & Opcodes.ACC_STATIC) == 0 ? 1 : 0;
|
438
|
+
for(int i = 0; i < arg; i++)
|
439
|
+
{
|
440
|
+
index += argumentTypes[i].getSize();
|
441
|
+
}
|
442
|
+
return index;
|
443
|
+
}
|
444
|
+
|
445
|
+
/**
|
446
|
+
* Generates the instruction to push a local variable on the stack.
|
447
|
+
*
|
448
|
+
* @param type the type of the local variable to be loaded.
|
449
|
+
* @param index an index in the frame's local variables array.
|
450
|
+
*/
|
451
|
+
private void loadInsn(final Type type, final int index){
|
452
|
+
mv.visitVarInsn(type.getOpcode(Opcodes.ILOAD), index);
|
453
|
+
}
|
454
|
+
|
455
|
+
/**
|
456
|
+
* Generates the instruction to store the top stack value in a local
|
457
|
+
* variable.
|
458
|
+
*
|
459
|
+
* @param type the type of the local variable to be stored.
|
460
|
+
* @param index an index in the frame's local variables array.
|
461
|
+
*/
|
462
|
+
private void storeInsn(final Type type, final int index){
|
463
|
+
mv.visitVarInsn(type.getOpcode(Opcodes.ISTORE), index);
|
464
|
+
}
|
465
|
+
|
466
|
+
/**
|
467
|
+
* Generates the instruction to load 'this' on the stack.
|
468
|
+
*/
|
469
|
+
public void loadThis(){
|
470
|
+
if((access & Opcodes.ACC_STATIC) != 0)
|
471
|
+
{
|
472
|
+
throw new IllegalStateException("no 'this' pointer within static method");
|
473
|
+
}
|
474
|
+
mv.visitVarInsn(Opcodes.ALOAD, 0);
|
475
|
+
}
|
476
|
+
|
477
|
+
/**
|
478
|
+
* Generates the instruction to load the given method argument on the stack.
|
479
|
+
*
|
480
|
+
* @param arg the index of a method argument.
|
481
|
+
*/
|
482
|
+
public void loadArg(final int arg){
|
483
|
+
loadInsn(argumentTypes[arg], getArgIndex(arg));
|
484
|
+
}
|
485
|
+
|
486
|
+
/**
|
487
|
+
* Generates the instructions to load the given method arguments on the
|
488
|
+
* stack.
|
489
|
+
*
|
490
|
+
* @param arg the index of the first method argument to be loaded.
|
491
|
+
* @param count the number of method arguments to be loaded.
|
492
|
+
*/
|
493
|
+
public void loadArgs(final int arg, final int count){
|
494
|
+
int index = getArgIndex(arg);
|
495
|
+
for(int i = 0; i < count; ++i)
|
496
|
+
{
|
497
|
+
Type t = argumentTypes[arg + i];
|
498
|
+
loadInsn(t, index);
|
499
|
+
index += t.getSize();
|
500
|
+
}
|
501
|
+
}
|
502
|
+
|
503
|
+
/**
|
504
|
+
* Generates the instructions to load all the method arguments on the stack.
|
505
|
+
*/
|
506
|
+
public void loadArgs(){
|
507
|
+
loadArgs(0, argumentTypes.length);
|
508
|
+
}
|
509
|
+
|
510
|
+
/**
|
511
|
+
* Generates the instructions to load all the method arguments on the stack,
|
512
|
+
* as a single object array.
|
513
|
+
*/
|
514
|
+
public void loadArgArray(){
|
515
|
+
push(argumentTypes.length);
|
516
|
+
newArray(OBJECT_TYPE);
|
517
|
+
for(int i = 0; i < argumentTypes.length; i++)
|
518
|
+
{
|
519
|
+
dup();
|
520
|
+
push(i);
|
521
|
+
loadArg(i);
|
522
|
+
box(argumentTypes[i]);
|
523
|
+
arrayStore(OBJECT_TYPE);
|
524
|
+
}
|
525
|
+
}
|
526
|
+
|
527
|
+
/**
|
528
|
+
* Generates the instruction to store the top stack value in the given
|
529
|
+
* method argument.
|
530
|
+
*
|
531
|
+
* @param arg the index of a method argument.
|
532
|
+
*/
|
533
|
+
public void storeArg(final int arg){
|
534
|
+
storeInsn(argumentTypes[arg], getArgIndex(arg));
|
535
|
+
}
|
536
|
+
|
537
|
+
// ------------------------------------------------------------------------
|
538
|
+
// Instructions to load and store local variables
|
539
|
+
// ------------------------------------------------------------------------
|
540
|
+
|
541
|
+
/**
|
542
|
+
* Returns the type of the given local variable.
|
543
|
+
*
|
544
|
+
* @param local a local variable identifier, as returned by
|
545
|
+
* {@link LocalVariablesSorter#newLocal(Type) newLocal()}.
|
546
|
+
* @return the type of the given local variable.
|
547
|
+
*/
|
548
|
+
public Type getLocalType(final int local){
|
549
|
+
return (Type) localTypes.get(local - firstLocal);
|
550
|
+
}
|
551
|
+
|
552
|
+
protected void setLocalType(final int local, final Type type){
|
553
|
+
int index = local - firstLocal;
|
554
|
+
while(localTypes.size() < index + 1)
|
555
|
+
{
|
556
|
+
localTypes.add(null);
|
557
|
+
}
|
558
|
+
localTypes.set(index, type);
|
559
|
+
}
|
560
|
+
|
561
|
+
/**
|
562
|
+
* Generates the instruction to load the given local variable on the stack.
|
563
|
+
*
|
564
|
+
* @param local a local variable identifier, as returned by
|
565
|
+
* {@link LocalVariablesSorter#newLocal(Type) newLocal()}.
|
566
|
+
*/
|
567
|
+
public void loadLocal(final int local){
|
568
|
+
loadInsn(getLocalType(local), local);
|
569
|
+
}
|
570
|
+
|
571
|
+
/**
|
572
|
+
* Generates the instruction to load the given local variable on the stack.
|
573
|
+
*
|
574
|
+
* @param local a local variable identifier, as returned by
|
575
|
+
* {@link LocalVariablesSorter#newLocal(Type) newLocal()}.
|
576
|
+
* @param type the type of this local variable.
|
577
|
+
*/
|
578
|
+
public void loadLocal(final int local, final Type type){
|
579
|
+
setLocalType(local, type);
|
580
|
+
loadInsn(type, local);
|
581
|
+
}
|
582
|
+
|
583
|
+
/**
|
584
|
+
* Generates the instruction to store the top stack value in the given local
|
585
|
+
* variable.
|
586
|
+
*
|
587
|
+
* @param local a local variable identifier, as returned by
|
588
|
+
* {@link LocalVariablesSorter#newLocal(Type) newLocal()}.
|
589
|
+
*/
|
590
|
+
public void storeLocal(final int local){
|
591
|
+
storeInsn(getLocalType(local), local);
|
592
|
+
}
|
593
|
+
|
594
|
+
/**
|
595
|
+
* Generates the instruction to store the top stack value in the given local
|
596
|
+
* variable.
|
597
|
+
*
|
598
|
+
* @param local a local variable identifier, as returned by
|
599
|
+
* {@link LocalVariablesSorter#newLocal(Type) newLocal()}.
|
600
|
+
* @param type the type of this local variable.
|
601
|
+
*/
|
602
|
+
public void storeLocal(final int local, final Type type){
|
603
|
+
setLocalType(local, type);
|
604
|
+
storeInsn(type, local);
|
605
|
+
}
|
606
|
+
|
607
|
+
/**
|
608
|
+
* Generates the instruction to load an element from an array.
|
609
|
+
*
|
610
|
+
* @param type the type of the array element to be loaded.
|
611
|
+
*/
|
612
|
+
public void arrayLoad(final Type type){
|
613
|
+
mv.visitInsn(type.getOpcode(Opcodes.IALOAD));
|
614
|
+
}
|
615
|
+
|
616
|
+
/**
|
617
|
+
* Generates the instruction to store an element in an array.
|
618
|
+
*
|
619
|
+
* @param type the type of the array element to be stored.
|
620
|
+
*/
|
621
|
+
public void arrayStore(final Type type){
|
622
|
+
mv.visitInsn(type.getOpcode(Opcodes.IASTORE));
|
623
|
+
}
|
624
|
+
|
625
|
+
// ------------------------------------------------------------------------
|
626
|
+
// Instructions to manage the stack
|
627
|
+
// ------------------------------------------------------------------------
|
628
|
+
|
629
|
+
/**
|
630
|
+
* Generates a POP instruction.
|
631
|
+
*/
|
632
|
+
public void pop(){
|
633
|
+
mv.visitInsn(Opcodes.POP);
|
634
|
+
}
|
635
|
+
|
636
|
+
/**
|
637
|
+
* Generates a POP2 instruction.
|
638
|
+
*/
|
639
|
+
public void pop2(){
|
640
|
+
mv.visitInsn(Opcodes.POP2);
|
641
|
+
}
|
642
|
+
|
643
|
+
/**
|
644
|
+
* Generates a DUP instruction.
|
645
|
+
*/
|
646
|
+
public void dup(){
|
647
|
+
mv.visitInsn(Opcodes.DUP);
|
648
|
+
}
|
649
|
+
|
650
|
+
/**
|
651
|
+
* Generates a DUP2 instruction.
|
652
|
+
*/
|
653
|
+
public void dup2(){
|
654
|
+
mv.visitInsn(Opcodes.DUP2);
|
655
|
+
}
|
656
|
+
|
657
|
+
/**
|
658
|
+
* Generates a DUP_X1 instruction.
|
659
|
+
*/
|
660
|
+
public void dupX1(){
|
661
|
+
mv.visitInsn(Opcodes.DUP_X1);
|
662
|
+
}
|
663
|
+
|
664
|
+
/**
|
665
|
+
* Generates a DUP_X2 instruction.
|
666
|
+
*/
|
667
|
+
public void dupX2(){
|
668
|
+
mv.visitInsn(Opcodes.DUP_X2);
|
669
|
+
}
|
670
|
+
|
671
|
+
/**
|
672
|
+
* Generates a DUP2_X1 instruction.
|
673
|
+
*/
|
674
|
+
public void dup2X1(){
|
675
|
+
mv.visitInsn(Opcodes.DUP2_X1);
|
676
|
+
}
|
677
|
+
|
678
|
+
/**
|
679
|
+
* Generates a DUP2_X2 instruction.
|
680
|
+
*/
|
681
|
+
public void dup2X2(){
|
682
|
+
mv.visitInsn(Opcodes.DUP2_X2);
|
683
|
+
}
|
684
|
+
|
685
|
+
/**
|
686
|
+
* Generates a SWAP instruction.
|
687
|
+
*/
|
688
|
+
public void swap(){
|
689
|
+
mv.visitInsn(Opcodes.SWAP);
|
690
|
+
}
|
691
|
+
|
692
|
+
/**
|
693
|
+
* Generates the instructions to swap the top two stack values.
|
694
|
+
*
|
695
|
+
* @param prev type of the top - 1 stack value.
|
696
|
+
* @param type type of the top stack value.
|
697
|
+
*/
|
698
|
+
public void swap(final Type prev, final Type type){
|
699
|
+
if(type.getSize() == 1)
|
700
|
+
{
|
701
|
+
if(prev.getSize() == 1)
|
702
|
+
{
|
703
|
+
swap(); // same as dupX1(), pop();
|
704
|
+
}
|
705
|
+
else
|
706
|
+
{
|
707
|
+
dupX2();
|
708
|
+
pop();
|
709
|
+
}
|
710
|
+
}
|
711
|
+
else
|
712
|
+
{
|
713
|
+
if(prev.getSize() == 1)
|
714
|
+
{
|
715
|
+
dup2X1();
|
716
|
+
pop2();
|
717
|
+
}
|
718
|
+
else
|
719
|
+
{
|
720
|
+
dup2X2();
|
721
|
+
pop2();
|
722
|
+
}
|
723
|
+
}
|
724
|
+
}
|
725
|
+
|
726
|
+
// ------------------------------------------------------------------------
|
727
|
+
// Instructions to do mathematical and logical operations
|
728
|
+
// ------------------------------------------------------------------------
|
729
|
+
|
730
|
+
/**
|
731
|
+
* Generates the instruction to do the specified mathematical or logical
|
732
|
+
* operation.
|
733
|
+
*
|
734
|
+
* @param op a mathematical or logical operation. Must be one of ADD, SUB,
|
735
|
+
* MUL, DIV, REM, NEG, SHL, SHR, USHR, AND, OR, XOR.
|
736
|
+
* @param type the type of the operand(s) for this operation.
|
737
|
+
*/
|
738
|
+
public void math(final int op, final Type type){
|
739
|
+
mv.visitInsn(type.getOpcode(op));
|
740
|
+
}
|
741
|
+
|
742
|
+
/**
|
743
|
+
* Generates the instructions to compute the bitwise negation of the top
|
744
|
+
* stack value.
|
745
|
+
*/
|
746
|
+
public void not(){
|
747
|
+
mv.visitInsn(Opcodes.ICONST_1);
|
748
|
+
mv.visitInsn(Opcodes.IXOR);
|
749
|
+
}
|
750
|
+
|
751
|
+
/**
|
752
|
+
* Generates the instruction to increment the given local variable.
|
753
|
+
*
|
754
|
+
* @param local the local variable to be incremented.
|
755
|
+
* @param amount the amount by which the local variable must be incremented.
|
756
|
+
*/
|
757
|
+
public void iinc(final int local, final int amount){
|
758
|
+
mv.visitIincInsn(local, amount);
|
759
|
+
}
|
760
|
+
|
761
|
+
/**
|
762
|
+
* Generates the instructions to cast a numerical value from one type to
|
763
|
+
* another.
|
764
|
+
*
|
765
|
+
* @param from the type of the top stack value
|
766
|
+
* @param to the type into which this value must be cast.
|
767
|
+
*/
|
768
|
+
public void cast(final Type from, final Type to){
|
769
|
+
if(from != to)
|
770
|
+
{
|
771
|
+
if(from == Type.DOUBLE_TYPE)
|
772
|
+
{
|
773
|
+
if(to == Type.FLOAT_TYPE)
|
774
|
+
{
|
775
|
+
mv.visitInsn(Opcodes.D2F);
|
776
|
+
}
|
777
|
+
else if(to == Type.LONG_TYPE)
|
778
|
+
{
|
779
|
+
mv.visitInsn(Opcodes.D2L);
|
780
|
+
}
|
781
|
+
else
|
782
|
+
{
|
783
|
+
mv.visitInsn(Opcodes.D2I);
|
784
|
+
cast(Type.INT_TYPE, to);
|
785
|
+
}
|
786
|
+
}
|
787
|
+
else if(from == Type.FLOAT_TYPE)
|
788
|
+
{
|
789
|
+
if(to == Type.DOUBLE_TYPE)
|
790
|
+
{
|
791
|
+
mv.visitInsn(Opcodes.F2D);
|
792
|
+
}
|
793
|
+
else if(to == Type.LONG_TYPE)
|
794
|
+
{
|
795
|
+
mv.visitInsn(Opcodes.F2L);
|
796
|
+
}
|
797
|
+
else
|
798
|
+
{
|
799
|
+
mv.visitInsn(Opcodes.F2I);
|
800
|
+
cast(Type.INT_TYPE, to);
|
801
|
+
}
|
802
|
+
}
|
803
|
+
else if(from == Type.LONG_TYPE)
|
804
|
+
{
|
805
|
+
if(to == Type.DOUBLE_TYPE)
|
806
|
+
{
|
807
|
+
mv.visitInsn(Opcodes.L2D);
|
808
|
+
}
|
809
|
+
else if(to == Type.FLOAT_TYPE)
|
810
|
+
{
|
811
|
+
mv.visitInsn(Opcodes.L2F);
|
812
|
+
}
|
813
|
+
else
|
814
|
+
{
|
815
|
+
mv.visitInsn(Opcodes.L2I);
|
816
|
+
cast(Type.INT_TYPE, to);
|
817
|
+
}
|
818
|
+
}
|
819
|
+
else
|
820
|
+
{
|
821
|
+
if(to == Type.BYTE_TYPE)
|
822
|
+
{
|
823
|
+
mv.visitInsn(Opcodes.I2B);
|
824
|
+
}
|
825
|
+
else if(to == Type.CHAR_TYPE)
|
826
|
+
{
|
827
|
+
mv.visitInsn(Opcodes.I2C);
|
828
|
+
}
|
829
|
+
else if(to == Type.DOUBLE_TYPE)
|
830
|
+
{
|
831
|
+
mv.visitInsn(Opcodes.I2D);
|
832
|
+
}
|
833
|
+
else if(to == Type.FLOAT_TYPE)
|
834
|
+
{
|
835
|
+
mv.visitInsn(Opcodes.I2F);
|
836
|
+
}
|
837
|
+
else if(to == Type.LONG_TYPE)
|
838
|
+
{
|
839
|
+
mv.visitInsn(Opcodes.I2L);
|
840
|
+
}
|
841
|
+
else if(to == Type.SHORT_TYPE)
|
842
|
+
{
|
843
|
+
mv.visitInsn(Opcodes.I2S);
|
844
|
+
}
|
845
|
+
}
|
846
|
+
}
|
847
|
+
}
|
848
|
+
|
849
|
+
// ------------------------------------------------------------------------
|
850
|
+
// Instructions to do boxing and unboxing operations
|
851
|
+
// ------------------------------------------------------------------------
|
852
|
+
|
853
|
+
/**
|
854
|
+
* Generates the instructions to box the top stack value. This value is
|
855
|
+
* replaced by its boxed equivalent on top of the stack.
|
856
|
+
*
|
857
|
+
* @param type the type of the top stack value.
|
858
|
+
*/
|
859
|
+
public void box(final Type type){
|
860
|
+
if(type.getSort() == Type.OBJECT || type.getSort() == Type.ARRAY)
|
861
|
+
{
|
862
|
+
return;
|
863
|
+
}
|
864
|
+
if(type == Type.VOID_TYPE)
|
865
|
+
{
|
866
|
+
push((String) null);
|
867
|
+
}
|
868
|
+
else
|
869
|
+
{
|
870
|
+
Type boxed = type;
|
871
|
+
switch(type.getSort())
|
872
|
+
{
|
873
|
+
case Type.BYTE:
|
874
|
+
boxed = BYTE_TYPE;
|
875
|
+
break;
|
876
|
+
case Type.BOOLEAN:
|
877
|
+
boxed = BOOLEAN_TYPE;
|
878
|
+
break;
|
879
|
+
case Type.SHORT:
|
880
|
+
boxed = SHORT_TYPE;
|
881
|
+
break;
|
882
|
+
case Type.CHAR:
|
883
|
+
boxed = CHARACTER_TYPE;
|
884
|
+
break;
|
885
|
+
case Type.INT:
|
886
|
+
boxed = INTEGER_TYPE;
|
887
|
+
break;
|
888
|
+
case Type.FLOAT:
|
889
|
+
boxed = FLOAT_TYPE;
|
890
|
+
break;
|
891
|
+
case Type.LONG:
|
892
|
+
boxed = LONG_TYPE;
|
893
|
+
break;
|
894
|
+
case Type.DOUBLE:
|
895
|
+
boxed = DOUBLE_TYPE;
|
896
|
+
break;
|
897
|
+
}
|
898
|
+
newInstance(boxed);
|
899
|
+
if(type.getSize() == 2)
|
900
|
+
{
|
901
|
+
// Pp -> Ppo -> oPpo -> ooPpo -> ooPp -> o
|
902
|
+
dupX2();
|
903
|
+
dupX2();
|
904
|
+
pop();
|
905
|
+
}
|
906
|
+
else
|
907
|
+
{
|
908
|
+
// p -> po -> opo -> oop -> o
|
909
|
+
dupX1();
|
910
|
+
swap();
|
911
|
+
}
|
912
|
+
invokeConstructor(boxed, new Method("<init>",
|
913
|
+
Type.VOID_TYPE,
|
914
|
+
new Type[]{type}));
|
915
|
+
}
|
916
|
+
}
|
917
|
+
|
918
|
+
/**
|
919
|
+
* Generates the instructions to unbox the top stack value. This value is
|
920
|
+
* replaced by its unboxed equivalent on top of the stack.
|
921
|
+
*
|
922
|
+
* @param type the type of the top stack value.
|
923
|
+
*/
|
924
|
+
public void unbox(final Type type){
|
925
|
+
Type t = NUMBER_TYPE;
|
926
|
+
Method sig = null;
|
927
|
+
switch(type.getSort())
|
928
|
+
{
|
929
|
+
case Type.VOID:
|
930
|
+
return;
|
931
|
+
case Type.CHAR:
|
932
|
+
t = CHARACTER_TYPE;
|
933
|
+
sig = CHAR_VALUE;
|
934
|
+
break;
|
935
|
+
case Type.BOOLEAN:
|
936
|
+
t = BOOLEAN_TYPE;
|
937
|
+
sig = BOOLEAN_VALUE;
|
938
|
+
break;
|
939
|
+
case Type.DOUBLE:
|
940
|
+
sig = DOUBLE_VALUE;
|
941
|
+
break;
|
942
|
+
case Type.FLOAT:
|
943
|
+
sig = FLOAT_VALUE;
|
944
|
+
break;
|
945
|
+
case Type.LONG:
|
946
|
+
sig = LONG_VALUE;
|
947
|
+
break;
|
948
|
+
case Type.INT:
|
949
|
+
case Type.SHORT:
|
950
|
+
case Type.BYTE:
|
951
|
+
sig = INT_VALUE;
|
952
|
+
}
|
953
|
+
if(sig == null)
|
954
|
+
{
|
955
|
+
checkCast(type);
|
956
|
+
}
|
957
|
+
else
|
958
|
+
{
|
959
|
+
checkCast(t);
|
960
|
+
invokeVirtual(t, sig);
|
961
|
+
}
|
962
|
+
}
|
963
|
+
|
964
|
+
// ------------------------------------------------------------------------
|
965
|
+
// Instructions to jump to other instructions
|
966
|
+
// ------------------------------------------------------------------------
|
967
|
+
|
968
|
+
/**
|
969
|
+
* Creates a new {@link Label}.
|
970
|
+
*
|
971
|
+
* @return a new {@link Label}.
|
972
|
+
*/
|
973
|
+
public Label newLabel(){
|
974
|
+
return new Label();
|
975
|
+
}
|
976
|
+
|
977
|
+
/**
|
978
|
+
* Marks the current code position with the given label.
|
979
|
+
*
|
980
|
+
* @param label a label.
|
981
|
+
*/
|
982
|
+
public void mark(final Label label){
|
983
|
+
mv.visitLabel(label);
|
984
|
+
}
|
985
|
+
|
986
|
+
/**
|
987
|
+
* Marks the current code position with a new label.
|
988
|
+
*
|
989
|
+
* @return the label that was created to mark the current code position.
|
990
|
+
*/
|
991
|
+
public Label mark(){
|
992
|
+
Label label = new Label();
|
993
|
+
mv.visitLabel(label);
|
994
|
+
return label;
|
995
|
+
}
|
996
|
+
|
997
|
+
/**
|
998
|
+
* Generates the instructions to jump to a label based on the comparison of
|
999
|
+
* the top two stack values.
|
1000
|
+
*
|
1001
|
+
* @param type the type of the top two stack values.
|
1002
|
+
* @param mode how these values must be compared. One of EQ, NE, LT, GE, GT,
|
1003
|
+
* LE.
|
1004
|
+
* @param label where to jump if the comparison result is <tt>true</tt>.
|
1005
|
+
*/
|
1006
|
+
public void ifCmp(final Type type, final int mode, final Label label){
|
1007
|
+
int intOp = -1;
|
1008
|
+
switch(type.getSort())
|
1009
|
+
{
|
1010
|
+
case Type.LONG:
|
1011
|
+
mv.visitInsn(Opcodes.LCMP);
|
1012
|
+
break;
|
1013
|
+
case Type.DOUBLE:
|
1014
|
+
mv.visitInsn(Opcodes.DCMPG);
|
1015
|
+
break;
|
1016
|
+
case Type.FLOAT:
|
1017
|
+
mv.visitInsn(Opcodes.FCMPG);
|
1018
|
+
break;
|
1019
|
+
case Type.ARRAY:
|
1020
|
+
case Type.OBJECT:
|
1021
|
+
switch(mode)
|
1022
|
+
{
|
1023
|
+
case EQ:
|
1024
|
+
mv.visitJumpInsn(Opcodes.IF_ACMPEQ, label);
|
1025
|
+
return;
|
1026
|
+
case NE:
|
1027
|
+
mv.visitJumpInsn(Opcodes.IF_ACMPNE, label);
|
1028
|
+
return;
|
1029
|
+
}
|
1030
|
+
throw new IllegalArgumentException("Bad comparison for type "
|
1031
|
+
+ type);
|
1032
|
+
default:
|
1033
|
+
switch(mode)
|
1034
|
+
{
|
1035
|
+
case EQ:
|
1036
|
+
intOp = Opcodes.IF_ICMPEQ;
|
1037
|
+
break;
|
1038
|
+
case NE:
|
1039
|
+
intOp = Opcodes.IF_ICMPNE;
|
1040
|
+
break;
|
1041
|
+
case GE:
|
1042
|
+
intOp = Opcodes.IF_ICMPGE;
|
1043
|
+
break;
|
1044
|
+
case LT:
|
1045
|
+
intOp = Opcodes.IF_ICMPLT;
|
1046
|
+
break;
|
1047
|
+
case LE:
|
1048
|
+
intOp = Opcodes.IF_ICMPLE;
|
1049
|
+
break;
|
1050
|
+
case GT:
|
1051
|
+
intOp = Opcodes.IF_ICMPGT;
|
1052
|
+
break;
|
1053
|
+
}
|
1054
|
+
mv.visitJumpInsn(intOp, label);
|
1055
|
+
return;
|
1056
|
+
}
|
1057
|
+
int jumpMode = mode;
|
1058
|
+
switch(mode)
|
1059
|
+
{
|
1060
|
+
case GE:
|
1061
|
+
jumpMode = LT;
|
1062
|
+
break;
|
1063
|
+
case LE:
|
1064
|
+
jumpMode = GT;
|
1065
|
+
break;
|
1066
|
+
}
|
1067
|
+
mv.visitJumpInsn(jumpMode, label);
|
1068
|
+
}
|
1069
|
+
|
1070
|
+
/**
|
1071
|
+
* Generates the instructions to jump to a label based on the comparison of
|
1072
|
+
* the top two integer stack values.
|
1073
|
+
*
|
1074
|
+
* @param mode how these values must be compared. One of EQ, NE, LT, GE, GT,
|
1075
|
+
* LE.
|
1076
|
+
* @param label where to jump if the comparison result is <tt>true</tt>.
|
1077
|
+
*/
|
1078
|
+
public void ifICmp(final int mode, final Label label){
|
1079
|
+
ifCmp(Type.INT_TYPE, mode, label);
|
1080
|
+
}
|
1081
|
+
|
1082
|
+
/**
|
1083
|
+
* Generates the instructions to jump to a label based on the comparison of
|
1084
|
+
* the top integer stack value with zero.
|
1085
|
+
*
|
1086
|
+
* @param mode how these values must be compared. One of EQ, NE, LT, GE, GT,
|
1087
|
+
* LE.
|
1088
|
+
* @param label where to jump if the comparison result is <tt>true</tt>.
|
1089
|
+
*/
|
1090
|
+
public void ifZCmp(final int mode, final Label label){
|
1091
|
+
mv.visitJumpInsn(mode, label);
|
1092
|
+
}
|
1093
|
+
|
1094
|
+
/**
|
1095
|
+
* Generates the instruction to jump to the given label if the top stack
|
1096
|
+
* value is null.
|
1097
|
+
*
|
1098
|
+
* @param label where to jump if the condition is <tt>true</tt>.
|
1099
|
+
*/
|
1100
|
+
public void ifNull(final Label label){
|
1101
|
+
mv.visitJumpInsn(Opcodes.IFNULL, label);
|
1102
|
+
}
|
1103
|
+
|
1104
|
+
/**
|
1105
|
+
* Generates the instruction to jump to the given label if the top stack
|
1106
|
+
* value is not null.
|
1107
|
+
*
|
1108
|
+
* @param label where to jump if the condition is <tt>true</tt>.
|
1109
|
+
*/
|
1110
|
+
public void ifNonNull(final Label label){
|
1111
|
+
mv.visitJumpInsn(Opcodes.IFNONNULL, label);
|
1112
|
+
}
|
1113
|
+
|
1114
|
+
/**
|
1115
|
+
* Generates the instruction to jump to the given label.
|
1116
|
+
*
|
1117
|
+
* @param label where to jump if the condition is <tt>true</tt>.
|
1118
|
+
*/
|
1119
|
+
public void goTo(final Label label){
|
1120
|
+
mv.visitJumpInsn(Opcodes.GOTO, label);
|
1121
|
+
}
|
1122
|
+
|
1123
|
+
/**
|
1124
|
+
* Generates a RET instruction.
|
1125
|
+
*
|
1126
|
+
* @param local a local variable identifier, as returned by
|
1127
|
+
* {@link LocalVariablesSorter#newLocal(Type) newLocal()}.
|
1128
|
+
*/
|
1129
|
+
public void ret(final int local){
|
1130
|
+
mv.visitVarInsn(Opcodes.RET, local);
|
1131
|
+
}
|
1132
|
+
|
1133
|
+
/**
|
1134
|
+
* Generates the instructions for a switch statement.
|
1135
|
+
*
|
1136
|
+
* @param keys the switch case keys.
|
1137
|
+
* @param generator a generator to generate the code for the switch cases.
|
1138
|
+
*/
|
1139
|
+
public void tableSwitch(
|
1140
|
+
final int[] keys,
|
1141
|
+
final TableSwitchGenerator generator){
|
1142
|
+
float density;
|
1143
|
+
if(keys.length == 0)
|
1144
|
+
{
|
1145
|
+
density = 0;
|
1146
|
+
}
|
1147
|
+
else
|
1148
|
+
{
|
1149
|
+
density = (float) keys.length
|
1150
|
+
/ (keys[keys.length - 1] - keys[0] + 1);
|
1151
|
+
}
|
1152
|
+
tableSwitch(keys, generator, density >= 0.5f);
|
1153
|
+
}
|
1154
|
+
|
1155
|
+
/**
|
1156
|
+
* Generates the instructions for a switch statement.
|
1157
|
+
*
|
1158
|
+
* @param keys the switch case keys.
|
1159
|
+
* @param generator a generator to generate the code for the switch cases.
|
1160
|
+
* @param useTable <tt>true</tt> to use a TABLESWITCH instruction, or
|
1161
|
+
* <tt>false</tt> to use a LOOKUPSWITCH instruction.
|
1162
|
+
*/
|
1163
|
+
public void tableSwitch(
|
1164
|
+
final int[] keys,
|
1165
|
+
final TableSwitchGenerator generator,
|
1166
|
+
final boolean useTable){
|
1167
|
+
for(int i = 1; i < keys.length; ++i)
|
1168
|
+
{
|
1169
|
+
if(keys[i] < keys[i - 1])
|
1170
|
+
{
|
1171
|
+
throw new IllegalArgumentException("keys must be sorted ascending");
|
1172
|
+
}
|
1173
|
+
}
|
1174
|
+
Label def = newLabel();
|
1175
|
+
Label end = newLabel();
|
1176
|
+
if(keys.length > 0)
|
1177
|
+
{
|
1178
|
+
int len = keys.length;
|
1179
|
+
int min = keys[0];
|
1180
|
+
int max = keys[len - 1];
|
1181
|
+
int range = max - min + 1;
|
1182
|
+
if(useTable)
|
1183
|
+
{
|
1184
|
+
Label[] labels = new Label[range];
|
1185
|
+
Arrays.fill(labels, def);
|
1186
|
+
for(int i = 0; i < len; ++i)
|
1187
|
+
{
|
1188
|
+
labels[keys[i] - min] = newLabel();
|
1189
|
+
}
|
1190
|
+
mv.visitTableSwitchInsn(min, max, def, labels);
|
1191
|
+
for(int i = 0; i < range; ++i)
|
1192
|
+
{
|
1193
|
+
Label label = labels[i];
|
1194
|
+
if(label != def)
|
1195
|
+
{
|
1196
|
+
mark(label);
|
1197
|
+
generator.generateCase(i + min, end);
|
1198
|
+
}
|
1199
|
+
}
|
1200
|
+
}
|
1201
|
+
else
|
1202
|
+
{
|
1203
|
+
Label[] labels = new Label[len];
|
1204
|
+
for(int i = 0; i < len; ++i)
|
1205
|
+
{
|
1206
|
+
labels[i] = newLabel();
|
1207
|
+
}
|
1208
|
+
mv.visitLookupSwitchInsn(def, keys, labels);
|
1209
|
+
for(int i = 0; i < len; ++i)
|
1210
|
+
{
|
1211
|
+
mark(labels[i]);
|
1212
|
+
generator.generateCase(keys[i], end);
|
1213
|
+
}
|
1214
|
+
}
|
1215
|
+
}
|
1216
|
+
mark(def);
|
1217
|
+
generator.generateDefault();
|
1218
|
+
mark(end);
|
1219
|
+
}
|
1220
|
+
|
1221
|
+
/**
|
1222
|
+
* Generates the instruction to return the top stack value to the caller.
|
1223
|
+
*/
|
1224
|
+
public void returnValue(){
|
1225
|
+
mv.visitInsn(returnType.getOpcode(Opcodes.IRETURN));
|
1226
|
+
}
|
1227
|
+
|
1228
|
+
// ------------------------------------------------------------------------
|
1229
|
+
// Instructions to load and store fields
|
1230
|
+
// ------------------------------------------------------------------------
|
1231
|
+
|
1232
|
+
/**
|
1233
|
+
* Generates a get field or set field instruction.
|
1234
|
+
*
|
1235
|
+
* @param opcode the instruction's opcode.
|
1236
|
+
* @param ownerType the class in which the field is defined.
|
1237
|
+
* @param name the name of the field.
|
1238
|
+
* @param fieldType the type of the field.
|
1239
|
+
*/
|
1240
|
+
private void fieldInsn(
|
1241
|
+
final int opcode,
|
1242
|
+
final Type ownerType,
|
1243
|
+
final String name,
|
1244
|
+
final Type fieldType){
|
1245
|
+
mv.visitFieldInsn(opcode,
|
1246
|
+
ownerType.getInternalName(),
|
1247
|
+
name,
|
1248
|
+
fieldType.getDescriptor());
|
1249
|
+
}
|
1250
|
+
|
1251
|
+
/**
|
1252
|
+
* Generates the instruction to push the value of a static field on the
|
1253
|
+
* stack.
|
1254
|
+
*
|
1255
|
+
* @param owner the class in which the field is defined.
|
1256
|
+
* @param name the name of the field.
|
1257
|
+
* @param type the type of the field.
|
1258
|
+
*/
|
1259
|
+
public void getStatic(final Type owner, final String name, final Type type){
|
1260
|
+
fieldInsn(Opcodes.GETSTATIC, owner, name, type);
|
1261
|
+
}
|
1262
|
+
|
1263
|
+
/**
|
1264
|
+
* Generates the instruction to store the top stack value in a static field.
|
1265
|
+
*
|
1266
|
+
* @param owner the class in which the field is defined.
|
1267
|
+
* @param name the name of the field.
|
1268
|
+
* @param type the type of the field.
|
1269
|
+
*/
|
1270
|
+
public void putStatic(final Type owner, final String name, final Type type){
|
1271
|
+
fieldInsn(Opcodes.PUTSTATIC, owner, name, type);
|
1272
|
+
}
|
1273
|
+
|
1274
|
+
/**
|
1275
|
+
* Generates the instruction to push the value of a non static field on the
|
1276
|
+
* stack.
|
1277
|
+
*
|
1278
|
+
* @param owner the class in which the field is defined.
|
1279
|
+
* @param name the name of the field.
|
1280
|
+
* @param type the type of the field.
|
1281
|
+
*/
|
1282
|
+
public void getField(final Type owner, final String name, final Type type){
|
1283
|
+
fieldInsn(Opcodes.GETFIELD, owner, name, type);
|
1284
|
+
}
|
1285
|
+
|
1286
|
+
/**
|
1287
|
+
* Generates the instruction to store the top stack value in a non static
|
1288
|
+
* field.
|
1289
|
+
*
|
1290
|
+
* @param owner the class in which the field is defined.
|
1291
|
+
* @param name the name of the field.
|
1292
|
+
* @param type the type of the field.
|
1293
|
+
*/
|
1294
|
+
public void putField(final Type owner, final String name, final Type type){
|
1295
|
+
fieldInsn(Opcodes.PUTFIELD, owner, name, type);
|
1296
|
+
}
|
1297
|
+
|
1298
|
+
// ------------------------------------------------------------------------
|
1299
|
+
// Instructions to invoke methods
|
1300
|
+
// ------------------------------------------------------------------------
|
1301
|
+
|
1302
|
+
/**
|
1303
|
+
* Generates an invoke method instruction.
|
1304
|
+
*
|
1305
|
+
* @param opcode the instruction's opcode.
|
1306
|
+
* @param type the class in which the method is defined.
|
1307
|
+
* @param method the method to be invoked.
|
1308
|
+
*/
|
1309
|
+
private void invokeInsn(
|
1310
|
+
final int opcode,
|
1311
|
+
final Type type,
|
1312
|
+
final Method method){
|
1313
|
+
String owner = type.getSort() == Type.ARRAY
|
1314
|
+
? type.getDescriptor()
|
1315
|
+
: type.getInternalName();
|
1316
|
+
mv.visitMethodInsn(opcode,
|
1317
|
+
owner,
|
1318
|
+
method.getName(),
|
1319
|
+
method.getDescriptor());
|
1320
|
+
}
|
1321
|
+
|
1322
|
+
/**
|
1323
|
+
* Generates the instruction to invoke a normal method.
|
1324
|
+
*
|
1325
|
+
* @param owner the class in which the method is defined.
|
1326
|
+
* @param method the method to be invoked.
|
1327
|
+
*/
|
1328
|
+
public void invokeVirtual(final Type owner, final Method method){
|
1329
|
+
invokeInsn(Opcodes.INVOKEVIRTUAL, owner, method);
|
1330
|
+
}
|
1331
|
+
|
1332
|
+
/**
|
1333
|
+
* Generates the instruction to invoke a constructor.
|
1334
|
+
*
|
1335
|
+
* @param type the class in which the constructor is defined.
|
1336
|
+
* @param method the constructor to be invoked.
|
1337
|
+
*/
|
1338
|
+
public void invokeConstructor(final Type type, final Method method){
|
1339
|
+
invokeInsn(Opcodes.INVOKESPECIAL, type, method);
|
1340
|
+
}
|
1341
|
+
|
1342
|
+
/**
|
1343
|
+
* Generates the instruction to invoke a static method.
|
1344
|
+
*
|
1345
|
+
* @param owner the class in which the method is defined.
|
1346
|
+
* @param method the method to be invoked.
|
1347
|
+
*/
|
1348
|
+
public void invokeStatic(final Type owner, final Method method){
|
1349
|
+
invokeInsn(Opcodes.INVOKESTATIC, owner, method);
|
1350
|
+
}
|
1351
|
+
|
1352
|
+
/**
|
1353
|
+
* Generates the instruction to invoke an interface method.
|
1354
|
+
*
|
1355
|
+
* @param owner the class in which the method is defined.
|
1356
|
+
* @param method the method to be invoked.
|
1357
|
+
*/
|
1358
|
+
public void invokeInterface(final Type owner, final Method method){
|
1359
|
+
invokeInsn(Opcodes.INVOKEINTERFACE, owner, method);
|
1360
|
+
}
|
1361
|
+
|
1362
|
+
// ------------------------------------------------------------------------
|
1363
|
+
// Instructions to create objects and arrays
|
1364
|
+
// ------------------------------------------------------------------------
|
1365
|
+
|
1366
|
+
/**
|
1367
|
+
* Generates a type dependent instruction.
|
1368
|
+
*
|
1369
|
+
* @param opcode the instruction's opcode.
|
1370
|
+
* @param type the instruction's operand.
|
1371
|
+
*/
|
1372
|
+
private void typeInsn(final int opcode, final Type type){
|
1373
|
+
String desc;
|
1374
|
+
if(type.getSort() == Type.ARRAY)
|
1375
|
+
{
|
1376
|
+
desc = type.getDescriptor();
|
1377
|
+
}
|
1378
|
+
else
|
1379
|
+
{
|
1380
|
+
desc = type.getInternalName();
|
1381
|
+
}
|
1382
|
+
mv.visitTypeInsn(opcode, desc);
|
1383
|
+
}
|
1384
|
+
|
1385
|
+
/**
|
1386
|
+
* Generates the instruction to create a new object.
|
1387
|
+
*
|
1388
|
+
* @param type the class of the object to be created.
|
1389
|
+
*/
|
1390
|
+
public void newInstance(final Type type){
|
1391
|
+
typeInsn(Opcodes.NEW, type);
|
1392
|
+
}
|
1393
|
+
|
1394
|
+
/**
|
1395
|
+
* Generates the instruction to create a new array.
|
1396
|
+
*
|
1397
|
+
* @param type the type of the array elements.
|
1398
|
+
*/
|
1399
|
+
public void newArray(final Type type){
|
1400
|
+
int typ;
|
1401
|
+
switch(type.getSort())
|
1402
|
+
{
|
1403
|
+
case Type.BOOLEAN:
|
1404
|
+
typ = Opcodes.T_BOOLEAN;
|
1405
|
+
break;
|
1406
|
+
case Type.CHAR:
|
1407
|
+
typ = Opcodes.T_CHAR;
|
1408
|
+
break;
|
1409
|
+
case Type.BYTE:
|
1410
|
+
typ = Opcodes.T_BYTE;
|
1411
|
+
break;
|
1412
|
+
case Type.SHORT:
|
1413
|
+
typ = Opcodes.T_SHORT;
|
1414
|
+
break;
|
1415
|
+
case Type.INT:
|
1416
|
+
typ = Opcodes.T_INT;
|
1417
|
+
break;
|
1418
|
+
case Type.FLOAT:
|
1419
|
+
typ = Opcodes.T_FLOAT;
|
1420
|
+
break;
|
1421
|
+
case Type.LONG:
|
1422
|
+
typ = Opcodes.T_LONG;
|
1423
|
+
break;
|
1424
|
+
case Type.DOUBLE:
|
1425
|
+
typ = Opcodes.T_DOUBLE;
|
1426
|
+
break;
|
1427
|
+
default:
|
1428
|
+
typeInsn(Opcodes.ANEWARRAY, type);
|
1429
|
+
return;
|
1430
|
+
}
|
1431
|
+
mv.visitIntInsn(Opcodes.NEWARRAY, typ);
|
1432
|
+
}
|
1433
|
+
|
1434
|
+
// ------------------------------------------------------------------------
|
1435
|
+
// Miscelaneous instructions
|
1436
|
+
// ------------------------------------------------------------------------
|
1437
|
+
|
1438
|
+
/**
|
1439
|
+
* Generates the instruction to compute the length of an array.
|
1440
|
+
*/
|
1441
|
+
public void arrayLength(){
|
1442
|
+
mv.visitInsn(Opcodes.ARRAYLENGTH);
|
1443
|
+
}
|
1444
|
+
|
1445
|
+
/**
|
1446
|
+
* Generates the instruction to throw an exception.
|
1447
|
+
*/
|
1448
|
+
public void throwException(){
|
1449
|
+
mv.visitInsn(Opcodes.ATHROW);
|
1450
|
+
}
|
1451
|
+
|
1452
|
+
/**
|
1453
|
+
* Generates the instructions to create and throw an exception. The
|
1454
|
+
* exception class must have a constructor with a single String argument.
|
1455
|
+
*
|
1456
|
+
* @param type the class of the exception to be thrown.
|
1457
|
+
* @param msg the detailed message of the exception.
|
1458
|
+
*/
|
1459
|
+
public void throwException(final Type type, final String msg){
|
1460
|
+
newInstance(type);
|
1461
|
+
dup();
|
1462
|
+
push(msg);
|
1463
|
+
invokeConstructor(type, Method.getMethod("void <init> (String)"));
|
1464
|
+
throwException();
|
1465
|
+
}
|
1466
|
+
|
1467
|
+
/**
|
1468
|
+
* Generates the instruction to check that the top stack value is of the
|
1469
|
+
* given type.
|
1470
|
+
*
|
1471
|
+
* @param type a class or interface type.
|
1472
|
+
*/
|
1473
|
+
public void checkCast(final Type type){
|
1474
|
+
if(!type.equals(OBJECT_TYPE))
|
1475
|
+
{
|
1476
|
+
typeInsn(Opcodes.CHECKCAST, type);
|
1477
|
+
}
|
1478
|
+
}
|
1479
|
+
|
1480
|
+
/**
|
1481
|
+
* Generates the instruction to test if the top stack value is of the given
|
1482
|
+
* type.
|
1483
|
+
*
|
1484
|
+
* @param type a class or interface type.
|
1485
|
+
*/
|
1486
|
+
public void instanceOf(final Type type){
|
1487
|
+
typeInsn(Opcodes.INSTANCEOF, type);
|
1488
|
+
}
|
1489
|
+
|
1490
|
+
/**
|
1491
|
+
* Generates the instruction to get the monitor of the top stack value.
|
1492
|
+
*/
|
1493
|
+
public void monitorEnter(){
|
1494
|
+
mv.visitInsn(Opcodes.MONITORENTER);
|
1495
|
+
}
|
1496
|
+
|
1497
|
+
/**
|
1498
|
+
* Generates the instruction to release the monitor of the top stack value.
|
1499
|
+
*/
|
1500
|
+
public void monitorExit(){
|
1501
|
+
mv.visitInsn(Opcodes.MONITOREXIT);
|
1502
|
+
}
|
1503
|
+
|
1504
|
+
// ------------------------------------------------------------------------
|
1505
|
+
// Non instructions
|
1506
|
+
// ------------------------------------------------------------------------
|
1507
|
+
|
1508
|
+
/**
|
1509
|
+
* Marks the end of the visited method.
|
1510
|
+
*/
|
1511
|
+
public void endMethod(){
|
1512
|
+
if((access & Opcodes.ACC_ABSTRACT) == 0)
|
1513
|
+
{
|
1514
|
+
mv.visitMaxs(0, 0);
|
1515
|
+
}
|
1516
|
+
mv.visitEnd();
|
1517
|
+
}
|
1518
|
+
|
1519
|
+
/**
|
1520
|
+
* Marks the start of an exception handler.
|
1521
|
+
*
|
1522
|
+
* @param start beginning of the exception handler's scope (inclusive).
|
1523
|
+
* @param end end of the exception handler's scope (exclusive).
|
1524
|
+
* @param exception internal name of the type of exceptions handled by the
|
1525
|
+
* handler.
|
1526
|
+
*/
|
1527
|
+
public void catchException(
|
1528
|
+
final Label start,
|
1529
|
+
final Label end,
|
1530
|
+
final Type exception){
|
1531
|
+
mv.visitTryCatchBlock(start, end, mark(), exception.getInternalName());
|
1532
|
+
}
|
1533
|
+
}
|