Class DefaultClassTree
java.lang.Object
- All Implemented Interfaces:
FileTree<ClassFile>, Proxyable, Resource, Resources<ClassFile>, ClasspathElement, ClassTree
A default implementation of
ClassTree.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefaultClassTree(ResourceType<? extends ClassTree> type, Project project, Path root) Initializes a new class tree. -
Method Summary
Methods inherited from class DefaultFileTree
asOf, clear, delete, entries, equals, exclude, hashCode, root, root, stream, toString, withDirectoriesMethods inherited from class DefaultResources
add, isEmptyMethods inherited from class ResourceObject
isLocked, name, name, typeMethods inherited from interface FileTree
clear, delete, entries, exclude, root, root, withDirectoriesMethods inherited from interface Resource
asOfLocalized, name, type
-
Constructor Details
-
DefaultClassTree
Initializes a new class tree.- Parameters:
type- the typeproject- the projectroot- the root
-
-
Method Details
-
toPath
Description copied from interface:ClasspathElementReturn the representation of the element as it must appear on the classpath.- Specified by:
toPathin interfaceClasspathElement- Returns:
- the path
-