void refresh(ExternalClassDescription externalClassDescription) { // set the type first, since allowable dimensions is determined by type this.setType(this.typeNamed(externalClassDescription.getElementTypeName())); this.setDimensionality(externalClassDescription.getArrayDepth()); }
boolean hasSameSignatureAs(ExternalClassDescription externalClassDescription) { return (this.dimensionality == externalClassDescription.getArrayDepth()) && (this.getType() == this.typeNamed(externalClassDescription.getElementTypeName())); }