public class JavaVariable extends Object
| Modifier and Type | Field and Description |
|---|---|
static Map<String,Class> |
PRIMITIVES |
| Constructor and Description |
|---|
JavaVariable(String type,
String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getName() |
String |
getType() |
String |
getTypeAsNonPrimitiveType() |
int |
hashCode() |
boolean |
hasType() |
static JavaVariable |
parse(String s) |
static List<JavaVariable> |
parseList(String s) |
static String |
parseToken(String s,
int offset) |
String |
toString() |
public String getType()
public String getTypeAsNonPrimitiveType()
public String getName()
public boolean hasType()
public static JavaVariable parse(String s) throws TokenException
TokenExceptionpublic static List<JavaVariable> parseList(String s) throws TokenException
TokenExceptionpublic static String parseToken(String s, int offset) throws TokenException
TokenExceptionCopyright © 2016–2020 Fizzed, Inc. All rights reserved.