| java.lang.Object org.netbeans.modules.junit.TopClassFinder
TopClassFinder | final class TopClassFinder (Code) | | Finds all non-annotation top-level classes in a compilation unit.
author: Marian Petras |
findTestableTopClasses | static List<ElementHandle<TypeElement>> findTestableTopClasses(JavaSource javaSource, TestabilityJudge testabilityJudge, Collection<SkippedClass> nonTestable) throws IOException(Code) | | Finds testable top-level classes, interfaces and enums in a given
Java source.
Parameters: javaSource - source in which testable classes should be found Parameters: judge - TestCreator that will select testabletop-level classes(see TestCreator.isClassTestable) Parameters: nonTestable - container where names of found non-testable classesshould be stored handles to testable top-level classes, interfaces and enums exception: java.lang.IllegalArgumentException - if any of the parameters is null |
findTopClasses | static List<ClassTree> findTopClasses(CompilationUnitTree compilationUnit, TreeUtilities treeUtils)(Code) | | list of top classes, or an empty list of none were found |
isTestable | static boolean isTestable(Element typeDeclElement)(Code) | | |
|
|