Skip to end of metadata
Go to start of metadata

Let's assume we have a simple class Person that defines the following property:

The following sections illustrate property access using FEST-Reflect. We will assume that we have the variable person of type Person. We are also going to assume the following static import:

Reading the value of a property

The following code listing is equivalent to calling getName():

Setting the value of a property

The following code listing is equivalent to calling setName("Leia"):

See Also

  • No labels