Class AggregateTypeUtil


  • public class AggregateTypeUtil
    extends Object
    operations to aggregates or arrays
    • Constructor Detail

      • AggregateTypeUtil

        public AggregateTypeUtil()
    • Method Detail

      • findSeparator

        public static int findSeparator​(String s)
        finds the first occurrence of . or [ after the last /
        Parameters:
        s -
        Returns:
        the position of the first occurrence of . or [ after the last slash; returns -1 if not found
      • parseReference

        public static PathElement[] parseReference​(String name)
        parses a reference of shape
         x.y[3][4].z
         
        into an array of PathElement
        Parameters:
        name -
        Returns:
      • verifyPath

        public static boolean verifyPath​(ParameterType parameterType,
                                         PathElement[] path)
        Verify that the path exists in the parameter type
        Parameters:
        parameterType -
        path -
        Returns: