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:
java.io.Serializable,java.lang.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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSymbolMapsLinker.ScriptFragmentEditsArtifact.EditOperation type performed on script.
-
Constructor Summary
Constructors Constructor Description ScriptFragmentEditsArtifact(java.lang.String strongName, int fragment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intcompareToComparableArtifact(SymbolMapsLinker.ScriptFragmentEditsArtifact o)Performs comparison with an artifact of a compatible base type.protected java.lang.Class<SymbolMapsLinker.ScriptFragmentEditsArtifact>getComparableArtifactType()Returns the base type to use for comparisons between Artifacts.intgetFragment()java.lang.StringgetStrongName()inthashCode()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(java.lang.String lines)
-
-
-
Method Detail
-
getFragment
public int getFragment()
-
getStrongName
public java.lang.String 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
public void prefixLines(java.lang.String lines)
-
compareToComparableArtifact
protected int compareToComparableArtifact(SymbolMapsLinker.ScriptFragmentEditsArtifact o)
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
protected java.lang.Class<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>
-
-