Class AbstractCompiler
java.lang.Object
com.oracle.truffle.dsl.processor.java.compiler.AbstractCompiler
- All Implemented Interfaces:
Compiler
- Direct Known Subclasses:
GeneratedCompiler,JavaCCompiler,JDTCompiler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidemitDeprecationWarning(ProcessingEnvironment environment, Element element) protected abstract booleanemitDeprecationWarningImpl(ProcessingEnvironment environment, Element element) protected static Objectprotected static FieldlookupField(Class<?> clazz, String fieldName) protected static Objectprotected static Objectprotected static ObjectstaticMethod(Class<?> clz, String methodName, Class<?>[] paramTypes, Object... values) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.oracle.truffle.dsl.processor.java.compiler.Compiler
getAllMembersInDeclarationOrder, getEnclosedElementsInDeclarationOrder
-
Constructor Details
-
AbstractCompiler
public AbstractCompiler()
-
-
Method Details
-
method
- Throws:
ReflectiveOperationException
-
method
protected static Object method(Object o, String methodName, Class<?>[] paramTypes, Object... values) throws ReflectiveOperationException - Throws:
ReflectiveOperationException
-
staticMethod
protected static Object staticMethod(Class<?> clz, String methodName, Class<?>[] paramTypes, Object... values) throws ReflectiveOperationException - Throws:
ReflectiveOperationException
-
field
- Throws:
ReflectiveOperationException
-
lookupField
-
emitDeprecationWarning
- Specified by:
emitDeprecationWarningin interfaceCompiler
-
emitDeprecationWarningImpl
protected abstract boolean emitDeprecationWarningImpl(ProcessingEnvironment environment, Element element)
-