Skip to main content
assistive.skiplink.to.breadcrumbs
assistive.skiplink.to.header.menu
assistive.skiplink.to.action.menu
assistive.skiplink.to.quick.search
Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
SEI CERT Oracle Coding Standard for Java
Pages
Boards
Space shortcuts
Dashboard
Secure Coding Home
Android
C
C++
Java
Perl
Page tree
Browse pages
Configure
Space tools
View Page
A
t
tachments (0)
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
SEI CERT Oracle Coding Standard for Java
2 Rules
Rule 06. Methods (MET)
MET01-J. Never use assertions to validate method arguments
Page Information
Title:
MET01-J. Never use assertions to validate method arguments
Author:
Robert Seacord
Apr 11, 2011
Last Changed by:
David Svoboda
Aug 06, 2025
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/HTZGBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT Oracle Coding Standard for Java (2)
Page:
MET02-J. Do not use deprecated or obsolete classes or methods
Page:
MET00-J. Validate method arguments
Hierarchy
Parent Page
Page:
Rule 06. Methods (MET)
Labels
Global Labels (4)
met
android
rule
android-implementation-detail-java
Recent Changes
Time
Editor
Aug 06, 2025 10:40
Jill Britton
View Changes
REM cost reform
Jul 24, 2025 10:02
Jill Britton
View Changes
Jul 24, 2025 10:01
Jill Britton
View Changes
Mar 10, 2022 14:59
David Svoboda
View Changes
Reverted from v. 36
Mar 01, 2022 12:51
David Svoboda
View Page History
Outgoing Links
External Links (3)
docs.oracle.com/javase/specs/jls/se8/html/jls-14.html#jls-1…
cwe.mitre.org/
cwe.mitre.org/data/definitions/617.html
SEI CERT Oracle Coding Standard for Java (8)
Page:
MET02-J. Do not use deprecated or obsolete classes or methods
Page:
MET00-J. Validate method arguments
Home page:
SEI CERT Oracle Coding Standard for Java
Page:
Rule BB. Glossary
Page:
Rule AA. References
Page:
Klocwork
Page:
Klocwork_V
Page:
Rule 06. Methods (MET)
Overview
Content Tools
{"serverDuration": 64, "requestCorrelationId": "fffca6df588c58b5"}