| Copyright | (c) Christian Gram Kalhauge 2017 |
|---|---|
| License | MIT |
| Maintainer | kalhuage@cs.ucla.edu |
| Safe Haskell | None |
| Language | Haskell2010 |
Language.JVM.Field
Contents
Description
- data Field r = Field {
- fAccessFlags' :: !(BitSet16 FAccessFlag)
- fName :: !(Ref Text r)
- fDescriptor :: !(Ref FieldDescriptor r)
- fAttributes :: !(Attributes FieldAttributes r)
- fAccessFlags :: Field r -> Set FAccessFlag
- fConstantValue :: Field High -> Maybe (ConstantValue High)
- fSignature :: Field High -> Maybe (Signature High)
- data FieldAttributes r = FieldAttributes {
- faConstantValues :: [ConstantValue r]
- faSignatures :: [Signature r]
- faOthers :: [Attribute r]
Documentation
A Field in the class-file, as described here.
Constructors
| Field | |
Fields
| |
Instances
| Staged Field Source # | |
| Eq (Field High) Source # | |
| Eq (Field Low) Source # | |
| Ord (Field Low) Source # | |
| Show (Field High) Source # | |
| Show (Field Low) Source # | |
| Generic (Field High) Source # | |
| Generic (Field Low) Source # | |
| Binary (Field Low) Source # | |
| NFData (Field High) Source # | |
| NFData (Field Low) Source # | |
| type Rep (Field High) Source # | |
| type Rep (Field Low) Source # | |
fAccessFlags :: Field r -> Set FAccessFlag Source #
Get the set of access flags
Attributes
fConstantValue :: Field High -> Maybe (ConstantValue High) Source #
Fetch the ConstantValue attribute.
data FieldAttributes r Source #
Constructors
| FieldAttributes | |
Fields
| |
Instances
| Eq (FieldAttributes High) Source # | |
| Eq (FieldAttributes Low) Source # | |
| Ord (FieldAttributes Low) Source # | |
| Show (FieldAttributes High) Source # | |
| Show (FieldAttributes Low) Source # | |
| Generic (FieldAttributes High) Source # | |
| Generic (FieldAttributes Low) Source # | |
| NFData (FieldAttributes High) Source # | |
| NFData (FieldAttributes Low) Source # | |
| type Rep (FieldAttributes High) Source # | |
| type Rep (FieldAttributes Low) Source # | |