Package gw.internal.gosu.parser
Class ClassPath
- java.lang.Object
-
- gw.internal.gosu.parser.ClassPath
-
- All Implemented Interfaces:
IClassPath
public class ClassPath extends Object implements IClassPath
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface gw.lang.reflect.module.IClassPath
IClassPath.ClassPathFilter
-
-
Field Summary
-
Fields inherited from interface gw.lang.reflect.module.IClassPath
ALLOW_ALL_FILTER, ALLOW_ALL_WITH_SUN_FILTER, COM_SUN_CLASS_PREFIX, GW_API_PREFIX, GW_INTERNAL_PREFIX, ONLY_API_CLASSES, PLACEHOLDER_FOR_PACKAGE, SUN_CLASS_PREFIX
-
-
Constructor Summary
Constructors Constructor Description ClassPath(IModule module, IClassPath.ClassPathFilter filter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(String fqn)
IFile
get(String fqn)
Set<String>
getFilteredClassNames()
ArrayList<IDirectory>
getPaths()
Set<TypeName>
getTypeNames(String namespace)
boolean
hasNamespace(String namespace)
boolean
isEmpty()
String
toString()
-
-
-
Constructor Detail
-
ClassPath
public ClassPath(IModule module, IClassPath.ClassPathFilter filter)
-
-
Method Detail
-
getPaths
public ArrayList<IDirectory> getPaths()
- Specified by:
getPaths
in interfaceIClassPath
-
contains
public boolean contains(String fqn)
-
getFilteredClassNames
public Set<String> getFilteredClassNames()
- Specified by:
getFilteredClassNames
in interfaceIClassPath
-
isEmpty
public boolean isEmpty()
-
hasNamespace
public boolean hasNamespace(String namespace)
-
getTypeNames
public Set<TypeName> getTypeNames(String namespace)
- Specified by:
getTypeNames
in interfaceIClassPath
-
-