de.uka.ipd.sdq.ByCounter.parsing
Class FindMethodDefinitionsClassAdapter

java.lang.Object
  extended by de.uka.ipd.sdq.ByCounter.parsing.FindMethodDefinitionsClassAdapter

public final class FindMethodDefinitionsClassAdapter
extends java.lang.Object

This class finds the methods defined in a class.

Author:
Martin Krogmann

Constructor Summary
FindMethodDefinitionsClassAdapter(java.lang.String[] ignoredPackagePrefixes)
           
 
Method Summary
 boolean parseClass(ClassMethodImplementations methodDefinitions, byte[] classBytes)
           
 boolean parseClass(ClassMethodImplementations methodDefinitions, java.lang.String className)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindMethodDefinitionsClassAdapter

public FindMethodDefinitionsClassAdapter(java.lang.String[] ignoredPackagePrefixes)
Method Detail

parseClass

public boolean parseClass(ClassMethodImplementations methodDefinitions,
                          java.lang.String className)
Parameters:
methodDefinitions - A list of full method definition descriptions for all methods in the class.
className - The name of the class holding the methods that shall be parsed. Needs to be fully qualified as this is used to find the correct class.
Returns:
True, if the class could be found and parsed successfully.

parseClass

public boolean parseClass(ClassMethodImplementations methodDefinitions,
                          byte[] classBytes)
Parameters:
methodDefinitions - A list of full method definition descriptions for all methods in the class.
classBytes - The class holding the methods that shall be parsed. Needs to be fully qualified as this is used to find the correct class.
Returns:
True, if the class could be found and parsed successfully.