net.sourceforge.cobertura.javancss.parser
Interface JavaParserInterface
- All Known Implementing Classes:
- JavaParser, JavaParser15, JavaParser15Debug, JavaParserDebug
public interface JavaParserInterface
parse
void parse()
throws java.lang.Exception
- Throws:
java.lang.Exception
parseImportUnit
void parseImportUnit()
throws java.lang.Exception
- Throws:
java.lang.Exception
getNcss
int getNcss()
getLOC
int getLOC()
getJvdc
int getJvdc()
getFunction
java.util.List getFunction()
getObject
java.util.List getObject()
- Returns:
- Top level classes in sorted order
getPackage
java.util.Map getPackage()
- Returns:
- The empty package consists of the name ".".
getImports
java.util.List getImports()
getPackageObjects
java.lang.Object[] getPackageObjects()
- name, beginLine, ...
getLastFunction
java.lang.String getLastFunction()
- if javancss is used with cat *.java a long
input stream might get generated, so line
number information in case of an parse exception
is not very useful.