Class ConnectorBundle


  • public class ConnectorBundle
    extends Object
    • Field Detail

      • jClassComparator

        public static final Comparator<com.google.gwt.core.ext.typeinfo.JClassType> jClassComparator
      • jMethodComparator

        public static final Comparator<com.google.gwt.core.ext.typeinfo.JMethod> jMethodComparator
    • Constructor Detail

      • ConnectorBundle

        public ConnectorBundle​(String name,
                               Collection<TypeVisitor> visitors,
                               com.google.gwt.core.ext.typeinfo.TypeOracle oracle)
                        throws com.google.gwt.core.ext.typeinfo.NotFoundException
        Throws:
        com.google.gwt.core.ext.typeinfo.NotFoundException
    • Method Detail

      • setNeedsGwtConstructor

        public void setNeedsGwtConstructor​(com.google.gwt.core.ext.typeinfo.JClassType type)
      • setIdentifier

        public void setIdentifier​(com.google.gwt.core.ext.typeinfo.JClassType type,
                                  String identifier)
      • getName

        public String getName()
      • getIdentifiers

        public Map<com.google.gwt.core.ext.typeinfo.JClassType,​Set<String>> getIdentifiers()
      • getGwtConstructors

        public Set<com.google.gwt.core.ext.typeinfo.JClassType> getGwtConstructors()
      • processTypes

        public void processTypes​(com.google.gwt.core.ext.TreeLogger logger,
                                 Collection<com.google.gwt.core.ext.typeinfo.JClassType> types)
                          throws com.google.gwt.core.ext.UnableToCompleteException
        Throws:
        com.google.gwt.core.ext.UnableToCompleteException
      • processType

        public void processType​(com.google.gwt.core.ext.TreeLogger logger,
                                com.google.gwt.core.ext.typeinfo.JClassType type)
                         throws com.google.gwt.core.ext.UnableToCompleteException
        Throws:
        com.google.gwt.core.ext.UnableToCompleteException
      • setPresentationType

        public void setPresentationType​(com.google.gwt.core.ext.typeinfo.JClassType type,
                                        com.google.gwt.core.ext.typeinfo.JType presentationType)
      • getPresentationTypes

        public Map<com.google.gwt.core.ext.typeinfo.JClassType,​com.google.gwt.core.ext.typeinfo.JType> getPresentationTypes()
      • getNeedsSuperclass

        public Set<com.google.gwt.core.ext.typeinfo.JClassType> getNeedsSuperclass()
      • getNeedsProperty

        public Set<Property> getNeedsProperty()
      • getProperties

        public Collection<Property> getProperties​(com.google.gwt.core.ext.typeinfo.JClassType type)
      • processSubTypes

        public void processSubTypes​(com.google.gwt.core.ext.TreeLogger logger,
                                    com.google.gwt.core.ext.typeinfo.JClassType type)
                             throws com.google.gwt.core.ext.UnableToCompleteException
        Throws:
        com.google.gwt.core.ext.UnableToCompleteException
      • setNeedsReturnType

        public void setNeedsReturnType​(com.google.gwt.core.ext.typeinfo.JClassType type,
                                       com.google.gwt.core.ext.typeinfo.JMethod method)
      • getMethodReturnTypes

        public Map<com.google.gwt.core.ext.typeinfo.JClassType,​Set<com.google.gwt.core.ext.typeinfo.JMethod>> getMethodReturnTypes()
      • isConnectedConnector

        public static boolean isConnectedConnector​(com.google.gwt.core.ext.typeinfo.JClassType type)
      • isConnectedComponentConnector

        public static boolean isConnectedComponentConnector​(com.google.gwt.core.ext.typeinfo.JClassType type)
      • isConnectedRendererConnector

        public static boolean isConnectedRendererConnector​(com.google.gwt.core.ext.typeinfo.JClassType type)
      • setNeedsInvoker

        public void setNeedsInvoker​(com.google.gwt.core.ext.typeinfo.JClassType type,
                                    com.google.gwt.core.ext.typeinfo.JMethod method)
      • getNeedsInvoker

        public Map<com.google.gwt.core.ext.typeinfo.JClassType,​Set<com.google.gwt.core.ext.typeinfo.JMethod>> getNeedsInvoker()
      • setNeedsParamTypes

        public void setNeedsParamTypes​(com.google.gwt.core.ext.typeinfo.JClassType type,
                                       com.google.gwt.core.ext.typeinfo.JMethod method)
      • getNeedsParamTypes

        public Map<com.google.gwt.core.ext.typeinfo.JClassType,​Set<com.google.gwt.core.ext.typeinfo.JMethod>> getNeedsParamTypes()
      • setNeedsProxySupport

        public void setNeedsProxySupport​(com.google.gwt.core.ext.typeinfo.JClassType type)
      • getNeedsProxySupport

        public Set<com.google.gwt.core.ext.typeinfo.JClassType> getNeedsProxySupport()
      • setMethodAttribute

        public void setMethodAttribute​(com.google.gwt.core.ext.typeinfo.JClassType type,
                                       com.google.gwt.core.ext.typeinfo.JMethod method,
                                       TypeDataStore.MethodAttribute methodAttribute)
      • setNeedsSerialize

        public void setNeedsSerialize​(com.google.gwt.core.ext.typeinfo.JType type)
      • setNeedsDelegateToWidget

        public void setNeedsDelegateToWidget​(Property property,
                                             com.google.gwt.core.ext.typeinfo.JClassType type)
      • getNeedsDelegateToWidget

        public Map<com.google.gwt.core.ext.typeinfo.JClassType,​Set<Property>> getNeedsDelegateToWidget()
      • setNeedsOnStateChangeHandler

        public void setNeedsOnStateChangeHandler​(com.google.gwt.core.ext.typeinfo.JClassType type,
                                                 com.google.gwt.core.ext.typeinfo.JMethod method)
      • getNeedsOnStateChangeHandler

        public Map<com.google.gwt.core.ext.typeinfo.JClassType,​Set<com.google.gwt.core.ext.typeinfo.JMethod>> getNeedsOnStateChangeHandler()
      • findInheritedMethod

        public static com.google.gwt.core.ext.typeinfo.JMethod findInheritedMethod​(com.google.gwt.core.ext.typeinfo.JClassType type,
                                                                                   String methodName,
                                                                                   com.google.gwt.core.ext.typeinfo.JType... params)