jasm.lang
Class BytecodeAttribute.Fn

java.lang.Object
  extended by jasm.lang.BytecodeAttribute.Fn
Enclosing interface:
BytecodeAttribute

public static class BytecodeAttribute.Fn
extends java.lang.Object


Constructor Summary
BytecodeAttribute.Fn()
           
 
Method Summary
static BytecodeAttribute read(BinaryInputStream input, java.util.Map<java.lang.Integer,Constant.Info> constantPool, java.util.Map<java.lang.String,BytecodeAttribute.Reader> readers)
          Read a BytecodeAttribute from an input stream, using the given constant pool and readers map to decode them.
static java.util.List<BytecodeAttribute> read(int count, BinaryInputStream input, java.util.Map<java.lang.Integer,Constant.Info> constantPool, java.util.Map<java.lang.String,BytecodeAttribute.Reader> readers)
          Read a list of BytecodeAttributes from an input stream, using the given constant pool and readers map to decode them.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BytecodeAttribute.Fn

public BytecodeAttribute.Fn()
Method Detail

read

public static java.util.List<BytecodeAttribute> read(int count,
                                                     BinaryInputStream input,
                                                     java.util.Map<java.lang.Integer,Constant.Info> constantPool,
                                                     java.util.Map<java.lang.String,BytecodeAttribute.Reader> readers)
                                              throws java.io.IOException
Read a list of BytecodeAttributes from an input stream, using the given constant pool and readers map to decode them.

Parameters:
count - --- number of attributes to read
input - --- input stream to read from
constantPool - --- pool for decoding constants
readers - --- list of decoders for reading attributes
Returns:
Throws:
java.io.IOException

read

public static BytecodeAttribute read(BinaryInputStream input,
                                     java.util.Map<java.lang.Integer,Constant.Info> constantPool,
                                     java.util.Map<java.lang.String,BytecodeAttribute.Reader> readers)
                              throws java.io.IOException
Read a BytecodeAttribute from an input stream, using the given constant pool and readers map to decode them.

Parameters:
input - --- input stream to read from
constantPool - --- pool for decoding constants
readers - --- list of decoders for reading attributes
Returns:
Throws:
java.io.IOException


Copyright © 2013 David J. Pearce. All Rights Reserved.