Lines Matching refs:warn
207 def warn(clazz, detail, msg): function
237 warn(clazz, None, "Class name style should be Mtp not MTP")
250 warn(clazz, m, "Method name style should be getMtu() instead of getMTU()")
264 warn(clazz, None, "Class should be named FooCallback")
496 warn(clazz, None, "Missing SERVICE_INTERFACE constant")
499 warn(clazz, None, "Services extended by developers should be under android.service")
514 warn(clazz, None, "Missing PROVIDER_INTERFACE constant")
517 warn(clazz, None, "Providers extended by developers should be under android.provider")
536 …warn(clazz, m, "If implemented by developer, should be named onFoo(); otherwise consider marking f…
546 warn(clazz, None, "Builder should be defined as inner class")
562 warn(clazz, m, "Methods should return the builder")
565 warn(clazz, None, "Missing build() method")
612 warn(clazz, f, "Field type violates package layering")
617 warn(clazz, m, "Method return type violates package layering")
621 warn(clazz, m, "Method argument type violates package layering")
643 warn(clazz, m, "Methods returning boolean should be named isFoo, hasFoo, areFoo")
672 warn(clazz, f, "Found overlapping flag constant value")