Class MemberDescriptor

java.lang.Object
com.google.gwt.core.ext.soyc.coderef.EntityDescriptor
com.google.gwt.core.ext.soyc.coderef.MemberDescriptor
Direct Known Subclasses:
FieldDescriptor, MethodDescriptor

public abstract class MemberDescriptor extends EntityDescriptor
Represents an abstract member, such as a field or a method. It is keep simple and will be serialized to json.
  • Field Details

    • type

      protected String type
      The member's type represents the type of the member value when it is accessed (fields) or when it is called (methods). It is in jsni format.
    • enclosingClassDescriptor

      protected final ClassDescriptor enclosingClassDescriptor
  • Constructor Details

  • Method Details

    • getEnclosingClassDescriptor

      public ClassDescriptor getEnclosingClassDescriptor()
    • getJsniSignature

      public abstract String getJsniSignature()
      The signature of the member.
      Returns:
      The member name plus its signature
    • getType

      public String getType()
      Returns the members value type, ie. a field will return its type and a method will return its return type, in jsni format.
    • getFullName

      public String getFullName()
      Description copied from class: EntityDescriptor
      Returns the full qualified name.
      Specified by:
      getFullName in class EntityDescriptor