mirror of
https://github.com/Noratrieb/coldsquare.git
synced 2026-01-15 00:45:10 +01:00
23 lines
292 B
Rust
23 lines
292 B
Rust
#![allow(dead_code)]
|
|
|
|
struct MethodSignature {
|
|
args: Vec<Type>,
|
|
return_t: Type,
|
|
}
|
|
|
|
/// A Java type, found in signatures
|
|
enum Type {
|
|
/// V
|
|
Void,
|
|
/// B
|
|
Boolean,
|
|
Byte,
|
|
Short,
|
|
Int,
|
|
Long,
|
|
Float,
|
|
Double,
|
|
Object,
|
|
/// [
|
|
Array(Box<Type>),
|
|
}
|