Package com.google.gwt.core.linker
Class SymbolMapsLinker.ScriptFragmentEditsArtifact
java.lang.Object
com.google.gwt.core.ext.linker.Artifact<SymbolMapsLinker.ScriptFragmentEditsArtifact>
com.google.gwt.core.linker.SymbolMapsLinker.ScriptFragmentEditsArtifact
- All Implemented Interfaces:
Serializable
,Comparable<Artifact<?>>
- Enclosing class:
SymbolMapsLinker
public static class SymbolMapsLinker.ScriptFragmentEditsArtifact
extends Artifact<SymbolMapsLinker.ScriptFragmentEditsArtifact>
Artifact to record insertions or deletions made to Javascript fragments.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Operation type performed on script. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
Performs comparison with an artifact of a compatible base type.Returns the base type to use for comparisons between Artifacts.int
int
hashCode()
The class which is returned fromArtifact.getComparableArtifactType()
must declare a final implementation which returns the same hash code for objects for whichArtifact.compareToComparableArtifact(Artifact)
returns 0.void
prefixLines
(String lines)
-
Constructor Details
-
ScriptFragmentEditsArtifact
-
-
Method Details
-
getFragment
public int getFragment() -
getStrongName
-
hashCode
public int hashCode()Description copied from class:Artifact
The class which is returned fromArtifact.getComparableArtifactType()
must declare a final implementation which returns the same hash code for objects for whichArtifact.compareToComparableArtifact(Artifact)
returns 0.- Specified by:
hashCode
in classArtifact<SymbolMapsLinker.ScriptFragmentEditsArtifact>
-
prefixLines
-
compareToComparableArtifact
Description copied from class:Artifact
Performs comparison with an artifact of a compatible base type. Objects which compare to 0 are assumed equal, and must return the sameArtifact.hashCode()
.- Specified by:
compareToComparableArtifact
in classArtifact<SymbolMapsLinker.ScriptFragmentEditsArtifact>
-
getComparableArtifactType
Description copied from class:Artifact
Returns the base type to use for comparisons between Artifacts. All concrete implementations of this methods must be final.- Specified by:
getComparableArtifactType
in classArtifact<SymbolMapsLinker.ScriptFragmentEditsArtifact>
-