public abstract class AbstractCompiler extends Object implements Compiler
| Constructor and Description |
|---|
AbstractCompiler() |
| Modifier and Type | Method and Description |
|---|---|
void |
emitDeprecationWarning(ProcessingEnvironment environment,
Element element) |
protected abstract boolean |
emitDeprecationWarningImpl(ProcessingEnvironment environment,
Element element) |
protected static Object |
field(Object o,
String fieldName) |
protected static Field |
lookupField(Class<?> clazz,
String fieldName) |
protected static Object |
method(Object o,
String methodName) |
protected static Object |
method(Object o,
String methodName,
Class<?>[] paramTypes,
Object... values) |
protected static Object |
staticMethod(Class<?> clz,
String methodName,
Class<?>[] paramTypes,
Object... values) |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllMembersInDeclarationOrder, getEnclosedElementsInDeclarationOrderprotected static Object method(Object o, String methodName) throws ReflectiveOperationException
ReflectiveOperationExceptionprotected static Object method(Object o, String methodName, Class<?>[] paramTypes, Object... values) throws ReflectiveOperationException
ReflectiveOperationExceptionprotected static Object staticMethod(Class<?> clz, String methodName, Class<?>[] paramTypes, Object... values) throws ReflectiveOperationException
ReflectiveOperationExceptionprotected static Object field(Object o, String fieldName) throws ReflectiveOperationException
ReflectiveOperationExceptionpublic final void emitDeprecationWarning(ProcessingEnvironment environment, Element element)
emitDeprecationWarning in interface Compilerprotected abstract boolean emitDeprecationWarningImpl(ProcessingEnvironment environment, Element element)