Class TypesIntoElements


  • public final class TypesIntoElements
    extends java.lang.Object
    A helper class that puts the annotations from an AnnotatedTypeMirrors back into the corresponding Elements, so that they get stored in the bytecode by the compiler.

    This has kind-of the symmetric function to TypeFromElement.

    This class deals with javac internals and liberally imports such classes.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void store​(javax.annotation.processing.ProcessingEnvironment processingEnv, AnnotatedTypeFactory atypeFactory, com.sun.source.tree.ClassTree tree)
      The entry point.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • store

        public static void store​(javax.annotation.processing.ProcessingEnvironment processingEnv,
                                 AnnotatedTypeFactory atypeFactory,
                                 com.sun.source.tree.ClassTree tree)
        The entry point.
        Parameters:
        processingEnv - the environment
        atypeFactory - the type factory
        tree - the ClassTree to process