Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

@Property proposal

key

symbol

meaning

(red star)

private

(star)

protected

(green star)

public

(blue star)

final

Current

code

field

getter

setter

def x

(green star)

 

 

final x

(green star)(blue star)

 

 

public x

(green star)

 

 

protected x

(star)

 

 

private x

(red star)

 

 

public final x

(green star)(blue star)

 

 

@Property x

(red star)

(green star)

(green star)

other permutations?

 

 

 

Proposed

code

field

getter

setter

note

def x

(red star)

(green star)

(green star)

 

final x

(red star)(blue star)

(green star)

 

the field doesn't need to be final IMHO (dk) My view is that the field should be final(tug)

public x

(green star)

 

 

 

protected x

(star)

 

 

 

private x

(red star)

 

 

 

public final x

(green star) (blue star)


 

a public final field like in Java

@Property x

(red star)

(green star)

(green star)

 if it's still supported (MrG) My proposal is to remove it (tug)

other permutations?

 

 

 

 what happens with static? (MrG) Sataic behave exactly the same(tug)

  • No labels