Crates.io | jvm-descriptors |
lib.rs | jvm-descriptors |
version | 0.1.0 |
source | src |
created_at | 2024-11-05 08:00:57.076643 |
updated_at | 2024-11-05 08:00:57.076643 |
description | JVM descriptor parsers |
homepage | |
repository | https://github.com/diacritics-owo/jvm-descriptors |
max_upload_size | |
id | 1436209 |
size | 11,055 |
JVM descriptor parsers
"Ljava/lang/String;".parse::<Type>();
Method {
name: "hello".to_string(),
parameters: vec![],
return_type: None,
}.to_string();
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.