Home » reflection » Page 2

Tag Archives: reflection

Get Fields from an Object

In this example we shall show you how to get the fields of a class represented by an object. To get the fields of a class represented by an object one should perform the following steps: Get an array containing Field objects reflecting all the accessible public fields of the class or interface represented by this Class object, with getFields() ...

Read More »

Create Proxy object

With this example we are going to demonstrate how to create a Proxy object. A proxy is a class functioning as an interface to a network connection, a large object in memory, a file, or some other resource that is expensive or impossible to duplicate. In short, to create a Proxy object we have followed the steps below: We have created ...

Read More »