de.uka.ipd.sdq.ByCounter.parsing
Class CallGraphClassAdapter
java.lang.Object
de.uka.ipd.sdq.ByCounter.parsing.CallGraphClassAdapter
public final class CallGraphClassAdapter
- extends java.lang.Object
This class has the method parseClass(CallGraph, String)
that can be
used to create a CallGraph
for a given class.
- Author:
- Martin Krogmann
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CallGraphClassAdapter
public CallGraphClassAdapter(java.lang.String[] ignoredPackagePrefixes)
parseClass
public boolean parseClass(CallGraph callGraph,
java.lang.String className)
- Parameters:
callGraph
- This is the CallGraph
that will be extended with the method calls
found in the class named className.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(CallGraph callGraph,
byte[] classBytes)
- Parameters:
callGraph
- This is the CallGraph
that will be extended with the method calls
found in the class named className.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.