public class JavaSourceParser extends Object
| Constructor and Description |
|---|
JavaSourceParser() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClassDoc()
Documentation for the class (api description)
|
String |
getErrorMessage()
Contains the error message if parsing failed
|
Map<String,String> |
getMethodDocs()
Documentation for every method
The key is the method name, the value is the documentation
|
List<String> |
getMethodSignatures()
Contains all the method signatures, such as: public String addUser(int userId, String name)
|
Map<String,Map<String,String>> |
getParameterDocs()
Documentation for every method and their arguments (parameters).
|
Map<String,Map<String,String>> |
getParameterTypes()
Parameter types for every method
The key is the method signature, the inner map has key = parameter name, value = parameter type
|
void |
parse(InputStream in,
String innerClass) |
void |
reset() |
public void parse(InputStream in, String innerClass) throws Exception
Exceptionpublic void reset()
public String getErrorMessage()
public List<String> getMethodSignatures()
public Map<String,Map<String,String>> getParameterTypes()
public Map<String,Map<String,String>> getParameterDocs()
public String getClassDoc()
Apache Camel