- BasicAnnotationProvider - Class in org.checkerframework.javacutil
-
- BasicAnnotationProvider() - Constructor for class org.checkerframework.javacutil.BasicAnnotationProvider
-
- BasicTypeProcessor - Class in org.checkerframework.javacutil
-
Process the types in an AST in a trivial manner, with hooks for derived classes to actually do
something.
- BasicTypeProcessor() - Constructor for class org.checkerframework.javacutil.BasicTypeProcessor
-
- BugInCF - Exception in org.checkerframework.javacutil
-
Exception type indicating a bug in the framework or in a checker implementation.
- BugInCF(String) - Constructor for exception org.checkerframework.javacutil.BugInCF
-
Constructs a new CheckerError with the specified detail message and no cause (use this at the
root cause).
- BugInCF(String, Object...) - Constructor for exception org.checkerframework.javacutil.BugInCF
-
Constructs a new CheckerError with a detail message composed from the given arguments, and
with no cause (use this at the root cause).
- BugInCF(String, Throwable) - Constructor for exception org.checkerframework.javacutil.BugInCF
-
Constructs a new CheckerError with the specified detail message and cause.
- build() - Method in class org.checkerframework.javacutil.AnnotationBuilder
-
- buildArrayAccess(ExpressionTree, ExpressionTree) - Method in class org.checkerframework.javacutil.trees.TreeBuilder
-
Builds an AST Tree to dereference an array.
- buildArrayLengthAccess(ExpressionTree) - Method in class org.checkerframework.javacutil.trees.TreeBuilder
-
Builds an AST Tree to dereference the length field of an array
- buildAssignment(VariableTree, ExpressionTree) - Method in class org.checkerframework.javacutil.trees.TreeBuilder
-
Builds an AST Tree to assign an expression to a variable.
- buildAssignment(ExpressionTree, ExpressionTree) - Method in class org.checkerframework.javacutil.trees.TreeBuilder
-
Builds an AST Tree to assign an RHS expression to an LHS expression.
- buildBinary(TypeMirror, Tree.Kind, ExpressionTree, ExpressionTree) - Method in class org.checkerframework.javacutil.trees.TreeBuilder
-
Builds an AST Tree to perform a binary operation.
- buildClassUse(Element) - Method in class org.checkerframework.javacutil.trees.TreeBuilder
-
Builds an AST Tree to refer to a class name.
- buildHasNextMethodAccess(ExpressionTree) - Method in class org.checkerframework.javacutil.trees.TreeBuilder
-
Builds an AST Tree to access the hasNext() method of an iterator.
- buildIteratorMethodAccess(ExpressionTree) - Method in class org.checkerframework.javacutil.trees.TreeBuilder
-
Builds an AST Tree to access the iterator() method of some iterable expression.
- buildLessThan(ExpressionTree, ExpressionTree) - Method in class org.checkerframework.javacutil.trees.TreeBuilder
-
Builds an AST Tree to compare two operands with less than.
- buildLiteral(Object) - Method in class org.checkerframework.javacutil.trees.TreeBuilder
-
Builds an AST Tree representing a literal value of primitive or String type.
- buildMethodContext() - Method in class org.checkerframework.javacutil.Resolver
-
Build an instance of Resolve$MethodResolutionContext.
- buildMethodInvocation(ExpressionTree) - Method in class org.checkerframework.javacutil.trees.TreeBuilder
-
Builds an AST Tree to call a method designated by the argument expression.
- buildMethodInvocation(ExpressionTree, ExpressionTree) - Method in class org.checkerframework.javacutil.trees.TreeBuilder
-
Builds an AST Tree to call a method designated by methodExpr, with one argument designated by
argExpr.
- buildNewArray(TypeMirror, List<ExpressionTree>) - Method in class org.checkerframework.javacutil.trees.TreeBuilder
-
Builds an AST Tree to create a new array with initializers.
- buildNextMethodAccess(ExpressionTree) - Method in class org.checkerframework.javacutil.trees.TreeBuilder
-
Builds an AST Tree to access the next() method of an iterator.
- buildPrimValueMethodAccess(Tree) - Method in class org.checkerframework.javacutil.trees.TreeBuilder
-
Builds an AST Tree to access the *Value() method of a boxed type such as Short or Float,
where * is the corresponding primitive type (i.e.
- buildTypeCast(TypeMirror, ExpressionTree) - Method in class org.checkerframework.javacutil.trees.TreeBuilder
-
Builds an AST Tree to cast the type of an expression.
- buildValueOfMethodAccess(Tree) - Method in class org.checkerframework.javacutil.trees.TreeBuilder
-
Builds an AST Tree to access the valueOf() method of boxed type such as Short or Float.
- buildVariableDecl(TypeMirror, String, Element, ExpressionTree) - Method in class org.checkerframework.javacutil.trees.TreeBuilder
-
Builds an AST Tree to declare and initialize a variable, with no modifiers.
- buildVariableDecl(Tree, String, Element, ExpressionTree) - Method in class org.checkerframework.javacutil.trees.TreeBuilder
-
Builds an AST Tree to declare and initialize a variable.
- buildVariableUse(VariableTree) - Method in class org.checkerframework.javacutil.trees.TreeBuilder
-
Builds an AST Tree to refer to a variable.
- canHaveTypeAnnotation(Tree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
- CHECKER_QUAL_PATH_OPT - Static variable in class org.checkerframework.javacutil.PluginUtil
-
Option name for specifying an alternative checker-qual.jar location.
- classExtendsTAPosition(int, int) - Static method in class org.checkerframework.javacutil.TypeAnnotationUtils
-
- classTreeKinds() - Static method in class org.checkerframework.javacutil.TreeUtils
-
- clear() - Static method in class org.checkerframework.javacutil.AnnotationBuilder
-
- clear() - Static method in class org.checkerframework.javacutil.AnnotationUtils
-
- CollectionUtils - Class in org.checkerframework.javacutil
-
Utility methods related to Java Collections
- CollectionUtils() - Constructor for class org.checkerframework.javacutil.CollectionUtils
-
- compareDiagnosticPosition(Tree, Tree) - Static method in class org.checkerframework.javacutil.InternalUtils
-
Compares tree1 to tree2 by the position at which a diagnostic (e.g., an error message) for
the tree should be printed.
- constructor(NewClassTree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Determines the symbol for a constructor given an invocation via new.
- containsSame(Collection<? extends AnnotationMirror>, AnnotationMirror) - Static method in class org.checkerframework.javacutil.AnnotationUtils
-
Checks that the collection contains the annotation.
- containsSameByClass(Collection<? extends AnnotationMirror>, Class<? extends Annotation>) - Static method in class org.checkerframework.javacutil.AnnotationUtils
-
Checks that the collection contains the annotation.
- containsSameByName(Collection<? extends AnnotationMirror>, String) - Static method in class org.checkerframework.javacutil.AnnotationUtils
-
Checks that the collection contains the annotation.
- containsSameIgnoringValues(Collection<? extends AnnotationMirror>, AnnotationMirror) - Static method in class org.checkerframework.javacutil.AnnotationUtils
-
Checks that the collection contains the annotation ignoring values.
- containsThisConstructorInvocation(MethodTree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
- copyElementValuesFromAnnotation(AnnotationMirror, String...) - Method in class org.checkerframework.javacutil.AnnotationBuilder
-
Copies every element value from the given annotation.
- copyRenameElementValuesFromAnnotation(AnnotationMirror, Map<String, String>) - Method in class org.checkerframework.javacutil.AnnotationBuilder
-
Copies the specified element values from the given annotation, using the specified renaming
map.
- copyTAPosition(TypeAnnotationPosition) - Static method in class org.checkerframework.javacutil.TypeAnnotationUtils
-
- createAnnotationMap() - Static method in class org.checkerframework.javacutil.AnnotationUtils
-
- createAnnotationSet() - Static method in class org.checkerframework.javacutil.AnnotationUtils
-
- createArrayType(TypeMirror, Types) - Static method in class org.checkerframework.javacutil.TypesUtils
-
Returns an
ArrayType with elements of type
componentType.
- createCompoundFromAnnotationMirror(AnnotationMirror, ProcessingEnvironment) - Static method in class org.checkerframework.javacutil.TypeAnnotationUtils
-
Returns a newly created Attribute.Compound corresponding to an argument AnnotationMirror.
- createLRUCache(int) - Static method in class org.checkerframework.javacutil.CollectionUtils
-
A Utility method for creating LRU cache
- createTreePathScanner(CompilationUnitTree) - Method in class org.checkerframework.javacutil.BasicTypeProcessor
-
Create a TreePathScanner at the given root.
- createTypeCompoundFromAnnotationMirror(AnnotationMirror, TypeAnnotationPosition, ProcessingEnvironment) - Static method in class org.checkerframework.javacutil.TypeAnnotationUtils
-
Returns a newly created Attribute.TypeCompound corresponding to an argument AnnotationMirror.
- currentRoot - Variable in class org.checkerframework.javacutil.BasicTypeProcessor
-
The source tree that's being scanned.
- getAllFieldsIn(TypeElement, Elements) - Static method in class org.checkerframework.javacutil.ElementUtils
-
Return all fields declared in the given type or any superclass/interface.
- getAllMethodsIn(TypeElement, Elements) - Static method in class org.checkerframework.javacutil.ElementUtils
-
Return all methods declared in the given type or any superclass/interface.
- getAllTypeElementsIn(TypeElement) - Static method in class org.checkerframework.javacutil.ElementUtils
-
Return all nested/inner classes/interfaces declared in the given type.
- getAnnotationByClass(Collection<? extends AnnotationMirror>, Class<? extends Annotation>) - Static method in class org.checkerframework.javacutil.AnnotationUtils
-
Returns the AnnotationMirror in c that has the same class as anno.
- getAnnotationByName(Collection<? extends AnnotationMirror>, String) - Static method in class org.checkerframework.javacutil.AnnotationUtils
-
Returns the AnnotationMirror in c that has the same name as anno.
- getAnnotationMirror(Tree, Class<? extends Annotation>) - Method in interface org.checkerframework.javacutil.AnnotationProvider
-
Return the annotation on tree that has the class target.
- getAnnotationMirror(Tree, Class<? extends Annotation>) - Method in class org.checkerframework.javacutil.BasicAnnotationProvider
-
- getAssignmentContext(TreePath) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Returns the tree with the assignment context for the treePath leaf node.
- getBooleanProp(Map<PluginUtil.CheckerProp, Object>, PluginUtil.CheckerProp, String) - Static method in class org.checkerframework.javacutil.PluginUtil
-
If prop is in props, return a 1-element list containing cmdLineArg.
- getBooleanSystemProperty(String) - Static method in class org.checkerframework.javacutil.PluginUtil
-
Return true if the system property is set to "true".
- getBooleanSystemProperty(String, boolean) - Static method in class org.checkerframework.javacutil.PluginUtil
-
Return its boolean value if the system property is set.
- getCapturedWildcard(TypeVariable) - Static method in class org.checkerframework.javacutil.TypesUtils
-
If typeVar is a captured wildcard, returns that wildcard; otherwise returns null.
- getClassLoaderForClass(Class<? extends Object>) - Static method in class org.checkerframework.javacutil.InternalUtils
-
Obtain the class loader for clazz.
- getCmd(String, File, File, File, String, String, String, File, String, Map<PluginUtil.CheckerProp, Object>, PrintStream, boolean, String) - Static method in class org.checkerframework.javacutil.PluginUtil
-
- getCmdArgsOnly(File, String, String, String, File, String, Map<PluginUtil.CheckerProp, Object>, PrintStream, boolean, String) - Static method in class org.checkerframework.javacutil.PluginUtil
-
- getCmdArgsOnly(File, File, File, String, String, String, File, String, Map<PluginUtil.CheckerProp, Object>, PrintStream, boolean, String) - Static method in class org.checkerframework.javacutil.PluginUtil
-
- getCmdLine(Map<PluginUtil.CheckerProp, Object>) - Method in enum org.checkerframework.javacutil.PluginUtil.CheckerProp
-
- getDeclAnnotation(Element, Class<? extends Annotation>) - Method in interface org.checkerframework.javacutil.AnnotationProvider
-
Returns the actual annotation mirror used to annotate this type, whose name equals the passed
annotationName if one exists, null otherwise.
- getDeclAnnotation(Element, Class<? extends Annotation>) - Method in class org.checkerframework.javacutil.BasicAnnotationProvider
-
- getDeclaration() - Method in class org.checkerframework.javacutil.trees.DetachedVarSymbol
-
Get the declaration tree for the variable.
- getElementKindsForElementType(ElementType) - Static method in class org.checkerframework.javacutil.AnnotationUtils
-
Returns the set of
ElementKinds corresponding to
elementType.
- getElementKindsForTarget(Target) - Static method in class org.checkerframework.javacutil.AnnotationUtils
-
- getElementValue(AnnotationMirror, CharSequence, Class<T>, boolean) - Static method in class org.checkerframework.javacutil.AnnotationUtils
-
Get the attribute with the name name of the annotation anno.
- getElementValueArray(AnnotationMirror, CharSequence, Class<T>, boolean) - Static method in class org.checkerframework.javacutil.AnnotationUtils
-
Get the attribute with the name name of the annotation anno, where the
attribute has an array type.
- getElementValueClass(AnnotationMirror, CharSequence, boolean) - Static method in class org.checkerframework.javacutil.AnnotationUtils
-
Get the Class that is referenced by attribute name.
- getElementValueClassName(AnnotationMirror, CharSequence, boolean) - Static method in class org.checkerframework.javacutil.AnnotationUtils
-
Get the Name of the class that is referenced by attribute name.
- getElementValueClassNames(AnnotationMirror, CharSequence, boolean) - Static method in class org.checkerframework.javacutil.AnnotationUtils
-
Get the list of Names of the classes that are referenced by attribute name.
- getElementValueEnum(AnnotationMirror, CharSequence, Class<T>, boolean) - Static method in class org.checkerframework.javacutil.AnnotationUtils
-
Version that is suitable for Enum elements.
- getElementValueEnumArray(AnnotationMirror, CharSequence, Class<T>, boolean) - Static method in class org.checkerframework.javacutil.AnnotationUtils
-
Get the attribute with the name name of the annotation anno, or the default
value if no attribute is present explicitly, where the attribute has an array type and the
elements are Enums.
- getElementValuesWithDefaults(AnnotationMirror) - Static method in class org.checkerframework.javacutil.AnnotationUtils
-
Returns the values of an annotation's attributes, including defaults.
- getEnvForPath(TreePath) - Method in class org.checkerframework.javacutil.Resolver
-
Determine the environment for the given path.
- getExplicitAnnotationsOnConstructorResult(MethodTree) - Static method in class org.checkerframework.javacutil.AnnotationUtils
-
Returns the annotations explicitly written on a constructor result.
- getField(String, String, ProcessingEnvironment) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Returns the VariableElement for a field declaration.
- getFieldName(Tree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Compute the name of the field that the field access tree accesses.
- getJavacContext(ProcessingEnvironment) - Static method in class org.checkerframework.javacutil.InternalUtils
-
Helper function to extract the javac Context from the javac processing environment.
- getJavaCommand(String, PrintStream) - Static method in class org.checkerframework.javacutil.PluginUtil
-
- getJdkJarName() - Static method in class org.checkerframework.javacutil.PluginUtil
-
Determine the version of the JRE that we are currently running and select a jdkX.jar where X
is the version of Java that is being run (e.g.
- getJdkJarPrefix() - Static method in class org.checkerframework.javacutil.PluginUtil
-
Determine the version of the JRE that we are currently running and select a jdkX where X is
the version of Java that is being run (e.g.
- getJreVersion() - Static method in class org.checkerframework.javacutil.PluginUtil
-
Extract the first two version numbers from java.version (e.g.
- getMethod(String, String, int, ProcessingEnvironment) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Returns the ExecutableElement for the method declaration of methodName, in class typeName,
with params formal parameters.
- getMethod(String, String, ProcessingEnvironment, String...) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Returns the ExecutableElement for a method declaration of methodName, in class typeName, with
formal parameters of the given types.
- getMethodList(String, String, int, ProcessingEnvironment) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Returns all ExecutableElements for method declarations of methodName, in class typeName, with
params formal parameters.
- getMethodName(Tree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Compute the name of the method that the method access tree accesses.
- getQualifiedClassName(Element) - Static method in class org.checkerframework.javacutil.ElementUtils
-
Returns the qualified name of the inner most class enclosing the provided Element
- getQualifiedName(DeclaredType) - Static method in class org.checkerframework.javacutil.TypesUtils
-
Gets the fully qualified name for a provided type.
- getReceiverTree(ExpressionTree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Returns the receiver tree of a field access or a method invocation
- getSame(Collection<? extends AnnotationMirror>, AnnotationMirror) - Static method in class org.checkerframework.javacutil.AnnotationUtils
-
Returns the AnnotationMirror in c that is the same annotation as anno.
- getSameIgnoringValues(Collection<? extends AnnotationMirror>, AnnotationMirror) - Static method in class org.checkerframework.javacutil.AnnotationUtils
-
Returns the AnnotationMirror in c that is the same annotation as anno
ignoring values.
- getStringProp(Map<PluginUtil.CheckerProp, Object>, PluginUtil.CheckerProp, String, String...) - Static method in class org.checkerframework.javacutil.PluginUtil
-
Returns a list of command-line arguments: one that sets the given property, plus everything
in extras.
- getSuperTypes(TypeElement, Elements) - Static method in class org.checkerframework.javacutil.ElementUtils
-
Determine all type elements for the classes and interfaces referenced (directly or
indirectly) in the extends/implements clauses of the given type element.
- getType(Element) - Static method in class org.checkerframework.javacutil.ElementUtils
-
Returns the TypeMirror for usage of Element as a value.
- getTypeElement(TypeMirror) - Static method in class org.checkerframework.javacutil.TypesUtils
-
Returns the type element for type if type is a class, interface, annotation
type, or enum.
- getValueOfMethod(ProcessingEnvironment, TypeMirror) - Static method in class org.checkerframework.javacutil.trees.TreeBuilder
-
Returns the valueOf method of a boxed type such as Short or Float.
- getVerboseName(Element) - Static method in class org.checkerframework.javacutil.ElementUtils
-
Returns a verbose name that identifies the element.
- greatestLowerBound(TypeMirror, TypeMirror, ProcessingEnvironment) - Static method in class org.checkerframework.javacutil.TypesUtils
-
Returns the greatest lower bound of two
TypeMirrors, ignoring any annotations on the
types.
- init(ProcessingEnvironment) - Method in class org.checkerframework.javacutil.AbstractTypeProcessor
- InternalUtils - Class in org.checkerframework.javacutil
-
Miscellaneous static utility methods.
- isAnonymous(TypeMirror) - Static method in class org.checkerframework.javacutil.TypesUtils
-
Returns true iff the argument is an anonymous type.
- isAnonymousConstructor(MethodTree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Determines whether or not the node referred to by the given
TreePath is an anonymous
constructor (the constructor for an anonymous class.
- isArrayLengthAccess(Tree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Returns whether or not tree is an access of array length.
- isBooleanType(TypeMirror) - Static method in class org.checkerframework.javacutil.TypesUtils
-
Checks if the type represents a boolean type, that is either boolean (primitive type) or
java.lang.Boolean.
- isBoxedPrimitive(TypeMirror) - Static method in class org.checkerframework.javacutil.TypesUtils
-
- isBoxOf(TypeMirror, TypeMirror) - Static method in class org.checkerframework.javacutil.TypesUtils
-
Returns true if declaredType is a Class that is used to box primitive type (e.g.
- isCaptured(TypeMirror) - Static method in class org.checkerframework.javacutil.TypesUtils
-
Returns whether a TypeVariable represents a captured type.
- isClass(TypeMirror) - Static method in class org.checkerframework.javacutil.TypesUtils
-
Checks if the type represents a java.lang.Class declared type.
- isClassLiteral(Tree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Determine whether tree is a class literal, such as
- isClassTree(Tree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Is the given tree kind a class, i.e.
- isClassType(TypeMirror) - Static method in class org.checkerframework.javacutil.TypesUtils
-
Returns whether a TypeMirror represents a class type.
- isCompileTimeConstant(Element) - Static method in class org.checkerframework.javacutil.ElementUtils
-
Returns true if the element is a constant time reference
- isCompileTimeString(ExpressionTree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Returns true if the node is a constant-time expression.
- isConstructor(MethodTree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Checks if the provided method is a constructor method or no.
- isDeclaredOfName(TypeMirror, CharSequence) - Static method in class org.checkerframework.javacutil.TypesUtils
-
Check if the type represents a declared type of the given qualified name.
- isDiamondTree(Tree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Returns true if the tree is of a diamond type.
- isEffectivelyFinal(Element) - Static method in class org.checkerframework.javacutil.ElementUtils
-
Returns true if the element is a effectively final element.
- isElementFromByteCode(Element) - Static method in class org.checkerframework.javacutil.ElementUtils
-
Returns true if the element is declared in ByteCode.
- isEnumSuper(MethodInvocationTree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
- isErasedSubtype(TypeMirror, TypeMirror, Types) - Static method in class org.checkerframework.javacutil.TypesUtils
-
Returns true if the erased type of subtype is a subtype of the erased type of supertype.
- isError(Element) - Static method in class org.checkerframework.javacutil.ElementUtils
-
- isExplicitThisDereference(ExpressionTree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Determine whether the given expression is either "this" or an outer "C.this".
- isExpressionTree(Tree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Determine whether the given tree represents an ExpressionTree.
- isFieldAccess(Tree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Determine whether tree is a field access expressions, such as
- isFinal(Element) - Static method in class org.checkerframework.javacutil.ElementUtils
-
Returns true if the element is a final element: a final field, final method, or final class
- isFloating(TypeMirror) - Static method in class org.checkerframework.javacutil.TypesUtils
-
Returns true iff the argument is a floating point type.
- isFunctionalInterface(TypeMirror, ProcessingEnvironment) - Static method in class org.checkerframework.javacutil.TypesUtils
-
Returns whether or not type is a functional interface type (as defined in JLS 9.8).
- isGetClassInvocation(MethodInvocationTree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
- isImplicitlyTypedLambda(Tree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Returns true if tree is an implicitly typed lambda.
- isIntegral(TypeMirror) - Static method in class org.checkerframework.javacutil.TypesUtils
-
Returns true iff the argument is an integral type.
- isMethod(ExecutableElement, ExecutableElement, ProcessingEnvironment) - Static method in class org.checkerframework.javacutil.ElementUtils
-
Returns true if the given element is, or overrides, method.
- isMethodAccess(Tree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Determine whether tree refers to a method element, such as
- isMethodInvocation(Tree, ExecutableElement, ProcessingEnvironment) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Returns true if the given element is an invocation of the method, or of any method that
overrides that one.
- isNamedMethodCall(String, MethodInvocationTree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Checks if the method call is a call to the given method name.
- isNumeric(TypeMirror) - Static method in class org.checkerframework.javacutil.TypesUtils
-
Returns true iff the argument is a primitive numeric type.
- isObject(TypeElement) - Static method in class org.checkerframework.javacutil.ElementUtils
-
Check if the element is an element for 'java.lang.Object'
- isObject(TypeMirror) - Static method in class org.checkerframework.javacutil.TypesUtils
-
Checks if the type represents a java.lang.Object declared type.
- isPrimitive(TypeMirror) - Static method in class org.checkerframework.javacutil.TypesUtils
-
Returns true iff the argument is a primitive type.
- isSameTAPosition(TypeAnnotationPosition, TypeAnnotationPosition) - Static method in class org.checkerframework.javacutil.TypeAnnotationUtils
-
Compare two TypeAnnotationPositions for equality.
- isSameTAPositionExceptTreePos(TypeAnnotationPosition, TypeAnnotationPosition) - Static method in class org.checkerframework.javacutil.TypeAnnotationUtils
-
- isSelfAccess(ExpressionTree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Returns true if the tree is a tree that 'looks like' either an access of a field or an
invocation of a method that are owned by the same accessing instance.
- isSpecificFieldAccess(Tree, VariableElement) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Returns true if and only if the given
tree represents a field access of the given
VariableElement.
- isStatic(Element) - Static method in class org.checkerframework.javacutil.ElementUtils
-
Returns true if the element is a static element: whether it is a static field, static method,
or static class
- isString(TypeMirror) - Static method in class org.checkerframework.javacutil.TypesUtils
-
Checks if the type represents a java.lang.String declared type.
- isStringCompoundConcatenation(CompoundAssignmentTree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Returns true if the compound assignment tree is a string concatenation
- isStringConcatenation(Tree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Returns true if the tree represents a String concatenation operation
- isSuperCall(MethodInvocationTree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Checks if the method invocation is a call to super.
- isThisCall(MethodInvocationTree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Checks if the method invocation is a call to "this".
- isThrowable(TypeMirror) - Static method in class org.checkerframework.javacutil.TypesUtils
-
- isTreeInStaticScope(TreePath) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Returns whether or not the leaf of the tree path is in a static scope.
- isTypeCompoundContained(List<Attribute.TypeCompound>, Attribute.TypeCompound, Types) - Static method in class org.checkerframework.javacutil.TypeAnnotationUtils
-
Check whether a TypeCompound is contained in a list of TypeCompounds.
- isTypeDeclaration(Element) - Static method in class org.checkerframework.javacutil.ElementUtils
-
- isTypeDeclaration(Tree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Determine whether the given tree represents a declaration of a type (including type
parameters).
- isTypeTree(Tree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Is the given tree a type instantiation?
- isUseOfElement(ExpressionTree) - Static method in class org.checkerframework.javacutil.TreeUtils
-
Determine whether the given ExpressionTree has an underlying element.
- isWindows() - Static method in class org.checkerframework.javacutil.PluginUtil
-