public class TypeResolver extends Object
NB: This resolver gives wrong answers when there's a class in the local package with the same name as a class in a star-import, and this importer also can't find inner types from superclasses/interfaces.
Constructor and Description |
---|
TypeResolver(ImportList importList)
Creates a new TypeResolver that can be used to resolve types in a source file with the given package and import statements.
|
Modifier and Type | Method and Description |
---|---|
boolean |
typeMatches(LombokNode<?,?,?> context,
String fqn,
String typeRef) |
String |
typeRefToFullyQualifiedName(LombokNode<?,?,?> context,
TypeLibrary library,
String typeRef) |
public TypeResolver(ImportList importList)
public boolean typeMatches(LombokNode<?,?,?> context, String fqn, String typeRef)
public String typeRefToFullyQualifiedName(LombokNode<?,?,?> context, TypeLibrary library, String typeRef)
Copyright © 2009-2015 The Project Lombok Authors, licensed under the MIT licence.