src/Reflection.js
function() {
        var name_parts = [],
            proto_ref  = this.reflector.getProto()[this.name],
            name       = '',
            body       = '';

        if (this.meta.is_abstract) { name_parts.push('abstract'); }
        if (this.meta.is_final) { name_parts.push('final'); }

        name_parts.push(this.meta.visibility);
        
        if (this.meta.is_static) { name_parts.push('static'); }

        if (this.meta.is_nullable) { name_parts.push('nullable'); }
        if (this.meta.is_read_only) { name_parts.push('read'); }

        // If type === null, attempt to detect it by the predefined value.
        if (this.meta.type === null) {
            if (proto_ref === null) {
                name_parts.push('mixed');
            } else {
                name_parts.push(typeof (proto_ref));
            }
        } else {
            name_parts.push(this.meta.type);
        }

        name_parts.push('"' + this.meta.name + '"');
        name = name_parts.join(' ');

        if (typeof (proto_ref) === 'function') {
            body = '[Function]';
        } else if (typeof (proto_ref) === 'object' && proto_ref !== null) {
            body = '[Object (' + proto_ref.length + ')]';
        } else if (typeof (proto_ref) === 'string') {
            body = '"' + proto_ref + '"';
        } else {
            body = proto_ref;
        }
        return name + ': ' + body;
    }
function() {
        var name_parts = [],
            proto_ref  = this.reflector.getProto()[this.name],
            name       = '',
            body       = '';

        if (this.meta.is_abstract) { name_parts.push('abstract'); }
        if (this.meta.is_final) { name_parts.push('final'); }

        name_parts.push(this.meta.visibility);
        
        if (this.meta.is_static) { name_parts.push('static'); }

        if (this.meta.is_nullable) { name_parts.push('nullable'); }
        if (this.meta.is_read_only) { name_parts.push('read'); }

        // If type === null, attempt to detect it by the predefined value.
        if (this.meta.type === null) {
            if (proto_ref === null) {
                name_parts.push('mixed');
            } else {
                name_parts.push(typeof (proto_ref));
            }
        } else {
            name_parts.push(this.meta.type);
        }

        name_parts.push('"' + this.meta.name + '"');
        name = name_parts.join(' ');

        if (typeof (proto_ref) === 'function') {
            body = '[Function]';
        } else if (typeof (proto_ref) === 'object' && proto_ref !== null) {
            body = '[Object (' + proto_ref.length + ')]';
        } else if (typeof (proto_ref) === 'string') {
            body = '"' + proto_ref + '"';
        } else {
            body = proto_ref;
        }
        return name + ': ' + body;
    }
function ( ) { var name_parts = [ ] , proto_ref = this . reflector . getProto ( ) [ this . name ] , name = '' , body = '' ; if ( this . meta . is_abstract ) { name_parts . push ( 'abstract' ) ; } if ( this . meta . is_final ) { name_parts . push ( 'final' ) ; } name_parts . push ( this . meta . visibility ) ; if ( this . meta . is_static ) { name_parts . push ( 'static' ) ; } if ( this . meta . is_nullable ) { name_parts . push ( 'nullable' ) ; } if ( this . meta . is_read_only ) { name_parts . push ( 'read' ) ; } // If type === null, attempt to detect it by the predefined value. if ( this . meta . type === null ) { if ( proto_ref === null ) { name_parts . push ( 'mixed' ) ; } else { name_parts . push ( typeof ( proto_ref ) ) ; } } else { name_parts . push ( this . meta . type ) ; } name_parts . push ( '"' + this . meta . name + '"' ) ; name = name_parts . join ( ' ' ) ; if ( typeof ( proto_ref ) === 'function' ) { body = '[Function]' ; } else if ( typeof ( proto_ref ) === 'object' && proto_ref !== null ) { body = '[Object (' + proto_ref . length + ')]' ; } else if ( typeof ( proto_ref ) === 'string' ) { body = '"' + proto_ref + '"' ; } else { body = proto_ref ; } return name + ': ' + body ; }
Returns a string representation of this object.

@return string
Returns a string representation of this object .