public class SignatureParser extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
END_EVENT |
static int |
METHOD_PARAMETERS_END_EVENT |
static int |
METHOD_PARAMETERS_START_EVENT |
static int |
TYPE_EVENT |
static int |
TYPE_PARAMETERS_END_EVENT |
static int |
TYPE_PARAMETERS_START_EVENT |
| Constructor and Description |
|---|
SignatureParser(String sig)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getEvent()
Get current event.
|
String |
getType()
Get type.
|
boolean |
isParameterized()
Check if type is parameterized.
|
boolean |
isPrimitive()
Check if type is a primitive.
|
int |
next()
Get next parse event.
|
public static final int END_EVENT
public static final int TYPE_EVENT
public static final int METHOD_PARAMETERS_START_EVENT
public static final int METHOD_PARAMETERS_END_EVENT
public static final int TYPE_PARAMETERS_START_EVENT
public static final int TYPE_PARAMETERS_END_EVENT
public SignatureParser(String sig)
sig - signature attribute valuepublic boolean isParameterized()
TYPE_EVENT.true if parameterized typepublic boolean isPrimitive()
TYPE_EVENT.true if primitive typepublic int getEvent()
public String getType()
TYPE_EVENT.public int next()
Copyright © 2005-2014 jibx.org. All Rights Reserved.