addElement

Add annotation element matcher.

----------------

添加注解元素匹配器。

@Router(
    value = "/main" <----------- AnnotationElement
      ^        ^
    name     value
)
public class MainActivity extends AppCompatActivity {}

addElement(AnnotationElementMatcher().name("value").stringValue("main"))

See also