Class MethodDescriptorCollection

java.lang.Object
org.aksw.jenax.reprogen.core.MethodDescriptorBase
org.aksw.jenax.reprogen.core.MethodDescriptorCollection
All Implemented Interfaces:
MethodDescriptor

public class MethodDescriptorCollection extends MethodDescriptorBase
  • Field Details

    • collectionType

      protected Class<?> collectionType
    • itemType

      protected Class<?> itemType
    • isDynamic

      protected boolean isDynamic
  • Constructor Details

    • MethodDescriptorCollection

      public MethodDescriptorCollection(Method method, boolean isGetter, boolean isFluentCompatible, Class<?> collectionType, Class<?> itemType, boolean isDynamic)
  • Method Details

    • isCollectionValued

      public boolean isCollectionValued()
    • isDynamicCollection

      public boolean isDynamicCollection()
      Description copied from interface: MethodDescriptor
      For signatures where the item type is dynamic based on a given class: Collection get(Class clazz) Only applies if isCollectionValued is true
      Returns:
    • getType

      public Class<?> getType()
    • getCollectionType

      public Class<?> getCollectionType()
    • getItemType

      public Class<?> getItemType()
    • isMapType

      public boolean isMapType()
    • getKeyType

      public Class<?> getKeyType()
    • getValueType

      public Class<?> getValueType()