[forge-dev] Forge Meeting Minutes - 2015-03-10

Antonio Goncalves antonio.mailing at gmail.com
Fri Mar 13 17:07:55 EDT 2015


Hi all,

I am having a look at some visitor code, and then, I realized that I don't
understand the difference between a JavaType and

 @Override
            public void visit(VisitContext context, JavaResource resource)
            {
               try
               {
                  JavaType<?> javaType = resource.getJavaType();
                  if (javaType.isClass() &&
!javaType.hasAnnotation(Entity.class)
javaSource.hasAnnotation(MappedSuperclass.class))
                  {
                     classes.add(resource);
                  }
               }
               catch (FileNotFoundException e)
               {
                  // ignore
               }
            }


-- 
Antonio Goncalves
Software architect and Java Champion

Web site <http://www.antoniogoncalves.org/> | Twitter
<http://twitter.com/agoncal> | LinkedIn <http://www.linkedin.com/in/agoncal>
 | Paris JUG <http://www.parisjug.org/> | Devoxx France
<http://www.devoxx.fr/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20150313/a0f07164/attachment.html 


More information about the forge-dev mailing list