Skip to content

Commit

Permalink
final
Browse files Browse the repository at this point in the history
  • Loading branch information
carterkozak committed Nov 25, 2020
1 parent 952f280 commit 880925b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
severity = BugPattern.SeverityLevel.ERROR,
summary = "@CompileTimeConstant annotations on method parameters must also be applied to the super method. "
+ "Similarly, if a superclass or superinterface is annotated, implementations must also be annotated.")
public class CompileTimeConstantViolatesLiskovSubstitution extends BugChecker implements BugChecker.MethodTreeMatcher {
public final class CompileTimeConstantViolatesLiskovSubstitution extends BugChecker
implements BugChecker.MethodTreeMatcher {

private static final Matcher<MethodTree> INEXPENSIVE_CHECK = Matchers.anyOf(
Matchers.methodIsConstructor(),
Expand Down

0 comments on commit 880925b

Please sign in to comment.