Class ArrayProto

  • All Implemented Interfaces:
    TypeProto

    public class ArrayProto
    extends java.lang.Object
    implements TypeProto
    • Field Detail

      • classPath

        protected final ClassPath classPath
      • dimensions

        protected final int dimensions
      • elementType

        protected final java.lang.String elementType
    • Constructor Detail

      • ArrayProto

        public ArrayProto​(@Nonnull
                          ClassPath classPath,
                          @Nonnull
                          java.lang.String type)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getType

        @Nonnull
        public java.lang.String getType()
        Specified by:
        getType in interface TypeProto
      • getDimensions

        public int getDimensions()
      • getElementType

        @Nonnull
        public java.lang.String getElementType()
        Returns:
        The base element type of this array. E.g. This would return Ljava/lang/String; for [[Ljava/lang/String;
      • getImmediateElementType

        @Nonnull
        public java.lang.String getImmediateElementType()
        Returns:
        The immediate element type of this array. E.g. This would return [Ljava/lang/String; for [[Ljava/lang/String;
      • implementsInterface

        public boolean implementsInterface​(@Nonnull
                                           java.lang.String iface)
        Specified by:
        implementsInterface in interface TypeProto
      • getSuperclass

        @Nullable
        public java.lang.String getSuperclass()
        Specified by:
        getSuperclass in interface TypeProto