def add_attribute(attribute, type, *flags)
      prop = create_nonjava_property(attribute, type, *flags)
      add_property(prop)
      prop
    end
def add_attribute(attribute, type, *flags)
      prop = create_nonjava_property(attribute, type, *flags)
      add_property(prop)
      prop
    end
Adds the given attribute to this Class.

 @param [Symbol] attribute the attribute to add
 @param [Class] type (see Property#initialize)
 @param flags (see Property#initialize)
 @return [Property] the attribute meta-data