public RegisterDescription(final String name,final int size,final boolean editable){
  this.name=Preconditions.checkNotNull(name,"IE01031: Name argument can not be null");
  if (!isValidSize(size)) {
    throw new IllegalArgumentException(String.format("IE01032: Invalid register size %d",size));
  }
  byteSize=size;
  isEditable=editable;
}

public RegisterDescription ( final String name , final int size , final boolean editable ) { this . name = Preconditions . checkNotNull ( name , "IE01031: Name argument can not be null" ) ; if ( ! isValidSize ( size ) ) { throw new IllegalArgumentException ( String . format ( "IE01032: Invalid register size %d" , size ) ) ; } byteSize = size ; isEditable = editable ; }
creates a new register description object .
