class_body
{ "{"
field_declaration
modifiers
private "private"
static "static"
final "final"
type_identifier "String"
variable_declarator
identifier "TAG"
= "="
method_invocation
class_literal
type_identifier "FileDataStorageManager"
. "."
class "class"
. "."
identifier "getSimpleName"
argument_list
( "("
) ")"
; ";"
field_declaration
modifiers
private "private"
static "static"
final "final"
type_identifier "String"
variable_declarator
identifier "AND"
= "="
string_literal
" "\""
string_fragment " = ? AND "
" "\""
; ";"
field_declaration
modifiers
private "private"
static "static"
final "final"
type_identifier "String"
variable_declarator
identifier "FAILED_TO_INSERT_MSG"
= "="
string_literal
" "\""
string_fragment "Fail to insert insert file to database "
" "\""
; ";"
field_declaration
modifiers
private "private"
static "static"
final "final"
type_identifier "String"
variable_declarator
identifier "SENDING_TO_FILECONTENTPROVIDER_MSG"
= "="
string_literal
" "\""
string_fragment "Sending %d operations to FileContentProvider"
" "\""
; ";"
field_declaration
modifiers
private "private"
static "static"
final "final"
type_identifier "String"
variable_declarator
identifier "EXCEPTION_MSG"
= "="
string_literal
" "\""
string_fragment "Exception in batch of operations "
" "\""
; ";"
field_declaration
modifiers
public "public"
static "static"
final "final"
integral_type
int "int"
variable_declarator
identifier "ROOT_PARENT_ID"
= "="
decimal_integer_literal "0"
; ";"
field_declaration
modifiers
private "private"
static "static"
final "final"
type_identifier "String"
variable_declarator
identifier "JSON_NULL_STRING"
= "="
string_literal
" "\""
string_fragment "null"
" "\""
; ";"
field_declaration
modifiers
private "private"
static "static"
final "final"
type_identifier "String"
variable_declarator
identifier "JSON_EMPTY_ARRAY"
= "="
string_literal
" "\""
string_fragment "[]"
" "\""
; ";"
field_declaration
modifiers
private "private"
final "final"
type_identifier "ContentResolver"
variable_declarator
identifier "contentResolver"
; ";"
field_declaration
modifiers
private "private"
final "final"
type_identifier "ContentProviderClient"
variable_declarator
identifier "contentProviderClient"
; ";"
field_declaration
modifiers
private "private"
final "final"
type_identifier "User"
variable_declarator
identifier "user"
; ";"
field_declaration (+29 nodes collapsed)
field_declaration (+29 nodes collapsed)
field_declaration (+29 nodes collapsed)
field_declaration (+29 nodes collapsed)
field_declaration
modifiers
private "private"
final "final"
type_identifier "Gson"
variable_declarator
identifier "gson"
= "="
object_creation_expression
new "new"
type_identifier "Gson"
argument_list
( "("
) ")"
; ";"
field_declaration
modifiers
public "public"
final "final"
type_identifier "OfflineOperationsRepositoryType"
variable_declarator
identifier "offlineOperationsRepository"
; ";"
field_declaration
modifiers
private "private"
final "final"
static "static"
integral_type
int "int"
variable_declarator
identifier "DEFAULT_CURSOR_INT_VALUE"
= "="
unary_expression
- "-"
decimal_integer_literal "1"
; ";"
constructor_declaration (+56 nodes collapsed)
constructor_declaration (+56 nodes collapsed)
block_comment "/**\n * Use getFileByEncryptedRemotePath() or getFileByDe"...
method_declaration (+26 nodes collapsed)
method_declaration (+28 nodes collapsed)
method_declaration (+31 nodes collapsed)
method_declaration
modifiers
marker_annotation
@ "@"
identifier "Nullable"
public "public"
type_identifier "OCFile"
identifier "getFileByRemotePath"
formal_parameters
( "("
formal_parameter
type_identifier "String"
identifier "path"
) ")"
block
{ "{"
local_variable_declaration
type_identifier "OCFile"
variable_declarator
identifier "file"
= "="
method_invocation
identifier "getFileByDecryptedRemotePath"
argument_list
( "("
identifier "path"
) ")"
; ";"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
identifier "file"
== "=="
null_literal "null"
) ")"
block
{ "{"
expression_statement
assignment_expression
identifier "file"
= "="
method_invocation
identifier "getFileByDecryptedRemotePath"
argument_list
( "("
binary_expression
identifier "path"
+ "+"
field_access
identifier "OCFile"
. "."
identifier "PATH_SEPARATOR"
) ")"
; ";"
} "}"
return_statement
return "return"
identifier "file"
; ";"
} "}"
method_declaration (+342 nodes collapsed)
method_declaration (+31 nodes collapsed)
method_declaration (+181 nodes collapsed)
method_declaration (+87 nodes collapsed)
method_declaration (+86 nodes collapsed)
method_declaration (+24 nodes collapsed)
method_declaration (+178 nodes collapsed)
method_declaration (+95 nodes collapsed)
method_declaration (+91 nodes collapsed)
method_declaration (+186 nodes collapsed)
method_declaration (+253 nodes collapsed)
method_declaration (+211 nodes collapsed)
method_declaration (+135 nodes collapsed)
method_declaration (+57 nodes collapsed)
method_declaration (+57 nodes collapsed)
method_declaration (+64 nodes collapsed)
method_declaration (+64 nodes collapsed)
method_declaration (+29 nodes collapsed)
method_declaration (+36 nodes collapsed)
method_declaration (+36 nodes collapsed)
method_declaration (+52 nodes collapsed)
method_declaration (+92 nodes collapsed)
method_declaration (+212 nodes collapsed)
method_declaration (+87 nodes collapsed)
method_declaration (+121 nodes collapsed)
method_declaration (+117 nodes collapsed)
method_declaration (+527 nodes collapsed)
block_comment "/**\n * Ensures that an {@link OCFile} and all of its par"...
method_declaration (+499 nodes collapsed)
method_declaration (+129 nodes collapsed)
method_declaration (+106 nodes collapsed)
method_declaration (+131 nodes collapsed)
block_comment "/**\n * Inserts or updates the list of files contained in"...
method_declaration (+1115 nodes collapsed)
block_comment "/**\n * Returns a {@link ContentValues} filled with value"...
method_declaration (+717 nodes collapsed)
block_comment "/**\n * Returns a {@link ContentValues} filled with value"...
method_declaration (+47 nodes collapsed)
block_comment "/**\n * Returns a {@link ContentValues} filled with value"...
method_declaration (+569 nodes collapsed)
method_declaration (+415 nodes collapsed)
method_declaration (+121 nodes collapsed)
method_declaration (+219 nodes collapsed)
method_declaration (+240 nodes collapsed)
method_declaration (+119 nodes collapsed)
block_comment "/**\n * Updates database and file system for a file or fo"...
method_declaration (+994 nodes collapsed)
method_declaration (+251 nodes collapsed)
block_comment "/**\n * This method does not require {@link FileDataStora"...
method_declaration (+483 nodes collapsed)
method_declaration (+151 nodes collapsed)
method_declaration (+65 nodes collapsed)
method_declaration (+51 nodes collapsed)
method_declaration (+30 nodes collapsed)
method_declaration (+30 nodes collapsed)
method_declaration (+32 nodes collapsed)
method_declaration (+1558 nodes collapsed)
method_declaration (+395 nodes collapsed)
block_comment "/**\n * Retrieves an stored {@link OCShare} given its id."...
method_declaration (+97 nodes collapsed)
block_comment "/**\n * Checks the existence of an stored {@link OCShare}"...
method_declaration (+36 nodes collapsed)
block_comment "/**\n * Checks the existance of an stored {@link OCShare}"...
method_declaration (+58 nodes collapsed)
block_comment "/**\n * Gets a {@link Cursor} for an stored {@link OCShar"...
method_declaration (+213 nodes collapsed)
block_comment "/**\n * Get first share bound to a file with a known path"...
method_declaration (+494 nodes collapsed)
method_declaration (+508 nodes collapsed)
line_comment "// test with null cursor?"
method_declaration (+460 nodes collapsed)
method_declaration (+101 nodes collapsed)
method_declaration (+115 nodes collapsed)
block_comment "/**\n * Retrieves an integer value from the specified col"...
method_declaration (+61 nodes collapsed)
method_declaration (+223 nodes collapsed)
method_declaration (+176 nodes collapsed)
method_declaration (+250 nodes collapsed)
block_comment "/**\n * Prepares a list of ContentProviderOperation inser"...
method_declaration (+179 nodes collapsed)
method_declaration (+191 nodes collapsed)
method_declaration (+116 nodes collapsed)
method_declaration (+198 nodes collapsed)
block_comment "/**\n * Prepare operations to insert or update files to s"...
method_declaration (+99 nodes collapsed)
method_declaration (+120 nodes collapsed)
method_declaration (+516 nodes collapsed)
method_declaration (+25 nodes collapsed)
method_declaration (+430 nodes collapsed)
method_declaration (+496 nodes collapsed)
method_declaration (+1389 nodes collapsed)
method_declaration (+388 nodes collapsed)
method_declaration (+1663 nodes collapsed)
method_declaration (+70 nodes collapsed)
method_declaration (+179 nodes collapsed)
method_declaration (+32 nodes collapsed)
method_declaration (+89 nodes collapsed)
method_declaration (+52 nodes collapsed)
method_declaration (+1526 nodes collapsed)
method_declaration (+165 nodes collapsed)
method_declaration (+147 nodes collapsed)
method_declaration (+30 nodes collapsed)
method_declaration (+178 nodes collapsed)
method_declaration (+411 nodes collapsed)
method_declaration (+189 nodes collapsed)
method_declaration (+44 nodes collapsed)
method_declaration (+88 nodes collapsed)
method_declaration (+182 nodes collapsed)
method_declaration (+147 nodes collapsed)
method_declaration (+94 nodes collapsed)
method_declaration (+100 nodes collapsed)
method_declaration (+36 nodes collapsed)
method_declaration (+37 nodes collapsed)
method_declaration (+37 nodes collapsed)
method_declaration (+43 nodes collapsed)
method_declaration
modifiers
public "public"
type_identifier "ContentResolver"
identifier "getContentResolver"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "contentResolver"
; ";"
} "}"
method_declaration
modifiers
public "public"
type_identifier "ContentProviderClient"
identifier "getContentProviderClient"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "contentProviderClient"
; ";"
} "}"
method_declaration
modifiers
public "public"
type_identifier "User"
identifier "getUser"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "user"
; ";"
} "}"
method_declaration (+24 nodes collapsed)
method_declaration (+102 nodes collapsed)
method_declaration (+135 nodes collapsed)
method_declaration (+106 nodes collapsed)
method_declaration (+50 nodes collapsed)
method_declaration (+28 nodes collapsed)
} "}"