JVM
attributes.h File Reference
#include <stdint.h>
#include "javaclass.h"
Include dependency graph for attributes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  attribute_info
 
struct  att_SourceFile_info
 
struct  att_ConstantValue_info
 
struct  InnerClassInfo
 
struct  att_InnerClasses_info
 
struct  LineNumberTableEntry
 
struct  att_LineNumberTable_info
 
struct  ExceptionTableEntry
 
struct  att_Code_info
 
struct  att_Exceptions_info
 

Typedefs

typedef struct attribute_info attribute_info
 

Enumerations

enum  AttributeType {
  ATTR_Unknown = 0, ATTR_ConstantValue, ATTR_SourceFile, ATTR_InnerClasses,
  ATTR_Code, ATTR_LineNumberTable, ATTR_Exceptions, ATTR_Deprecated
}
 

Functions

char readAttribute (JavaClass *jc, attribute_info *entry)
 
void freeAttributeInfo (attribute_info *entry)
 
void printAttribute (JavaClass *jc, attribute_info *entry, int identationLevel)
 
void printAllAttributes (JavaClass *jc)
 
attribute_infogetAttributeByType (attribute_info *attributes, uint16_t attributes_length, enum AttributeType type)
 

Typedef Documentation

§ attribute_info

Enumeration Type Documentation

§ AttributeType

Enumerator
ATTR_Unknown 
ATTR_ConstantValue 
ATTR_SourceFile 
ATTR_InnerClasses 
ATTR_Code 
ATTR_LineNumberTable 
ATTR_Exceptions 
ATTR_Deprecated 

Function Documentation

§ freeAttributeInfo()

void freeAttributeInfo ( attribute_info entry)
Here is the caller graph for this function:

§ getAttributeByType()

attribute_info* getAttributeByType ( attribute_info attributes,
uint16_t  attributes_length,
enum AttributeType  type 
)
Here is the caller graph for this function:

§ printAllAttributes()

void printAllAttributes ( JavaClass jc)
Here is the call graph for this function:
Here is the caller graph for this function:

§ printAttribute()

void printAttribute ( JavaClass jc,
attribute_info entry,
int  identationLevel 
)
Here is the call graph for this function:
Here is the caller graph for this function:

§ readAttribute()

char readAttribute ( JavaClass jc,
attribute_info entry 
)
Here is the call graph for this function:
Here is the caller graph for this function: