public class SpecificCompilerWorkarounds extends Object
Modifier and Type | Method and Description |
---|---|
static TypeElement |
replaceTypeElementIfNecessary(Elements elementUtils,
TypeElement element)
When running during Eclipse Incremental Compilation, we might get a TypeElement that has an UnresolvedTypeBinding
and which is not automatically resolved.
|
public static TypeElement replaceTypeElementIfNecessary(Elements elementUtils, TypeElement element)
elementUtils
- element utilselement
- the original elementCopyright © 2012-2016 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.