class FieldModel

Defined in:

miniparsers/java.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(access_modifier : String, is_static : Bool, is_final : Bool, type : String, name : String, init_value : String) #

[View source]

Instance Method Detail

def access_modifier : String #

[View source]
def access_modifier=(access_modifier : String) #

[View source]
def has_getter=(value : Bool) #

[View source]
def has_getter? : Bool #

[View source]
def has_setter=(value : Bool) #

[View source]
def has_setter? : Bool #

[View source]
def init_value : String #

[View source]
def init_value=(init_value : String) #

[View source]
def is_final=(is_final : Bool) #

[View source]
def is_final? : Bool #

[View source]
def is_static=(is_static : Bool) #

[View source]
def is_static? : Bool #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def to_s #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]
def type : String #

[View source]
def type=(type : String) #

[View source]