class_body
{ "{"
field_declaration
modifiers
private "private"
type_identifier "CpioArchiveEntry"
variable_declarator
identifier "entry"
; ";"
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"
; ";"
block_comment "/**\n * See {@link CpioArchiveEntry#setFormat(short)} for"...
field_declaration
modifiers
private "private"
final "final"
integral_type
short "short"
variable_declarator
identifier "entryFormat"
; ";"
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 (+98 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 * Begins writing a new CPIO file entry and position"...
method_declaration (+231 nodes collapsed)
method_declaration (+170 nodes collapsed)
method_declaration (+290 nodes collapsed)
method_declaration (+222 nodes collapsed)
method_declaration (+242 nodes collapsed)
block_comment "/*(non-Javadoc)\n * \n * @see\n * org.apache.common"...
method_declaration (+190 nodes collapsed)
block_comment "/**\n * Writes an array of bytes to the current CPIO entr"...
method_declaration (+251 nodes collapsed)
block_comment "/**\n * Finishes writing the contents of the CPIO output "...
method_declaration (+126 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
this "this"
. "."
identifier "finish"
argument_list
( "("
) ")"
; ";"
expression_statement
method_invocation
identifier "out"
. "."
identifier "close"
argument_list
( "("
) ")"
; ";"
expression_statement
assignment_expression
field_access
this "this"
. "."
identifier "closed"
= "="
true "true"
; ";"
} "}"
} "}"
method_declaration (+58 nodes collapsed)
method_declaration (+65 nodes collapsed)
method_declaration (+259 nodes collapsed)
method_declaration (+46 nodes collapsed)
method_declaration (+33 nodes collapsed)
} "}"