class_body
{ "{"
field_declaration
modifiers
private "private"
type_identifier "CpioArchiveEntry"
variable_declarator
identifier "cpioEntry"
; ";"
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "closed"
= "="
false "false"
; ";"
field_declaration
modifiers
private "private"
boolean_type "boolean"
variable_declarator
identifier "finished"
; ";"
field_declaration
modifiers
private "private"
integral_type
short "short"
variable_declarator
identifier "entryFormat"
= "="
identifier "FORMAT_NEW"
; ";"
field_declaration
modifiers
private "private"
final "final"
type_identifier "HashMap"
variable_declarator
identifier "names"
= "="
object_creation_expression
new "new"
type_identifier "HashMap"
argument_list
( "("
) ")"
; ";"
field_declaration
modifiers
private "private"
integral_type
long "long"
variable_declarator
identifier "crc"
= "="
decimal_integer_literal "0"
; ";"
field_declaration
modifiers
private "private"
integral_type
long "long"
variable_declarator
identifier "written"
; ";"
field_declaration
modifiers
private "private"
final "final"
type_identifier "OutputStream"
variable_declarator
identifier "out"
; ";"
block_comment "/**\n * Construct the cpio output stream with a specified"...
constructor_declaration (+45 nodes collapsed)
block_comment "/**\n * Construct the cpio output stream. The format for "...
constructor_declaration (+24 nodes collapsed)
block_comment "/**\n * Check to make sure that this stream has not been "...
method_declaration (+39 nodes collapsed)
block_comment "/**\n * Set a default header format. This will be used if"...
method_declaration (+84 nodes collapsed)
block_comment "/**\n * Begins writing a new CPIO file entry and position"...
method_declaration (+198 nodes collapsed)
method_declaration (+167 nodes collapsed)
method_declaration (+310 nodes collapsed)
method_declaration (+222 nodes collapsed)
method_declaration (+262 nodes collapsed)
block_comment "/*(non-Javadoc)\n * \n * @see\n * org.apache.common"...
method_declaration (+272 nodes collapsed)
block_comment "/**\n * Writes an array of bytes to the current CPIO entr"...
method_declaration (+257 nodes collapsed)
block_comment "/**\n * Finishes writing the contents of the CPIO output "...
method_declaration (+136 nodes collapsed)
block_comment "/**\n * Closes the CPIO output stream as well as the stre"...
method_declaration
modifiers
public "public"
void_type "void"
identifier "close"
formal_parameters
( "("
) ")"
throws
throws "throws"
type_identifier "IOException"
block
{ "{"
if_statement
if "if"
parenthesized_expression
( "("
unary_expression
! "!"
field_access
this "this"
. "."
identifier "closed"
) ")"
block
{ "{"
expression_statement
method_invocation
super "super"
. "."
identifier "close"
argument_list
( "("
) ")"
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "closed"
= "="
true "true"
; ";"
} "}"
} "}"
method_declaration (+89 nodes collapsed)
method_declaration (+65 nodes collapsed)
method_declaration (+258 nodes collapsed)
method_declaration (+45 nodes collapsed)
block_comment "/*\n * (non-Javadoc)\n * \n * @see\n * org.apach"...
method_declaration (+31 nodes collapsed)
block_comment "/*\n * (non-Javadoc)\n * \n * @see java.io.OutputSt"...
method_declaration (+28 nodes collapsed)
} "}"