| Modifier and Type | Class and Description |
|---|---|
protected static class |
JavadocParanamer.DirJavadocProvider |
protected static interface |
JavadocParanamer.JavadocProvider |
protected static class |
JavadocParanamer.UrlJavadocProvider |
protected static class |
JavadocParanamer.ZipJavadocProvider |
EMPTY_NAMES| Constructor and Description |
|---|
JavadocParanamer(File archiveOrDirectory) |
JavadocParanamer(URL url) |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
getCanonicalName(Class<?> klass) |
protected static String |
getJavadocFilename(Member member) |
String[] |
lookupParameterNames(AccessibleObject accessible)
Lookup the parameter names of a given method.
|
String[] |
lookupParameterNames(AccessibleObject accessible,
boolean throwExceptionIfMissing)
Lookup the parameter names of a given method.
|
protected static String |
streamToString(InputStream input) |
protected static InputStream |
urlToStream(URL url) |
public JavadocParanamer(File archiveOrDirectory) throws IOException
archiveOrDirectory - either a zip archive or base directory of Javadocs.FileNotFoundException - if the parameter or package-list cannot be found.IOExceptionpublic JavadocParanamer(URL url) throws IOException
url - base URL of the JavaDocsFileNotFoundException - if the url does not have a /package-listIOExceptionpublic String[] lookupParameterNames(AccessibleObject accessible)
ParanamerlookupParameterNames in interface Paranameraccessible - the Method or Constructor for which the parameter names
are looked up.public String[] lookupParameterNames(AccessibleObject accessible, boolean throwExceptionIfMissing)
ParanamerlookupParameterNames in interface Paranameraccessible - the Method or Constructor for which the parameter names
are looked up.throwExceptionIfMissing - whether to throw an exception if no Paranamer data found (versus return null).protected static String streamToString(InputStream input) throws IOException
IOExceptionprotected static InputStream urlToStream(URL url) throws IOException
IOExceptionCopyright © 2007-2014. All Rights Reserved.