Copyright | (c) Christian Gram Kalhauge 2017 |
---|---|
License | MIT |
Maintainer | kalhuage@cs.ucla.edu |
Safe Haskell | None |
Language | Haskell2010 |
This is the main module for accessing all kinds of Attributes.
Synopsis
- module Language.JVM.Attribute.Base
- data BootstrapMethods r
- data Code r
- data ConstantValue r
- data Exceptions r
- data LineNumberTable r
- data StackMapTable r
- data Signature a
- data RuntimeVisibleAnnotations r
- data RuntimeInvisibleAnnotations r
- data RuntimeVisibleParameterAnnotations r
- data RuntimeInvisibleParameterAnnotations r
- data RuntimeVisibleTypeAnnotations m r
- data RuntimeInvisibleTypeAnnotations m r
- data ClassTypeAnnotation r
- data MethodTypeAnnotation r
- data FieldTypeAnnotation r
- data CodeTypeAnnotation r
- data AnnotationDefault r
- data MethodParameters r
Documentation
module Language.JVM.Attribute.Base
Subattributes
data BootstrapMethods r Source #
Is a list of bootstrapped methods.
Instances
Code contains the actual byte-code. The i
type parameter is added to
allow indicate the two stages of the code file, before and after access to
the ConstantPool
. i should be either Ref
or Deref
.
Instances
data ConstantValue r Source #
A constant value is just a index into the constant pool.
Instances
data Exceptions r Source #
An Exceptions attribute is a list of references into the constant pool.
Instances
data LineNumberTable r Source #
The LineNumberTable
is just a mapping from offsets to linenumbers.
Instances
data StackMapTable r Source #
An Exceptions attribute is a list of references into the constant pool.
Instances
Instances
Staged Signature Source # | |
Defined in Language.JVM.Attribute.Signature | |
Eq (Signature High) Source # | |
Eq (Signature Low) Source # | |
Ord (Signature Low) Source # | |
Defined in Language.JVM.Attribute.Signature compare :: Signature Low -> Signature Low -> Ordering # (<) :: Signature Low -> Signature Low -> Bool # (<=) :: Signature Low -> Signature Low -> Bool # (>) :: Signature Low -> Signature Low -> Bool # (>=) :: Signature Low -> Signature Low -> Bool # | |
Show (Signature High) Source # | |
Show (Signature Low) Source # | |
Generic (Signature High) Source # | |
Generic (Signature Low) Source # | |
Binary (Signature Low) Source # | |
NFData (Signature High) Source # | |
Defined in Language.JVM.Attribute.Signature | |
NFData (Signature Low) Source # | |
Defined in Language.JVM.Attribute.Signature | |
IsAttribute (Signature Low) Source # | |
type Rep (Signature High) Source # | |
Defined in Language.JVM.Attribute.Signature | |
type Rep (Signature Low) Source # | |
Defined in Language.JVM.Attribute.Signature |
data RuntimeVisibleAnnotations r Source #
Instances
data RuntimeInvisibleAnnotations r Source #
Instances
data RuntimeVisibleParameterAnnotations r Source #
Instances
data RuntimeInvisibleParameterAnnotations r Source #
Instances
data RuntimeVisibleTypeAnnotations m r Source #
Instances
data RuntimeInvisibleTypeAnnotations m r Source #
Instances
data ClassTypeAnnotation r Source #
From here
Instances
data MethodTypeAnnotation r Source #
Instances
data FieldTypeAnnotation r Source #
Instances
data CodeTypeAnnotation r Source #
Instances
data AnnotationDefault r Source #
The AnnotationDefault attribute is a variable-length attribute in the attributes table of certain method_info structures (§4.6), namely those representing elements of annotation types (JLS §9.6.1). The AnnotationDefault attribute records the default value (JLS §9.6.2) for the element represented by the method_info structure. The Java Virtual Machine must make this default value available so it can be applied by appropriate reflective APIs.
Instances
data MethodParameters r Source #
Is a list of method parameters, one for each parameter