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

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

Language.JVM.Attribute.ConstantValue

Description

Based on the ConstantValue, as documented here.

Synopsis

Documentation

data ConstantValue r Source #

A constant value is just a index into the constant pool.

Constructors

ConstantValue 

Fields

Instances

Staged ConstantValue Source # 

Methods

stage :: LabelM m => (forall (s' :: * -> *). Staged s' => s' r -> m (s' r')) -> ConstantValue r -> m (ConstantValue r') Source #

evolve :: EvolveM m => ConstantValue Low -> m (ConstantValue High) Source #

devolve :: DevolveM m => ConstantValue High -> m (ConstantValue Low) Source #

Eq (ConstantValue High) Source # 
Eq (ConstantValue Low) Source # 
Ord (ConstantValue Low) Source # 
Show (ConstantValue High) Source # 
Show (ConstantValue Low) Source # 
Generic (ConstantValue High) Source # 

Associated Types

type Rep (ConstantValue High) :: * -> * #

Generic (ConstantValue Low) Source # 

Associated Types

type Rep (ConstantValue Low) :: * -> * #

Binary (ConstantValue Low) Source # 
NFData (ConstantValue High) Source # 

Methods

rnf :: ConstantValue High -> () #

NFData (ConstantValue Low) Source # 

Methods

rnf :: ConstantValue Low -> () #

IsAttribute (ConstantValue Low) Source #

ConstantValue is an Attribute.

type Rep (ConstantValue High) Source # 
type Rep (ConstantValue High) = D1 * (MetaData "ConstantValue" "Language.JVM.Attribute.ConstantValue" "jvm-binary-0.1.0-JJ8Rr7ERir79pQaBJvdiXV" False) (C1 * (MetaCons "ConstantValue" PrefixI True) (S1 * (MetaSel (Just Symbol "constantValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Ref JValue High))))
type Rep (ConstantValue Low) Source # 
type Rep (ConstantValue Low) = D1 * (MetaData "ConstantValue" "Language.JVM.Attribute.ConstantValue" "jvm-binary-0.1.0-JJ8Rr7ERir79pQaBJvdiXV" False) (C1 * (MetaCons "ConstantValue" PrefixI True) (S1 * (MetaSel (Just Symbol "constantValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Ref JValue Low))))