public static DocTrees instance ( ProcessingEnvironment env ) { if ( ! env . getClass ( ) . getName ( ) . equals ( "com.sun.tools.javac.processing.JavacProcessingEnvironment" ) ) throw new IllegalArgumentException ( ) ; return ( DocTrees ) getJavacTrees ( ProcessingEnvironment . class , env ) ; }
Returns a DocTrees object for a given ProcessingEnvironment .