|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.gwt.core.ext.linker.Artifact<CompilationResult>
com.google.gwt.core.ext.linker.CompilationResult
com.google.gwt.core.ext.linker.DelegatingCompilationResult
public class DelegatingCompilationResult
A delegate for CompilationResult intended for third party linkers
that want to modify a compilation result. Extending this class should insulate
against future changes to the CompilationResult type.
| Constructor Summary | |
|---|---|
DelegatingCompilationResult(java.lang.Class<? extends Linker> linkerType,
CompilationResult compilationResult)
|
|
| Method Summary | |
|---|---|
java.lang.String[] |
getJavaScript()
Returns the JavaScript compilation. |
int |
getPermutationId()
Returns the permutation ID. |
java.util.SortedSet<java.util.SortedMap<SelectionProperty,java.lang.String>> |
getPropertyMap()
Provides values for SelectionProperty instances that are not
explicitly set during the compilation phase. |
SoftPermutation[] |
getSoftPermutations()
Returns the permutations of the collapsed deferred-binding property values that are compiled into the CompilationResult. |
StatementRanges[] |
getStatementRanges()
Returns the statement ranges for the JavaScript returned by CompilationResult.getJavaScript(). |
java.lang.String |
getStrongName()
Return a string that uniquely identifies this compilation result. |
SymbolData[] |
getSymbolMap()
Returns a sorted array of obfuscated symbol names in the compilation to metadata about the symbol. |
java.lang.String |
toString()
|
| Methods inherited from class com.google.gwt.core.ext.linker.CompilationResult |
|---|
compareToComparableArtifact, getComparableArtifactType, hashCode |
| Methods inherited from class com.google.gwt.core.ext.linker.Artifact |
|---|
compareTo, equals, getLinker, isTransferableFromShards |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DelegatingCompilationResult(java.lang.Class<? extends Linker> linkerType,
CompilationResult compilationResult)
| Method Detail |
|---|
public java.lang.String[] getJavaScript()
CompilationResultGWT.runAsync. See
AsyncFragmentLoader for details on the necessary linker support for
runAsync.
getJavaScript in class CompilationResultpublic int getPermutationId()
CompilationResult
getPermutationId in class CompilationResultpublic java.util.SortedSet<java.util.SortedMap<SelectionProperty,java.lang.String>> getPropertyMap()
CompilationResultSelectionProperty instances that are not
explicitly set during the compilation phase. This method will return
multiple mappings, one for each permutation that resulted in the
compilation.
getPropertyMap in class CompilationResultpublic SoftPermutation[] getSoftPermutations()
CompilationResult
getSoftPermutations in class CompilationResultpublic StatementRanges[] getStatementRanges()
CompilationResultCompilationResult.getJavaScript(). Some subclasses return null, in
which case there is no statement range information available.
getStatementRanges in class CompilationResultpublic java.lang.String getStrongName()
CompilationResult
getStrongName in class CompilationResultpublic SymbolData[] getSymbolMap()
CompilationResult
getSymbolMap in class CompilationResultpublic java.lang.String toString()
toString in class CompilationResult
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||