Package org.checkerframework.javacutil
package org.checkerframework.javacutil
-
ClassDescriptionThis class is an abstract annotation processor designed to be a convenient superclass for concrete "type processors", processors that require the type information in the processed source.Builds an annotation mirror that may have some values.The Map interface defines some of its methods with respect to the equals method.The Set interface defines many methods with respect to the equals method.An implementation of AnnotationProvider returns annotations on Java AST elements.A utility class for working with annotations.An AnnotationProvider that is independent of any type hierarchy.Process the types in an AST in a trivial manner, with hooks for derived classes to actually do something.Exception type indicating a bug in the framework.Utility methods related to Java Collections.DeepCopyable<T>Deprecated.use org.plumelib.util.DeepCopyableUtility methods for analyzing
Element
s.Miscellaneous static utility methods.Pair<V1,V2> Deprecated.use org.plumelib.util.IPairA utility class to find symbols corresponding to string references (identifiers).A class that visits each result expression of a switch expression and callsSwitchExpressionScanner.visitSwitchResultExpression(ExpressionTree, Object)
on each result expression.An implementation ofSwitchExpressionScanner
that uses functions passed to the constructor forSwitchExpressionScanner.FunctionalSwitchExpressionScanner.visitSwitchResultExpression(ExpressionTree, Object)
andSwitchExpressionScanner.FunctionalSwitchExpressionScanner.combineResults(Object, Object)
.This file contains basic utility functions.Utility methods for obtaining or analyzing a javacTreePath
.Utility methods for analyzing a javacTree
.This is a duplication ofcom.sun.tools.javac.tree.JCTree.JCMemberReference.ReferenceKind
, which is not part of the supported javac API.This class contains util methods for reflective accessing Tree classes and methods that were added after Java 11.Utility methods for accessingBindingPatternTree
methods.Utility methods for accessingCaseTree
methods.Utility methods for accessingConstantCaseLabelTree
methods.Utility methods for accessingDeconstructionPatternTree
methods.Utility methods for accessingInstanceOfTree
methods.Utility methods for accessingPatternCaseLabelTree
methods.Utility methods for accessingSwitchExpressionTree
methods.Utility methods for accessingYieldTree
methods.A collection of helper methods related to type annotation handling.A utility class that helps withTypeKind
s.The type of primitive conversion: narrowing, widening, or same.A utility class that helps withTypeMirror
s.Exception type indicating a mistake by a type system built using the Checker Framework.Exception type indicating a mistake by an end user in using the Checker Framework, such as incorrect command-line arguments.