jvm-descriptors

Crates.iojvm-descriptors
lib.rsjvm-descriptors
version0.1.0
sourcesrc
created_at2024-11-05 08:00:57.076643
updated_at2024-11-05 08:00:57.076643
descriptionJVM descriptor parsers
homepage
repositoryhttps://github.com/diacritics-owo/jvm-descriptors
max_upload_size
id1436209
size11,055
(diacritics-owo)

documentation

README

jvm-descriptors

JVM descriptor parsers

Examples

"Ljava/lang/String;".parse::<Type>();

Method {
  name: "hello".to_string(),
  parameters: vec![],
  return_type: None,
}.to_string();

Notes

Note that this crate is somewhat lenient—the goal is to do basic parsing and no other validation. If you want to make sure that e.g. a given package path has at least two parts, validate it on your own. Additionally, absolutely no validation is done when serialising to a string.

Commit count: 6

cargo fmt