Android Studio supports annotations for variables, parameters, and return values to help you catch bugs, such as null pointer exceptions and resource type conflicts.
Android Studio 支持为变量、参数和返回值添加注解,以帮助您捕捉错误,例如 null 指针异常和资源类型冲突。
if there is no token or value action prog, add a NULL pointer, '$' to represent a Token
Using Optional forces you to more actively unquote Optional objects to address the problem of missing variable values, and in the end, you can more effectively prevent unexpected null pointer exceptions in your code.
passing a NULL pointer as an input parameter generates an error
将空指针作为输入参数传递将会产生错误
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.