final class APHotSpotSignature extends Object
Modifier and Type | Field and Description |
---|---|
private List<String> |
arguments |
private TypeMirror[] |
argumentTypes |
private String |
originalString |
private String |
returnType |
private TypeMirror |
returnTypeCache |
Constructor and Description |
---|
APHotSpotSignature(String signature) |
Modifier and Type | Method and Description |
---|---|
static TypeKind |
fromPrimitiveOrVoidTypeChar(char ch)
Returns the kind from the character describing a primitive or void.
|
int |
getParameterCount(boolean withReceiver) |
TypeMirror |
getParameterType(ProcessingEnvironment env,
int index) |
TypeMirror |
getReturnType(ProcessingEnvironment env) |
private static TypeMirror |
lookupType(ProcessingEnvironment env,
String binaryName) |
private static int |
parseSignature(String signature,
int start) |
String |
toString() |
private final String returnType
private final String originalString
private TypeMirror[] argumentTypes
private TypeMirror returnTypeCache
APHotSpotSignature(String signature)
private static int parseSignature(String signature, int start)
public int getParameterCount(boolean withReceiver)
public TypeMirror getParameterType(ProcessingEnvironment env, int index)
private static TypeMirror lookupType(ProcessingEnvironment env, String binaryName)
public static TypeKind fromPrimitiveOrVoidTypeChar(char ch)
ch
- the characterpublic TypeMirror getReturnType(ProcessingEnvironment env)