Interface TypeInfoParser


public interface TypeInfoParser
Parse type specific information.
Author:
Cause Chung
See Also:
  • Method Details

    • parse

      TypeInfo parse(TypeMirror typeMirror, TypeElement ctxTypeElement)
      Parse type specific information.

      If a dependent type is not explicitly registered by SharedType, it may not have been resolved in the context by the time of the call. In such case, the caller would resolve the type in another iteration and resolve the type again.

      An unresolved type is a type whose TypeElement hasn't been processed. So there's no structural information, e.g. name, saved in global context yet.

      Returns:
      a no type info instance if the kind of the typeMirror is ERROR.
    • create

      static TypeInfoParser create(Context ctx)