FileDocCategorySizeDatePackage
InnerClass_info.javaAPI DocAndroid 1.5 API2930Wed May 06 22:41:16 BST 2009com.vladium.jcd.cls.attribute

InnerClass_info

public final class InnerClass_info extends Object implements Cloneable, com.vladium.jcd.compiler.IClassFormatOutput
author
Vlad Roubtsov, (C) 2003

Fields Summary
public int
m_outer_class_index
public int
m_inner_class_index
public int
m_inner_name_index
public int
m_inner_access_flags
Constructors Summary
public InnerClass_info(int outer_class_index, int inner_class_index, int inner_name_index, int inner_access_flags)

        m_outer_class_index = outer_class_index;
        m_inner_class_index = inner_class_index;
        m_inner_name_index = inner_name_index;
        m_inner_access_flags = inner_access_flags;
    
InnerClass_info(com.vladium.jcd.lib.UDataInputStream bytes)

        m_inner_class_index = bytes.readU2 ();
        m_outer_class_index = bytes.readU2 ();
        m_inner_name_index = bytes.readU2 ();
        m_inner_access_flags = bytes.readU2 ();
    
Methods Summary
public java.lang.Objectclone()
Performs a deep copy.

        try
        {    
            return super.clone ();
        }
        catch (CloneNotSupportedException e)
        {
            throw new InternalError (e.toString ());
        }        
    
public java.lang.StringtoString()

        return "innerclass_info: [m_outer_class_index = " + m_outer_class_index + ", m_inner_class_index = " + m_inner_class_index +
            ", m_inner_name_index = " + m_inner_name_index + ", m_inner_access_flags = " + m_inner_access_flags + "]"; 
    
public voidwriteInClassFormat(com.vladium.jcd.lib.UDataOutputStream out)

        out.writeU2 (m_inner_class_index);
        out.writeU2 (m_outer_class_index);
        out.writeU2 (m_inner_name_index);
        out.writeU2 (m_inner_access_flags);