org.extendj.ast
class AbstractClassfileParser

General Info

Type Hierarchy:
java.lang.Object
  extended by org.extendj.ast.AbstractClassfileParser
Direct Known Subclasses:
BytecodeParser
static class AbstractClassfileParser.ClassfileFormatError
           

Description

Source
Declared in /home/jesper/git/extendj/java4/frontend/ClassfileParser.jrag at line 34
Aspect
ClassfileParser

Member Filters

API level:

Aspect:

Constructors

public AbstractClassfileParser(java.io.InputStream in,
                               java.lang.String name)

Methods

public abstract boolean outerClassNameEquals(java.lang.String name)
public final int next()
               throws java.io.IOException
public final int u1()
             throws java.io.IOException
public final int u2()
             throws java.io.IOException
public final int u4()
             throws java.io.IOException
public final int readInt()
                  throws java.io.IOException
public final float readFloat()
                      throws java.io.IOException
public final long readLong()
                    throws java.io.IOException
public final double readDouble()
                        throws java.io.IOException
public final java.lang.String readUTF()
                               throws java.io.IOException
public final void skip(int length)
                throws java.io.IOException
public void error(java.lang.String msg)
           throws AbstractClassfileParser.ClassfileFormatError
public final void print(java.lang.String s)
public final void println(java.lang.String s)
public final void println()
public final void parseMagic()
                      throws java.io.IOException
public final int parseMinor()
                     throws java.io.IOException
public final int parseMajor()
                     throws java.io.IOException
public final java.lang.String parseThisClass()
                                      throws java.io.IOException
public final Access parseSuperClass()
                             throws java.io.IOException
public final List parseInterfaces(List list)
                           throws java.io.IOException
public void parseFields(TypeDecl typeDecl)
                 throws java.io.IOException
public static Modifiers modifiers(int flags)
public boolean validConstantPoolIndex(int index)
public org.extendj.ast.CONSTANT_Info getCONSTANT_Info(int index)
public org.extendj.ast.CONSTANT_Utf8_Info getCONSTANT_Utf8_Info(int index)
public org.extendj.ast.CONSTANT_Class_Info getCONSTANT_Class_Info(int index)
public void parseConstantPool()
                       throws java.io.IOException
protected abstract void parseConstantPoolEntry(int i)
                                        throws java.io.IOException

Fields

public static final boolean VERBOSE
protected static final int CONSTANT_Class
protected static final int CONSTANT_FieldRef
protected static final int CONSTANT_MethodRef
protected static final int CONSTANT_InterfaceMethodRef
protected static final int CONSTANT_String
protected static final int CONSTANT_Integer
protected static final int CONSTANT_Float
protected static final int CONSTANT_Long
protected static final int CONSTANT_Double
protected static final int CONSTANT_NameAndType
protected static final int CONSTANT_Utf8
public final java.lang.String name
public org.extendj.ast.CONSTANT_Class_Info classInfo
public org.extendj.ast.CONSTANT_Info[] constantPool
public boolean isInnerClass

Inherited Members

Methods inherited from class java.lang.Object

clone
equals
finalize
getClass
hashCode
notify
notifyAll
toString
wait
wait
wait