# Package org.eclipse.jdt.ui.text.folding

Application programming interfaces for interaction with the Eclipse Java Editor folding.

## Package Specification

Interfaces and a default implementation for contributions to the `org.eclipse.jdt.ui.foldingStructureProviders` extension point.

Interface Summary
IJavaFoldingPreferenceBlock: Contributors to the `org.eclipse.jdt.ui.foldingStructureProvider` extension point can specify an implementation of this interface to be displayed on the Java > Editor > Folding preference page.
IJavaFoldingStructureProvider: Contributors to the `org.eclipse.jdt.ui.foldingStructureProvider` extension point must specify an implementation of this interface which will create and maintain `ProjectionAnnotation` objects that define folded regions in the `ProjectionViewer`.
IJavaFoldingStructureProviderExtension: Extends `IJavaFoldingStructureProvider` with the following functions: collapsing of comments and members expanding and collapsing of certain java elements

Class Summary
DefaultJavaFoldingStructureProvider: Updates the projection model of a class file or compilation unit.
DefaultJavaFoldingStructureProvider.JavaProjectionAnnotation: A `ProjectionAnnotation` for java code.