final RestConfigurationStrategy[] configurationStrategy = new RestConfigurationStrategy[1];
// Check if there is any class with @ApplicationPath
if (project.hasFacet(JavaSourceFacet.class))
{
JavaSourceFacet javaSourceFacet = project.getFacet(JavaSourceFacet.class);
javaSourceFacet.visitJavaSources(new JavaResourceVisitor()
{
@Override
public void visit(VisitContext context, JavaResource javaResource)
{
try