Module: JavaProperty

Defined in:
lib/ycn/java/java_property.rb

Instance Method Summary collapse

Instance Method Details

#java_propertyObject



2
3
4
5
6
7
8
9
# File 'lib/ycn/java/java_property.rb', line 2

def java_property
  t = "#{@type} "
  t+= styled_var :riki, @name, :g, @type
  if @default_value && !@klass.prop_default_overrides.include?( @name )
    t += " = #{@default_value}"
  end
  t += ';'    
end