Package org.emftext.language.java
Class JavaClasspath
- java.lang.Object
-
- org.emftext.language.java.JavaClasspath
-
public class JavaClasspath extends Object
This class is responsible for managing and retrieving Java resources to establish inter-model references between different Java classes represented as EMF-models.
-
-
Constructor Summary
Constructors Constructor Description JavaClasspath()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
static JavaClasspath
get()
CompilationUnit
getCompilationUnit(String fullQualifiedClassifierName)
ConcreteClassifier
getConcreteClassifier(String fullQualifiedClassifierName)
ConcreteClassifier
getConcreteClassifier(URI uri)
ConcreteClassifier
getFirstConcreteClassifier(String simpleClassifierName)
Module
getModule(String moduleName)
Package
getPackage(String packageName)
Resource
getResource(URI resourceURI)
void
registerConcreteClassifier(ConcreteClassifier classifier)
void
registerModule(Module module)
void
registerPackage(Package pack)
-
-
-
Method Detail
-
get
public static JavaClasspath get()
-
clear
public void clear()
-
registerPackage
public void registerPackage(Package pack)
-
registerModule
public void registerModule(Module module)
-
registerConcreteClassifier
public void registerConcreteClassifier(ConcreteClassifier classifier)
-
getConcreteClassifier
public ConcreteClassifier getConcreteClassifier(URI uri)
-
getConcreteClassifier
public ConcreteClassifier getConcreteClassifier(String fullQualifiedClassifierName)
-
getFirstConcreteClassifier
public ConcreteClassifier getFirstConcreteClassifier(String simpleClassifierName)
-
getCompilationUnit
public CompilationUnit getCompilationUnit(String fullQualifiedClassifierName)
-
-