boolean function ( String arg0 , Kind arg1 ) { String loc0 = arg0 + arg1 . extension ; return arg1 . equals ( getKind ( ) ) && ( loc0 . equals ( toUri ( ) . getPath ( ) ) || toUri ( ) . getPath ( ) . endsWith ( "srini_string" + loc0 ) ) ; }
this implementation compares the path of its uri to the given simple name . this method returns true if the given kind is equal to the kind of this object , and if the path is equal to simplename + kind.extension or if it ends with '' / '' + simplename + kind.extension . this method calls #getkind and #touri anddoes not access the fields #uri and #kind directly . subclasses can change this behavior as long as the contract of javafileobject is obeyed . concode_field_sep Kind kind concode_elem_sep URI uri concode_field_sep String getName concode_elem_sep long getLastModified concode_elem_sep NestingKind getNestingKind concode_elem_sep URI toUri concode_elem_sep Writer openWriter concode_elem_sep Kind getKind concode_elem_sep CharSequence getCharContent concode_elem_sep boolean delete concode_elem_sep Modifier getAccessLevel concode_elem_sep OutputStream openOutputStream concode_elem_sep Reader openReader concode_elem_sep String toString concode_elem_sep InputStream openInputStream