public static class SymbolMapsLinker.ScriptFragmentEditsArtifact extends Artifact<SymbolMapsLinker.ScriptFragmentEditsArtifact>
Modifier and Type | Class and Description |
---|---|
static class |
SymbolMapsLinker.ScriptFragmentEditsArtifact.Edit
Operation type performed on script.
|
Constructor and Description |
---|
ScriptFragmentEditsArtifact(String strongName,
int fragment) |
Modifier and Type | Method and Description |
---|---|
protected int |
compareToComparableArtifact(SymbolMapsLinker.ScriptFragmentEditsArtifact o)
Performs comparison with an artifact of a compatible base type.
|
protected Class<SymbolMapsLinker.ScriptFragmentEditsArtifact> |
getComparableArtifactType()
Returns the base type to use for comparisons between Artifacts.
|
int |
getFragment() |
String |
getStrongName() |
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. |
void |
insertLinesBefore(int position,
String lines) |
void |
prefixLines(String lines) |
public ScriptFragmentEditsArtifact(String strongName, int fragment)
public int getFragment()
public String getStrongName()
public 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<SymbolMapsLinker.ScriptFragmentEditsArtifact>
public void insertLinesBefore(int position, String lines)
public void prefixLines(String lines)
protected int compareToComparableArtifact(SymbolMapsLinker.ScriptFragmentEditsArtifact o)
Artifact
Artifact.hashCode()
.compareToComparableArtifact
in class Artifact<SymbolMapsLinker.ScriptFragmentEditsArtifact>
protected Class<SymbolMapsLinker.ScriptFragmentEditsArtifact> getComparableArtifactType()
Artifact
getComparableArtifactType
in class Artifact<SymbolMapsLinker.ScriptFragmentEditsArtifact>
Copyright © 2018. All rights reserved.