public final class CodingConventions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CodingConventions.Proxy
A convention that wraps another.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
defaultIsFunctionCallThatAlwaysThrows(Node n,
String alwaysThrowsFunctionName) |
static CodingConvention |
getDefault()
Gets the default coding convention.
|
public static CodingConvention getDefault()
public static boolean defaultIsFunctionCallThatAlwaysThrows(Node n, String alwaysThrowsFunctionName)
n
- The last statement of a block to check for an always throws
function call. Used by CheckMissingReturn.alwaysThrowsFunctionName
- The name of a function that always throws.true
if n is call to alwaysThrowsFunctionName, otherwise
false
.Copyright © 2009-2016 Google. All Rights Reserved.