return false;
}
static PropertyMirror toProperty(ExecutableElement element) {
assert element != null;
JavaName name = JavaName.of(element.getSimpleName().toString());
List<String> segments = name.getSegments();
if (segments.size() <= 2) {
return null;
}
if (segments.get(0).equals("get") == false
|| segments.get(segments.size() - 1).equals("option") == false) {
return null;
}
name.removeLast();
name.removeFirst();
String propertyName = name.toMemberName();
return new DefaultPropertyMirror(propertyName, element);
}