private boolean isValidComponentName(String name){
  if (name.isEmpty())   return false;
  if (name.equals("true") || name.equals("false"))   return false;
  if (Character.isDigit(name.charAt(0)))   return false;
  if (name.startsWith("."))   return true;
  return false;
}

private boolean isValidComponentName ( String name ) { if ( name . isEmpty ( ) ) return false ; if ( name . equals ( "true" ) || name . equals ( "false" ) ) return false ; if ( Character . isDigit ( name . charAt ( 0 ) ) ) return false ; if ( name . startsWith ( "." ) ) return true ; return false ; }
checks if the specified name is a valid android component name
