Index of values

A
access_flags [JDumpLow]
add [JLib.DynArray]
add [GenericMap.GenericMapSig]
add [GenericSet.GenericSetSig]
add [Ptmap.S]

add ~merge:f k d m returns a map containing the same bindings as m, plus a binding of k to d.

add [Ptset.S]
am_fold [Javalib]
am_fold [JClass]
am_iter [Javalib]
am_iter [JClass]
arraytype2shortstring [JDumpBasics]

arraytype2shortstring t return the JVM representation of the array type t (e.g.

B
basic_type [JDumpBasics]

basic_type ~jvm t, if jvm is false (default value), returns the Java representation of the type t (e.g.

bootstrap_argument_to_const [JBasicsLow]
bootstrap_method_to_int [JBasicsLow]

Return the index of a bootstrap method in the bootstrap method table, adding it if necessary.

build_lambda_info [JCode]

build_lambda_info bm ms builds an information caracterizing the construction of the lambda expression referenced by the opcode OpInvoke (`Dynamic bm, ms).

C
cardinal [GenericMap.GenericMapSig]
cardinal [GenericSet.GenericSetSig]
cardinal [Ptmap.S]
cardinal [Ptset.S]
cf_fold [Javalib]
cf_fold [JClass]
cf_iter [Javalib]
cf_iter [JClass]
cfs_compare [JBasics]

Compares two class_field_signature.

cfs_equal [JBasics]

Returns true if two class_field_signature are equal, false otherwise.

cfs_hash [JBasics]

Returns the hash value of the given class_field_signature.

cfs_split [JBasics]

Retrieves the class_name and field_signature from a class_field_signature.

choose [Ptset.S]
choose_and_remove [GenericMap.GenericMapSig]

choose_and_remove t returns (i,d,t') such that t' equals to remove
        i t
and d equals to find i t.

choose_and_remove [Ptmap.S]

choose_and_remove t returns (i,d,t') such that t' equals to remove i t and d equals to find i t.

choose_and_remove [Ptset.S]

choose_and_remove t is equivalent (but more efficient) to (fun t -> let i = choose t in (i,remove i t)) t

class_field_signature [Javalib.JPrint]

class_field_signature ~jvm cfs gives a string representation of a class field signature using Javalib.JPrint.field_signature.

class_method_signature [Javalib.JPrint]

class_method_signature ~jvm ~param_names cms gives a string representation of a class_method_signature using Javalib.JPrint.method_signature with the class name of cms as callee.

class_name [Javalib.JPrint]

class_name ~jvm class_name gives a string representation of a class_name.

class_name [JDumpBasics]

class_name ~jvm cn returns the fully qualified class name as a string.

class_path [Javalib]

class_path cp opens a class path from the list cp of directories and jar (or zip) files separated by JFile.sep.

class_path [JFile]

class_path cp opens a class path from the list cp of directories and jar (or zip) files separated by JFile.sep.

class_to_int [JBasicsLow]
clinit_signature [JBasics]

<clinit> method signature.

close_class_path [Javalib]

Closes a class path.

close_class_path [JFile]

Closes a class path.

close_in [JLib.IO]
close_out [JLib.IO]
cm_fold [Javalib]
cm_fold [JClass]
cm_iter [Javalib]
cm_iter [JClass]

The following functions iterate over all methods of a class or interface.

cms_compare [JBasics]

Compares two class_method_signature.

cms_equal [JBasics]

Returns true if two class_method_signature are equal, false otherwise.

cms_split [JBasics]

Retrieves the class_name and method_signature from a class_method_signature.

cn_compare [JBasics]

Compares two classes names.

cn_equal [JBasics]

Returns true if two classes names are equal, false otherwise.

cn_hash [JBasics]

Returns the hash value of the given class_name.

cn_name [JBasics]

Retrieves the Java fully qualified name of a class.

cn_package [Javalib.JPrint]

Prints the package of the given class_name.

cn_package [JBasics]

Retrieves the package name from a class_name.

cn_simple_name [Javalib.JPrint]

Prints the name of the given class_name, omitting the package name.

cn_simple_name [JBasics]

Retrieves the Java simple name of a class, omitting the package name.

code2opcodes [JInstruction]

Maps a high level code to a valid arrray of low level bytecode instructions.

compare [GenericMap.GenericMapSig]
compare [Ptmap.S]
compare [Ptset.S]
constant [Javalib.JPrint]
constant_attribute [JDumpBasics]
constant_attribute_to_const [JBasicsLow]
constant_pool [Javalib.JPrint]
constant_to_int [JBasicsLow]

Return the index of a constant, adding it to the constant pool if necessary.

create [JLib.DynArray]
D
default_native_throwable [JBasics]
defines_field [Javalib]

defines_field ioc fs returns true if ioc defines a field with a signature equal to fs, false otherwise.

defines_field [JClass]
defines_method [Javalib]

defines_method ioc ms returns true if ioc defines a method with a signature equal to ms, false otherwise.

defines_method [JClass]
diff [GenericSet.GenericSetSig]
diff [Ptmap.S]
diff [Ptset.S]
drop [JLib.List]
dump [JDumpLow]
dump_attrib [JDumpLow]
dump_bootstrap_argument [JDumpBasics]

dump_bootstrap_argument b prints on ch the bootstrap argument b.

dump_bootstrap_method [JDumpBasics]

dump_bootstrap_method m prints on ch the bootstrap method m.

dump_code [JDumpLow]
dump_constant [JDumpBasics]

dump_constant ch cst prints on ch the constant pool constant cst of the.

dump_constantpool [JDumpBasics]

dump_constantpool ch pool print on ch the constant pool pool.

dump_exc [JDumpBasics]

dump_exc ch _ ex prints on ch the exception handler declaration ex.

dump_field [JDumpLow]
dump_method [JDumpLow]
dump_stackmap [JDumpBasics]

dump_stackmap ch sm prints on ch the stackmap sm.

dump_verification_type [JDumpBasics]
E
elements [GenericMap.GenericMapSig]
elements [GenericSet.GenericSetSig]
elements [Ptmap.S]

elements m return the unsorted list of bindings of m.

elements [Ptset.S]
empty [JCode]

Empty list of opcodes

empty [GenericMap.GenericMapSig]
empty [GenericSet.GenericSetSig]
empty [Ptmap.S]
empty [Ptset.S]
equal [GenericMap.GenericMapSig]
equal [GenericSet.GenericSetSig]
equal [Ptmap.S]
equal [Ptset.S]
exception_handler [Javalib.JPrint]
exists [GenericSet.GenericSetSig]
exists [Ptmap.S]
exists [Ptset.S]
extract_class_name_from_file [Javalib]

extract_class_name_from_file f recovers a class name and a class path from the file f.

extract_class_name_from_file [JFile]

extract_class_name_from_file f recovers a class name and a class path from the file f.

F
f_fold [Javalib]
f_fold [JClass]
f_iter [Javalib]
f_iter [JClass]
field_descriptor [Javalib.JPrint]

field_descriptor ~jvm field_descriptor gives a string representation of a field_descriptor.

field_signature [Javalib.JPrint]

field_signature ~jvm ~declared_in field_signature gives a string representation of a field_signature where a class name may be given.

field_to_int [JBasicsLow]
filter [GenericMap.GenericMapSig]
filter [GenericSet.GenericSetSig]
filter [Ptmap.S]
filter [Ptset.S]
filter_map [JLib.List]
filter_map [Ptmap.S]
filteri [GenericMap.GenericMapSig]
filteri [Ptmap.S]
find [GenericMap.GenericMapSig]
find [Ptmap.S]
find_element [Ptmap.S]
findi [JLib.Array]
findi_element [Ptmap.S]

findi_element f t returns the first couple (index,element) in map t for which f ind elt, with ind an index and elt the corresponding element, returns true.

flush [JLib.IO]
fold [GenericMap.GenericMapSig]
fold [GenericSet.GenericSetSig]
fold [Ptmap.S]
fold [Ptset.S]
fold_left [JLib.List]
for_all [Ptset.S]
fs_compare [JBasics]

Compares two field signatures.

fs_equal [JBasics]

Returns true if two field signatures are equal, false otherwise.

fs_hash [JBasics]

Returns the hash value of the given field_signature.

fs_name [JBasics]

Retrieves the field name from a field_signature.

fs_type [JBasics]

Retrieves the field type from a field_signature.

G
get [JLib.Array]
get_access [Javalib]

Returns the access type of a class or interface.

get_access [JClass]
get_bootstrap_argument [JBasicsLow]
get_bootstrap_argument_ui16 [JBasicsLow]
get_class [Javalib]

Parses a single class.

get_class [JFile]

Parses a single class.

get_class [JBasicsLow]
get_class_field_signature [Javalib]
get_class_field_signature [JClass]
get_class_low [JFile]

Same as JFile.get_class with low level class files.

get_class_method_signature [Javalib]
get_class_method_signature [JClass]
get_class_ui16 [JBasicsLow]
get_concrete_method [Javalib]

get_concrete_method ioc ms returns the method with the signature ms in the interface or class ioc.

get_concrete_method [JClass]
get_concrete_methods [Javalib]

Returns the map of all the concrete methods defined in the given class or interface.

get_concrete_methods [JClass]
get_constant [JBasicsLow]
get_constant_attribute [JBasicsLow]
get_constant_ldc_value [JBasicsLow]
get_consts [Javalib]

Returns the constant pool of a class or interface.

get_consts [JClass]
get_field [Javalib]

get_field ioc fs returns the field with the signature fs in the interface or class ioc.

get_field [JClass]
get_field [JBasicsLow]
get_field_signature [Javalib]
get_field_signature [JClass]
get_field_visibility [Javalib]
get_field_visibility [JClass]
get_fields [Javalib]

Returns the map of all the fields defined in the given class or interface.

get_fields [JClass]
get_hash [GenericMap.S]
get_hash [GenericSet.S]
get_initializer [Javalib]

Returns the initializer of the given class or interface, if defined.

get_initializer [JClass]
get_inner_classes [Javalib]

Returns the list of inner classes defined in the given class or interface.

get_inner_classes [JClass]
get_interface_method [JBasicsLow]
get_local_variable_info [JCode]

get_local_variable_info i pp m returns the name and signature of the local variable i at program point pp in the method code m (including the pp of the first assignement of i, it's not the case in c_local_variable_table), if they are defined in the local variable table (The bytecode needs to be compiled with the -g option).

get_method [Javalib]

get_method ioc ms returns the method with the signature ms in the interface or class ioc.

get_method [JClass]
get_method [JBasicsLow]
get_method_handle [JBasicsLow]
get_method_handle_ui16 [JBasicsLow]
get_method_or_interface_method [JBasicsLow]
get_method_signature [Javalib]
get_method_signature [JClass]
get_method_visibility [Javalib]
get_method_visibility [JClass]
get_methods [Javalib]

Returns the map of all the methods defined in the given class or interface.

get_methods [JClass]
get_name [Javalib]

Returns the fully qualified name of a class_name.

get_name [JClass]
get_object_type [JBasicsLow]
get_other_attributes [Javalib]
get_other_attributes [JClass]
get_other_flags [Javalib]
get_other_flags [JClass]
get_permissive [JBasics]
get_source_line_number [JCode]

get_source_line_number pp m returns the source line number corresponding to the program point pp of the method code m.

get_source_line_number' [JCode]

get_source_line_number pp lnt returns the source line number corresponding to the program point pp given the LineNumberTable attribute lnt.

get_sourcefile [Javalib]

Returns the source file associated to the parsed bytecode used to build the given class or interface.

get_sourcefile [JClass]
get_string [JBasicsLow]
get_string_ui16 [JBasicsLow]
H
h2l_acmethod [JHigh2Low]
h2l_amethod [JHigh2Low]
h2l_cfield [JHigh2Low]
h2l_cmethod [JHigh2Low]
h2l_ifield [JHigh2Low]
high2low [JHigh2Low]

Convert a high level class to a lower level class.

I
if_fold [Javalib]
if_fold [JClass]
if_iter [Javalib]
if_iter [JClass]
index_of [JLib.DynArray]
init [JLib.List]
input_bytes [JLib.IO]
input_channel [JLib.IO]
input_string [JLib.IO]
insert_code [JCode]

insert_code code pp l insert the the instructions contained in l at program point pp in the code.

instruction2opcode [JInstruction]

High level to low level bytecode instruction.

inter [GenericSet.GenericSetSig]
inter [Ptmap.S]

inter m1 m2 returns a map with all the bindings (k,d) of m1 such that mem k m2.

inter [Ptset.S]
inter_map2 [Ptmap.S]
interface_method_to_int [JBasicsLow]
intersect [Ptset.S]
is_deprecated [Javalib]

Returns true if the use of the given interface or class is deprecated, false otherwise.

is_deprecated [JClass]
is_empty [GenericMap.GenericMapSig]
is_empty [GenericSet.GenericSetSig]
is_empty [Ptmap.S]
is_empty [Ptset.S]
is_final [Javalib]

Returns true if the given interface or class is final, false otherwise.

is_final [JClass]
is_final_field [Javalib]
is_final_field [JClass]
is_final_method [Javalib]
is_final_method [JClass]
is_static_field [Javalib]
is_static_field [JClass]
is_static_method [Javalib]
is_static_method [JClass]
is_synchronized_method [Javalib]
is_synchronized_method [JClass]
iter [Javalib]

iter ~debug:false f filename applies the function successively the function f on each classes specified by filename.

iter [JFile]

iter ~debug:false f filename applies the function successively the function f on each classes specified by filename.

iter [JLib.List]
iter [JLib.DynArray]
iter [GenericMap.GenericMapSig]
iter [GenericSet.GenericSetSig]
iter [Ptmap.S]
iter [Ptset.S]
iteri [JLib.List]
J
jar2manifest [JManifest]

Read a manifest from a jar file (which must end with .jar).

java_basic_type [Javalib.JPrint]

java_basic_type ~jvm java_basic_type gives a string representation of a java_basic_type.

java_basic_type [JDumpBasics]

java_basic_type t returns the lowercase character that corresponds to the type t.

java_lang_object [JBasics]

java.lang.Object class name.

jcode [Javalib.JPrint]
jopcode [Javalib.JPrint]
jstr_pp [JBasics]

Returns a string where all characters outside the ASCII printable range (32..126) are escaped.

jstr_raw [JBasics]

Returns the original string.

jvm_array_type [JDumpBasics]

jvm_array_type t returns the lowercase character that corresponds to the type t.

jvm_basic_type [JDumpBasics]

jvm_basic_type t returns the lowercase character that corresponds to the type t.

K
key_elements [GenericMap.GenericMapSig]
keys_subset [Ptmap.S]

keys_subset m1 m2 returns true if the set of keys in m1 is a subset of the set of keys in m2, false otherwise.

L
ldc_value_to_int [JBasicsLow]
length [JLib.List]
length [JLib.Array]
length [JLib.String]
length [JLib.DynArray]
low2high_class [JLow2High]

Convert a low level class to a higher level class.

M
m_fold [Javalib]
m_fold [JClass]
m_iter [Javalib]
m_iter [JClass]
make_cfs [JBasics]

Builds a class_field_signature.

make_cms [JBasics]

Builds a class_method_signature.

make_cn [JBasics]

Builds a class_name from a string representing the Java fully qualified name of the class.

make_directories [Javalib]

make_directories directories returns an abstract directories type.

make_directories [JFile]

make_directories directories returns an abstract directories type.

make_fs [JBasics]

Builds a field_signature.

make_jstr [JBasics]

Builds a jstr.

make_md [JBasics]

Builds a method_descriptor.

make_ms [JBasics]

Builds a method_signature.

map [JLib.List]
map [GenericMap.GenericMapSig]
map [Ptmap.S]
map2 [JLib.List]
map_class [JClass]
map_class_context [JClass]
map_class_with_native [JClass]
map_class_with_native_context [JClass]
map_concrete_method [Javalib]

map_concrete_method f cm lazily applies f to the implementation of cm (if the method is native, it does nothing but changing the type).

map_concrete_method [JClass]
map_concrete_method_with_native [Javalib]

map_concrete_method_with_native f cm is equivalent to Javalib.map_concrete_method but allows to transform not only the code representation but also the implementation type.

map_concrete_method_with_native [JClass]
map_default [JLib.Option]
map_interface [JClass]
map_interface_context [JClass]
map_interface_or_class [Javalib]

map_interface_or_class f ioc lazily applies f to all non-native method implementations of the interface or class ioc.

map_interface_or_class [JClass]
map_interface_or_class_context [Javalib]

map_interface_or_class_context f ioc lazily applies f to all non-native method implementations of the interface or class ioc, giving the concrete method being transformed as argument to f.

map_interface_or_class_context [JClass]
map_interface_or_class_with_native [Javalib]

map_interface_or_class_with_native f ioc is equivalent to Javalib.map_interface_or_class but allows to transform not only the code representation but also the implementation type.

map_interface_or_class_with_native [JClass]
map_interface_or_class_with_native_context [Javalib]

map_interface_or_class_with_native_context f ioc is equivalent to Javalib.map_interface_or_class_context but allows to transform not only the code representation but also the implementation type.

map_interface_or_class_with_native_context [JClass]
map_interface_with_native [JClass]
map_interface_with_native_context [JClass]
mapi [GenericMap.GenericMapSig]
mapi [Ptmap.S]
max_elt [Ptset.S]
may [JLib.Option]
md_args [JBasics]

Returns the method_descriptor arguments list.

md_rtype [JBasics]

Returns the method_descriptor return type.

md_split [JBasics]

Splits a method_descriptor into arguments list and return type.

mem [GenericMap.GenericMapSig]
mem [GenericSet.GenericSetSig]
mem [Ptmap.S]
mem [Ptset.S]
merge [GenericMap.GenericMapSig]

merge f m1 m2 returns a map that has the bindings of m1 and m2 and which binds k to f d1 d2 if m1 and m2 binds the same k to different d1 and d2, respectively.

merge [Ptmap.S]

merge f m1 m2 returns a map that binds every key k that is either bound in m1 or/and in m2.

merge_first [Ptmap.S]

merge_first m1 m2 is the same as merge (fun a _ -> a) m1 m2 but it reuses more data from the first map.

method_descriptor [Javalib.JPrint]

method_descriptor ~jvm method_descriptor gives a string representation of a method descriptor, composed of the parameters types and the return type of a method.

method_handle_kind [JDumpBasics]

method_handle_kind k returns the string that corresponds to the method handle kind k.

method_handle_kind_to_int [JBasicsLow]
method_handle_to_const [JBasicsLow]
method_signature [Javalib.JPrint]

method_signature ~jvm ~param_names method_signature gives a string representation of a method_signature.

method_signature [JDumpBasics]

method_signature mn md, where mn is a method name and md a method descriptor, returns the method signature as in Java ( e.g.

method_to_int [JBasicsLow]
midlet_main_class [JManifest]

Get a midlet's main class from the MIDlet-1 attribute of its manifest.

min_elt [Ptset.S]
modify [GenericMap.GenericMapSig]
modify [Ptmap.S]
ms_args [JBasics]

Retrieves method parameters types from a method_signature.

ms_compare [JBasics]

Compares two method signatures.

ms_equal [JBasics]

Returns true if two method signatures are equal, false otherwise.

ms_hash [JBasics]

Returns the hash value of the given method_signature.

ms_name [JBasics]

Retrieves the method name from a method_signature.

ms_rtype [JBasics]

Retrieves method return type from a method_signature.

N
name_and_type_to_int [JBasicsLow]
nsplit [JLib.String]
nwrite_string [JLib.IO]
O
object_type [Javalib.JPrint]

object_type ~jvm object_type gives a string representation of an object_type.

object_type_to_int [JBasicsLow]
object_value_signature [JDumpBasics]

object_value_signature ~jvm s, if jvm is false (by default), returns the Java representation of type s.

of_array [JLib.DynArray]
of_array [GenericSet.GenericSetSig]
of_list [JLib.DynArray]
of_list [GenericSet.GenericSetSig]
opcode [JDumpLow]
opcode2instruction [JInstruction]

Low level to high level bytecode instruction.

opcodes2code [JInstruction]

Maps an arrray of low level bytecode to a high level code.

output_channel [JLib.IO]
output_string [JLib.IO]
P
parse_ClassSignature [JParseSignature]

parse_ClassSignature s parses a Signature attribute and expects to find a ClassSignature (as describe in paragraph 4.4.4 of the Java Virtual Machine Specification of Java 5).

parse_FieldTypeSignature [JParseSignature]

parse_FieldTypeSignature s parses a Signature attribute s and expects to find a FieldTypeSignature (as describe in paragraph 4.4.4 of the Java Virtual Machine Specification of Java 5).

parse_MethodTypeSignature [JParseSignature]

parse_MethodTypeSignature s parses a Signature attribute and expects to find a Methodtypesignature (as describe in paragraph 4.4.4 of the Java Virtual Machine Specification of Java 5).

parse_class [JParse]

Parse a Java class file and return the high level representation.

parse_class_low_level [JParse]

Parse a Java class file and return the low level representation.

parse_code [JParseCode]

Parse a sequence of instructions of given size (in bytes) and returns an array of instructions.

parse_descriptor [JParseSignature]
parse_field_descriptor [JParseSignature]
parse_full_opcode [JParseCode]
parse_method_descriptor [JParseSignature]
parse_objectType [JParseSignature]
partition [Ptmap.S]
partition [Ptset.S]
pos_in [JLib.IO]
pos_out [JLib.IO]
print_class [Javalib.JPrint]
print_class' [Javalib.JPrint]
print_method [Javalib.JPrint]
print_method' [Javalib.JPrint]
printf [JLib.IO]
R
read [Javalib]

read directories f acc names iterates f over all classes specified by names.

read [JFile]

read directories f acc names iterates f over all classes specified by names.

read_byte [JLib.IO]
read_double [JLib.IO.BigEndian]
read_i16 [JLib.IO.BigEndian]
read_i32 [JLib.IO.BigEndian]
read_i64 [JLib.IO.BigEndian]
read_low [JFile]

Same as JFile.read with low level class files.

read_real_i32 [JLib.IO.BigEndian]
read_signed_byte [JLib.IO]
read_ui16 [JLib.IO.BigEndian]
really_nread [JLib.IO]
really_nread_string [JLib.IO]
remove [GenericMap.GenericMapSig]
remove [GenericSet.GenericSetSig]
remove [Ptmap.S]
remove [Ptset.S]
remove_all [JLib.List]
remove_invokedynamic [Javalib]

remove_invokedynamic ioc ms pp prefix returns a couple of interface or classes (ioc',ioc_lambda), where ioc' is a modified version of ioc and ioc_lambda is a forged class implementing the functional interface of the lambda expression to be found in ioc at program point pp of method ms.

remove_invokedynamic [JClass]
remove_invokedynamics [Javalib]

remove_invokedynamics ioc prefix iters the method Javalib.remove_invokedynamics_in_method on all the methods of class ioc.

remove_invokedynamics [JClass]
remove_invokedynamics_in_method [Javalib]

remove_invokedynamics_in_method ioc ms prefix iters the method Javalib.remove_invokedynamic on all the program points containing invokedynamic instructions in method ms of class ioc.

remove_invokedynamics_in_method [JClass]
replace_code [JCode]

replace_code code pp l replaces the opcode present at program point pp in the code with the instructions contained in l.

rettype2shortstring [JDumpBasics]

rettype2shortstring t, if jvm is true (default value), returns the JVM representation of the return type t (e.g.

return_type [Javalib.JPrint]

return_type ~jvm rt gives a string representation of the return type rt.

S
sections [JManifest]

Read a list of sections.

sections2manifest [JManifest]

Interpret a list of section as a manifest.

sep [JFile]

sep is the class path separator.

set_permissive [JBasics]

set_permissive true disables some checking in JavaLib.

signature [Javalib.JPrint]

signature ~jvm name descriptor gives a string representation of a descriptor which can either contain a field_descriptor or a method_descriptor, associated to the name name.

signature [JDumpBasics]

signature name des returns a string corresponding to the field or method name with the descriptor des.

singleton [GenericSet.GenericSetSig]
singleton [Ptset.S]
split [Ptset.S]
split_nth [JLib.List]
stack_map [Javalib.JPrint]
string_to_int [JBasicsLow]
strip [JLib.String]
subset [GenericMap.GenericMapSig]
subset [GenericSet.GenericSetSig]
subset [Ptmap.S]

subset sub m1 m2 returns true if the set of keys in m1 is a subset of the set of keys in m2, and if for all value v1 in m1, and v2 in m2, at the same position, sub v1 v2=true holds, false otherwise.

subset [Ptset.S]
T
to_array [JLib.DynArray]
to_list [JLib.DynArray]
to_set [JBasics.ClassMethodMaptoSet]
to_set [GenericMap.MaptoSet]
to_string [Ptset.S]

to_string s return a string representation of s

transform [Javalib]

transform directories outputdir f names applies f to all classes specified by names, writing the resulting classes in outputdir.

transform [JFile]

transform directories outputdir f names applies f to all classes specified by names, writing the resulting classes in outputdir.

transform_low [JFile]

Same as JFile.transform with low level class files.

type2shortstring [JDumpBasics]
U
union [GenericSet.GenericSetSig]
union [Ptset.S]
unparse_ClassSignature [JUnparseSignature]
unparse_FieldTypeSignature [JUnparseSignature]
unparse_MethodTypeSignature [JUnparseSignature]
unparse_attribute_to_strings [JUnparse]

Unparses an attribute to a couple (name, content) where name is the code-name of the attribute and content as encoded in a .class file.

unparse_class [Javalib]

unparse_class ioc out dump the class or interface ioc into out as a .class file.

unparse_class [JUnparse]

Unparses a class to a file.

unparse_class_low_level [JUnparse]

Unparses a class to a file.

unparse_code [JParseCode]

Unparse a sequence of instructions.

unparse_constClass [JUnparseSignature]
unparse_descriptor [JUnparseSignature]
unparse_instruction [JParseCode]

unparse_instruction ch count length opcode output on ch the opcode opcode in the length byte(s) format.

unparse_method_descriptor [JUnparseSignature]
unparse_object_type [JUnparseSignature]
unparse_value_type [JUnparseSignature]
unsafe_get [JLib.DynArray]
V
value_elements [GenericMap.GenericMapSig]
value_signature [JDumpBasics]

value_signature ~jvm s, if jvm is false (default value), returns the Java representation of the type t.

value_type [Javalib.JPrint]

value_type ~jvm value_type gives a string representation of a value_type.

value_type_list [Javalib.JPrint]

value_type_list ~names l gives a string representation of the value_type list l with possibly associated names.

W
write [JLib.IO]
write_bootstrap_argument [JBasicsLow]
write_byte [JLib.IO]
write_class [Javalib]

write_class outputdir c writes the class c in the subdirectory of outputdir that correspond to the package name of c.

write_class [JFile]

write_class outputdir c writes the class c in the subdirectory of outputdir that correspond to the package name of c.

write_class [JBasicsLow]
write_class_low [JFile]

Same as JFile.write_class with low level class files.

write_constant [JBasicsLow]
write_constant_attribute [JBasicsLow]
write_double [JLib.IO.BigEndian]
write_i16 [JLib.IO.BigEndian]
write_i32 [JLib.IO.BigEndian]
write_i64 [JLib.IO.BigEndian]
write_i8 [JBasicsLow]
write_name_and_type [JBasicsLow]
write_object_type [JBasicsLow]
write_real_i32 [JLib.IO.BigEndian]
write_string [JBasicsLow]
write_string_with_length [JBasicsLow]
write_ui16 [JLib.IO.BigEndian]
write_ui8 [JBasicsLow]
write_with_length [JBasicsLow]
write_with_size [JBasicsLow]