Package org.fife.rsta.ac.js.completion
Class JSMethodData
java.lang.Object
org.fife.rsta.ac.js.completion.JSMethodData
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEnclosingClassName(boolean fullyQualified) private MethodScours the source in a location (zip file, directory), looking for a particular class's source.intgetParameterName(int index) Returns the name of the specified parameter to this method, ornullif it cannot be determined.getParameterType(String[] paramTypes, int index, org.fife.ui.autocomplete.CompletionProvider provider) private StringScours the source in a location (zip file, directory), looking for a particular class's source.getType(boolean qualified) booleanisStatic()
-
Field Details
-
info
-
jarManager
-
paramNames
-
-
Constructor Details
-
JSMethodData
-
-
Method Details
-
getParameterName
Returns the name of the specified parameter to this method, ornullif it cannot be determined.- Parameters:
index- The index of the parameter.- Returns:
- The name of the parameter, or
null.
-
getParameterType
-
getSummary
-
getMethod
-
getSummaryFromSourceLoc
Scours the source in a location (zip file, directory), looking for a particular class's source. If it is found, it is parsed, and the Javadoc for this method (if any) is returned.- Parameters:
loc- The zip file, jar file, or directory to look in.cf- TheClassFilerepresenting the class of this method.- Returns:
- The summary, or
nullif the method has no javadoc, the class's source was not found, or an IO error occurred.
-
getMethodFromSourceLoc
Scours the source in a location (zip file, directory), looking for a particular class's source. If it is found, it is parsed, and theMethodfor this method (if any) is returned.- Parameters:
loc- The zip file, jar file, or directory to look in.cf- TheClassFilerepresenting the class of this method.- Returns:
- The method, or
nullif it cannot be found, or an IO error occurred.
-
getMethodInfo
-
getType
-
getParameterCount
public int getParameterCount() -
isStatic
public boolean isStatic() -
getEnclosingClassName
-