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
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SymbolMapsLinker.ScriptFragmentEditsArtifact
public SymbolMapsLinker.ScriptFragmentEditsArtifact(java.lang.String strongName,
int fragment)
getFragment
public int getFragment()
getStrongName
public java.lang.String getStrongName()
hashCode
public int hashCode()
- Description copied from class:
Artifact
- 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.
- Specified by:
hashCode
in class Artifact<SymbolMapsLinker.ScriptFragmentEditsArtifact>
insertLinesBefore
public void insertLinesBefore(int position,
java.lang.String lines)
prefixLines
public void prefixLines(java.lang.String lines)
compareToComparableArtifact
protected int compareToComparableArtifact(SymbolMapsLinker.ScriptFragmentEditsArtifact o)
- 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 same
Artifact.hashCode()
.
- Specified by:
compareToComparableArtifact
in class Artifact<SymbolMapsLinker.ScriptFragmentEditsArtifact>
getComparableArtifactType
protected java.lang.Class<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 class Artifact<SymbolMapsLinker.ScriptFragmentEditsArtifact>