Package org.checkerframework.framework.ajava
package org.checkerframework.framework.ajava
-
ClassDescriptionGiven two ASTs representing the same Java file that may differ in annotations, tests if they have the same annotations.Stores a collection of annotation files.Methods for converting a
AnnotationMirror
into a JavaParserAnnotationExpr
, namelyannotationMirrorToAnnotationExpr
.A visitor that adds all annotations from aAnnotatedTypeMirror
to the corresponding JavaParser type, including nested types like array components.An implementation of JointJavacJavaParserVisitor whereprocess
methods do nothing.A visitor that visits two JavaParser ASTs simultaneously that almost match.After this visitor visits a tree,ExpectedTreesVisitor.getTrees()
returns all the trees that should match with some JavaParser node.This program inserts annotations from an ajava file into a Java file.A visitor that processes javac trees and JavaParser nodes simultaneously, matching corresponding nodes.AJointJavacJavaParserVisitor
that visits all javac trees with their corresponding JavaParser nodes and performs some default action on each pair.A visitor that performs some default action on a tree and then all of its children.Moves annotations in a JavaParser AST from declaration position onto the types they correspond to.