public interface IGosuClassRepository
| Modifier and Type | Method and Description |
|---|---|
ISourceFileHandle |
findClass(String strQualifiedClassName,
String[] extensions)
Finds the ISourceFileHandle for a given fully-qualified class name, or null if no such source file exists
|
URL |
findResource(String name)
Finds the given resource in this repository.
|
Set<String> |
getAllTypeNames() |
Set<String> |
getAllTypeNames(String... extensions)
Returns the names of all types in this repository that end with one of the specified file extensions
|
IModule |
getModule()
The module having this repository
|
Set<TypeName> |
getTypeNames(String namespace,
Set<String> extensions,
ITypeLoader loader)
Returns all type names in the given namespace and with the given extensions.
|
int |
hasNamespace(String namespace)
Returns the number of namespaces this repository has matching the given name.
|
void |
namespaceRefreshed(String namespace,
IDirectory dir,
RefreshKind kind)
Called when a namespace is refreshed
|
void |
typesRefreshed(RefreshRequest request)
Called when a type is refreshed
|
IModule getModule()
ISourceFileHandle findClass(String strQualifiedClassName, String[] extensions)
strQualifiedClassName - the fully-qualified name of the classextensions - URL findResource(String name)
The name of a resource is a '/'-separated path name that identifies the resource.
name - the name of the resourceSet<String> getAllTypeNames()
Set<String> getAllTypeNames(String... extensions)
extensions - the set of file name extensions to considerSet<TypeName> getTypeNames(String namespace, Set<String> extensions, ITypeLoader loader)
int hasNamespace(String namespace)
void typesRefreshed(RefreshRequest request)
void namespaceRefreshed(String namespace, IDirectory dir, RefreshKind kind)
Copyright © 2019. All rights reserved.