Class CallerMethod
java.lang.Object
de.elnarion.util.plantuml.generator.sequencediagram.internal.CallerMethod
- All Implemented Interfaces:
ICallerMethod
The Class CallerMethod.
-
Constructor Summary
ConstructorsConstructorDescriptionCallerMethod(javassist.CtMethod paramMethod, CallerClass paramCallerClass, PlantUMLSequenceDiagramConfig paramConfig) Instantiates a new caller method. -
Method Summary
Modifier and TypeMethodDescriptiongenerateCallSequenceDiagramText(String paramIndent) Generate call sequence diagram text.Gets the callees.Gets the caller class.Gets the diagram participants.Gets the diagram text.Gets the method name.Gets the return type.
-
Constructor Details
-
CallerMethod
public CallerMethod(javassist.CtMethod paramMethod, CallerClass paramCallerClass, PlantUMLSequenceDiagramConfig paramConfig) Instantiates a new caller method.- Parameters:
paramMethod- the param methodparamCallerClass- the param caller classparamConfig- the param config
-
-
Method Details
-
getMethodName
Description copied from interface:ICallerMethodGets the method name.- Specified by:
getMethodNamein interfaceICallerMethod- Returns:
- the method name
-
getCallees
Description copied from interface:ICallerMethodGets the callees.- Specified by:
getCalleesin interfaceICallerMethod- Returns:
- the callees
-
getCallerClass
Description copied from interface:ICallerMethodGets the caller class.- Specified by:
getCallerClassin interfaceICallerMethod- Returns:
- the caller class
-
getDiagramParticipants
Description copied from interface:ICallerMethodGets the diagram participants.- Specified by:
getDiagramParticipantsin interfaceICallerMethod- Returns:
- the diagram participants
-
getDiagramText
Description copied from interface:ICallerMethodGets the diagram text.- Specified by:
getDiagramTextin interfaceICallerMethod- Returns:
- the diagram text
- Throws:
ClassNotFoundException- the class not found exceptionjavassist.NotFoundException- the not found exception
-
generateCallSequenceDiagramText
public String generateCallSequenceDiagramText(String paramIndent) throws javassist.NotFoundException Description copied from interface:ICallerMethodGenerate call sequence diagram text.- Specified by:
generateCallSequenceDiagramTextin interfaceICallerMethod- Parameters:
paramIndent- the param indent- Returns:
- the string
- Throws:
javassist.NotFoundException- the not found exception
-
getReturnType
Description copied from interface:ICallerMethodGets the return type.- Specified by:
getReturnTypein interfaceICallerMethod- Returns:
- the return type
- Throws:
javassist.NotFoundException- if type is not found
-