### Question:
PlatypusFilesSupport { public static String getAnnotationValue(String aContent, String aAnnotationName) { Pattern pattern = Pattern.compile(getAnnotatedDocRegexStr(aAnnotationName)); Matcher matcher = pattern.matcher(aContent); if (matcher.find()) { String docComment = matcher.group(); String[] lines = docComment.split(System.getProperty(ClientConstants.LINE_SEPARATOR_PROP_NAME)); for (String line : lines) { if (line.toLowerCase().contains(aAnnotationName.toLowerCase())) { String[] tokens = line.split("\\s"); for (int i = 0; i < tokens.length; i++) { if (tokens[i].toLowerCase().endsWith(aAnnotationName.toLowerCase())) { if (i < tokens.length - 1) { return tokens[i + 1]; } else { return ""; } } } } } } return null; }  static String getAnnotationValue(String aContent, String aAnnotationName); static String replaceAnnotationValue(String aContent, String aAnnotationName, String aValue);  }### Answer:
@Test public void testGetAnnotationValue() { System.out.println("getAnnotationValue"); String aContent = ""; String aAnnotationName = "@name"; String expResult = "2222222222222222222"; String result = PlatypusFilesSupport.getAnnotationValue(aContent, aAnnotationName); assertEquals(expResult, result); aContent = " "; result = PlatypusFilesSupport.getAnnotationValue(aContent, aAnnotationName); assertEquals(expResult, result); aContent = " "+CRLF + ""; result = PlatypusFilesSupport.getAnnotationValue(aContent, aAnnotationName); assertEquals(expResult, result); aContent = " function test(){} "+CRLF + ""; expResult = null; result = PlatypusFilesSupport.getAnnotationValue(aContent, aAnnotationName); assertEquals(expResult, result); }