|
GWT 2.5.0.rc2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SymbolData
Provides basic information about symbols in the generated JavaScript.
CompilationResult.getSymbolMap()
Nested Class Summary | |
---|---|
static class |
SymbolData.ClassIdentComparator
A Comparator for use when presenting the data to humans. |
Method Summary | |
---|---|
CastableTypeMap |
getCastableTypeMap()
Returns a JSON map of castableTypes. |
java.lang.String |
getClassName()
Returns the name of the type or enclosing type if the symbol is a method or field. |
int |
getFragmentNumber()
Returns the fragment number in which the symbol is declared (for a method). |
java.lang.String |
getJsniIdent()
Returns a JSNI-like identifier for the symbol if it a method or field, otherwise null . |
java.lang.String |
getMemberName()
Returns the name of the member if the symbol is a method or field. |
int |
getQueryId()
Returns the queryId for castability comparisons. |
int |
getSeedId()
Returns the seedId for types. |
int |
getSourceLine()
Returns the line number on which the symbol was originally declared or -1 if the line number is unknown. |
java.lang.String |
getSourceUri()
Returns a URI string representing the location of the source. |
java.lang.String |
getSymbolName()
Returns the JavaScript symbol this data maps to. |
boolean |
isClass()
Returns true if the symbol represents a class. |
boolean |
isField()
Returns true if the symbol represents a field. |
boolean |
isMethod()
Returns true if the symbol represents a method. |
Method Detail |
---|
CastableTypeMap getCastableTypeMap()
java.lang.String getClassName()
int getFragmentNumber()
java.lang.String getJsniIdent()
null
.
java.lang.String getMemberName()
int getQueryId()
int getSeedId()
int getSourceLine()
-1
if the line number is unknown.
java.lang.String getSourceUri()
null
if the symbol was derived from a transient
or unknown source.
java.lang.String getSymbolName()
boolean isClass()
true
if the symbol represents a class.
boolean isField()
true
if the symbol represents a field.
boolean isMethod()
true
if the symbol represents a method.
|
GWT 2.5.0.rc2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |