public synchronized ASTType getType ( final TypeElement typeElement ) { return new LazyASTType ( buildPackageClass ( typeElement ) , typeElement ) { @ Override public ASTType lazyLoad ( ) { if ( ! typeCache . containsKey ( typeElement ) ) { typeCache . put ( typeElement , buildType ( typeElement ) ) ; } return typeCache . get ( typeElement ) ; } } ; }
Build a ASTType from the provided TypeElement .