/** * Returns the component type of this array type. The component type * may be another array type. * * @return the component type node * @exception UnsupportedOperationException if this operation is used in * an AST later than JLS4 * @see #dimensions() * @deprecated In the JLS8 API, the recursive structure is not valid. */ public Type getComponentType() { supportedOnlyIn2_3_4(); return internalGetType(COMPONENT_TYPE_PROPERTY); }
/** * Returns the component type of this array type. The component type * may be another array type. * * @return the component type node * @exception UnsupportedOperationException if this operation is used in * an AST later than JLS4 * @see #dimensions() * @deprecated In the JLS8 API, the recursive structure is not valid. */ public Type getComponentType() { supportedOnlyIn2_3_4(); return internalGetType(COMPONENT_TYPE_PROPERTY); }
/** * Returns the component type of this array type. The component type * may be another array type. * * @return the component type node * @exception UnsupportedOperationException if this operation is used in * an AST later than JLS4 * @see #dimensions() * @deprecated In the JLS8 API, the recursive structure is not valid. */ public Type getComponentType() { supportedOnlyIn2_3_4(); return internalGetType(COMPONENT_TYPE_PROPERTY); }
/** * Returns the component type of this array type. The component type * may be another array type. * * @return the component type node * @exception UnsupportedOperationException if this operation is used in * an AST later than JLS4 * @see #dimensions() * @deprecated In the JLS8 API, the recursive structure is not valid. */ public Type getComponentType() { supportedOnlyIn2_3_4(); return internalGetType(COMPONENT_TYPE_PROPERTY); }
/** * Returns the component type of this array type. The component type * may be another array type. * * @return the component type node * @exception UnsupportedOperationException if this operation is used in * an AST later than JLS4 * @see #dimensions() * @deprecated In the JLS8 API, the recursive structure is not valid. */ public Type getComponentType() { supportedOnlyIn2_3_4(); return internalGetType(COMPONENT_TYPE_PROPERTY); }
/** * Returns the element type of this array type. The element type is * never an array type. * <p> * In JLS4 and earlier, this is a convenience method that descends a chain of nested array types * until it reaches a non-array type. * </p> * * @return the element type node */ public Type getElementType() { if (this.ast.apiLevel() < AST.JLS8) { Type t = getComponentType(); while (t.isArrayType()) { t = ((ArrayType) t).getComponentType(); } return t; } return internalGetType(ELEMENT_TYPE_PROPERTY); }
/** * Returns the element type of this array type. The element type is * never an array type. * <p> * In JLS4 and earlier, this is a convenience method that descends a chain of nested array types * until it reaches a non-array type. * </p> * * @return the element type node */ public Type getElementType() { if (this.ast.apiLevel() < AST.JLS8) { Type t = getComponentType(); while (t.isArrayType()) { t = ((ArrayType) t).getComponentType(); } return t; } return internalGetType(ELEMENT_TYPE_PROPERTY); }
/** * Returns the element type of this array type. The element type is * never an array type. * <p> * In JLS4 and earlier, this is a convenience method that descends a chain of nested array types * until it reaches a non-array type. * </p> * * @return the element type node */ public Type getElementType() { if (this.ast.apiLevel() < AST.JLS8_INTERNAL) { Type t = getComponentType(); while (t.isArrayType()) { t = ((ArrayType) t).getComponentType(); } return t; } return internalGetType(ELEMENT_TYPE_PROPERTY); }
/** * Returns the element type of this array type. The element type is * never an array type. * <p> * In JLS4 and earlier, this is a convenience method that descends a chain of nested array types * until it reaches a non-array type. * </p> * * @return the element type node */ public Type getElementType() { if (this.ast.apiLevel() < AST.JLS8_INTERNAL) { Type t = getComponentType(); while (t.isArrayType()) { t = ((ArrayType) t).getComponentType(); } return t; } return internalGetType(ELEMENT_TYPE_PROPERTY); }
/** * Returns the element type of this array type. The element type is * never an array type. * <p> * In JLS4 and earlier, this is a convenience method that descends a chain of nested array types * until it reaches a non-array type. * </p> * * @return the element type node */ public Type getElementType() { if (this.ast.apiLevel() < AST.JLS8) { Type t = getComponentType(); while (t.isArrayType()) { t = ((ArrayType) t).getComponentType(); } return t; } return internalGetType(ELEMENT_TYPE_PROPERTY); }