@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(Class<?> clazz) |
Type |
findUpstreamType(String typeName) |
Type findUpstreamType(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(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.Copyright © 2015. All Rights Reserved.