?? sourcefileattr.java
字號:
/**
*
*/
package gen.info.attr;
import gen.constvalue.AttrInfoTag;
import java.io.DataOutputStream;
import java.io.IOException;
/**
* @author liuyi
*
*/
public class SourceFileAttr extends AttributeInfo implements AttrInfoTag{
private short sourceFileIndex;
/**
* @param tag
*/
public SourceFileAttr() {
super(ATTR_SourceFile);
super.length = 2;
}
public void setSourceFileIndex(int index){
this.sourceFileIndex = (short)index;
}
public int getSourceFileIndex(){
return sourceFileIndex;
}
public void toBinary(DataOutputStream writer) throws IOException {
writer.writeShort(nameIndex);
writer.writeInt(length);
writer.writeShort(sourceFileIndex);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -