@Beta
public interface UpstreamTypeLookup
CompilationUnit.
This means that types defined in the same project will not be found.| Modifier and Type | Method and Description |
|---|---|
Type |
findUpstreamType(java.lang.Class<?> clazz) |
Type |
findUpstreamType(java.lang.String typeName) |
Type findUpstreamType(java.lang.Class<?> clazz)
clazz - the clazz representing the type to look upClass object, or null if that type
couldn't be found on the compilation unit's upstream dependencies.Type findUpstreamType(java.lang.String typeName)
typeName - the qualified name of the type to look up. Nested class delimiter is expected to be the '.' (dot).null if such a type
couldn't be found on the compilation unit's upstream dependencies.