Class ConnectorBundle
- java.lang.Object
-
- com.vaadin.server.widgetsetutils.metadata.ConnectorBundle
-
public class ConnectorBundle extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static Comparator<com.google.gwt.core.ext.typeinfo.JClassType>jClassComparatorstatic Comparator<com.google.gwt.core.ext.typeinfo.JMethod>jMethodComparator
-
Constructor Summary
Constructors Constructor Description ConnectorBundle(String name, ConnectorBundle previousBundle)ConnectorBundle(String name, Collection<TypeVisitor> visitors, com.google.gwt.core.ext.typeinfo.TypeOracle oracle)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static com.google.gwt.core.ext.typeinfo.JMethodfindInheritedMethod(com.google.gwt.core.ext.typeinfo.JClassType type, String methodName, com.google.gwt.core.ext.typeinfo.JType... params)Set<com.google.gwt.core.ext.typeinfo.JClassType>getGwtConstructors()Map<com.google.gwt.core.ext.typeinfo.JClassType,Set<String>>getIdentifiers()Map<com.google.gwt.core.ext.typeinfo.JClassType,Map<com.google.gwt.core.ext.typeinfo.JMethod,Set<TypeDataStore.MethodAttribute>>>getMethodAttributes()Map<com.google.gwt.core.ext.typeinfo.JClassType,Set<com.google.gwt.core.ext.typeinfo.JMethod>>getMethodReturnTypes()StringgetName()Map<com.google.gwt.core.ext.typeinfo.JClassType,Set<Property>>getNeedsDelegateToWidget()Map<com.google.gwt.core.ext.typeinfo.JClassType,Set<com.google.gwt.core.ext.typeinfo.JMethod>>getNeedsInvoker()Map<com.google.gwt.core.ext.typeinfo.JClassType,Set<com.google.gwt.core.ext.typeinfo.JMethod>>getNeedsOnStateChangeHandler()Map<com.google.gwt.core.ext.typeinfo.JClassType,Set<com.google.gwt.core.ext.typeinfo.JMethod>>getNeedsParamTypes()Set<Property>getNeedsProperty()Set<com.google.gwt.core.ext.typeinfo.JClassType>getNeedsProxySupport()Set<com.google.gwt.core.ext.typeinfo.JClassType>getNeedsSuperclass()Map<com.google.gwt.core.ext.typeinfo.JClassType,com.google.gwt.core.ext.typeinfo.JType>getPresentationTypes()ConnectorBundlegetPreviousBundle()Collection<Property>getProperties(com.google.gwt.core.ext.typeinfo.JClassType type)Map<com.google.gwt.core.ext.typeinfo.JType,GeneratedSerializer>getSerializers()static booleanisConnectedComponentConnector(com.google.gwt.core.ext.typeinfo.JClassType type)static booleanisConnectedConnector(com.google.gwt.core.ext.typeinfo.JClassType type)static booleanisConnectedRendererConnector(com.google.gwt.core.ext.typeinfo.JClassType type)voidprocessSubTypes(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.typeinfo.JClassType type)voidprocessType(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.typeinfo.JClassType type)voidprocessTypes(com.google.gwt.core.ext.TreeLogger logger, Collection<com.google.gwt.core.ext.typeinfo.JClassType> types)voidsetIdentifier(com.google.gwt.core.ext.typeinfo.JClassType type, String identifier)voidsetMethodAttribute(com.google.gwt.core.ext.typeinfo.JClassType type, com.google.gwt.core.ext.typeinfo.JMethod method, TypeDataStore.MethodAttribute methodAttribute)voidsetNeedsDelegateToWidget(Property property, com.google.gwt.core.ext.typeinfo.JClassType type)voidsetNeedsGwtConstructor(com.google.gwt.core.ext.typeinfo.JClassType type)voidsetNeedsInvoker(com.google.gwt.core.ext.typeinfo.JClassType type, com.google.gwt.core.ext.typeinfo.JMethod method)voidsetNeedsOnStateChangeHandler(com.google.gwt.core.ext.typeinfo.JClassType type, com.google.gwt.core.ext.typeinfo.JMethod method)voidsetNeedsParamTypes(com.google.gwt.core.ext.typeinfo.JClassType type, com.google.gwt.core.ext.typeinfo.JMethod method)voidsetNeedsProxySupport(com.google.gwt.core.ext.typeinfo.JClassType type)voidsetNeedsReturnType(com.google.gwt.core.ext.typeinfo.JClassType type, com.google.gwt.core.ext.typeinfo.JMethod method)voidsetNeedsSerialize(com.google.gwt.core.ext.typeinfo.JType type)voidsetPresentationType(com.google.gwt.core.ext.typeinfo.JClassType type, com.google.gwt.core.ext.typeinfo.JType presentationType)
-
-
-
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, ConnectorBundle previousBundle)
-
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)
-
getPreviousBundle
public ConnectorBundle getPreviousBundle()
-
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
-
getSerializers
public Map<com.google.gwt.core.ext.typeinfo.JType,GeneratedSerializer> getSerializers()
-
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()
-
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)
-
getMethodAttributes
public Map<com.google.gwt.core.ext.typeinfo.JClassType,Map<com.google.gwt.core.ext.typeinfo.JMethod,Set<TypeDataStore.MethodAttribute>>> getMethodAttributes()
-
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)
-
-