Module org.eclipse.xtend.lib.macro
Interface GlobalTypeLookup
- All Known Subinterfaces:
CodeGenerationContext,TransformationContext,TypeLookup,ValidationContext
public interface GlobalTypeLookup
- Since:
- 2.8
-
Method Summary
Modifier and TypeMethodDescriptionfindTypeGlobally(Class<?> clazz) findTypeGlobally(String typeName)
-
Method Details
-
findTypeGlobally
- Parameters:
clazz- the clazz representing the type to look up- Returns:
- the type with the same qualified name as the given
Classobject, ornullif that type couldn't be found on the compilation units classpath.
-
findTypeGlobally
- Parameters:
typeName- the qualified name of the type to look up. Nested class delimiter is expected to be the '.' (dot).- Returns:
- the type with the given qualified name, or
nullif such a type couldn't be found on the compilation units classpath.
-