public final class CodingConventions
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
CodingConventions.DefaultCodingConvention
The default coding convention.
|
static class |
CodingConventions.Proxy
A convention that wraps another.
|
| Modifier | Constructor and Description |
|---|---|
private |
CodingConventions() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
defaultIsFunctionCallThatAlwaysThrows(Node n,
java.lang.String alwaysThrowsFunctionName) |
static CodingConvention |
getDefault()
Gets the default coding convention.
|
public static CodingConvention getDefault()
public static boolean defaultIsFunctionCallThatAlwaysThrows(Node n, java.lang.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.