
public class JavaSourceParser extends Object
| Constructor and Description |
|---|
JavaSourceParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSourceForType(JClassType topType,
Resource source)
Add a source file associated with the outermost enclosing class.
|
String[] |
getArguments(JAbstractMethod method)
Return the real argument names for a given method from the source.
|
static JClassType |
getTopmostType(JClassType type) |
public static JClassType getTopmostType(JClassType type)
public void addSourceForType(JClassType topType, Resource source)
topType - source - TODO: reduce visibilitypublic String[] getArguments(JAbstractMethod method)
method - method to lookup parameter names forCopyright © 2018. All rights reserved.