public interface NameGenerator
| Modifier and Type | Field and Description |
|---|---|
static int |
NAME_MAX_LENGTH
According to JVM specification, the name is limited to 65535 characters by the 16-bit unsigned length item of the
CONSTANT_Utf8_info structure.
|
| Modifier and Type | Method and Description |
|---|---|
String |
generateName(int size)
Generates random name of required length that can be used as Java identifier.
|
static final int NAME_MAX_LENGTH
String generateName(int size)
size - the expected sizeIllegalArgumentException - when passed size is more than NAME_MAX_LENGTHCopyright © 2020 Soot OSS. All rights reserved.