/** * 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); }
/** * Sets the component type of this array type. The component type * may be another array type. * * @param componentType the component type * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> * @exception UnsupportedOperationException if this operation is used in * an AST later than JLS4 * @deprecated In the JLS8 API, the recursive structure is not valid. */ public void setComponentType(Type componentType) { supportedOnlyIn2_3_4(); if (componentType == null) { throw new IllegalArgumentException(); } internalSetType(componentType, COMPONENT_TYPE_PROPERTY); }
/** * Sets the component type of this array type. The component type * may be another array type. * * @param componentType the component type * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> * @exception UnsupportedOperationException if this operation is used in * an AST later than JLS4 * @deprecated In the JLS8 API, the recursive structure is not valid. */ public void setComponentType(Type componentType) { supportedOnlyIn2_3_4(); if (componentType == null) { throw new IllegalArgumentException(); } internalSetType(componentType, COMPONENT_TYPE_PROPERTY); }
/** * Sets the component type of this array type. The component type * may be another array type. * * @param componentType the component type * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> * @exception UnsupportedOperationException if this operation is used in * an AST later than JLS4 * @deprecated In the JLS8 API, the recursive structure is not valid. */ public void setComponentType(Type componentType) { supportedOnlyIn2_3_4(); if (componentType == null) { throw new IllegalArgumentException(); } internalSetType(componentType, COMPONENT_TYPE_PROPERTY); }
/** * Sets the component type of this array type. The component type * may be another array type. * * @param componentType the component type * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> * @exception UnsupportedOperationException if this operation is used in * an AST later than JLS4 * @deprecated In the JLS8 API, the recursive structure is not valid. */ public void setComponentType(Type componentType) { supportedOnlyIn2_3_4(); if (componentType == null) { throw new IllegalArgumentException(); } internalSetType(componentType, COMPONENT_TYPE_PROPERTY); }
/** * Sets the component type of this array type. The component type * may be another array type. * * @param componentType the component type * @exception IllegalArgumentException if: * <ul> * <li>the node belongs to a different AST</li> * <li>the node already has a parent</li> * <li>a cycle in would be created</li> * </ul> * @exception UnsupportedOperationException if this operation is used in * an AST later than JLS4 * @deprecated In the JLS8 API, the recursive structure is not valid. */ public void setComponentType(Type componentType) { supportedOnlyIn2_3_4(); if (componentType == null) { throw new IllegalArgumentException(); } internalSetType(componentType, COMPONENT_TYPE_PROPERTY); }