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
Nested ClassesModifier and TypeClassDescriptionstatic enumOperation type performed on script. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intPerforms comparison with an artifact of a compatible base type.Returns the base type to use for comparisons between Artifacts.intinthashCode()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.voidprefixLines(String lines)
-
Constructor Details
-
ScriptFragmentEditsArtifact
-
-
Method Details
-
getFragment
public int getFragment() -
getStrongName
-
hashCode
public int hashCode()Description copied from class:ArtifactThe 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:
hashCodein classArtifact<SymbolMapsLinker.ScriptFragmentEditsArtifact>
-
prefixLines
-
compareToComparableArtifact
Description copied from class:ArtifactPerforms 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:
compareToComparableArtifactin classArtifact<SymbolMapsLinker.ScriptFragmentEditsArtifact>
-
getComparableArtifactType
Description copied from class:ArtifactReturns the base type to use for comparisons between Artifacts. All concrete implementations of this methods must be final.- Specified by:
getComparableArtifactTypein classArtifact<SymbolMapsLinker.ScriptFragmentEditsArtifact>
-