The `getFields` method in Java's `PsiClass` class retrieves an array of all the public fields declared within the class, including those inherited from superclasses. This method allows access to the metadata about the fields, such as their names, types, and annotations, enabling developers to dynamically inspect and manipulate the fields in their Java code.
Java PsiClass.getFields - 30 examples found. These are the top rated real world Java examples of PsiClass.getFields extracted from open source projects. You can rate examples to help us improve the quality of examples.