net.firstpartners.nounit.reader.bytecode
Class ByteCodeMethodSnippetFactory

java.lang.Object
  |
  +--net.firstpartners.nounit.reader.bytecode.AbstractByteCodeSnippetFactory
        |
        +--net.firstpartners.nounit.reader.bytecode.ByteCodeMethodSnippetFactory
All Implemented Interfaces:
ISnippetFactory

public class ByteCodeMethodSnippetFactory
extends AbstractByteCodeSnippetFactory
implements ISnippetFactory

Reads Class Files (Byte Code) and returns them as snippets


Constructor Summary
ByteCodeMethodSnippetFactory(org.gjt.jclasslib.structures.ClassFile sourceClassFile)
          Constructor - Get (and store) source class file
 
Method Summary
 Snippets getSnippets()
          Get a set of snippets from the current class source
 java.util.HashMap splitTagVerboseIntoHashMap(java.lang.String inTagVerbose)
          Splits a String (from Tag info) into paramters (a hashmap)
 
Methods inherited from class net.firstpartners.nounit.reader.bytecode.AbstractByteCodeSnippetFactory
cleanValues, cleanValues, tidyNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteCodeMethodSnippetFactory

public ByteCodeMethodSnippetFactory(org.gjt.jclasslib.structures.ClassFile sourceClassFile)
Constructor - Get (and store) source class file
Parameters:
sourceClassFile - - Compiled Byte Code to read
Method Detail

getSnippets

public Snippets getSnippets()
                     throws NoUnitException
Get a set of snippets from the current class source
Specified by:
getSnippets in interface ISnippetFactory
Overrides:
getSnippets in class AbstractByteCodeSnippetFactory
Returns:
snippetSet Collection of ISnippets describing the file

splitTagVerboseIntoHashMap

public java.util.HashMap splitTagVerboseIntoHashMap(java.lang.String inTagVerbose)
Splits a String (from Tag info) into paramters (a hashmap)
Parameters:
inTagVerbose -  
Returns:
splitValues