| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
H2JVM.Descriptor
Synopsis
- data MethodDescriptor = MethodDescriptor {}
- data ReturnDescriptor
- returnDescriptorType :: ReturnDescriptor -> Maybe FieldType
- methodParam :: MethodDescriptor -> Int -> Maybe FieldType
Documentation
data MethodDescriptor Source #
Represents a JVM method type signature descriptor (§4.3.3).
Constructors
| MethodDescriptor | |
Fields
| |
Instances
data ReturnDescriptor Source #
Represents a method return type descriptor.
Constructors
| VoidReturn | A void return ( |
| TypeReturn FieldType | A return of some |
Instances
methodParam :: MethodDescriptor -> Int -> Maybe FieldType Source #
Get the type of the i-th parameter of a method descriptor, if it exists.