Interface TypeDefParser


public interface TypeDefParser
Parse type structural information.
Author:
Cause Chung
See Also:
  • Method Details

    • parse

      List<TypeDef> parse(TypeElement typeElement)
      Parse structural information.
      Returns:
      empty if the typeElement is ignored or invalid. A typeElement can be ignored via configuration. An invalid type can be an unsupported type, e.g. a non-static inner class. The main classDef or enumDef must be the first element in the list, constantDef should be the 2nd element if exists.
    • create

      static TypeDefParser create(Context ctx)