public interface MapFileHandler
startFile()
- exactly oncestartClass()
- zero or more times
method()
- zero or more timesfield()
- zero or more timesendClass()
- once for each startClass()
endFile()
- exactly onceModifier and Type | Method and Description |
---|---|
void |
endClass()
Called to indicate that the current class has ended.
|
void |
endFile()
Called to indicate that the processing of the map file has ended.
|
void |
field(java.lang.String originalName,
java.lang.String originalSignature,
java.lang.String newName)
Called to indicate that a field is being processed.
|
void |
method(java.lang.String originalName,
java.lang.String originalSignature,
java.lang.String newName)
Called to indicate that a method is being processed.
|
void |
startClass(java.lang.String originalName,
java.lang.String newName)
Called to indicate that a class is starting.
|
void |
startFile()
Called indicate that the processing of a map file has started.
|
void startFile() throws java.io.IOException
java.io.IOException
- on various problemsendFile()
void endFile() throws java.io.IOException
java.io.IOException
- on various problemsstartFile()
void startClass(java.lang.String originalName, java.lang.String newName) throws java.io.IOException
originalName
- the original name of the class in class file formatnewName
- the new name of the class in class file format. May be
null.java.io.IOException
- on various problemsendClass()
void endClass() throws java.io.IOException
java.io.IOException
- on various problemsstartClass(String, String)
,
endClass()
void method(java.lang.String originalName, java.lang.String originalSignature, java.lang.String newName) throws java.io.IOException
originalName
- the original name of the methodoriginalSignature
- the signature of the method in class file formatnewName
- the new name of the method. May be null.java.io.IOException
- on various problemsstartClass(String, String)
,
endClass()
void field(java.lang.String originalName, java.lang.String originalSignature, java.lang.String newName) throws java.io.IOException
originalName
- the original name of the field.originalSignature
- the signature (type) of the field in class file
formatnewName
- the new name for the field. May be null.java.io.IOException
- on various problemsstartClass(String, String)
,
endClass()
Copyright 2024 PreEmptive Solutions, LLC. All Rights Reserved.