de.uka.ipd.sdq.ByCounter.parsing
Class FindMethodDefinitionsClassAdapter
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FindMethodDefinitionsClassAdapter
public FindMethodDefinitionsClassAdapter(java.lang.String[] ignoredPackagePrefixes)
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.