assertTrue(fieldPattern.matchFieldType("java.lang.String[][]"));
assertFalse(fieldPattern.matchFieldType("java.lang.String[][][]"));
}
public void testMatchFieldType9() {
FieldPattern fieldPattern = Pattern.compileFieldPattern("String* m_field");
assertFalse(fieldPattern.matchFieldType(""));
// note: abbreviation not compatible with pattern matching
assertFalse(fieldPattern.matchFieldType("java.lang.StringBuffer"));
assertFalse(fieldPattern.matchFieldType("java.lang.String"));
assertTrue(fieldPattern.matchFieldType("String"));
assertTrue(fieldPattern.matchFieldType("StringBuffer"));
}