public interface PluginContext
A plugin context expose Java compiler utilities for operating on program elements.
- Since:
- 1.1
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptionReturns Java compiler doc trees utility.Returns Java compiler elements utility.Returns the options passed as argument to the compiler.Returns Java compiler types utility.
-
Method Details
-
getOptions
CompilerOptions getOptions()Returns the options passed as argument to the compiler.
- Returns:
- the compiler options
-
getElementUtils
Elements getElementUtils()Returns Java compiler elements utility.
- Returns:
- the compiler elements utility
-
getTypeUtils
Types getTypeUtils()Returns Java compiler types utility.
- Returns:
- the compiler types utility
-
getDocUtils
DocTrees getDocUtils()Returns Java compiler doc trees utility.
- Returns:
- the compiler documentation utility
-