Skip to content

Commit

Permalink
Fix broken links.
Browse files Browse the repository at this point in the history
  • Loading branch information
smillst committed Dec 2, 2024
1 parent da611a5 commit 422a28d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/manual/creating-a-checker.tex
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@


The Base Checker
(more precisely, the \refclass{framework/common/basetype}{BaseTypeChecker})
(more precisely, the \refclass{common/basetype}{BaseTypeChecker})
enforces the standard subtyping rules.
The Subtyping Checker is a simple use of the Base Checker that supports
providing type qualifiers on the command line.
Expand Down Expand Up @@ -951,7 +951,7 @@

A checker's entry point is a subclass of
\refclass{framework/source}{SourceChecker}, and is usually a direct subclass
of either \refclass{framework/common/basetype}{BaseTypeChecker} or
of either \refclass{common/basetype}{BaseTypeChecker} or
\refclass{framework/source}{AggregateChecker}.
This entry
point, which we call the checker class, serves two
Expand Down Expand Up @@ -991,7 +991,7 @@
a type system named Foo, the compiler
interface (checker), the visitor, and the annotated type factory are
named as \<FooChecker>, \<FooVisitor>, and \<FooAnnotatedTypeFactory>.
\refclass{framework/common/basetype}{BaseTypeChecker} uses the convention to
\refclass{common/basetype}{BaseTypeChecker} uses the convention to
reflectively construct the components. Otherwise, the checker writer
must specify the component classes for construction.

Expand Down Expand Up @@ -1101,7 +1101,7 @@
MyChecker needs to use.

Override
\<MyChecker.\refmethodterse{framework/common/basetype}{BaseTypeChecker}{getImmediateSubcheckerClasses}{()}>
\<MyChecker.\refmethodterse{framework/source}{SourceChecker}{getImmediateSubcheckerClasses}{()}>
to return a list of the checkers that MyChecker depends on. Every one of
them will be run before MyChecker is run. One of MyChecker's subcheckers
may itself be a compound checker, and multiple checkers may declare a
Expand All @@ -1112,7 +1112,7 @@
it) by querying their \refclass{framework/type}{AnnotatedTypeFactory} to
determine the types of variables. Obtain the \<AnnotatedTypeFactory> by
calling
\refmethodterse{framework/common/basetype}{BaseTypeChecker}{getTypeFactoryOfSubcheckerOrNull}{(java.lang.Class)}.
\refmethodterse{common/basetype}{BaseTypeChecker}{getTypeFactoryOfSubcheckerOrNull}{(java.lang.Class)}.

An example of a compound checker is
\refclass{checker/signedness}{SignednessChecker}
Expand Down Expand Up @@ -1181,12 +1181,12 @@
\subsubsectionAndLabel{Default Options}{creating-providing-command-line-options-default-options}

The default options passed to a custom checker may be customized by overriding the
\refmethodterse{framework/common/basetype}{BaseTypeChecker}{getOptions}{()} method in the
\refmethodterse{common/basetype}{BaseTypeChecker}{getOptions}{()} method in the
custom checker class.

For example, to ignore the \<introduce.eliminate> warnings raised by the
Optional Checker (Chapter~\ref{optional-checker}), override
\refmethodterse{framework/common/basetype}{BaseTypeChecker}{getOptions}{()} as follows:
\refmethodterse{common/basetype}{BaseTypeChecker}{getOptions}{()} as follows:

\begin{Verbatim}
@Override
Expand Down

0 comments on commit 422a28d

Please sign in to comment.