Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 Static behave exactly the same(tug)