Main Page
Class Hierarchy
Compound List
File List
Compound Members
File Members
jhl_Unit Class Reference
#include <
jhl_unit.h
>
List of all members.
Public Methods
jhl_Unit
(
jvm_Classfile
* cf)
~jhl_Unit
()
void
init
(
jvm_Classfile
* cf)
bool
is_public
() const
bool
is_final
() const
bool
is_super
() const
bool
is_interface
() const
bool
is_abstract
() const
bool
is_class
() const
bool
is_root
() const
bool
is_interfaceimplemented
(jhl_Unit* iface) const
bool
has_sourcefile
() const
bool
has_method
(
jhl_Name
* mn,
jhl_MethodType
* mt) const
jhl_Method
*
get_method
(
jhl_Name
* mn,
jhl_MethodType
* mt) const
bool
has_clinit
() const
jhl_Method
*
get_clinit
() const
jhl_Unit*
get_clinit_super
()
jhl_AccessFlags
*
access_flags
() const
jhl_FQName
*
name
() const
jvm_Utf8Constant
*
utf8_name
() const
char*
char_name
() const
jhl_Unit*
super_class
() const
jhl_Array
<jhl_Unit>*
interfaces
() const
jhl_Array
<
jhl_Field
>*
fields
() const
jhl_Array
<
jhl_Method
>*
methods
() const
jhl_Name
*
sourcefile
() const
jvm_Classfile
*
classfile
() const
jhl_Array
<jhl_Unit>*
children
() const
bool
is_leaf_class
() const
long
left_value_number
() const
long
right_value_number
() const
jhl_Method
*
lookupMethod
(
jhl_Name
* m,
jhl_MethodType
* sig) const
jhl_Field
*
lookupField
(
jhl_Name
* f) const
jhl_Method
*
findMethod
(
jhl_Name
* m) const
void
set_access_flags
(
jhl_AccessFlags
* a)
void
set_name
(
jhl_FQName
* n)
void
set_super_class
(jhl_Unit* u)
void
set_interfaces
(
jhl_Array
<jhl_Unit>* i)
void
set_fields
(
jhl_Array
<
jhl_Field
>* f)
void
set_methods
(
jhl_Array
<
jhl_Method
>* m)
void
set_sourcefile
(
jhl_Name
* n)
void
set_classfile
(
jvm_Classfile
* cf)
void
set_left_value_number
(long l)
void
set_right_value_number
(long r)
bool
verify
() const
void
print
() const
void
print_filepath
() const
Friends
ostream&
operator<<
(ostream& os, jhl_Unit* u)
Detailed Description
Constructor & Destructor Documentation
jhl_Unit::jhl_Unit (
jvm_Classfile
*
cf
)
jhl_Unit::~jhl_Unit ()
Member Function Documentation
jhl_AccessFlags
* jhl_Unit::access_flags () const
[inline]
char * jhl_Unit::char_name () const
jhl_Array
<jhl_Unit>* jhl_Unit::children () const
jvm_Classfile
* jhl_Unit::classfile () const
[inline]
jhl_Array
<
jhl_Field
>* jhl_Unit::fields<
jhl_Field
> () const
[inline]
jhl_Method
* jhl_Unit::findMethod (
jhl_Name
*
m
) const
jhl_Method
* jhl_Unit::get_clinit () const
jhl_Unit * jhl_Unit::get_clinit_super ()
jhl_Method
* jhl_Unit::get_method (
jhl_Name
*
mn
,
jhl_MethodType
*
mt
) const
bool jhl_Unit::has_clinit () const
bool jhl_Unit::has_method (
jhl_Name
*
mn
,
jhl_MethodType
*
mt
) const
bool jhl_Unit::has_sourcefile () const
[inline]
void jhl_Unit::init (
jvm_Classfile
*
cf
)
jhl_Array
<jhl_Unit>* jhl_Unit::interfaces<jhl_Unit> () const
[inline]
bool jhl_Unit::is_abstract () const
[inline]
bool jhl_Unit::is_class () const
[inline]
bool jhl_Unit::is_final () const
[inline]
bool jhl_Unit::is_interface () const
[inline]
bool jhl_Unit::is_interfaceimplemented (
jhl_Unit *
iface
) const
bool jhl_Unit::is_leaf_class () const
[inline]
bool jhl_Unit::is_public () const
[inline]
bool jhl_Unit::is_root () const
[inline]
bool jhl_Unit::is_super () const
[inline]
long jhl_Unit::left_value_number () const
[inline]
jhl_Field
* jhl_Unit::lookupField (
jhl_Name
*
f
) const
jhl_Method
* jhl_Unit::lookupMethod (
jhl_Name
*
m
,
jhl_MethodType
*
sig
) const
jhl_Array
<
jhl_Method
>* jhl_Unit::methods<
jhl_Method
> () const
[inline]
jhl_FQName
* jhl_Unit::name (
void) const
[inline]
void jhl_Unit::print () const
void jhl_Unit::print_filepath () const
long jhl_Unit::right_value_number () const
[inline]
void jhl_Unit::set_access_flags (
jhl_AccessFlags
*
a
)
[inline]
void jhl_Unit::set_classfile (
jvm_Classfile
*
cf
)
[inline]
void jhl_Unit::set_fields (
jhl_Array
<
jhl_Field
>*
f
)
[inline]
void jhl_Unit::set_interfaces (
jhl_Array
<jhl_Unit>*
i
)
[inline]
void jhl_Unit::set_left_value_number (
long
l
)
[inline]
void jhl_Unit::set_methods (
jhl_Array
<
jhl_Method
>*
m
)
[inline]
void jhl_Unit::set_name (
jhl_FQName
*
n
)
[inline]
void jhl_Unit::set_right_value_number (
long
r
)
[inline]
void jhl_Unit::set_sourcefile (
jhl_Name
*
n
)
[inline]
void jhl_Unit::set_super_class (
jhl_Unit *
u
)
[inline]
jhl_Name
* jhl_Unit::sourcefile () const
[inline]
jhl_Unit * jhl_Unit::super_class () const
[inline]
jvm_Utf8Constant
* jhl_Unit::utf8_name () const
bool jhl_Unit::verify () const
Friends And Related Function Documentation
ostream& operator<< (
ostream &
str
,
jhl_Unit *
u
)
[friend]
The documentation for this class was generated from the following files:
nci/suif/suif2b/j2s/metaloader/
jhl_unit.h
nci/suif/suif2b/j2s/metaloader/
jhl_unit.cc
Generated at Mon Jul 31 13:43:48 2000 for NCI SUIF by
1.1.2 written by
Dimitri van Heesch
, © 1997-2000