jvm-binary-0.0.2: A library for reading Java class-files

Copyright(c) Christian Gram Kalhauge 2017
LicenseMIT
Maintainerkalhuage@cs.ucla.edu
Safe HaskellNone
LanguageHaskell2010

Language.JVM.Field

Contents

Description

 

Synopsis

Documentation

data Field Source #

A Field in the class-file, as described here.

Instances

Eq Field Source # 

Methods

(==) :: Field -> Field -> Bool #

(/=) :: Field -> Field -> Bool #

Show Field Source # 

Methods

showsPrec :: Int -> Field -> ShowS #

show :: Field -> String #

showList :: [Field] -> ShowS #

Generic Field Source # 

Associated Types

type Rep Field :: * -> * #

Methods

from :: Field -> Rep Field x #

to :: Rep Field x -> Field #

Binary Field Source # 

Methods

put :: Field -> Put #

get :: Get Field #

putList :: [Field] -> Put #

type Rep Field Source # 

Attributes

fConstantValue :: ConstantPool -> Field -> Maybe (Either String ConstantValue) Source #

Fetch the ConstantValue attribute. There can only one be one exceptions attribute on a field.