亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? bytecodeparser.java

?? JDK1.4編譯器后端
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:

package AST;
import java.util.HashSet;import java.util.LinkedHashSet;import java.io.FileNotFoundException;import java.io.File;import java.util.*;import beaver.*;import java.util.ArrayList;import java.util.zip.*;import java.io.*;public class BytecodeParser extends java.lang.Object implements BytecodeReader {
    // Declared in BytecodeReader.jrag at line 13    public CompilationUnit read(InputStream is, String fullName, Program p) throws FileNotFoundException, IOException {      return new BytecodeParser(is, fullName).parse(null, null, p);    }    // Declared in BytecodeReader.jrag at line 17    public static final boolean VERBOSE = false;    // Declared in BytecodeReader.jrag at line 19    private DataInputStream is;    // Declared in BytecodeReader.jrag at line 20    public CONSTANT_Class_Info classInfo;    // Declared in BytecodeReader.jrag at line 21    public CONSTANT_Class_Info outerClassInfo;    // Declared in BytecodeReader.jrag at line 22    public String name;    // Declared in BytecodeReader.jrag at line 24    public BytecodeParser(byte[] buffer, int size, String name) {      //this.is = new DataInputStream(new DummyInputStream(buffer, size));      this.is = new DataInputStream(new ByteArrayInputStream(buffer, 0, size));      this.name = name;    }    // Declared in BytecodeReader.jrag at line 29    public BytecodeParser(InputStream in, String name) {      //this.is = new DataInputStream(new DummyInputStream(buffer, size));      this.is = new DataInputStream(new DummyInputStream(in));      this.name = name;    }    // Declared in BytecodeReader.jrag at line 35    public BytecodeParser() {      this("");    }    // Declared in BytecodeReader.jrag at line 38    public BytecodeParser(String name) {      if (!name.endsWith(".class")) {        //name = name.replaceAll("\\.", "/") + ".class";        name = name.replace('.', '/') + ".class";      }      this.name = name;    }    // Declared in BytecodeReader.jrag at line 46    private static class DummyInputStream extends InputStream {      byte[] bytes;      int pos;      int size;      public DummyInputStream(byte[] buffer, int size) {        bytes = buffer;        this.size = size;      }      public DummyInputStream(InputStream is) {        bytes = new byte[1024];        int index = 0;        size = 1024;        try {          int status;          do {            status = is.read(bytes, index, size - index);            if(status != -1) {              index += status;              if(index == size) {                byte[] newBytes = new byte[size*2];                System.arraycopy(bytes, 0, newBytes, 0, size);                bytes = newBytes;                size *= 2;              }            }          } while (status != -1);        } catch (IOException e) {          System.err.println("Something went wrong trying to read " + is);          //System.exit(1);        }        size = index;        pos = 0;      }      public int available() {        return size - pos;      }      public void close() {      }      public void mark(int readlimit) {      }      public boolean markSupported() {        return false;      }      public int read(byte[] b) {        int actualLength = Math.min(b.length, size-pos);        System.arraycopy(bytes, pos, b, 0, actualLength);        pos += actualLength;        return actualLength;      }      public int read(byte[] b, int offset, int length) {        int actualLength = Math.min(length, size-pos);        System.arraycopy(bytes, pos, b, offset, actualLength);        pos += actualLength;        return actualLength;      }      public void reset() {      }      public long skip(long n) {        if(size == pos)          return -1;        long skipSize = Math.min(n, size-pos);        pos += skipSize;        return skipSize;      }      public int read() throws IOException {        if(pos < size) {          int i = bytes[pos++];          if(i < 0)            i = 256 + i;          return i;        }        return -1;      }    }    // Declared in BytecodeReader.jrag at line 130    public int next() {      try {        return is.read();      } catch (IOException e) {        System.exit(1);      }      return -1;    }    // Declared in BytecodeReader.jrag at line 139    public int u1() {      try {        return is.readUnsignedByte();      } catch (IOException e) {        System.exit(1);      }      return -1;    }    // Declared in BytecodeReader.jrag at line 148    public int u2() {      try {        return is.readUnsignedShort();      } catch (IOException e) {        System.exit(1);      }      return -1;    }    // Declared in BytecodeReader.jrag at line 157    public int u4() {      try {        return is.readInt();      } catch (IOException e) {        System.exit(1);      }      return -1;    }    // Declared in BytecodeReader.jrag at line 166    public int readInt() {      try {        return is.readInt();      } catch (IOException e) {        System.exit(1);      }      return -1;    }    // Declared in BytecodeReader.jrag at line 175    public float readFloat() {      try {        return is.readFloat();      } catch (IOException e) {        System.exit(1);      }      return -1;    }    // Declared in BytecodeReader.jrag at line 184    public long readLong() {      try {        return is.readLong();      } catch (IOException e) {        System.exit(1);      }      return -1;    }    // Declared in BytecodeReader.jrag at line 193    public double readDouble() {      try {        return is.readDouble();      } catch (IOException e) {        System.exit(1);      }      return -1;    }    // Declared in BytecodeReader.jrag at line 202    public String readUTF() {      try {        return is.readUTF();      } catch (IOException e) {        System.exit(1);      }      return "";    }    // Declared in BytecodeReader.jrag at line 211    public void skip(int length) {      try {        is.skip(length);      } catch (IOException e) {        System.exit(1);      }    }    // Declared in BytecodeReader.jrag at line 219    public void error(String s) {      throw new RuntimeException(s);    }    // Declared in BytecodeReader.jrag at line 223    public void print(String s) {      //System.out.print(s);    }    // Declared in BytecodeReader.jrag at line 227    public void println(String s) {      print(s + "\n");    }    // Declared in BytecodeReader.jrag at line 231    public void println() {      print("\n");    }    // Declared in BytecodeReader.jrag at line 235    public CompilationUnit parse(TypeDecl outerTypeDecl, CONSTANT_Class_Info outerClassInfo, Program classPath)       throws FileNotFoundException, IOException {        //InputStream file = ClassLoader.getSystemResourceAsStream(name);        if(is == null) {          FileInputStream file = new FileInputStream("/home/torbjorn/sandbox/jdk/" + name);          //System.err.println("/home/torbjorn/sandbox/jdk/" + name);          if(file == null) {            throw new FileNotFoundException(name);          }          // // Does not work without DummyInputStream. Why?          //is = new DataInputStream(new DummyInputStream(new BufferedInputStream(file)));          is = new DataInputStream(new BufferedInputStream(file));        }        if(BytecodeParser.VERBOSE)           println("Parsing byte codes in " + name);        this.outerClassInfo = outerClassInfo;        parseMagic();        parseMinor();        parseMajor();        parseConstantPool();        CompilationUnit cu = new CompilationUnit();        TypeDecl typeDecl = parseTypeDecl();        cu.setPackageDecl(classInfo.packageDecl());        cu.addTypeDecl(typeDecl);        parseFields(typeDecl);        parseMethods(typeDecl);        new Attributes(this, typeDecl, outerTypeDecl, classPath);        is.close();        is = null;        return cu;      }    // Declared in BytecodeReader.jrag at line 272    public void parseMagic() {      if (next() != 0xca || next() != 0xfe || next() != 0xba || next() != 0xbe)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧洲一区二区在线播放| 欧美精品一二三四| 亚洲人成网站在线| 色综合久久综合| 亚洲一区免费观看| 91精品国产丝袜白色高跟鞋| 日本成人在线不卡视频| 精品久久国产97色综合| 国产福利一区二区三区在线视频| 国产喷白浆一区二区三区| 成人一区二区三区视频| 日韩毛片精品高清免费| 欧美在线综合视频| 精品一区二区三区影院在线午夜| 国产日韩三级在线| 色婷婷久久99综合精品jk白丝| 有码一区二区三区| 欧美videossexotv100| 成人动漫av在线| 亚洲va欧美va天堂v国产综合| 欧美一区二区在线免费播放| 国产精品77777竹菊影视小说| 亚洲乱码国产乱码精品精的特点| 欧美精品免费视频| 国产黄色成人av| 亚洲综合久久av| 久久久久久亚洲综合| 色噜噜狠狠一区二区三区果冻| 蜜臀a∨国产成人精品| 欧美大白屁股肥臀xxxxxx| 不卡av免费在线观看| 婷婷亚洲久悠悠色悠在线播放| 久久久不卡影院| 欧美日韩精品专区| av一区二区不卡| 久久精品99久久久| 亚洲综合无码一区二区| 日韩精品一区二区三区蜜臀| 91老师片黄在线观看| 捆绑变态av一区二区三区| 中文字幕在线不卡国产视频| 欧美一区二区在线免费观看| 91麻豆免费看| 国产精品99久久久久久宅男| 亚洲一区二区欧美| 亚洲欧洲99久久| 26uuu亚洲综合色| 欧美乱妇20p| 欧美影片第一页| 成人av免费在线播放| 国产一区二区三区精品视频| 五月天激情综合网| 亚洲自拍偷拍九九九| 综合精品久久久| 久久久99精品免费观看不卡| 3d成人动漫网站| 日本高清免费不卡视频| 国产成人免费在线观看| 青娱乐精品视频| 午夜精品久久久久久久久| 一卡二卡三卡日韩欧美| 亚洲少妇30p| 中文字幕制服丝袜一区二区三区| 久久中文娱乐网| 日韩精品中文字幕在线一区| 欧美裸体bbwbbwbbw| 欧美午夜电影一区| 欧美自拍丝袜亚洲| 欧美亚洲日本一区| 日本韩国欧美一区| 91在线视频免费91| 91在线视频官网| 91影视在线播放| 91视频你懂的| 一本大道综合伊人精品热热| 日本韩国欧美一区二区三区| 在线一区二区三区四区| 色中色一区二区| 欧美性极品少妇| 91超碰这里只有精品国产| 欧美一级黄色大片| 日韩一区二区电影在线| 精品人伦一区二区色婷婷| 精品国产伦一区二区三区观看体验| 欧美一区二区三区在线| 精品久久国产字幕高潮| 国产欧美综合在线观看第十页| 国产日韩欧美高清在线| 中文字幕一区二区三中文字幕| 中文字幕一区二区三区av| 亚洲女女做受ⅹxx高潮| 亚洲成人福利片| 美女网站色91| 国产成人综合在线观看| 成年人网站91| 欧美日韩视频在线一区二区 | 国产米奇在线777精品观看| 国产一区 二区| 97久久精品人人做人人爽 | 亚洲成a人片在线观看中文| 亚洲成av人在线观看| 免费观看一级欧美片| 国产91丝袜在线18| 91亚洲资源网| 欧美一卡二卡在线观看| 久久久久久久久99精品| 日韩毛片在线免费观看| 天天免费综合色| 国产麻豆午夜三级精品| 成人爱爱电影网址| 欧美麻豆精品久久久久久| 国产亚洲短视频| 一区二区三区不卡视频| 毛片av一区二区| 99国产精品久久久久久久久久久| 欧美日韩精品三区| 国产欧美一二三区| 亚洲成av人片| 粉嫩高潮美女一区二区三区| 欧美日韩国产综合一区二区三区| 欧美精品一区二区久久婷婷| 亚洲欧美激情插| 国产在线播放一区二区三区| 91高清视频免费看| 国产亚洲欧美在线| 亚洲一级二级在线| 成人一区在线看| 欧美一区二区国产| 亚洲裸体xxx| 国产精品一二三区| 91麻豆精品国产91久久久久| 日韩一区中文字幕| 国模无码大尺度一区二区三区| 欧美性猛交xxxxxx富婆| 国产精品无码永久免费888| 麻豆91在线看| 欧美日韩五月天| 亚洲摸摸操操av| 国产精品影视在线观看| 91麻豆精品国产91久久久使用方法 | 亚洲一区二区三区美女| 粉嫩在线一区二区三区视频| 日韩午夜三级在线| 亚洲国产婷婷综合在线精品| 99精品欧美一区二区蜜桃免费 | 亚洲欧美日韩系列| 成人在线视频一区二区| 精品国产人成亚洲区| 日本在线不卡视频一二三区| 在线观看视频91| 亚洲精品高清视频在线观看| 99久久精品国产观看| 国产精品欧美极品| 国产成人精品影院| 久久午夜羞羞影院免费观看| 精品一区二区影视| 欧美videos大乳护士334| 琪琪一区二区三区| 91精品国产综合久久久久久| 午夜av一区二区三区| 欧美色区777第一页| 一区二区三区日韩欧美精品| 色综合欧美在线视频区| 亚洲柠檬福利资源导航| 日本乱人伦一区| 亚洲制服丝袜av| 欧美另类z0zxhd电影| 日本亚洲天堂网| 日韩亚洲欧美成人一区| 久久精品国产成人一区二区三区 | 成人激情小说乱人伦| 中文字幕一区二区三区在线播放| 成人国产视频在线观看| 亚洲婷婷综合久久一本伊一区| 99热这里都是精品| 亚洲免费电影在线| 欧洲精品在线观看| 午夜精品国产更新| 日韩精品专区在线影院重磅| 国产福利一区二区三区在线视频| 欧美国产精品v| 91视频一区二区| 丝袜美腿亚洲一区二区图片| 日韩精品一区二区三区老鸭窝| 国产专区欧美精品| 中文字幕精品在线不卡| 色综合天天综合给合国产| 亚洲国产视频网站| 欧美一卡2卡三卡4卡5免费| 国产中文字幕精品| 亚洲欧美日韩电影| 91精品国产综合久久久久久漫画| 国产一区在线不卡| 日韩伦理免费电影| 欧美一区二区国产| 成人v精品蜜桃久久一区| 亚洲国产美女搞黄色| 欧美成人女星排名| 91小视频免费观看| 日韩成人午夜精品|