Search in sources :

Example 21 with CodeTypeElement

use of com.oracle.truffle.dsl.processor.java.model.CodeTypeElement in project graal by oracle.

the class InstrumentableProcessor method generateWrapperOnly.

private CodeTypeElement generateWrapperOnly(ProcessorContext context, Element e) {
    CodeTypeElement wrapper = generateWrapper(context, e, true);
    if (wrapper == null) {
        return null;
    }
    assertNoErrorExpected(e);
    return wrapper;
}
Also used : CodeTypeElement(com.oracle.truffle.dsl.processor.java.model.CodeTypeElement)

Aggregations

CodeTypeElement (com.oracle.truffle.dsl.processor.java.model.CodeTypeElement)21 CodeExecutableElement (com.oracle.truffle.dsl.processor.java.model.CodeExecutableElement)12 TypeElement (javax.lang.model.element.TypeElement)11 ExecutableElement (javax.lang.model.element.ExecutableElement)10 CodeVariableElement (com.oracle.truffle.dsl.processor.java.model.CodeVariableElement)8 PackageElement (javax.lang.model.element.PackageElement)7 TypeMirror (javax.lang.model.type.TypeMirror)7 Modifier (javax.lang.model.element.Modifier)6 VariableElement (javax.lang.model.element.VariableElement)6 DeclaredType (javax.lang.model.type.DeclaredType)6 CodeAnnotationMirror (com.oracle.truffle.dsl.processor.java.model.CodeAnnotationMirror)5 CodeTreeBuilder (com.oracle.truffle.dsl.processor.java.model.CodeTreeBuilder)4 FixWarningsVisitor (com.oracle.truffle.dsl.processor.java.transform.FixWarningsVisitor)4 GenerateOverrideVisitor (com.oracle.truffle.dsl.processor.java.transform.GenerateOverrideVisitor)4 ArrayList (java.util.ArrayList)4 CodeAnnotationValue (com.oracle.truffle.dsl.processor.java.model.CodeAnnotationValue)3 CodeTypeMirror (com.oracle.truffle.dsl.processor.java.model.CodeTypeMirror)3 AnnotationMirror (javax.lang.model.element.AnnotationMirror)3 Element (javax.lang.model.element.Element)3 GenerateWrapper (com.oracle.truffle.api.instrumentation.GenerateWrapper)2