📄 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 + -