Main Page | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

attribute.h File Reference


Detailed Description

Attribute management functions for the JVM.

Control

$URL: https://svn.apache.org/path/name/attribute.h $ $Id: attribute.h 0 09/28/2005 dlydick $

Copyright 2005 The Apache Software Foundation or its licensors, as applicable.

Licensed under the Apache License, Version 2.0 ("the License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and limitations under the License.

Version:
$LastChangedRevision: 0 $
Date:
$LastChangedDate: 09/28/2005 $
Author:
$LastChangedBy: dlydick $ Original code contributed by Daniel Lydick on 09/28/2005.

Reference

Definition in file attribute.h.

Go to the source code of this file.

Functions

 ARCH_COPYRIGHT_APACHE (attribute, h,"$URL: https://svn.apache.org/path/name/attribute.h $ $Id: attribute.h 0 09/28/2005 dlydick $")
jvm_attribute_index attribute_find_in_class_by_cp_entry (jvm_class_index clsidx, cp_info_dup *atrname)
 Locate by constant_pool entry the attribute_info index for an attribute in a class attribute area.
jvm_attribute_index attribute_find_in_class_by_enum (jvm_class_index clsidx, rint atrenum)
jvm_attribute_index attribute_find_in_field_by_cp_entry (jvm_class_index clsidx, jvm_field_index fldidx, cp_info_dup *atrname)
 Locate by constant_pool entry the attribute_info index for an attribute in a field attribute area.
jvm_attribute_index attribute_find_in_field_by_enum (jvm_class_index clsidx, jvm_field_index fldidx, rint atrenum)
jvm_attribute_index attribute_find_in_method_by_cp_entry (jvm_class_index clsidx, jvm_method_index mthidx, cp_info_dup *atrname)
 Locate by constant_pool entry the attribute_info index for an attribute in a method attribute area.
jvm_attribute_index attribute_find_in_method_by_enum (jvm_class_index clsidx, jvm_method_index mthidx, rint atrenum)


Function Documentation

ARCH_COPYRIGHT_APACHE attribute  ,
,
"$URL: https://svn.apache.org/path/name/attribute.h $ $Id: attribute.h 0 09/28/2005 dlydick $" 
 

jvm_attribute_index attribute_find_in_field_by_cp_entry jvm_class_index  clsidx,
jvm_field_index  fldidx,
cp_info_dup atrname
 

Locate by constant_pool entry the attribute_info index for an attribute in a field attribute area.

Parameters:
clsidx Class index of class whose field is to be searched for an attribute.
fldidx Field index of field to search.
atrname UTF8 constant_pool entry of name of attribute name to locate.
Returns:
attribute table index of this attribute in field, or jvm_attribute_index_bad if not found.

Definition at line 166 of file attribute.c.

References attribute_name_common_find(), field_info::attributes, field_info::attributes_count, CLASS_OBJECT_LINKAGE, ClassFile::fields, ClassFile::fields_count, jvm_attribute_index_bad, and jvm_class_index_null.

jvm_attribute_index attribute_find_in_field_by_enum jvm_class_index  clsidx,
jvm_field_index  fldidx,
rint  atrenum
 

jvm_attribute_index attribute_find_in_method_by_cp_entry jvm_class_index  clsidx,
jvm_method_index  mthidx,
cp_info_dup atrname
 

Locate by constant_pool entry the attribute_info index for an attribute in a method attribute area.

Parameters:
clsidx Class index of class whose method is to be searched for an attribute.
mthidx Method index of method to search.
atrname UTF8 constant_pool entry of name of attribute name to locate.
Returns:
attribute table index of this attribute in method, or jvm_attribute_index_bad if not found.

Definition at line 260 of file attribute.c.

References attribute_name_common_find(), method_info::attributes, method_info::attributes_count, CLASS_OBJECT_LINKAGE, jvm_attribute_index_bad, jvm_class_index_null, ClassFile::methods, and ClassFile::methods_count.

jvm_attribute_index attribute_find_in_method_by_enum jvm_class_index  clsidx,
jvm_method_index  mthidx,
rint  atrenum
 

jvm_attribute_index attribute_find_in_class_by_cp_entry jvm_class_index  clsidx,
cp_info_dup atrname
 

Locate by constant_pool entry the attribute_info index for an attribute in a class attribute area.

Parameters:
clsidx Class index of class be searched for an attribute.
atrname UTF8 constant_pool entry of name of attribute name to locate.
Returns:
attribute table index of this attribute in class, or jvm_attribute_index_bad if not found.

Definition at line 352 of file attribute.c.

References attribute_name_common_find(), ClassFile::attributes, ClassFile::attributes_count, CLASS_OBJECT_LINKAGE, jvm_attribute_index_bad, and jvm_class_index_null.

jvm_attribute_index attribute_find_in_class_by_enum jvm_class_index  clsidx,
rint  atrenum
 


Generated on Fri Sep 30 18:49:27 2005 by  doxygen 1.4.4