Class DeclarationsIntoElements
- java.lang.Object
-
- org.checkerframework.framework.type.DeclarationsIntoElements
-
public final class DeclarationsIntoElements extends java.lang.Object
A helper class that puts the declaration annotations from a method declaration back into the corresponding Elements, so that they get stored in the bytecode by the compiler.This is similar to
TypesIntoElements
but for declaration annotations.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 env, AnnotatedTypeFactory atypeFactory, com.sun.source.tree.ClassTree tree)
The entry point.
-
-
-
Method Detail
-
store
public static void store(javax.annotation.processing.ProcessingEnvironment env, AnnotatedTypeFactory atypeFactory, com.sun.source.tree.ClassTree tree)
The entry point.- Parameters:
atypeFactory
- the type factorytree
- the ClassTree to process
-
-