public class TypeResolver
extends java.lang.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,
java.lang.String fqn,
java.lang.String typeRef) |
java.lang.String |
typeRefToFullyQualifiedName(LombokNode<?,?,?> context,
TypeLibrary library,
java.lang.String typeRef) |
public TypeResolver(ImportList importList)
public boolean typeMatches(LombokNode<?,?,?> context, java.lang.String fqn, java.lang.String typeRef)
public java.lang.String typeRefToFullyQualifiedName(LombokNode<?,?,?> context, TypeLibrary library, java.lang.String typeRef)
Copyright © 2009-2015 The Project Lombok Authors, licensed under the MIT licence.