JMerger
instead.@Deprecated
public class JMerger
extends java.lang.Object
run(java.lang.Object)
,
which is called just like main during headless workbench invocation.Modifier and Type | Class and Description |
---|---|
static class |
JMerger.PlatformRunnable
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected boolean |
fixInterfaceBrace
Deprecated.
|
protected static java.util.regex.Pattern |
INTERFACE_BRACE_PATTERN
Deprecated.
|
protected boolean |
isBlocked
Deprecated.
|
protected JControlModel |
jControlModel
Deprecated.
|
protected DOMFactory |
jdomFactory
Deprecated.
|
protected static java.lang.Object[] |
noArguments
Deprecated.
|
protected java.util.Map |
orderedSourceChildrenMap
Deprecated.
|
protected IDOMCompilationUnit |
sourceCompilationUnit
Deprecated.
|
protected JPatternDictionary |
sourcePatternDictionary
Deprecated.
|
protected java.util.Map |
sourceToTargetMap
Deprecated.
|
protected IDOMCompilationUnit |
targetCompilationUnit
Deprecated.
|
protected JPatternDictionary |
targetPatternDictionary
Deprecated.
|
protected java.util.Map |
targetToSourceMap
Deprecated.
|
Constructor and Description |
---|
JMerger()
Deprecated.
This creates an empty instances, an when used as a runnable.
|
JMerger(JControlModel jControlModel,
IDOMCompilationUnit sourceCompilationUnit,
IDOMCompilationUnit targetCompilationUnit)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
applyFormatRules(java.lang.String value)
Deprecated.
|
protected void |
applyPullRules(IDOMNode sourceNode,
IDOMNode targetNode)
Deprecated.
|
void |
applySortRules(IDOMNode sourceNode)
Deprecated.
|
protected void |
applySweepRules(IDOMNode targetNode)
Deprecated.
|
IDOMCompilationUnit |
createCompilationUnitForContents(java.lang.String contents)
Deprecated.
Create a JDOM from contents.
|
IDOMCompilationUnit |
createCompilationUnitForInputStream(java.io.InputStream inputStream)
Deprecated.
|
IDOMCompilationUnit |
createCompilationUnitForURI(java.lang.String uri)
Deprecated.
Create a JDOM from a URI.
|
java.lang.String |
execute(IProgressMonitor progressMonitor,
java.lang.String[] arguments)
Deprecated.
Utility for headless operations.
|
JControlModel |
getControlModel()
Deprecated.
|
IDOMCompilationUnit |
getSourceCompilationUnit()
Deprecated.
|
java.lang.String |
getSourceCompilationUnitContents()
Deprecated.
|
JPatternDictionary |
getSourcePatternDictionary()
Deprecated.
|
java.util.Map |
getSourceToTargetMap()
Deprecated.
|
IDOMCompilationUnit |
getTargetCompilationUnit()
Deprecated.
|
java.lang.String |
getTargetCompilationUnitContents()
Deprecated.
|
JPatternDictionary |
getTargetPatternDictionary()
Deprecated.
|
protected IDOMNode |
insertClone(IDOMNode sourceNode)
Deprecated.
|
boolean |
isFixInterfaceBrace()
Deprecated.
|
protected void |
map(IDOMNode sourceNode,
IDOMNode targetNode)
Deprecated.
|
protected void |
mapChildren(IDOMNode sourceNode,
IDOMNode targetNode)
Deprecated.
|
void |
merge()
Deprecated.
|
protected void |
pullTargetCompilationUnit()
Deprecated.
|
protected void |
pullTargetField(IDOMField targetField)
Deprecated.
|
protected void |
pullTargetImport(IDOMImport targetImport)
Deprecated.
|
protected void |
pullTargetInitializer(IDOMInitializer targetInitializer)
Deprecated.
|
protected void |
pullTargetMethod(IDOMMethod targetMethod)
Deprecated.
|
protected void |
pullTargetPackage(IDOMPackage targetPackage)
Deprecated.
|
protected void |
pullTargetType(IDOMType targetType)
Deprecated.
|
protected void |
pushSourceCompilationUnit()
Deprecated.
|
protected void |
pushSourceField(IDOMField sourceField)
Deprecated.
|
protected void |
pushSourceImport(IDOMImport sourceImport)
Deprecated.
|
protected void |
pushSourceInitializer(IDOMInitializer sourceInitializer)
Deprecated.
|
protected void |
pushSourceMethod(IDOMMethod sourceMethod)
Deprecated.
|
protected void |
pushSourcePackage(IDOMPackage sourcePackage)
Deprecated.
|
protected void |
pushSourceType(IDOMType sourceType)
Deprecated.
|
void |
remerge()
Deprecated.
|
java.lang.Object |
run(java.lang.Object object)
Deprecated.
This is called with the command line arguments of a headless workbench invocation.
|
void |
setControlModel(JControlModel jControlModel)
Deprecated.
|
void |
setFixInterfaceBrace(boolean fixInterfaceBrace)
Deprecated.
|
void |
setSourceCompilationUnit(IDOMCompilationUnit sourceCompilationUnit)
Deprecated.
|
void |
setSourcePatternDictionary(JPatternDictionary sourcePatternDictionary)
Deprecated.
|
void |
setSourceToTargetMap(java.util.Map sourceToTargetMap)
Deprecated.
|
void |
setTargetCompilationUnit(IDOMCompilationUnit targetCompilationUnit)
Deprecated.
|
void |
setTargetPatternDictionary(JPatternDictionary targetPatternDictionary)
Deprecated.
|
protected void |
sortTargetCompilationUnit()
Deprecated.
|
protected void |
sweepTargetCompilationUnit()
Deprecated.
|
protected DOMFactory jdomFactory
protected JControlModel jControlModel
protected IDOMCompilationUnit sourceCompilationUnit
protected IDOMCompilationUnit targetCompilationUnit
protected JPatternDictionary sourcePatternDictionary
protected JPatternDictionary targetPatternDictionary
protected java.util.Map sourceToTargetMap
protected java.util.Map targetToSourceMap
protected java.util.Map orderedSourceChildrenMap
protected boolean isBlocked
protected boolean fixInterfaceBrace
protected static final java.util.regex.Pattern INTERFACE_BRACE_PATTERN
protected static java.lang.Object[] noArguments
public JMerger()
public JMerger(JControlModel jControlModel, IDOMCompilationUnit sourceCompilationUnit, IDOMCompilationUnit targetCompilationUnit)
public void merge()
public void remerge()
public boolean isFixInterfaceBrace()
public void setFixInterfaceBrace(boolean fixInterfaceBrace)
public JControlModel getControlModel()
public void setControlModel(JControlModel jControlModel)
public java.lang.String getSourceCompilationUnitContents()
public IDOMCompilationUnit getSourceCompilationUnit()
public void setSourceCompilationUnit(IDOMCompilationUnit sourceCompilationUnit)
public java.lang.String getTargetCompilationUnitContents()
public IDOMCompilationUnit getTargetCompilationUnit()
public void setTargetCompilationUnit(IDOMCompilationUnit targetCompilationUnit)
public JPatternDictionary getSourcePatternDictionary()
public void setSourcePatternDictionary(JPatternDictionary sourcePatternDictionary)
public JPatternDictionary getTargetPatternDictionary()
public void setTargetPatternDictionary(JPatternDictionary targetPatternDictionary)
public java.util.Map getSourceToTargetMap()
public void setSourceToTargetMap(java.util.Map sourceToTargetMap)
public IDOMCompilationUnit createCompilationUnitForURI(java.lang.String uri)
public IDOMCompilationUnit createCompilationUnitForInputStream(java.io.InputStream inputStream)
public IDOMCompilationUnit createCompilationUnitForContents(java.lang.String contents)
protected void pullTargetCompilationUnit()
protected void pullTargetPackage(IDOMPackage targetPackage)
protected void pullTargetImport(IDOMImport targetImport)
protected void pullTargetType(IDOMType targetType)
protected void pullTargetInitializer(IDOMInitializer targetInitializer)
protected void pullTargetField(IDOMField targetField)
protected void pullTargetMethod(IDOMMethod targetMethod)
protected java.lang.String applyFormatRules(java.lang.String value)
protected void applyPullRules(IDOMNode sourceNode, IDOMNode targetNode)
protected void pushSourceCompilationUnit()
protected void pushSourcePackage(IDOMPackage sourcePackage)
protected void pushSourceImport(IDOMImport sourceImport)
protected void pushSourceType(IDOMType sourceType)
protected void pushSourceInitializer(IDOMInitializer sourceInitializer)
protected void pushSourceField(IDOMField sourceField)
protected void pushSourceMethod(IDOMMethod sourceMethod)
public void applySortRules(IDOMNode sourceNode)
protected void sweepTargetCompilationUnit()
protected void applySweepRules(IDOMNode targetNode)
protected void sortTargetCompilationUnit()
protected IDOMNode insertClone(IDOMNode sourceNode)
protected void mapChildren(IDOMNode sourceNode, IDOMNode targetNode)
protected void map(IDOMNode sourceNode, IDOMNode targetNode)
public java.lang.Object run(java.lang.Object object)
public java.lang.String execute(IProgressMonitor progressMonitor, java.lang.String[] arguments)