jawa.util.descriptor module¶
Methods for parsing standard JVM type descriptors for fields and methods.
-
class
jawa.util.descriptor.
JVMType
(base_type, dimensions, name)¶ Bases:
tuple
-
base_type
¶ Alias for field number 0
-
dimensions
¶ Alias for field number 1
-
name
¶ Alias for field number 2
-
-
class
jawa.util.descriptor.
MethodDescriptor
(returns, args, returns_descriptor, args_descriptor, descriptor)¶ Bases:
tuple
-
args
¶ Alias for field number 1
-
args_descriptor
¶ Alias for field number 3
-
descriptor
¶ Alias for field number 4
-
returns
¶ Alias for field number 0
-
returns_descriptor
¶ Alias for field number 2
-
-
jawa.util.descriptor.
field_descriptor
(descriptor: str) → str[source]¶ Parses a Field descriptor as described in section 4.3.2 of the JVM specification.