private void parseCustomTag() {
List<Expression> arguments = annotation.getArguments().getArguments();
if (arguments.size() == 1) {
Expression nameExpression = arguments.get(0);
if (nameExpression instanceof SimpleStringLiteral) {
SimpleStringLiteral nameLiteral = (SimpleStringLiteral) nameExpression;
String name = nameLiteral.getValue();
int nameOffset = nameLiteral.getValueOffset();
PolymerTagDartElementImpl element = new PolymerTagDartElementImpl(
name,
nameOffset,
classElement);
classElement.addToolkitObjects(element);
nameLiteral.setToolkitElement(element);
}
}
}