public class JsniRef extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CLASS
Special field name for referring to a class literal.
|
static String |
NEW
Special method name for a class constructor.
|
static String |
WILDCARD_PARAM_LIST
A parameter list indicating a match to any overload.
|
Modifier | Constructor and Description |
---|---|
protected |
JsniRef(String className,
String memberName,
String paramTypesString,
String[] paramTypes) |
Modifier and Type | Method and Description |
---|---|
String |
className() |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isField() |
boolean |
isMethod() |
boolean |
matchesAnyOverload()
Whether this method reference matches all overloads of the specified class
and method name.
|
String |
memberName() |
String |
memberSignature() |
String[] |
paramTypes()
Return the list of parameter types for the method referred to by this
reference.
|
String |
paramTypesString() |
static JsniRef |
parse(String refString)
Parse a Java reference from JSNI code.
|
String |
toString() |
public static final String CLASS
public static final String NEW
public static final String WILDCARD_PARAM_LIST
public static JsniRef parse(String refString)
public String className()
public boolean isField()
public boolean isMethod()
public boolean matchesAnyOverload()
public String memberName()
public String memberSignature()
public String[] paramTypes()
matchesAnyOverload()
is false.public String paramTypesString()
Copyright © 2018. All rights reserved.