All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----harpoon.ClassFile.Raw.Attribute.InnerClass
InnerClass
object describes one encoded inner
class name, its defining scope, its simple name, and a bitmask
of the originally declared, untransformed access flags.
access_flags
.
CONSTANT_Class_info
pointer to class with encoded name.
CONSTANT_Utf8_info
pointer to the simple name of the
encoded inner class.
CONSTANT_Class_info
pointer to the defining scope for
the inner class.
protected ClassFile parent
public int inner_class_info_index
CONSTANT_Class_info
pointer to class with encoded name.
public int outer_class_info_index
CONSTANT_Class_info
pointer to the defining scope for
the inner class.
If the inner class is not a member (of an outer class), then
the outer_class_info_index
is zero.
public int inner_name_index
CONSTANT_Utf8_info
pointer to the simple name of the
encoded inner class.
If the inner class is anonymous, its inner_name_index
is zero.
ERRATA: although the specification dictates the
above, current compilers seem to generate a pointer to a name
string of ""
(that is, a zero-length string) instead.
public AccessFlags inner_class_access_flags
access_flags
.
public InnerClass(ClassFile parent, int inner_class_info_index, int outer_class_info_index, int inner_name_index, AccessFlags inner_class_access_flags)
public void write(ClassDataOutputStream out) throws IOException
public ConstantClass inner_class_info()
public ConstantClass outer_class_info()
public ConstantUtf8 inner_name_index()
public String inner_name()
public String toString()
All Packages Class Hierarchy This Package Previous Next Index