com.jeffpalm.basic.bytecode.base
Class field_or_method_info

java.lang.Object
  extended by com.jeffpalm.basic.bytecode.base.Info
      extended by com.jeffpalm.basic.bytecode.base.field_or_method_info
All Implemented Interfaces:
ConstantFlags, Ifield_or_method_info
Direct Known Subclasses:
field_info, method_info

public abstract class field_or_method_info
extends Info
implements Ifield_or_method_info


Field Summary
 u2 access_flags
           
 attribute_info[] attributes
           
 u2 attributes_count
           
 u2 descriptor_index
           
 u2 name_index
           
 
Fields inherited from interface com.jeffpalm.basic.bytecode.base.ConstantFlags
CONSTANT_Class, CONSTANT_Double, CONSTANT_Fieldref, CONSTANT_Float, CONSTANT_Integer, CONSTANT_InterfaceMethodref, CONSTANT_Long, CONSTANT_Methodref, CONSTANT_NameAndType, CONSTANT_String, CONSTANT_Utf8
 
Constructor Summary
field_or_method_info(u2 access_flags, u2 name_index, u2 descriptor_index, u2 attributes_count, attribute_info[] attributes)
           
 
Method Summary
 Iu2 access_flags()
           
protected abstract  java.lang.String access_flagsString()
           
 Iu2 attributes_count()
           
 Iattribute_info[] attributes()
           
 Iu2 descriptor_index()
           
 Iu2 name_index()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

access_flags

public u2 access_flags

name_index

public u2 name_index

descriptor_index

public u2 descriptor_index

attributes_count

public u2 attributes_count

attributes

public attribute_info[] attributes
Constructor Detail

field_or_method_info

public field_or_method_info(u2 access_flags,
                            u2 name_index,
                            u2 descriptor_index,
                            u2 attributes_count,
                            attribute_info[] attributes)
Method Detail

access_flagsString

protected abstract java.lang.String access_flagsString()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

access_flags

public Iu2 access_flags()
Specified by:
access_flags in interface Ifield_or_method_info

name_index

public Iu2 name_index()
Specified by:
name_index in interface Ifield_or_method_info

descriptor_index

public Iu2 descriptor_index()
Specified by:
descriptor_index in interface Ifield_or_method_info

attributes_count

public Iu2 attributes_count()
Specified by:
attributes_count in interface Ifield_or_method_info

attributes

public Iattribute_info[] attributes()
Specified by:
attributes in interface Ifield_or_method_info