<h2>Changes</h2> | <h2>Changes</h2> | ||||
<p>-version 3.21 on October 3, 2016 | |||||
<p>-version 3.21 on October 4, 2016 | |||||
<ul> | <ul> | ||||
<li>JIRA JASSIST-244, 245, 248, 250, 255, 256, 259, 262. | <li>JIRA JASSIST-244, 245, 248, 250, 255, 256, 259, 262. | ||||
<li><code>javassist.tools.Callback</code> was modified to be Java 1.4 compatible. | <li><code>javassist.tools.Callback</code> was modified to be Java 1.4 compatible. |
* this field. They have to be explicitly updated. For example, | * this field. They have to be explicitly updated. For example, | ||||
* if some method contains an expression {@code t.value} and the type | * if some method contains an expression {@code t.value} and the type | ||||
* of the variable {@code t} is changed by {@link #setType(CtClass)} | * of the variable {@code t} is changed by {@link #setType(CtClass)} | ||||
* from {@code int} to {@code double}, then {@ t.value} has to be modified | |||||
* since the bytecode of {@code t.value} contains the type information. | |||||
* from {@code int} to {@code double}, then {@code t.value} has to be modified | |||||
* as well since the bytecode of {@code t.value} contains the type information. | |||||
* </p> | * </p> | ||||
* | * | ||||
* @see CodeConverter | * @see CodeConverter |
* returns null if the specified attributed is not found. | * returns null if the specified attributed is not found. | ||||
* | * | ||||
* <p>An attribute name can be obtained by, for example, | * <p>An attribute name can be obtained by, for example, | ||||
* {@link AnnotationsAttribute#visibleTab} or | |||||
* {@link AnnotationsAttribute#invisibleTab}. | |||||
* {@link AnnotationsAttribute#visibleTag} or | |||||
* {@link AnnotationsAttribute#invisibleTag}. | |||||
* </p> | * </p> | ||||
* | * | ||||
* @param name attribute name | * @param name attribute name |
* It returns null if the specified attribute is not found. | * It returns null if the specified attribute is not found. | ||||
* | * | ||||
* <p>An attribute name can be obtained by, for example, | * <p>An attribute name can be obtained by, for example, | ||||
* {@link AnnotationsAttribute#visibleTab} or | |||||
* {@link AnnotationsAttribute#invisibleTab}. | |||||
* {@link AnnotationsAttribute#visibleTag} or | |||||
* {@link AnnotationsAttribute#invisibleTag}. | |||||
* </p> | * </p> | ||||
* | * | ||||
* @param name attribute name | * @param name attribute name |
* method returns null. | * method returns null. | ||||
* | * | ||||
* <p>An attribute name can be obtained by, for example, | * <p>An attribute name can be obtained by, for example, | ||||
* {@link AnnotationsAttribute#visibleTab} or | |||||
* {@link AnnotationsAttribute#invisibleTab}. | |||||
* {@link AnnotationsAttribute#visibleTag} or | |||||
* {@link AnnotationsAttribute#invisibleTag}. | |||||
* </p> | * </p> | ||||
* | * | ||||
* @param name attribute name | * @param name attribute name |