|
GWT 2.2.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
public abstract class CompilationResult
Represents a unique compilation of the module. Multiple permutations may result in identical JavaScript.
Constructor Summary | |
---|---|
protected |
CompilationResult(java.lang.Class<? extends Linker> linkerType)
|
Method Summary | |
---|---|
protected int |
compareToComparableArtifact(CompilationResult o)
Performs comparison with an artifact of a compatible base type. |
protected java.lang.Class<CompilationResult> |
getComparableArtifactType()
Returns the base type to use for comparisons between Artifacts. |
abstract java.lang.String[] |
getJavaScript()
Returns the JavaScript compilation. |
abstract int |
getPermutationId()
Returns the permutation ID. |
abstract 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. |
abstract 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 getJavaScript() . |
abstract java.lang.String |
getStrongName()
Return a string that uniquely identifies this compilation result. |
abstract SymbolData[] |
getSymbolMap()
Returns a sorted array of obfuscated symbol names in the compilation to metadata about the symbol. |
int |
hashCode()
The class which is returned from Artifact.getComparableArtifactType() must
declare a final implementation which returns the same hash code for objects
for which Artifact.compareToComparableArtifact(Artifact) returns 0. |
java.lang.String |
toString()
|
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 |
---|
protected CompilationResult(java.lang.Class<? extends Linker> linkerType)
Method Detail |
---|
public abstract java.lang.String[] getJavaScript()
GWT.runAsync
. See
AsyncFragmentLoader
for details on the necessary linker support for
runAsync.
public abstract int getPermutationId()
public abstract java.util.SortedSet<java.util.SortedMap<SelectionProperty,java.lang.String>> getPropertyMap()
SelectionProperty
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.
public abstract SoftPermutation[] getSoftPermutations()
public StatementRanges[] getStatementRanges()
getJavaScript()
. Some subclasses return null
, in
which case there is no statement range information available.
public abstract java.lang.String getStrongName()
public abstract SymbolData[] getSymbolMap()
public final int hashCode()
Artifact
Artifact.getComparableArtifactType()
must
declare a final implementation which returns the same hash code for objects
for which Artifact.compareToComparableArtifact(Artifact)
returns 0.
hashCode
in class Artifact<CompilationResult>
public java.lang.String toString()
toString
in class Artifact<CompilationResult>
protected final int compareToComparableArtifact(CompilationResult o)
Artifact
Artifact.hashCode()
.
compareToComparableArtifact
in class Artifact<CompilationResult>
protected final java.lang.Class<CompilationResult> getComparableArtifactType()
Artifact
getComparableArtifactType
in class Artifact<CompilationResult>
|
GWT 2.2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |