public class ImmutableTypes
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.Set<java.lang.String> |
immutableTypeNames
The names of the immutable types.
|
| Constructor and Description |
|---|
ImmutableTypes() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isImmutable(java.lang.String typeName)
Returns true iff the class of the given name is immutable.
|
public static java.util.Set<java.lang.String> immutableTypeNames
The set generally does not contain interfaces, because types that implement an interface may be mutable even if the interface provides no mutating methods.