org.eclipse.xtext.xbase.compiler
Interface CompilationTestHelper.Result
- Enclosing class:
- CompilationTestHelper
public static interface CompilationTestHelper.Result
A result contains information about various aspects of a compiled piece of code.
getGeneratedPath
java.lang.String getGeneratedPath()
- Returns:
- the outlet-relative path of the generated artifact
getGeneratedCode
java.lang.String getGeneratedCode()
- Returns:
- the actual generated code
getSource
org.eclipse.emf.ecore.resource.Resource getSource()
- Returns:
- the loaded, validated and fully linked source resource
getCompiledClass
java.lang.Class<?> getCompiledClass()
- Returns:
- the dynamically loaded class of the generated code.
getAllGeneratedResources
java.util.Map<java.lang.String,java.lang.CharSequence> getAllGeneratedResources()
- Returns:
- access to all generated artifacts. The key points to the pathesa dn the values are the generated code.