| java.lang.Object net.firstpartners.nounit.reader.bytecode.AbstractByteCodeSnippetFactory net.firstpartners.nounit.reader.bytecode.ByteCodeCallsSnippetFactory
Field Summary | |
static Logger | log |
Constructor Summary | |
public | ByteCodeCallsSnippetFactory(MethodInfo thisMethod, ClassFile classFile) Construct a bytecode document with an associated Code
attribute and a parent class file. | public | ByteCodeCallsSnippetFactory(CodeAttribute attribute, ClassFile classFile) Construct a bytecode document with an associated Code
attribute and a parent class file. |
ByteCodeCallsSnippetFactory | public ByteCodeCallsSnippetFactory(MethodInfo thisMethod, ClassFile classFile) throws IOException, InvalidByteCodeException, NoUnitException(Code) | | Construct a bytecode document with an associated Code
attribute and a parent class file.
Only use the first Attribute from the method , which for methods should be OK!!
Parameters: styles - the style cache Parameters: attribute - the Code attribute Parameters: classFile - the class file |
ByteCodeCallsSnippetFactory | public ByteCodeCallsSnippetFactory(CodeAttribute attribute, ClassFile classFile) throws IOException, InvalidByteCodeException(Code) | | Construct a bytecode document with an associated Code
attribute and a parent class file.
Parameters: styles - the style cache Parameters: attribute - the Code attribute Parameters: classFile - the class file |
appendString | protected void appendString(String string)(Code) | | Store the String as Part of the Internal Instruction Set (nomral type)
Parameters: string - to Add |
appendString | protected void appendString(int type, String string)(Code) | | Store the String as Part of the Internal Instruction Set
Parameters: type - of Instruction Being added (as per constants) Parameters: string - to Add |
getSnippets | public Snippets getSnippets() throws NoUnitException(Code) | | See what methods are called by the implementation of this code
Called Methods are the one after the stored instruction
How they are called , is the instruction before the stored instruction
Constant pool reference is the actual stored instruction
Snippets Collection of Called Methods (String , Names)Get the Collection of Snippets (as read from the source) Snippets |
toString | public String toString()(Code) | | Get the document containing the opcode counters.
internalByteCodes - String describing the internal calls |
|
|