Module Java

module Java: sig .. end
This module provides utility functions for handling bytecode that utilitizes the Java standard library


Basic Types


val v : string
void
val z : string
boolean
val b : string
byte
val s : string
short
val c : string
char
val i : string
int
val j : string
long
val f : string
float
val d : string
double
val init : string
<init>
val clinit : string
<clinit>

Type Descriptions


val is_type_descr : string -> bool
true if given string is fit for type description
val is_shorty_descr : string -> bool
true if given string is fit for shorty description
val to_type_descr : string -> string
to type description
val to_shorty_descr : string list -> string
to shorty description
val to_java_ty : string -> string
from java.lang.Object to Ljava/lang/Object;
val of_type_descr : string -> string
from type description
val of_java_ty : string -> string
from Ljava/lang/Object; to java.lang.Object
val get_package_name : string -> string
from Ljava/lang/Object; to java.lang
val get_class_name : string -> string
from Ljava/lang/Object; to Object

Libraries


module Lang: sig .. end
module IO: sig .. end
module Net: sig .. end
module Apache: sig .. end
val is_library : string -> bool
true if given class is Java library

Web Accessibility